This content has been marked as final. Show 6 replies
If you're publishing for AS3 then it doesn't work the same. Also, if your
code is on the main timeline, then: _root.varvalue+ "-" + _level0.varvalue+
"-" + varvalue - you are tracing the same variable. There's no need to put
anything more than just varvalue.
Anyway, see Help for the LoaderInfo class. I think the parameters property
is what you're after.
Adobe Community Expert
I know it should be the same variable, but I think maybe some of this is wrong or somethnig...
I publish for AS2 and if i choose ASC i got message: Screen-based documents must target ActionScript 2.0.
Also I found this articile:
TITLE: How to get FLASHVARS to work with a Forms application
But this isn't good solution for me...
Is this some bug in Flash or I need to use some other way when I create Flash From Application, where Flash Form Application declare this variables from FlashVars?
>> I know it should be the same variable, but I think maybe some of this is
>> wrong or somethnig...
The thing is you're tracing the _same_ variable... If anything is wrong
tracing the same thing, three different ways, doesn't matter... See what I
Sorry, but I have never used the screens feature, or the forms thing. I make
any forms from scratch, using the plain as2 file. Why is the article not a
good solution? By the title it sounds perfect.
Adobe Community Expert
This is good solution if there is no better (createing empty swf and loading screen swf into this one, there must be better solution).
I can't understand why it is not possible to use FlashVars in way we can use them in normal Flash Project, and there is nothing about this in Flash documentation, so this should be some bug, I think...
AC_FL_RunContent( 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0', 'width','762', 'height','502', 'class','flashBdr', 'src', 'mymovie?myVar=myValue', 'quality', 'high', 'pluginspage', ' http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash', 'movie', 'mymovie?myVar=myValue' ); //end AC code
and in object tag i used this, but it works also with FlashVars:
<param name="movie" value="mymovie.swf?myVar=myValue" />
I don't know why this is not in flash documentation... But now works perfect.