
Welcome Guest
|
#1
|
|||
|
|||
|
Could anyone tell me why this doesnt work? When used the MC turns black, not white...
actionscript in frame1: Actionscript:
myColor=new Color(myMC)
myVars = new LoadVars();
myVars.load("jaha.txt");
thisColor=myVars.c0;
myColor.setRGB(parseInt(thisColor,16));Output when List Variables is used: Level #0: Variable _level0.$version = "WIN 6,0,21,0" Variable _level0.myColor = [object #1, class 'Color'] {} Variable _level0.myVars = [object #2, class 'LoadVars'] { c0:"FFFFFF", c1:"FFA10A" } Variable _level0.thisColor = undefined Movie Clip: Target="_level0.myMC" The content of the textfile jaha.txt: c0=FFFFFF&c1=FFA10A I would really appreciate some help! |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XML PRELOAD Problem | grafxidg | Newbies |
3 | 04-08-2010 01:06 AM |
| textfield focus problem in external swf | mrpoate | Newbies |
1 | 07-10-2007 11:34 AM |
| setRGB() and movement problem... | Genius | Flash MX |
4 | 04-11-2003 08:17 AM |
| setRGB problem | gareth | Flash 5 Actionscript |
4 | 02-08-2002 02:06 PM |
| setRGB problem | BlueSkull | Advanced Flash | 3 | 05-17-2001 07:03 PM |





