View Full Version : how to link a flash to a pop up
davelf
09-03-2009, 09:17 AM
question: how to make a pop up code in flash
i can make the blank window, but not the pop up, here is my code
var request:URLRequest = new URLRequest(paramArray[1]);
trace("Opening URL: "+paramArray[1]);
navigateToURL(request, "_blank");
how to change that windows open into pop up
thx for all of your attention.:)
davelf
09-04-2009, 02:51 AM
hi, sorry if i double post my question here, may be my topic make you confuse,
what i really need is,
how to make open pop up code in flash, because now i only can make the open window code, like you can see at my first post.
appreciate all you help.:)
davelf
09-08-2009, 09:26 AM
Hi, it's me again, i've been researching everywhere and find this script.
http://www.squaredvision.com/faceboxdemo/tut.htm
i get it from this forum too, from last post.
Just for Update, and reminding.
BCinNV
09-13-2009, 05:28 PM
That is way over complicated! This is easy to do.
Create a button (on your stage). Click and it, inserting this action (need help with this let me know)
on (release) {
popup.gotoAndStop (2);
}
Now, insert a white box (your popup box) on your screen wherever you want it. Click on it, and convert it to a movie called mc_popup (we use the mc_ to organize / keep all the mc's (movie contents) together neatly in our library. No real reason for it. You can use folders in your library or whatever if you prefer. Now, click on the MC and give it an instance name of popup (extremely important). After that, open the mc (double click on the popup box) for editing.
Insert a keyframe at frame 2. Make sure both frame one and frame two have the white box. Delete the box in keyframe 1, leaving the box only in keyframe 2. Place a stop (); action on both frames.
Add a close button to the box. On the close button insert an action:
on (release) {
this.gotoAndStop (1);
}
Add your content. If you want a scroller, slightly more complicated. Try adding a dynamic text box and component scroller; I think that will work. Need help let me know. If you just want to add a line of text or small paragraph, you should be good to go.
If you want to shade the background of everything else on the stage when it pops up, insert another layer beneath your popup box; add a black box covering the entire stage, and transparent (80% or whatever you prefer). If you want the popup to fade in. Change gotoAndStop (2) to gotoAndPlay (2) and add a fade tween from, say for example, frame 2 to 10; where you'll have your close button and stop action.
Hope this makes sense!
Also visit ffiles.com
Might have something for yah
davelf
09-17-2009, 04:07 AM
thx a lot for your guide BCinNV...
davelf
09-18-2009, 12:09 PM
this is the main purpose of this forum, sharing knowledge and learning about code. I'm glad to be the part of this forum too.
Sialkoti
10-04-2009, 07:10 AM
hi. i create a login page in flash now i want to link it to next page.. how i can do that ? im using php ... so plzz reply me
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.