PDA

View Full Version : Popup windows and an advice (ActionScript 3)


wings_of_love
03-06-2006, 08:51 PM
Hi!

I have several TXT files and all of them have HTML tags to open some links. These TXT files are uploaded to a Dynamic Text Box that read the HTML tags. The links inside the TXT files should be opened by a JavaScript code to format the window that will receive the link. How can I implement the JavaScript code inside of Flash? Don't forget that the links are not inside of Flash but inside of HTML tags on the TXT files.
Thank you for your attention and, to demonstrate it, I invite you to read the contents of the follow page: http://labs.macromedia.com/wiki/index.php/ActionScript_3:overview
This link contains an overview of the new language of Flash: The ActionScript version 3 that will appear on the next version of Flash. With nothing else to say, I hope that you have liked of the link above and...

Best wishes,
WoL

oldnewbie
03-06-2006, 09:23 PM
You need to use an "a href" tag in your text file, calling an asfunction (defined on the first frame of your movie, not within the text file...), which will in turn open up the popup with code based on either of these 2 links...

http://www.flash-db.com/PopUp/

http://www.kirupa.com/developer/mx/centered_popup.htm

wings_of_love
03-07-2006, 02:23 AM
oldnewbie,

Thanks for your help. Perhaps you didn't understand me because my english isn't good! Well, I will try again: The links that I'm trying to open are not in a button but inside of a TXT file that is uploaded to a Dynamic Text Box in the Flash! I want to make the Flash to detect the link chosed in the TXT and open it in a formatted window! I know that this hard to explain thanks to my english but I'm giving my best (LOL)! One more time...

Thanks,
WoL.

PS: Did you like my suggestion?

oldnewbie
03-07-2006, 03:12 AM
I say the exact same answer I posted above...

An "a href" tag in the text file, that calls the asfunction, which opens the popup.