Old 12-10-2005, 07:49   #1 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
open full screen window

how do you guys do that by just the url in flash?

thanks,.
  Reply With Quote
Old 12-10-2005, 12:16   #2 (permalink)
MikeMackay
Everything is fine.
 
MikeMackay's Avatar
 
Join Date: Feb 2005
Location: Witham & London
Posts: 828
Send a message via MSN to MikeMackay Send a message via Skype™ to MikeMackay
If you mean a full window browser screen then I think this can only be done with JavaScript and, afaik, it's not Mac compatible.

If you are talking about a local flash movie on a desktop or something then you can save it as a projector file which I think enables you to open in full screen (using FS Command)...

Hopefully a better flash-bod will step in

- Mike
  Reply With Quote
Old 12-10-2005, 19:54   #3 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
Quote:
Originally Posted by MikeMackay
Hopefully a better flash-bod will step in
cheers mike, that's what i'm hoping too

i fucked it off anyway, got it kinda working, wait till the client complains (read: complains any more).
  Reply With Quote
Old 16-10-2005, 07:51   #4 (permalink)
r0cker
Registered User
 
Join Date: Oct 2005
Location: Gateshead
Posts: 15
Hi guys, I'm learning actionscript and came across the forums (which seem very freindly), so you may have to excuse my inexperience but I have come across a site that uses a full screen window in flash and works on a mac. www.cultureclub.be
I hope that this is helpful.
R0cker
  Reply With Quote
Old 18-10-2005, 11:51   #5 (permalink)
dan
Iris Folder
 
dan's Avatar
 
Join Date: Apr 2003
Location: smokey
Posts: 2,643
Always use javascipt in the popup window, don't know of any other way. Any reason you can't do it that way?
  Reply With Quote
Old 18-10-2005, 14:02   #6 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
the url is read from an xml file. i don't want to change the swf as some links don't want to open full screen.
  Reply With Quote
Old 19-10-2005, 09:22   #7 (permalink)
dan
Iris Folder
 
dan's Avatar
 
Join Date: Apr 2003
Location: smokey
Posts: 2,643
How can you tell whether the link needs to be opened full screen or not? is that fact passed from the xml too?

If so can't you just mod the swf to target a window open javascript in the html if the case requires or just launch blank (or whatever sized javascript etc. you'd be using) otherwise?
  Reply With Quote
Old 19-10-2005, 16:42   #8 (permalink)
flatcat
Balinese Buddah Sensei
 
flatcat's Avatar
 
Join Date: Jul 2003
Location: Vancouver, British Columbia
Posts: 765
Send a message via MSN to flatcat Send a message via Skype™ to flatcat
you normally just write your javascript popup:

Code:
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function view( img, dimensions ) { var inf = '<title>Children Of Ecuador</title><body topmargin=\"0\" leftmargin=\"0\"><img src=\"' + img + '\">'; win = window.open('', '', dimensions + ',scrollbars=0,resizable=0,toolbars=0' ); win.document.write("" + inf + ""); win.focus(); } // End --> </script>


and then you just call it same in Flash as you would through an href tag:

getURL("javascript:view(myXMLVar,'width=370,height =200')");


I think that's what you were asking anyway? That code is for a image-popup thing, but the general idea is the same...

If the xml determines whether it's a popup-or not, you could simply just do a if/else and just have the getURL change depending...

I hope that helps since I didn't quite understand, heh.
__________________
audentes fortuna iuvat
Flatcat
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8