A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: [html/flash] i need to have this open......

  1. #1
    _One of a Kind_ j.manfogle's Avatar
    Join Date
    Aug 2005
    Location
    Philippines/usa
    Posts
    198

    [html/flash] i need to have this open......

    hi!
    i was working on a project (just for the fun of it) and i wanted to have a html page have a link and when you click on that link it opens the Swf in a separate window type thing? how is that done? what do you put in the html or do you put it in the flash file? any clearing up on this would really be helpful!!
    thanks!
    Fogle

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Search Google for "open popup, javascript". You'll get a ton of ways. Anything, including a swf can be in the popped up html page.

  3. #3
    _One of a Kind_ j.manfogle's Avatar
    Join Date
    Aug 2005
    Location
    Philippines/usa
    Posts
    198
    Thanks a ton Ask The Geezer i was trying to search Google but i couldn't find anything but i didn't try using POPUP (i feel stupid!,.................i probably am!)
    Fogle

  4. #4
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    It's a lot easier to do it from a flash movie. No javascript needed. From an html page, you need to add some java to the page to make it work.

  5. #5
    _One of a Kind_ j.manfogle's Avatar
    Join Date
    Aug 2005
    Location
    Philippines/usa
    Posts
    198
    ok whats wrong with this?

    on(release) {
    getURL("www.google.com", "_blank", "GET");
    };


    i have it on a button (just testing out popup thing! with some sites and swf files!)
    Fogle

  6. #6
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    You don't need GET. But that just opens another window, not a popup. Popups are small.

    on(release) {
    getURL("http://www.google.com", "_blank");
    }

  7. #7
    _One of a Kind_ j.manfogle's Avatar
    Join Date
    Aug 2005
    Location
    Philippines/usa
    Posts
    198
    k but if i have a swf say 300 x 325 named test.swf and it was uploaded to a file server and i want it to popup what code whould i use???
    Fogle

  8. #8
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Put this in a folder and test it.
    Attached Files Attached Files

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center