Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-06-2006, 08:51 PM   #1
wings_of_love
Registered User
 
Join Date: Feb 2006
Posts: 18
Default Popup windows and an advice (ActionScript 3)

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/inde...ipt_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
wings_of_love is offline   Reply With Quote
Old 03-06-2006, 09:23 PM   #2
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,534
Default

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
oldnewbie is offline   Reply With Quote
Old 03-07-2006, 02:23 AM   #3
wings_of_love
Registered User
 
Join Date: Feb 2006
Posts: 18
Cool Popup windows and an advice (ActionScript 3)

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?
wings_of_love is offline   Reply With Quote
Old 03-07-2006, 03:12 AM   #4
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,534
Default

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.
oldnewbie is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why everyone hates (or should hate!) mircosoft stealthelephant General Chat 102 11-28-2008 10:02 PM
Generating Popup Windows w/ Rotating Menu..HELPPPP! Samir_Shah ActionScript 1.0 (and below) 5 09-26-2001 07:40 AM
JavaScript popup windows and Flash? atech ActionScript 1.0 (and below) 6 07-08-2001 06:04 PM


All times are GMT. The time now is 07:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.