Ok,
here the files:
Ok,
here the files:
Last edited by Flep; 13-05-08 at 19:12.
Just wondering. ------------------------- [/url]
Last edited by Flep; 24-11-07 at 05:49.
Hi there,
I am using the same code that you provided in the zip file above. Instead of normal window i am opening a modal window. Now how will I let flash know that the modal window is closed, because i want to stop the execution of remaining code in the button that activates the modal window until the modal window is closed.
Please help.
Hi dolchieg,
you should use ExternalInterface class of AS 3.
Write JS functions and call them through actionscript.
Here is a sample:
Actionscript calls Javascript - ExternalInterface class of Flash CS3
Hi, great tutorial.
I have the example working that uses the ExternalInterface class of Actionscript 3.0.
I would like to have multiple links on the same page. How do I adjust the code to make this work. I keep getting an error saying
function callJS(evt:MouseEvent):void {1021: duplicate function error.
Any help much appreciated.
it doesn't work. when i open it and press the button, it says:
SecurityError: Error #2051: Security sandbox violation: file:///C:/Documents and Settings/All Users/Documenten/greffix/Menu/menu.swf cannot evaluate scripting URLs within file:///C:/Documents and Settings/All Users/Documenten/greffix/Menu/begin.html (allowScriptAccess is ). Attempted URL was javascript:window.open('website.html','popper1','w idth=800,height=600');newWindow.focus(); void(0);.
at global/flash.net::navigateToURL()
at menu_fla::MainTimeline/openPopUp()
my button is called "site_btn" and the link is to "website.html" and the files are located in the same folder.
and when I exported the flash file there were no errors
maybe the problem is that it's not online.
Last edited by Onsitus; 19-08-08 at 08:10.
CSS.FlepStudio.org in english: css tutorials, free css template and css menu
Conversione da PSD a XHTML/CSS - Creazione siti web - Introduzione CSS3
Hi there Flep,
Thankyou for the code to what seems an impossible feat for a non-coder! :) I haven't used Flash for about 8 years and thought it would be more user friendly/GUI based by now haha.
I have your multi-button pop up code working well thankyou for that. I tried inserting 'scrollbars=yes' in the javascript window.open section but it doesn't work. Do you have a way to insert scrollbars into your multi button popup tutorial? Cheer rY
Flep this is a very usefull lesson, yet altough i applied all the codes, i couldnt get the popup work. Would you upload fla flies for single.swf and multiple.swf files so I could check what i did wrong
Thanks
Yaman
Bookmarks