-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathPopMenuTypes.as
More file actions
37 lines (30 loc) · 831 Bytes
/
PopMenuTypes.as
File metadata and controls
37 lines (30 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package popForm
{
import flash.geom.ColorTransform;
/**this will mange pop menu soudns , color with its types*/
public class PopMenuTypes
{
/**this is the pop menu type id*/
public var type:uint ;
public var frame:uint ;
public var soundID:uint ;
/**this is the theme color for this type of pop up*/
//public var colorTransform:ColorTransform ;
public function PopMenuTypes(Type:uint/*,Color:uint*/)
{
frame = soundID = type = Type ;
//colorTransform = new ColorTransform();
//colorTransform.color = Color ;
}
/**this is a answer type of pop ups*/
public static function get DEFAULT()
{
return new PopMenuTypes(1/*,0xFF33CC*/);
}
/**this is a question type of pop ups*/
public static function get CAUTION()
{
return new PopMenuTypes(2/*,0x00cc00*/);
}
}
}