Solved

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

Posted on 2009-04-09
8
1,915 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 5

Author Comment

by:Devario Johnson
ID: 24118424
OK it should be updated now, the file should be in there
0
 
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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

696 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