|
User Details |
message
|
|
Trevin Lowrey
post date:
2007-10-27 09:44:57
|
This is regarding Creative FL Tabbed Menu. Is there a way to select a menu button from JavaScript so my HTML page can tell my Flash menu what button to appear?
Thank you,
Trevin
|
|
|
Catalin Serban [Extend Studio]
post date:
2007-10-29 04:38:56
|
Hi,
Yes there are ways of selecting a button from Creative FL Tabbed Menu as described in the documentation <a href="http://www.extendstudio.com/Docs/Creative%20FL%20Tabbed%20Menu/4_Adding_Button_Actions.html">http://www.extendstudio.com/Docs/Creative%20FL%20Tabbed%20Menu/4_Adding_Button_Actions.html</a> under the <em>Selecting a menu button from ActionScript? </em>section.
The only problem is that you have to develop the logic of passing variables from JS to Flash and then building the logic of selecting the corresponding button.
Here you can find more about JS Flash Communication:
<a href="http://www.quirksmode.org/js/flash_call.html">http://www.quirksmode.org/js/flash_call.html</a> <br />
<a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683&sliceId=2">http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683&sliceId=2</a>
|
|
|
Fred Fulcher
post date:
2008-05-15 19:31:45
|
|
How do you call a javascript function from flash can you use this with the xml extension you all have added? I noticed that you can add a "as:" tag to the xml or url to make a flash call that would then call javascript? is there an example for that? I have tried it and not getting anywhere so seeking some help. I also sent an email as well.
|
|
|
Catalin Serban [Extend Studio]
post date:
2008-05-16 09:19:51
|
Hi ,
You can call basically any kind a JS code from you flash file. You can even use getURL!
I am suggesting you to try calling, from XML, a function defined in the root of you swf file. If that is working then the menu is working as it should. Also I am suggesting you to call ExternalInterface from action script not directly from XML. You can pass arguments from XML to the ExternalInterface function.
Regards,
Catalin Serban
|
|
|
Fred Fulcher
post date:
2008-05-19 22:39:40
|
|
Catalin is there an example somewhere of calling function from XML also how would i pass xml to ExternalInterface.call exactly thanks
|
|
|
Horea Radu [Extend Studio]
post date:
2008-05-20 07:16:05
|
Hi Fred,
Could you, please, send us the FLA file and the XML file you are working on at support@extendstudio.com so we can look into it?
Best regards,
Horea RADU, Extend Studio.
|
|