08-23-2012, 05:24 AM
|
#1
|
|
Registered User
Join Date: Jan 2011
Posts: 15
|
Flash open pop-up window
Hi,
I need some code for my flash book that is on the web, to open a pop-up window. The pop-up window needs to sit in front of the current window and be smaller in size. There will be a button in the flash book that would trigger this. Also- it is very important that the pop-up does not get blocked by any browser, just as it doesn't get blocked in html when the pop-up is executed as a direct result of human interaction.
Thank you.
|
|
|
08-23-2012, 06:10 AM
|
#2
|
|
Senior Member
Join Date: Dec 2011
Location: Tucson, AZ
Posts: 1,888
|
Are you sure you actually need a browser window? You could add a MovieClip instance on top of your book app. Pop-up blockers wouldn't block it, and it would of course be smaller than the window in which it resides.
|
|
|
08-23-2012, 06:16 AM
|
#3
|
|
Registered User
Join Date: Jan 2011
Posts: 15
|
I have tried using a movie clip on top of the book but found that the flash player kept on crashing- there was too much flash content.
|
|
|
08-23-2012, 07:01 AM
|
#4
|
|
Senior Member
Join Date: Dec 2011
Location: Tucson, AZ
Posts: 1,888
|
I don't think your problem is directly related to adding a small movieclip to the displaylist.
It sounds like you might be adding the entire book to the displaylist, which could result in memory issues and stability problems if the book has a lot of pages, text, vector objects, bitmaps, etc...
How is the book project structured?
ie: is it a movieclip with 300 frames, with images and textfields on each frame?
What is the compiled swf filesize?
|
|
|
08-23-2012, 07:28 AM
|
#5
|
|
Registered User
Join Date: Jan 2011
Posts: 15
|
It is a flip book i purchased on activeden which is a swf with 300kb file size. It can contain swf's or various image formats. I generally have problems when using many swf's for the pages, and i therefore use .png's instead. I don't have any problems with these formats, as long as i stick to 1000 pages or less. I have no problems using .png for the text and images i would like to show but when it comes to the animations, i obviously need to use swf's and that's when i start experiencing problems. When i open pop-up windows using JS inside the xml file, it works well but gets blocked by one of the browsers. The browser is a popular one and i therefore have to find a solution.
|
|
|
08-23-2012, 08:25 AM
|
#6
|
|
Senior Member
Join Date: Dec 2011
Location: Tucson, AZ
Posts: 1,888
|
Are you loading 1000 png files at startup?
|
|
|
08-23-2012, 08:49 AM
|
#7
|
|
Registered User
Join Date: Jan 2011
Posts: 15
|
yes.
|
|
|
08-23-2012, 10:31 AM
|
#8
|
|
Senior Member
Join Date: Dec 2011
Location: Tucson, AZ
Posts: 1,888
|
Do you have access to the code used in your template/swf file?
I'd like to see how all of these png files are loaded.
|
|
|
08-23-2012, 11:55 AM
|
#9
|
|
Registered User
Join Date: Jan 2011
Posts: 15
|
would you like the XML or the actionscript that is in the fla?
|
|
|
08-23-2012, 06:08 PM
|
#10
|
|
Senior Member
Join Date: Dec 2011
Location: Tucson, AZ
Posts: 1,888
|
Actionscript
|
|
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 05:59 AM.
///
|
|