| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| DesignersTalk > Is it possible to create pop ups from files in your library |
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 44
|
Is it possible to create pop ups from files in your library
I just started using flash and I'm working on a file for class. I want to be able to click thumbnails and there be a popup with the full size image. Can I do this with just files in my library? I only know how to use the getUrl tag to make popups. This isto be turned in as a flash file and isn't part of a website so I can't integrate javascript into it. |
|
|
|
|
|
#2 (permalink) |
|
what sarah said
|
Hmm... I'm not totally sure but I don't think you'll be able to do it from your library. Flash (unlike it's cousin Director) doesn't export the SWF with the library contents. Thus, I think you'd need to have the images in a folder and getURL to those files. Anyone else have thoughts? |
|
|
|
#3 (permalink) |
|
Programmer
Join Date: Jan 2007
Location: UK, Manchester
Posts: 36
|
Make a new layer which contains the "popup" inside a movie. As soon as the flash document loads, hide the movie. Code:
In the popup movie you'll need an empty movie clip which is where the image will load in to. Then you need to make on release events for the smaller images which you've loaded on to your flash document. Code:
basicly, you call the image imagelib in the library. it must be added to a movie first. for the movie you've created which contains the image, right click, go to linkage, click export for actionscript, this will allow it to be imported using the import movie function. Last edited by EGONick : 13-03-2007 at 19:24. |
|
|
|
#4 (permalink) | |
|
what sarah said
|
Quote:
I stand corrected |
|
|
![]() |