| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi All, I am having problems with a project I am working on. If I target Flash Player 6 in the Publish Settings the following code works. If I target Flash Player 8 the jpg's don't load. Anyone have any ideas on why this is happening? if(_global.ref == 1) { loadMovie("web/"+_global.referenz+".jpg",_root.referenz_main.pic_ container); } if(_global.ref == 2) { loadMovie("3d/"+_global.referenz+".jpg",_root.referenz_main.pic_ container); } Many Thanks, Scott |
|
#2
| |||
| |||
| you probably have a typo in one of your variable names. in flash 6, _root.referenz_main.pic was the same as _root.referenz_Main.pic but not in flash 7+. |
|
#3
| |||
| |||
| Hi Keith, Thanks for the reply. The only other code I can find is in a framescript that reads: main = 1; _global.referenz = 1; _global.ref = 1; I'm not sure is this is Flash Player 8 compatible or not but your help would be greatly appreciated. Thanks |
|
#4
| |||
| |||
| if referenz is always 1, you may as well hard-code it. and there must be code that assigns a value to _root.referenz_main.pic_container and there's a stage instance that referenced by this code.. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.