Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Simple... yet I still can't find it!

Simple... yet I still can't find it!
Thread Tools
Mac Enthusiast
Join Date: Jan 2003
Location: :noitacoL
Status: Offline
Reply With Quote
May 2, 2003, 01:00 PM
 
Ok...here's the deal... have a flash animation that has thumbnails... I want it to (when the user clicks on a thumb) to open a webpage (with getURL) with the image and the window set to the image size. Here's the thing... I have searched everywhere and the only thing I can find for fixing a window size is the window behavior... and that opens my image and then opens a separate window at the fixed size... I know this should be simple, but any help would be appreciated... (all of this in MX)

All as artificial as the Matrix itself, although only a human mind could invent something as insipid as Love.
     
Mac Elite
Join Date: Oct 2000
Location: Baltimore, MD
Status: Offline
Reply With Quote
May 2, 2003, 02:30 PM
 
include a javascript on your page that the flash getURL accesses by hitting getURL=javascript:blah.js.
     
Dedicated MacNNer
Join Date: Nov 2001
Location: england
Status: Offline
Reply With Quote
May 2, 2003, 06:23 PM
 
There is a extension (smartclip) that will do this for you-
http://home.swfla.rr.com/centerpopup/

it will open a new window with definable properties- i.e. no scrollbars, position on page, toolbar, etc- and it doesnt require any coding for html - flash takes care of it all - it has worked for me on all (mac and pc) browsers- its very useful. The only probem is you have to create html pages for the fullsize images that appear in the popup.

chris
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
May 2, 2003, 06:27 PM
 
Couldn't you use the window.open() method directly from the getURL command in flash?

ie:

getURL("javascript:open('','enlargementWin','direc tories=no,location=no, menubar=no,status=no,titlebar=no,toolbar=no,scroll bars=no,width=350, height=325,resizeable=no"));
Computer thez nohhh...
     
Mac Elite
Join Date: Oct 2000
Location: Baltimore, MD
Status: Offline
Reply With Quote
May 3, 2003, 08:38 AM
 
^^^^^^^ should work too
     
Mac Enthusiast
Join Date: Jan 2003
Location: :noitacoL
Status: Offline
Reply With Quote
May 3, 2003, 01:11 PM
 
Originally posted by Simon Mundy:
Couldn't you use the window.open() method directly from the getURL command in flash?

ie:

getURL("javascript:open('','enlargementWin','direc tories=no,location=no, menubar=no,status=no,titlebar=no,toolbar=no,scroll bars=no,width=350, height=325,resizeable=no"));
so just put that into flash? How does it keep relative files?

All as artificial as the Matrix itself, although only a human mind could invent something as insipid as Love.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:28 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2