Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how do i do with this code

New Here ,
Oct 24, 2007 Oct 24, 2007
i´ve got this to link a time line to a url.... is that correct?

to be clear i just need to open a "menu2.swf" related in what page i´m ex. if i´m at ww.xxxxxxxxxx.com/clientes.html, i needed flash to start a "menu2.swf" from frame 30 and playing

// AS3
var url:TextField = new TextField();
url.text = root.loaderInfo.parameters.clientes;
gotoAndPlay(30);

// AS3
var url:TextField = new TextField();
url.text = root.loaderInfo.parameters.sevicios;
gotoAndPlay(20);

i got this code for the html:

<script type="text/javascript">
var so = new SWFObject("flash/menu2.swf", "menu", "100", "475", "9", "#FFFFFF");
so.addVariable("flashvars", value="url=clientes");
so.write("flashcontent");
</script>
TOPICS
ActionScript
497
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 24, 2007 Oct 24, 2007
your parameter is url, not clientes and not sevicios. those are the parameter values.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 25, 2007 Oct 25, 2007
thank´s very much for your help!!!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 25, 2007 Oct 25, 2007
LATEST
you're welcome.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines