Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

Independant window?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dorej - 13 Jul 2008 22:10 GMT
ok. is it possible to make the link pull up in a separate window without
closing the site. i want to be able to display a photo gallery by pressing a
link and having it open in its own window. but without leaving the site.
Dreamweaver has a behavoir that allows me to open a new window on a link but i
dont know if something like that can be done with flash or not.

I will try to explain what i am doing. My photo gallery i have made is
separate from the flash site. So when i click on the gallery link, i want the
swf of the gallery to pop up in its own window on top of the page im on. Right
now it leaves the site and goes to the page, which stops the music of course
and leads me to have toput a back button to return instead of just closing
window.
Shan-Dysigns - 13 Jul 2008 22:57 GMT
All you have to do is give the button the url of the photo gallery swf and make
sure to target it as a "_blank" window. You can also create an html page with
the photo gallery swf file imported and then link the button to the html file
instead of the swf.
Dorej - 14 Jul 2008 19:13 GMT
Thank you very much. I do appreciate all the help. One day maybe i can help
others..Oh man i got alot of learning...Thanks again.

  Sorry for the double post. After i posted it, i realized it was off topic of
my other one and thought i should start another thread. And i just realized i
could of deleted the other. My appologies.
Dorej - 14 Jul 2008 19:52 GMT
Works great thank you Shan. Is there a way to control the window size?
Shan-Dysigns - 14 Jul 2008 21:38 GMT
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14192 tells you
all about how to create a pop up and control the browser size. Look under the
ActionScript 2.0 area where it states

var jscommand:String =
"window.open('http://www.adobe.com','win','height=200,width=300,toolbar=no,scrol
lbars=yes');"; getURL("javascript:" + jscommand + " void(0);");

that's a little easier to use.
Dorej - 14 Jul 2008 23:20 GMT
Very cool thanks again. I am gonna make you hate me here. I cannot attach this code to text, its telling me that i cant. So i have to use the image as the link instead of the text.
Shan-Dysigns - 15 Jul 2008 02:05 GMT
I think you may need to back track a little and learn some fundamentals of
Flash (especially how buttons and movie clips are used and how they differ).
Here is a little fla file I made to show you 4 ways to make text into a link (2
buttons and 2 mc's).

Look at my example http://www.shan-dysigns.com/flash/clickMe.fla
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.