Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dave! Pop pop pop pop!!

Status
Not open for further replies.

katiekat

Technical User
Jun 6, 2000
300
US
Hey y'all!

Been a while, got religated to the nasty work for a bit. Eh.

I have some code that is supposed to make a pop-up window. It's placed in you're HREF link, yadda yadda. I would like to add some pop-up features to a couple links in my movie. I don't know how flash is going to take it though. Is there an easy/other way to get a pop-up window to work? Spanks for all the help!

Check out my stupid fledgeling website that has nothing in it right now! Let me know what you think guys, and keep in mind it's SECRETkat, so remember I can be sneaky. :)

Thanks in advance! Holy tek-tips batman!:-0
 
hi Katie

what's up with the FAQ?

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Is there one for it? I searched and didn't really find anything useful, maybe I just didn't search hard enough.... I'll try again.

K Holy tek-tips batman!:-0
 
Ok, so what I want to do is open some pre-sized html pages from a flash movie. I saw a tutorial for a pop-up flash movie with no borders in this forum, some javascript to open a new window in the jscript forum, and nothing at all in the html forum. I guess I'm sort of lost as to how I should be doing it. Can I take the java stuff from the popup flash thing and make that work somehow?

help? I'll keep looking. Holy tek-tips batman!:-0
 
hi Katie

Jeffs just added a multi-pop-up FAQ FAQ250-697, assuming you want several pops at the same time. Remember if you use a version with no toolbar, border etc, you'll have to provide a close button and call a 'closing' script held within another HTML page as in my FAQ.

You could however just use the good old getURL:

Code:
getURL ("[URL unfurl="true"]http://www.yourserver.yourfile.html",[/URL] "_blank");

...as many times as you need.

dave
davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Thanks Dave! :) Holy tek-tips batman!:-0
 
Was just reading this post and felt like I needed to clarify the pop-up FAQ I posted. Actually after doing much research and digging I have discovered that you can call a popup window by establishing a function name in Flash and then referring to that function in your HTML page that contains your Flash file.
this goes in Flash under a getURL action. leave the target empty since it is defined in the HTML

javascript:AnyNameYouWant()

you can read the FAQ to see what goes in the HTML ...but the great thing about it is it only opens one popup at a time...how and when you specify or it can open up several at a time if you click on several popup buttons.

I just built a site for a guitarist/songwriter and he wanted to list 12 of his songs on his site ...each one to popup in a smaller window in the corner when clicked on.

I am here to say it works great and is oh so easy to do. Took me all of about 10 minutes to set them up that way. and you are only dealing with the popup content window and the html page that holds the Flash movie. 2 files and it just doesn't get any easier.

to see the site Ya' Gotta Love It!
sleepyangelsBW.jpg
 
ok, so I looked at that website, and it seems that I have the javascript correct. What I don't have correct is the flash stuff. Could you tell me where exactly you put this javascript:anythingyouwant() bit? Seems that when I put it in the little box that's labeled "url", in normal mode in the actions area, it wants to open a web page called javascript:anythingyouwant. Maybe I'm being dense, and I'm sorry, but I'd really appreciate some clarification.

Thank you! :) Holy tek-tips batman!:-0
 
Seems Tulsa just answered your question...

"this goes in Flash under a getURL action. leave the target empty since it is defined in the HTML"


;-)

 
I just posted in one of the posts below this one with some clarification. I am going to upload a link to a .fla example later tonight or tomorrow which may help a bit.

Good luck! Ya' Gotta Love It!
sleepyangelsBW.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top