Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Open A Smaller Windows On Flash Hyperlink Button



Hi.. Dear all, I know how to open a HTML page from a flash hyperlink button by assigning the action script to be

on (release) {
getURL("new.html", "_blank");
}

But as my new.html only contain the new.swf which is about 290X620 size, so I want to open a smaller window with no toolbar. In HTML it is done in the following way in the main site, how about in flash??

<a href="#" onClick="window.open('new.html','_blank','height=290,width=620');return false">new html</a>



DevShed > Flash Help
Posted on: February 23rd, 2004, 01:16 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Button To Open Windows Explorer
to click on a button to open a browswer is:
bt1.onRelease = function(){
getURL("http://www.macromedia.com",_blank");
}

But, how would be able to open a Windows explorer and go to a certain directory when I click on a button? thanks.

How Would I Open Windows Open Dialog Box Through Flash.
Hi all,
My query is how would I open windows open or save as dialog box through flash?.
Anybody help me plz.

cheers,
atul

How Would I Open Windows Open Dialog Box Through Flash.
Hi all,
My query is how would I open windows open or save as dialog box through flash?.
Anybody help me plz.

cheers,
atul

Flash Ad Banner Displays Fine In Windows But Displays Much Smaller On All Mac Browsers
I just created a functional site demo with a 728x90 leaderboard ad banner that is a Flash file. It displays in the correct size on IE on a PC, but when I view the pages on a Mac (Safari, Netscape, and Firefox -- all in OS X), the ad banner is displaying at 370x75. The object size is correct in the code parameters, and the cell in the table that houses the object is sized correctly as well. Any ideas if there is a way for me to fix this?

I Thought Centered/pop-up Windows Worked If A User Clicks On The Button To Open Them
I thought centered/pop-up windows worked if a user clicks on the button to open them without being blocked bya popup blocker.. yes no?

BTW I'm trying to use the tutorial for flash 8 that is here on kirupa with no luck of it working. Anyone else having a problem or have a better pop-up window launcher?

-Line

[CS3] My Fla It Changes Smaller When I Open It In The PC (the File Has Been Ctrated On Mac)
Hello,
one of my partners give me a fla file to make some changes of code (actionscript).
So, I working on pc with CS3 and the file has been created on Mac G5 by Flash 5.
When I open it everything works but the stage at 100% looks smaller. I have to zoom 200% to work with it.
I can't see the actual size of the stage.

Why this is happening?
and if there any tip to fix this please let me know.

thank you

How To Open New Windows From Flash?
is there any way to open new windows from flash something like using javascript window.open("... i need to open window wit no location, sliders etc any help would be much appreciated

[F8] Open Pop Up Windows From Flash
Hello,
I was using a simple

}
on (release) {
getURL("javascript:Launch('filename.htm')");
}

actionscript to open pop up windows from within Flash but I lately noticed they don't work at all in the latest Flash broswer plugin (or it could be blocked by Explorer and Mozilla?). Is there a script that bypasses those restrictions and allows me to open Javascript popups from buttons in a flash movie? Thanks.

How To Open Windows Explorer With Flash
hallo,,,everyone!!!

just sharing my problem,,

how to open windows explorer from flash??

thanks,,

Is There A Way To Re-size The Windows That Open When Flash Is Opened?
I being trying to find a way, but i cant......

and if u dont mind, i have being importing file (pictures) to use in my project, but when i do so the picture look bigger and quality is lost... is there a way to prevent this? thank you

Open/close Browser Windows From Flash
Hello,

What I have is 6 buttons in my flash movie. When one is clicked, it opens a sized browser window. Click another, and it opens a different sized window, etc. How do I tell the buttons to close any open windows before opening a different one?

I could only find this code below to close a window, but it doesn't allow the new window to open correctly - it just opens in the size of the previously-clicked window.


on (press) {
getURL("javascript: window.close()");
}
on (release) {

getURL("javascriptpenNewWindow('mm02.htm','thewi n','height=358,width=767,t
oolbar=no,scrollbars=no,status=yes') ");
}


Any help would be appreciated. Thank you.

Open GNU Flash Editor For Windows / Linux ?
Is there any open/GNU Flash editor (.fla) for Windows or Linux or Macromedia`s program is the only way to make .fla / .swf movies ?


Thanks !

Open Popup-style Windows In A Flash
I'd like to know what action I have to use to open popup-style windows in a flash scene.I've made a draggable window and I want it not to be visible until a button is pushed. Do I have to use visibility, goto or whatever, i just don't know...

How To Open Windows Explorer / Folder From Flash?
Alright..so I took on a project that is way over my head. I'm new to this stuff so forgive my terminology.

I need to create a button that launches a path to a folder on a network. I thought I could use:

getURL("\PATH", "_blank");

Open External Browser Windows From Within Flash
Hi,

When using "getURL" with the "_blank" statement in Flash attached to a button, things works perfectly in Firefox on Mac (opening a new window), but Internet Explorer 6 on PC just refuses to open the HTML-page in a new window, instead it opens it in the current window instead. Why is this? Are there any other way to solve it?

Thanks.

Can Flash Be Used To Open .wmv Files In Windows Media Player?
have access to Flash MX 2004 Professional and might be described as an "advanced beginner' in the use of ActionScript.

I will be supplying a client with a dvd disc containing several .wmv video/audio files, so this is not an internet streaming application. One simple approach is to just give the client instructions to open a video file in Windows Explorer and view it using a program like Windows Media Player.

And if that's the only .simple approach, it will work. But I was wondering if a "sexier" Flash shell could be built with the client's logo, etc. on it and a button for each .wmv video file. Is there ActionScript code that could be used when a button is clicked on to send the action to a video file and open it in Windows Media Player, instead of having the user click on the file in Windows Explorer? And once the video is closed, the action would return to the Flash shell.

I'm hoping it could be done with Flash Player 7, which would be more widely available than Flash 8.

I've done some studying of the use of .flv files and so forth but wanted to find out if there is a simpler way such as I have described above. If it can't be done as I have envisioned it, someone please say so. Then, I will decide whether to use the non-Flash approach or look at other options.

Any guidance (and code even) will be greatly appreciated.

Bill


[MX-MX04] Open The Save As / Open Windows
Hi,

I would like to click a button, which opens either the 'Save As' or 'Open' window (something like what this HTML does: <input type="file" size="40" name="file1" style="font-size: 8pt; font-family: verdana">). When you click open (in the 'Open' window) then the file path is put into an input textbox. And if you save (in the 'Save As' window), well, can you save things from an swf file? I've seen a save as jpg done, but nothing more... If you can save as anything, I'd like to know how.

I'd appreciate it if you gave code in either MX or MX2004 format, thanks :P.

Regards,

Can Flash Open Windows Files And Programs From An Html Document?
So far I have been able to open the drives (A:, C:, etc.) and folder with no spaces in the names. I have been using getUrl with a variable loaded from a text file, but I am having trouble folders with spaces in the names, files, and exe's. Please help me.

ty,

Flash Buttons To Open Html Full Screen Windows
hi ,

i want to open 2 full screen windows in html
i have 2 buttons in flash... to open 2 different full screen windows...

so how would that code be??

cheers

Flash Player Debug Version Doesnt Allow New Windows To Open
Couple days ago I installed Flash Tracer http://www.sephiroth.it/firefox/ which allows you to trace() directly on firefox. That works just great. Part of getting that to work is installing the Debug version of the Adobe Flash Player. So I went to the adobe site and got the latest copy (you know is the debug version when you right click and see the word Debugger at the bottom of the right click menu).

New urls wont open in Firefox ??? How come??? In IE and Opera works fine. So now I have to browse Flash site in IE just to be able to click on links

Getting A Hyperlink To Open In A New Wingow
when I use the URL Link section in the properties tab of a text box, I can link to another web page. How can I get this link to open a new browser window?

Thanks

Open Windows Explorer And Make External File In Front Of Flash Proyektor.
I have to problem with my proyektor file.

1. when I open external file (pdf file with .bat file to run it), the adobe acrobat run under the flash proyektor windows so I can see the acrobat reader before I quit the flash proyektor.

I need to make the acrobat reader run in front of flash proyektor. It seem the flash proyektor have "always on top" command.

2. How can I open windows explorer from flash? Is there any actionscript for this?

please help.
thanks.

Making Flash Open Windows Media Player And Close After The Movie Has Played
Hello People.

I'm stuck on this, and really need help fast as it's to be in today.

I've made a presentation that if left will start cycling automatically through my work. The only problem is, is that it needs to play my AVI at the end.

I can't import the AVI into Flash because it's 40Megs, and Flash just can't handle the sound and images at the same time.

Is there anyway of getting Flash to open up Windows Media Player, playing the movie then closing it down again?

At the moment I'm using the geturl to open a webpage with the video in it, but this sticks it shrunk at the side of the window and you have to click to maximise it. Which kinda runs the automaticness of it.

Can any of you help.? I need help quickly.
Cheers u guys.

Flash Hyperlink Button
I am a new user of Flash and have run into a problem I can't seem to solve after hours of trying. What I thought would be quite simple...creating a button that when published and then opened in IE7 would, when clicked, cause IE7 to link to another web page. My tutorial book mentions just applying a "Go to web page" Behaviour to it, but while that works fine in "Test Movie", nothing happens in IE7. I have also read some previous posts here on the subject, done what was recommended and still no luck. What the heck am I doing wrong and where? Here's a simple run through of what one might do.
1. Open a new Flash file and call it Button_Test, create a new Button symbol called btn_test, create the Up, Over and Down states, and return to the Stage.
2. Move the button to Frame 1 of the first layer on the stage, click the button, and name the "instance" in Properties my_btn
3. Click on frame 1 of the button layer, open Actions (F9), then as recommended here to others, I tried the following action scripts:

my_btn.onRelease=function(){
getURL("

Help With Flash As2 Hyperlink Button
hi, this should be very easy to do but i can't accomplish it with my current file. i can link from as1 or as3 but for some reason, this as2 will not let me link. please help! it's too complicated to explain in text the problem here so please download my flash file and see what i'm trying to do. don't worry, no viruses!

this is created on a mac and compressed. view my flash file here: http://www.nafline.com/prototype/dev/header_white3.fla.zip [about 13mb, sorry, don't know why it's so big even though i deleted all unnecessary stuff]

in my file, you'll see there are 2 buttons, 1 has a link using on (release). i want to be able to link them. if you try testing out the swf movie, the link doesn't work. i tried on (click) and mouseEvent and none work. =((

thanks for the help!!!

From Hyperlink In A Dynamic HTML Textfield: Open Popup?
Hi,

I'm looking for a way to open a popup from a hyperlink that's in a dynamic HTML textfield in Flash5.

Flash5 offers the possibility of HTML1.0 mark-up in dynamic textfields. I used this within an administratable Flash website. Now, I'm looking for a way to open popups by clicking a hyperlink in the dynamic textfield.

I've tried calling JavaScript, but this doesn't seem to work. Can anyone help me? (I'm really starting to lose it.)

Thx,

Novo.

Hyperlink Wont Work On Flash Button
i did some buttons in flash and when i published it to my site it wont follow its hyperlinks

its like the flash button cant be hyperlinked

please help me

let me know if i am missing something

thanx in advance

Dynamically Changing A Hyperlink On A Flash Button
I've built a kind of "demo" that shows examples of a certain product, and at the end of the flash demo, a button appears. I wanted to know if it was possible to make the link of that button dynamic, so that if I wanted to change it, I could simply change, say a .txt file. This would make my life a helluva lot easier. Can any1 tell me how>? or get me started on what to do.

Thx

Dynamically Changing A Hyperlink On A Flash Button
I've built a kind of "demo" that shows examples of a certain product, and at the end of the flash demo, a button appears. I wanted to know if it was possible to make the link of that button dynamic, so that if I wanted to change it, I could simply change, say a .txt file. This would make my life a helluva lot easier. Can any1 tell me how>? or get me started on what to do.

Thx

Rollover Button To Be Triggered By Area Smaller Than Button
I'm pretty new at Flash. I am creating a flash file to insert into a PowerPoint, since PP has no way to really use mouseovers. This is my first project, but I'm going to want to do a lot with this technique in the future.

I have an image of the toolbar of our software and images (transparent pngs) of the tooltips with arrows that will point to the icon.

I can make a roll-over button that only appears when the user rolls over the icon, but the tooltip text is wider than the icon that triggers it, so the buttons I'm creating overlap.

So I want the area that triggers the roll-over effect to be smaller than the button. Or is there a better way to accomplish this task?

Thanks for any advice!

Rollover Button To Be Triggered By Area Smaller Than Button
Newbie. Trying to simulate tool tips on roll-over toolbar

I'm pretty new at Flash. I am creating a flash file to insert into a PowerPoint, since PP has no way to really use mouseovers. This is my first project, but I'm going to want to do a lot with this technique in the future.

I have an image of the toolbar of our software and images (transparent pngs) of the tooltips with arrows that will point to the icon.

I can make a roll-over button that only appears when the user rolls over the icon, but the tooltip text is wider than the icon that triggers it, so the buttons I'm creating overlap.

So I want the area that triggers the roll-over effect to be smaller than the button. Or is there a better way to accomplish this task?

Thanks for any advice!
 

Interval Between Executing The Same Function Gets Smaller And Smaller
Hello,

I've got a bit of a problem that I've not been able to solve. Basically I want to perform a function slowly at first but speed it up as it nears the end.

I have 22 movie clips which are all controlled by a function (blurService). The function makes each movieClip alpha to 100% and blur from totally blurred to clear. Initially I want the first 10 to be about a second to 2 seconds apart but gradually as more and more appear on stage the time between each movieClip coming on gets shorter. So they appear slowly at first but then speed up.

I was initially trying to do this with a setTimeout with a random time in the statement:

PHP Code:



randomTime = Math.round(Math.random()*1000)

if (count >= 23) setTimeout(clearServices, 2000);
else setTimeout(blurService, randomTime);




However, this method means it can be faster at the beginning.

Does anyone know of a way of doing this? Any help would be greatly appreciated.

Cheers
Matt

Chromeless Windows That Open On Movie Load Or Load Of Html Page (Flash Ad Kit)
Hi guys,

I was wondering if someone could help me out in creating these flash ads that appear out of nowhere. I see them mostly on rediffmail, yahoo and about.com.
I know how to create a popup window on button click, but how you do that without a button.

There's another dimension of ads nowadays. They are the transparent ads. They really look cool. Could someone with this knowledge pleeeeeeeeese help me out. I urgently need to create these ads.

Regards,
designable

Chromeless Windows That Open On Movie Load Or Load Of Html Page (Flash Ad Kit)
Hi guys,

I was wondering if someone could help me out in creating these flash ads that appear out of nowhere. I see them mostly on rediffmail, yahoo and about.com.
I know how to create a popup window on button click, but how you do that without a button.

There's another dimension of ads nowadays. They are the transparent ads. They really look cool. Could someone with this knowledge pleeeeeeeeese help me out. I urgently need to create these ads.

Regards,
designable

I Need My Root File (the Very First File I Open Up) To Be 75% Smaller
I made my entire project too big. Can I have it resize at start?

Rather than manually resize my root movie and all the movies it loads, can I globally change the scale as they all open up?

I'm not using this on the web, it will be on a cdrom.

Thanks for any help.

Getting Pop Up Windows To Open More Than Once...
I have popup windows in my interactive portfolio flash movie...

From within my movie when you press the button that opens the new window it works once only...

If I want to reopen that window, I have to "refresh" the movie before the button will open the window again...

How can I fix it...

Open Windows
Hi, I'd like to know if there's a way to make my flash movie start playing full-screen when windows opens

How Do I Open Pop Windows
How do i open from flash pop up windows and be able to set the in an exact position on the screen.

And if posible could i do it from a radio button?

Thanks

URL With Windows Open.
<a href="javascript:;" onClick="window.open('popup_contact.php?P_Template _SiteName=SPA_CostaLife','Contact','width=780,heig ht=650,scrollbars=0');return false" title="Contact" onMouseOver="window.status='Contact'; return true">

Anyone know how can I do a windows open in FLASH to be like this (from Dreamweaver)?

Too Many Windows Open
I have made buttons many times before and no problems. I am making a new site and have some navigation buttons in it and am using the following script i've always used.

on (release) {

//Goto Webpage Behavior
getURL("fun1/homefront.html","_blank");
//End Behavior

}

I have only one button coded for each thing, and cannot find the coded dupilcated anywhere in my flash file. However whenever i view it in the browser window and click the link buttons a new strange thing happens. Instead of opening the page link once in a new window, it opens it twice so i wind up with two windows opening instead of one, and i only clicked the link once. I never had this happen before and just can't see why its suddenly opening two windows, my other fla files aren't doing this, just this one so i know its a problem in this file, but where, how? Or was their a recent update somewhere that is messing with me?

Why Does This Open 5 Windows?
Code:
bSendMsg.onRollOver = function() {
this.gotoAndPlay(2);
};
bSendMsg.onRollOut = function() {
this.gotoAndPlay(11);
};
bSendMsg.onMouseDown = function() {
getURL("http://messaging.myspace.com/index.cfm?fuseaction=mail.message&friendID=101920599&MyToken=40f64079-8647-4f07-a843-d3d8d69dc89b");
};
bAddFriend.onRollOver = function() {
this.gotoAndPlay(2);
};
bAddFriend.onRollOut = function() {
this.gotoAndPlay(11);
};
bAddFriend.onMouseDown = function() {
getURL("http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=101920599");
};
bPostComment.onRollOver = function() {
this.gotoAndPlay(2);
};
bPostComment.onRollOut = function() {
this.gotoAndPlay(11);
};
bPostComment.onMouseDown = function() {
getURL("http://comments.myspace.com/index.cfm?fuseaction=user&circuitaction=viewProfile_commentForm&friendID=101920599&name=Alibris&MyToken=40f64079-8647-4f07-a843-d3d8d69dc89b");
};
bReferFriend.onRollOver = function() {
this.gotoAndPlay(2);
};
bReferFriend.onRollOut = function() {
this.gotoAndPlay(11);
};
bReferFriend.onMouseDown = function() {
getURL("http://mail.myspace.com/index.cfm?fuseaction=mail.forward&friendID=101920599&f=forwardprofile");
};
bAddFave.onRollOver = function() {
this.gotoAndPlay(2);
};
bAddFave.onRollOut = function() {
this.gotoAndPlay(11);
};
bAddFave.onMouseDown = function() {
getURL("http://collect.myspace.com/index.cfm?fuseaction=user.addToFavorite&friendID=101920599&public=0");
};
this opens 5 windows. is it because all the functions are named the same? how can i fix this?

Open Pup Op Windows
Hi,

I have an FLA file with this code:

Code:
//
// Create a new style sheet object and set styles for it.
var styles:TextField.StyleSheet = new TextField.StyleSheet ();
styles.setStyle ("html",{fontFamily:'Arial,Helvetica,sans-serif', fontSize:'12px', color:'#0000FF'});
styles.setStyle ("body",{color:'#00CCFF'});
styles.setStyle ("h1",{fontFamily:'Arial,Helvetica,sans-serif', fontSize:'24px', color:'#006600'});
styles.setStyle ("p",{color:'#000000', fontSize:'14px'});
styles.setStyle ("a",{color:'#0000FF', fontSize:'14px', fontWeight:'bold', textDecoration:'underline'});
//
/* Assign the style sheet object to myTextArea component. Set html property to true, set styleSheet property to the style sheet object. */
myTextArea.styleSheet = styles;
myTextArea.html = true;
myTextArea.focusTextField = null;
//

var myVars:LoadVars = new LoadVars ();
// Define onData handler and load text to be displayed.
myVars.onData = function (myStr:String):Void {
if (myStr != undefined) {
myTextArea.text = myStr;
} else {
trace ("Unable to load text file.");
}
};
//
myVars.load ("references.htm");
//
and the HTML file "references.htm" is like this:

Code:
<p>Link1 is: <a href="http://www.cnn.com" target="_blank"><img src='images/imagepopup.gif' width='15' height='15' vspace='0' hspace='0'/>CNN</a></p>
<p>Link2 is: <a href="http://www.bbc.com" target="_blank"><img src='images/imagepopup.gif' width='15' height='15' vspace='0' hspace='0'/>CNN</a></p>
I would like to open these links as pop ups, and they do work, but not in Firefox, when it has the "Block Pop Up Windows" feature on.

Is there any way to fix this? Thanks for your advice

Why Does It Open 2 Windows?
Why do 2 windows open when I use this as my button action

on (press,release) {getURL ('http://www.webrealestate.com/clients/roddy/info.htm', '_blank' );

}
Does anyone know if this is a server anomalee or have I written it wrong?
Thanks for any help

Open Multiple Windows?
does anybody knows how i can open four windows at the same time using flash. (the four windows are going to be playing difernts swf files).
Javascript?

Open New Windows Error
Hello. I've been working on finishing my personal website and have been scripting openNewWindow's for my portfolio section. In flash, I called out each button/portfolio piece with a tag of "javascriptbjectname()" and then later scripted in Dreamweaver the size, location, etc. My problem now is that it gives me a warning when I actually click the link that says "A script in this movie is causing flash player to run slowly. If it continues to run, your computer may become unresponsive." If anyone can let me know why this is happening, I would greatly appreciate it. For right now, you can check out http://www.trashykats.com/index3.html for my latest attempt to fix this problem. Just go to the "portfolio" section and click "design" and then click "keyart". Then click on the image or the dancing cat. Thank you for your time.

Javascript Open New Windows?
Hi I'm trying to open up more than one window with different sizes in flash.
I'm having one page with abunch of buttons, each one opens up a different new window, i'll be using javascript to make each window different for each button as far as the size goes (how do I do this)?

the button code is on(release){ getURL("Javascriptopupwindow());}

the javascript for the html is:
<script LANGUAGE="JavaScript">
function popupwindow(){
window.open("http://www.the_url_address_for_each_pic.com","height=400,
width=400,menubar=0,resizable=0,scrollbar=0,status =0,
titlebar=0,toolbar=0,left=0,right=0")}
</script>
now lets say i have one button that has a different url to it and size, do i just do the same code and change the url and size each time i copy it???
thanks for your help in advance.
deadsam

Open Windows Explorer
I have an exe created with SWF studio (I have to use this to disable window resizing in my projector file). Problem is, the program does not handle external files very well and I need to link to a few. I have decided that the easiest course of action would be to open windows explorer when a button is clicked so that the user can browse to the external files themselves. It needs to be windows explorer (if possible to a specific directory on the CD), because there is an autorun on the CD itself.Is there any way to do this in flash?

Help Me Please...... Windows Can't Open Site
I did a site on a mac... and pc users can't open the site. all they get is a white box after they click enter. any help on why this may be would be great.
thanks
-RIck

Open Windows Without Toolbars
i want open a windows without all the toolbars from my swf

anyone know the code?

Copyright © 2005-08 www.BigResource.com, All rights reserved