Solved

pop up window no toolbar or resize FLASH CS3 AS2.0

Posted on 2009-04-09
8
1,905 Views
Last Modified: 2013-11-12
Im about to go nuts.  

I have tried many different methods and now EE is my last resort.  I even tried examples posted on EE, but for some reason my window will not work.

I am making a VERY BASIC, VERY GENERIC, NOT SPECIAL AT ALL, pop up window from flash.

I want the window to be say 500 X 700 in dimension and have no toolbars or be able to resize.

The problem is when I do it from flash this way

popup_btn.onRelease = function() {
        getURL("xxx/index.html","_blank");
}

or when I actually put it on the button itself

on(release) {
     getURL("blablabla/index.html","_blank");
}

it doesnt work.

I have no clue why.  The syntax above may not be accurate 100% as I am trying this from head only without reference, but I know you guys get the idea.

Can someone show me how to do this in AS 2.0 for the flash player 8 and above, that will work on all browsers.?

Im testing this on wamp.  Could this be the issue?

0
Comment
Question by:Devario Johnson
  • 5
  • 3
8 Comments
 
LVL 8

Expert Comment

by:wal_toor
ID: 24113816
Hellow,

You need a piece of javasript to make a popup windown without browser functionality.

I have attached the javascript code and the flash code.

Hope this works for you.

greetz,
walter
this is the piece of javascript you need to place in your html page just abouve the </head> tag
 

<script language="javascript">

function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}

</script>
 

in flash you can call this javascript by using
 

on(release){

	getURL("javascript:MM_openBrWindow('popup.html','popup','width=500,height=700')");

}

Open in new window

0
 
LVL 5

Author Comment

by:Devario Johnson
ID: 24116437
thanks for the response.

I tried but it did not work.

I know there is more than likely something very small that I am missing...I am attaching two files for you to look at too see where the problem is.

the.fla and the .html

the tab with the popup that isnt working is the "music" tab.

http://www.scholarpc.com/EE.zip

retain the directory structure and try it out...you will more than likely see my issue

thanks
0
 
LVL 8

Expert Comment

by:wal_toor
ID: 24118173
Hellow,

sorry, but there is no fla file, just the swf.

greetz,
walter
0
 
LVL 5

Author Comment

by:Devario Johnson
ID: 24118424
OK it should be updated now, the file should be in there
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 8

Accepted Solution

by:
wal_toor earned 250 total points
ID: 24118819
Ah, found it.

The white button is your popup link. This button is inside a movieclip called 'loader'. This movieclip has an on(release) action that overwrites the on(release) function in the popup button. Just get rid of this script and it works.

search for: frame 'music' / inside 'symbol 89' / on frame 6 / movieclip 157

delete or uncomment this script:

on(release) {
if (ExternalInterface.available) {
ExternalInterface.call("window.open","http://www.adobe.com","win","height=200,width=300,toolbar=no,scrollbars=yes"); }
}

This worked for me.

greetz,
walter
0
 
LVL 5

Author Comment

by:Devario Johnson
ID: 24118849
delete or uncomment?  or delete or comment?
0
 
LVL 5

Author Comment

by:Devario Johnson
ID: 24118889
OMFG...

THANK YOU SO MUCH....

that worked!
0
 
LVL 5

Author Closing Comment

by:Devario Johnson
ID: 31568815
Perfect!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now