473,788 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I create a Popup in flash?

37 New Member
Hi all,

I need help...I have a flash file name test.swf and there are button to launch another swf file. I try to use loadmovie() method but it replace my old swf with the new one. What I'm trying to do is more like popup for the old flash.

Hope you all can help me.
Thanks in advance.
Aug 17 '07 #1
8 6590
kestrel
1,071 Recognized Expert Top Contributor
You could use Javascript to generate a popup window.

Expand|Select|Wrap|Line Numbers
  1. on (release) { getURL("javascript:popup('http://www.something.com/test.swf')"); }
  2.  
  3.  
let me know if it works

--
Kestrel
Aug 17 '07 #2
teenIce
37 New Member
Kestrel,

It doesn't work. The error says
Expand|Select|Wrap|Line Numbers
  1.  Object expected 
. Is this will open another windows?
Aug 17 '07 #3
kestrel
1,071 Recognized Expert Top Contributor
Yes, that code is supposed to open a new window. let me check my work.
Aug 17 '07 #4
kestrel
1,071 Recognized Expert Top Contributor
Try this:

Expand|Select|Wrap|Line Numbers
  1. var jscommand:String = "window.open('http://www.adobe.com','win','height=200,width=300,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
  2.  
This will create a window that is 200px in height, 300 in width, has no tool bar and allows scroll bars. You can change any of those properties if you want. That should work.
Aug 17 '07 #5
teenIce
37 New Member
Thanks Kestrel.
I'll try and inform you the result.
Aug 17 '07 #6
kestrel
1,071 Recognized Expert Top Contributor
OK, you're going to have to add
Expand|Select|Wrap|Line Numbers
  1. on (release)
if you want it to open up when you click on something
Aug 17 '07 #7
teenIce
37 New Member
Yes.

It works..Thanks Kestrel. But I want your opinion in my scenario. I had two flash file (A and B) . Let say, A supposedly call B and pass certain variables, is it possible I can load B in the same page with A and never unload A.

Thank you in advance.
Aug 17 '07 #8
kestrel
1,071 Recognized Expert Top Contributor
You should ask all new questions in a new thread. That way, your question is more likely to be seen and answered.

--
Kestrel

P.S.
Use good thread titles :)
Aug 17 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

21
1815
by: Eugene | last post by:
Hi.... I have a little javascript popup box that people click on to open up an information panel. I made some little blinking star anims on the page that stop blinking after the popup has been activated - and stay "off" even after the popup is closed. any fix for this?
17
2514
by: Applebrownbetty | last post by:
Hi, I'd like to append/amend the following code from the Dreamweaver extension "Open Picture Window Fever" for the ability to center the PopUp window: By default, it allows the window to be offset on the left and top, but does not include a centering option. I'm thinking it would include something like (screen.width-imageWidth)/2; somewhere but not sure how do go about doing this.
1
1689
by: zeb | last post by:
Hi, How can I have a flash played in a popup window when I load my index page ? Thanks in advance...
11
4153
by: playmaker | last post by:
Hi, I have two buttons calling the same funtion to open a popup window, dinamically built according to parameters passed to the function. The problem: when I click the first button (or the second), anything goes. When I call the function again /that is, from the athor button), I get no window subtitution: that is, the second popup loads into the first, loosing w and h too... I simply need this substitution: is this possible?
15
18744
by: | last post by:
So many websites can get around my Googlebar's popup blockers. Even Opera 8 can not stop those popups. I looked into the codes, and I can find nothing showing me how it is done. Can anyone help me find what how it is done? First go to http://www.sitepoint.com/forums/showthread.php?t=184025&page=1&pp=25 Click on Last ? on the page
1
1458
by: dnavarrojr | last post by:
I am looking for code to reproduce the mouseover popup Flash Video windows on www.pond5.com and www.revostock.com Thanks!
3
2816
by: Wolfman | last post by:
Hi guys I thank you for being the most helpful and responsive tech group around, and I have a new one for you. Have you ever embedded Hulu on a page before? I use it quite extensively in popup "player" windows, and as each popup page requires slightly varied object/embed parameters specifying to which Hulu file to link, I've been creating a different HTML page for each popup. Now however, I face creating a multitude of individual popup...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10118
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5403
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2897
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.