Results 1 to 7 of 7

Thread: how to link a flash to a pop up

  1. #1
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Post how to link a flash to a pop up

    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
    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.

  2. #2
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    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.

  3. #3
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    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.

  4. #4
    Join Date
    Sep 2009
    Posts
    16
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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
    Last edited by BCinNV; 09-13-2009 at 05:33 PM.

  5. #5
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    thx a lot for your guide BCinNV...

  6. #6
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    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.

  7. #7
    Join Date
    Oct 2009
    Location
    Sialkot
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default need help

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •