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




Click On A Button (.mov) And Have It Open A Certain Size?



I have a button on my site, when i click the button I want it to download my movie (quicktime movie that is) to a new window that's a specific size. For example. The movie is 480x360. How can i get this to work. Right now i'm just using .

on (release) {
getURL("http://www.mySite.com/MainPage/blah_blah.mov", "_blank");
}

While this opens a new window and shows my quicktime movie, i'd like to be able to specify the size of the new window and make it non-scalable so it just fits. Anyone know how to do this? Thanks so much.



FlashKit > Flash Help > Flash MX
Posted on: 03-07-2004, 12:35 AM


View Complete Forum Thread with Replies

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

Click A Button To Open A Fixed Size Browser
I want to make a button to open a new new URL in a new browser without the top navigation buttons like "Back", "Stop", "Refresh" buttons found in a browser.

what is the scripting like?

thanks.

How To Open A Swf File Without Menus, Right Click Menu And Fixed Size
how to open a swf file without menus, right click menu and fixed size (500 x 500 pixels) something like that size. i dont want to have menus, right click menu.


thanx
stalin

Open Up An Mc On Button Click...
Hi all, I am creating a game, and I have a box with information on the game (instructions, controls etc...) This box is an mc, but I want to be able to have it opened up when a button is clicked. I don't want this information box to be open all the time, only when the user opens it up from a button. It is currently in the library. What actionscript would I put in the button to have it open up this mc with all the information in?

Hope I made it clear enough, thanks.

Click Button To Open URL
Am slowly getting the hang of this product.
Am a little stuck on how to get a button to work.
Added a button called Test to the library
Added the 4 propertys -- over ect
When it's clicked I would like it to open a URL.
Clicked on actions but they are all greyed out (within the button)
Does anyone know of a web site or an answer on how to get one of these buttons to work?


How Do I Click A Button To Open A CD Tray?
Flash 5
Can anyone tell me an "on Click button script that will open my CD tray when I click it?
Thanks
[Edited by tntnetworx on 08-22-2002 at 03:47 PM]

Click Button To Open Another Page?
I have a Flash document with text that is a button state. All I want to do is make the user click on this button to open another page. WTF!! The page is a DW file called list.html. Why is this so hard to do????

Click Button To Open A Web Site
Dear all,

My button does not work. I have created a symbol (button) and change colour when mouse over and down. But how do I make it open the web site I want? I've tried to open Actions and give my button (whose name is Bos_last_button) a script saying getURL('http://www.mywebsite.com', '_blank');

What happens with this is that web page opens the url automatically which I do not want. Why? I've searched actions for another url script but getURL was what I found under Browser network.

Sometimes I also receive an output error saying "Statement must appear within on handler" and then my script. What's that?

/Bo

Url Link To Open On The Click Of The Button?
Hi,

Ok, I have tried this over and over...and looked through similar posts. The desired URL does open, but it opens it up without waiting for me to click the button.

Using flash 5; have tried scripting to paste the instructions into there, but it keeps giving me error messages.


Please can someone help?!?

Button Click To Open Movie
I know this sounds way too easy but for the life of me I can't figure it out.
I have a slideshow saved in my library as a movie
I have a main page (scene 1)
From scene 1 I want to click a link button called "showroom" and have the slideshow movie open within the scene 1 page

I have tried numerous ways to do it but am always getting code handling errors etc.

the last thing I tried was this code in the button actions panel

on (release) {loadMovieNum ("slideshow.swf", 1);
}

also tried leaving out the "swf"
as you can tell I'm A couple of levels below crap at action scripting

please help, I need to move on.........

How To Click The Button On The Left And Open A New Movie On The Right?
Sorry guys, not only do I not know how to do this I don't even know how to ask the question properly??? *ugh*

I want to create a site where the menu is on the left hand side of the screen.. and when the user clicks on the different menu buttons the appropraite info opens up on the right hand side. Here are a couple of source fla examples I have downloaded, but for the life of me can't work out how to do it!

http://www.flashkit.com/movies/Inter...83/index.shtml


http://www.flashkit.com/movies/Inter...60/index.shtml

And yes...before you shoot me down as a nuisance newbie :-) I have spent hours looking thru fla's and tutorials to find the instructions, but when you don't know what the technique is called, tis difficult to use the search engine.

I really would appreciate some basic help with this. Point me to a tutorial or whatever, just stop these danged grey hairs from sprouting ok!! LOL

ps.. I think you guys are great and I love this SITE!!!

Click Button To Open Image In Same Window
i am creating a small slideshow that will sit in a webpage and started with scrolling thumbnails along the bottom of each image that will be in the slideshow. that works fine.

next i created a new movie above it with the full size images, one per keyframe.


what i want to do is make the scrolling thumbnails so when i click on one it will open that image right there above it.

i am wondering what the script is i need to insert to make each button pull up the full size image.

you can get the flash file i have created so far from here

i am using flash 8 pro.

thanks

Very Simple Click Button And Open New Window Issue
I have a test fla file that only contains a circle I made into a button. I selected the button, and put this actionscript inside it.


Code:
on (release) {

var jscommand:String = "window.open('http://www.urlremoved.com','CATV','height=541,width=820,menubar=no,toolbar=no,directories=no');";
getURL("javascript:" + jscommand + " void(0);");


}
When I export this and run it in IE or Firefox nothing happens. If I hit control and enter to test it, it tries to open the window, then I get the error Internet Explorer cannot download Unspecified Error.

Can anyone help?

Open Url Button--i Want To Set Html Page Size
on (release) {
getURL("http://nextamericansuperstar.com/images/alistage.jpg");

}


anybody mind telling me how to include in this code the html page size? i want to make the page fit the image

thanks!

Writing A Variable That Sets Doors To Open And Close Upon The Click Of A Button
Ok so i'm working on a project that has a number of doors. Once you click on a door I have a movie clip that allows each door to slide open. Now my quandary is that I would like to have an active door close upon either a click on itself or another button attached to a different door movie. I have about 10 doors. I'm not sure if i described this very well, please ask feel free to ask me questions if I didn't explain this well enough.

Please please please help me!! I'm stuck!

[MX04] Size Changing Box Upon Button Click
Ok, here is my situation. I have a movie consisting of nine buttons and a white 'box' acting as a border that will change depending on what button the user clicks. The idea is when the user clicks on a button and opens a new page, the box will resize itself to the dimentions of this new 'page'. The catch is the movement will be different from say page A -> B and page A -> C as pages B and C will have different sizes. The only way I can think to do this would be to make a series of shape tweens for each movement, ie: A to B, A to C, A to D, etc then do B to A, B to C, B to D, etc and have the appropriate variable/goto command... however, seeing as I have 9 different buttons/pages, this just doesn't seem practical and I'm betting there is an easier way.

...did that make any sense, do you understand what I mean? Please, any help would be greatly appreciated.

Thumnailed Pic Button To Open Full Size Pic In Same Movie
Im working on a flash movie, and what i am trying to do is have smaller thumbnailed images in my movie which are buttons so that when you click on them the bigger version of the image will appear below the thumbnails, within the same movie.. can you help me do this? thanks, matt

Open Html With Specific Size With Flash Button
Hi everyone!

well I need some help here...I have this flash presentation which ends up with 6 buttons. These buttons when clicked I want that they display an html document.

Up to there I am fine, the problem is here...I want that this html page may have a specific size, no scrolls, no bars apart from the title bar, not resizable.

I put this script on the flash button in this flash presentation:


on (release) {
getURL("javascript:window.open('wake.html','','hei ght=711,width=953,toolbar=no,scrollbars=no')");
}

and then in the html document where I put the flash file I insert in the head this tag:

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
open.window(theURL,winName,features);
}
//-->
</script>


What happens is that when clicking flash button 2 html pages open (one with the things I specified, and another one in blank)

What is wrong?? Which script should I use??

thank you all!!

zanda

Open Html File With Specific Size With Flash Button
Hi everyone!

well I need some help here...I have this flash presentation which ends up with 6 buttons. These buttons when clicked I want that they display an html document.

Up to there I am fine, the problem is here...I want that this html page may have a specific size, no scrolls, no bars apart from the title bar, not resizable.

TAKE A LOOK OF WHAT HAPPENS!! CLICK BELOW!
when you get at the end, click WAKE (IS THE ONLY THING DONE BY NOW)

www.radicalsurfex.com/paginas/intro.html

I put this script on the flash button in this flash presentation:


on (release) {
getURL("javascript:window.open('wake.html','','hei ght=711,width=953,toolbar=no,scrollbars=no')");
}

and then in the html document where I put the flash file I insert in the head this tag:

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
open.window(theURL,winName,features);
}
//-->
</script>


What happens is that when clicking flash button 2 html pages open (one with the things I specified, and another one in blank)

What is wrong?? Which script should I use??

thank you all!!

zanda

Open Full-size HTML Page Bly Clicking Flash Button.
Hi,

For example:

1--I have a movie playing in my browser with a button on stage.
("A.html" + "A.swf")

2--When i click this button a new browser window must open "FULL SCREEN". ("B.html" + "B.swf" in it.)

3--This browser window ("B.html") must always stay on top of all window's (Like "A.html" and all other window's.)

4--In the full-screen window ("B.html"):
   Movie ("B.swf") has two buttons on stage:
--The first button loads a new movie ("C.swf") in the full-screen page. ("B.html")
--The second button opens a pop-up window. ("pop_up.html")

5--The pop-up window ("pop_up.html") must always stay on top of the full-screen window. ("B.html")


If someone can help me with this i would be very grateful.
I cant find out myself.

Vincent,

[F8] Click Open Click Close, Multi Menu
I have this header that I am trying to multitask with. I want the windows to open and close on demand, but I cant seem to get them to work right. If you can help me with this, please reply. The link to the header is below:

http://fppl.dyndns.org/fppl_header.swf

I Click On A Button , A Line Pops Up Under The Button I Click On A Different Button..
anyone know how to make this work?

this is what i want , when i click on a button a want a line to pop up under the button then when i click on another botton , i want that same line to move under the new button . if some1 could do a very basic one and put the .fla file that would be perfect. thanx

Click > Open Box
Hi,

I want to make a simple flash site for a sports club. I want to have a menu built of icons that when clicked on open a small box underneath displaying content.

Example:

ICON---------ICON--------ICON-------ICON---------ICON



_________________
|blahblahblahblahblah|
|blahblahblahblahblah|
|blahblahblahblahblah|
|blahblahblahblahblah|
|blahblahblahblahblah|
|blahblahblahblahblah|
-------------------------


Is this easy? I am not even close to being as good as you guys here at GTAL.

THanks,

Conor

On Click Open Up A Pop-up Menu
I have some presentation I am working on.
I would like to have a "pop-up menu" show up once you click on an icon on the stage.
How do I achieve that without calling timeline frames. Is it even possible doing it some otherway at all?

EXAMPLE: www.fantasy-interactive.com click on arrow on upper right corner and pop up will show up. I would like to have something like that without the drag option though.

Have To Double Click To Open New URL
Hello guys,
Here I come again with my issues....
I have a button instance which is supposed to open a new URL in the same page when you click on it. But at the moment it only works when you double click on it... Any idea???
Thank you for your trustful support!
Titi

Click Button Once - WORKS FINE- Click It Again - RESTARTS MOVIE?
Don't know if I can attach it.. Here is a link..

http://www.yourmomrocks.net/ma/tca.fla

When I set actions to a button the action works fine. However, if the button is hit a second time, the whole movie restarts. I can't figure out why? I have attached the file. Please some one help if you can..
Thanks
WORKS FINE CLICK TWICE RESTARTS MOVIE?

How To Open A PowerPoint Presentation(.pps) On A Click?
I am working on a presentation in Flash 5 and the user wants to open a Powerpoint presentation when he clicks a button on the main menu.

I know that can be done but i'm not getting how it can be done, what script to us and where to use the script???

Can anybody put more sight into it???

How To Open A PowerPoint Presentation(.pps) On A Click?
I am working on a presentation in Flash 5 and the user wants to open a Powerpoint presentation(.pps extn a powerpoint slide show) when he clicks a button on the main menu.

I know that it can be done cos the user itself has mailed me a presentation in flash done by some german company. they have give a Powerpoint Viewer application along with the actual presentationa and the readme file says that if u cannot view the powerpoint presentation then install the Powerpoint viewer application on your machine.

Open Windows Onmouse Click
Hello...

I want to know how can I do for on click in a botton open a new Window like in javascript "onClick=Window.open"...

Thanks...

On Click, Open (.swf) File, BUT On Another Server.. Is That Possible?
hi
i have some big movies i want to add, but those movies are on a differnet seperate server...... can you refer that complexed in flash?

greetz
melvin

CanU Open Two Windows With One Click?
using mx2004. Ive successfully used self contained JS with in flash to open and placea new pop up broswer window. But what I would like to do is have two windows open at the same time. I could have the first window open the second onLoad but this will be blocked by the new pop up blockers in the latest browsers

When i try to do it it just opens one and ignores the second instruction.

Thanks for any help,
James

Click On Flash Banner To Open Url
Hi All,

I have a simple .swf - I want the viewer to be able to click on it to open a new window to a specific url.

I know this can be done with buttons, etc.

All I want to do is to be able to click anywhere on the movie to go to the url. (Using flash Pro 8).

Any ideas, please?

Cheers!

Mike

Click Thumbnails To Open In New Window
HELLO his is my first post and i need a bit of help!!!

i am creating a flash portfolio and i need to do a simple task that i cant seem to figure out ( then again it might not be very simple)

what i have is a collection of 9 thumbnail images, what i want to do is when the user clicks on thumbnail the image opens up in a new window, this new window is 800 X 800.

now i would like the window to stay up unless the user closes it.
if the user clicks on another thubnail the window just stays up and replaces the image ( rather than a new window opening)

and finaly

there are 2 .MOV files i would like the user to access as well as the thumbnails

these movies are 320 X 240

if the user clicks on the movie link the 320 240 window appears

* note the 800 X 800 window doesent have to dissapear when the movie pops up

ok i hope that this idea is understandable, if you have any suggestions or comments to make the easier please feel free!

Click Thumbnails To Open In New Window
HELLO his is my first post and i need a bit of help!!!

i am creating a flash portfolio and i need to do a simple task that i cant seem to figure out ( then again it might not be very simple)

what i have is a collection of 9 thumbnail images, what i want to do is when the user clicks on thumbnail the image opens up in a new window, this new window is 800 X 800.

now i would like the window to stay up unless the user closes it.
if the user clicks on another thubnail the window just stays up and replaces the image ( rather than a new window opening)

and finaly

there are 2 .MOV files i would like the user to access as well as the thumbnails

these movies are 320 X 240

if the user clicks on the movie link the 320 240 window appears

* note the 800 X 800 window doesent have to dissapear when the movie pops up

ok i hope that this idea is understandable, if you have any suggestions or comments to make the easier please feel free!

Single Click Button Requires Double Click
I noticed that some buttons in all of my .swf's were taking
two clicks to get them to work. After you double click them
once they work fine. I made a very simple movie to demonstrate
my problem. Please tell me if this problem is occuring for you also.

Thanks,
Anavrin

My .SWF file My .FLA file

Button Taking A Double Click Instead Of A Single Click
I have an on(release) button on a friends web site but it seems to be taking a double click to get through to the next page and also on that next page too clicking on the images takes a double click. Below is the AS I have on the button, similar on all other buttons too!

on(release){
getURL("http://www.brayglassworks.com/gallery1.htm", "_self");
}

http://www.brayglassworks.com

Thanks for any advice

[F8] XML Loaded Thumbnail, Click To Open A SWF In New Window?
Currently, my thumbnails, when clicked, load SWFs in an emptyMC on the stage, however I would instead like to do one of two things:

1. launch the SWF in a new window, or

2. be able to center align my SWFs (all different sizes)

Can anyone offer any help? As you can see below, the function currently creates the emptyMC then loads the SWF there. Any advice is appreciated!


PHP Code:




function callFullImage(myNumber) {
    myURL = myImages[myNumber].attributes.full_url;
    myTitle = myImages[myNumber].attributes.title;
    
    _root.createEmptyMovieClip("fullImage_mc",_root.getNextHighestDepth());
    fullImage_mc._x = _root.full_x;
    fullImage_mc._y = _root.full_y;

    var fullClipLoader = new MovieClipLoader();
    var fullPreloader = new Object();
    fullClipLoader.addListener(fullPreloader);
    
    fullPreloader.onLoadStart = function(target) {
        _root.my_txt.selectable = false;
    }
    
    fullPreloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
        _root.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
    }
    
    fullPreloader.onLoadComplete = function(target) {
        new Tween(target, "_alpha", Strong.easeOut, 0, 100, 3, true);
        _root.my_txt.text = myTitle;
    }
        
    fullClipLoader.loadClip("full_images/"+myURL,fullImage_mc);
}

Need To Change This AS To Open Up A New Window When You Click On An Image
the following ActionScript loads an XML file which looks similar to this

<image>
<thumb>image 1</thumb>
<big>image 1</big>
<pop>image 1</pop
</image>

Currently the thumbnail will load into the stage and clicking on that image gives you a larger version that appears to the right and clicking on that gives you a larger image which is also within the stage I want to alter the script a bit to up up the <pop> image in a new window instead of in the stage. The AS is below. How can I accomplish this?


//Load XML var global
_global.clickvalue = "";
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [ ];

xpos = [ ];
ypos = [ ];
big = [ ];
pop = [ ];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image = xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
big = xmlNode.childNodes.childNodes[1].firstChild.nodeValue;
xpos = xmlNode.childNodes.childNodes[3].firstChild.nodeValue;
ypos = xmlNode.childNodes.childNodes[4].firstChild.nodeValue;
pop = xmlNode.childNodes.childNodes[2].firstChild.nodeValue;

}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
p = 0;
function firstImage() {
if (loaded == filesize) {
_root.movie.mov.buttonleft.thumb1.picture.loadMovi e(image[0], 1);
_root.movie.right_big.big.bigpic.loadMovie(big[0], 1);

var dup:MovieClip = null;
for (j=1; j<total; j++) {
dup = _root.movie.mov.buttonleft.thumb1.duplicateMovieCl ip("thumb"+(j+1), j);
/////////////////////////////////////
/////////////////////////////////////
dup.picture.loadMovie(image[j], 1);
dup._x = xpos[j];
dup._y = ypos[j];
}
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
function setbigimage(a) {
var b = a;
var index = b.substr(5, a.length);
// trace(index);
_root.movie.right_big.big.bigpic.loadMovie(big[index-1]);

trace(description[index-1]);
//trace(big[index-1]);
// _root.movie.mov.buttonleft.thumb1.gotoAndStop(1);
}
function setpopup(f) {
var b = f;
var index = b.substr(5, f.length);
//trace(pop[index-1]);
_level0.popuploader("popup");
_level3.loadpic.loadMovie(pop[index-1]);
}
stop();

any help on what to change to get a new window to open up onstead of within the stage?

[flashmx2004]Thumbnail Need To Click Twice Before It Open The Link..
good day,

im so sorry for the moderators if i am flooding the forum, this is my last hope i think... i repost this here again because no one was able to give hint on the previous thread.. (poor me)..

the gallery that i am working for month now is now working.. (finally) but the problem is when i click on the image it needs to click twice before it loads the URL on it.. i dont know where to fix.. i tried to modify the value that substract to pictureValue to 0 or 3.. but still the same output..

so much time is wasted..

heres the code..

Code:
var k = 0, total;
function loadThumb() {
var target_mc = thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
var temp = this.createEmptyMovieClip("tmp"+k, this.getNextHighestDepth());
target_mc.loadMovie(thumbnails[k]);
temp.onEnterFrame = function() {
if (target_mc._width) {
if (k) {
//if it isn't the first thumb, get the y position and heigth of the previous thumb
target_mc._x = thumbnail_mc["t"+(k-1)]._x+thumbnail_mc["t"+(k-1)]._width+1;
} else {
//set the first thumb to y = 0
target_mc._x = 0;
}
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-2;
target_mc.onRelease = function() {
getURL(link[this.pictureValue],"_parent");
};
};
target_mc.onRollOver = function() {
this._alpha = 50;
thumbNailScroller();
//Hover Caption
captionFN(true, caption[this.pictureValue], this);
};
target_mc.onRollOut = function() {
this._alpha = 100;
captionFN(false);
};
nextThumb();
delete this.onEnterFrame;
}
};
}
function nextThumb() {
k<total-1 ? (k++, loadThumb()) : null;
}
my xml looks like this:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<caption>Digital Cameras</caption>
<thumbnail>http://www.genius-me.com:8080/GENIUS/GetDoc?UniqueKeyValue=4311&ShowPath=false&Download =false</thumbnail>
<link>http://www.genius-me.com:8080/GENIUS/GetRecords?Template=Genius/Sub&Type=Products_Listing&Level=3&Parent=45</link>
</pic>
<pic>
<caption>Video Cameras</caption>
<thumbnail>http://www.genius-me.com:8080/GENIUS/GetDoc?UniqueKeyValue=4312&ShowPath=false&Download =false</thumbnail>
<link>http://www.genius-me.com:8080/GENIUS/GetRecords?Template=Genius/Sub&Type=Products_Listing&Level=3&Parent=193</link>
</pic>
<pic>
<caption>Home Theater</caption>
<thumbnail>http://www.genius-me.com:8080/GENIUS/GetDoc?UniqueKeyValue=4313&ShowPath=false&Download =false</thumbnail>
<link>http://www.genius-me.com:8080/GENIUS/GetRecords?Template=Genius/Sub&Type=Products_Listing&Level=3&Parent=44</link>
</pic>
<images>

Tree Component - Open On Node Click
Hey guys,
the tree component opens/closes when clicked on the little arrow on the left by default. is there a way to make it open/close if clicked anywhere in the node, like on the word etc..?
thanks for any help.

Open At Same Size
I have 2 movies (amovie.swf and bmovie.swf). When the amovie.swf window is scaled by the user, a button is revealed outside the home view. When this button is clicked, bmovie.swf loads onto layer 10. The problem is, as soon as this button is clicked the browser window goes back to it's original size (300w x 100h). I want it to stay at whatever size the user has scaled the window to.

Basically, I've made a small GUI that can be scaled by the user. The GUI is wider than it is tall (3:1) so when the user scales the graphic to full screen then they'll see the button that loads the bmovie. The bmoive is basically a screensaver style movie. Since the movie scales back to it's original size when the user clicks the button, what happens is the screensaver type movie loads but they can't see it all unless the window is rescaled again. I don't think the user should have to rescale it again.

Thanks

[MX] Open Url At Set Size
I have the code to open the window as a blank. I can not figure out how to make it lets say 400 x 400 pixels. I also want the background to be in black. I am linking the buttons to .mov and .mp3 files. Can anyone help me?

here is the code that i am useing now.

on (release) {
getURL("http://www.zero-to-sixty.com/images/portfolio/verizon/VER_Rainforest.mov", "_blank");
}

Thank you
Steph

How To Open SWF To Size Of SWF
I'm new to flash and have built a virtual phonebook for my company's intranet which draws it's data from Active Directory. The problem I'm having is that when I serve up the swf embedded in the html it opens the swf in it's formatted size, but the browser window that opens around it is full size with large borders around it. When I serve the swf I want it to open in it's designated size and I've been unable to do it.

If possible I would like the swf to open in the flash player instead of utilizing the browser plugin, just like a widget. Is there an easy way of doing that? If I click on the swf directly it opens up properly.

Thanks for your assistance in this.

Mark F

FreeMX In Proj., Need To Open Multiple Docs In One Click
Hi...

i'm creating a self-running PC projector with several dowloadable documents. I've added in the freeMX script and it works beautifully! My question is, what should the script look like if I wanted one button to open multiple documents at once?

Currrently, the working script for my button reads like this:

on (release) {
fmxExec("file_name.doc");
}

...which works, but only opens one document.

So, I've tried this:

on (release) {
fmxExec("file_name.doc","file_name2.doc","file_nam e3.doc");
}

...with no luck in opening all three documents.

Am I missing something?
thx in advance
VINCE311

Double Click To Open Symbol Doesn't Work
So I am working in Flash and when I double click on any symbol it doesn't open that symbol.

how do I fix this ?

How To Make A Button That Responds To Right Click, So That When You Right Click This
Hey, im Danief, im new to the forums.

I need to know how to make a button that responds to right click, so that when you right click this button, a goto action starts.

Ive been searching google for a freakin long time now... pleease if you know anything about it tell me.

Oh, and i also need to know how to make a timer that will start by the press of a button and stop with the press of a button.

Thanks for reading.

-Danief

Button Click LoadMovA..click Again LoadB?
I saw this code on the tutorials but it was in relation to Random backgrounds. Woud anyone know if I could use this to do the following....

First time a button is clicked, I want it load and play Movie A, if the button is clicked again, load and play Movie B.

Can I control where it loads? Meaning to a movieclip holder or something?

on (release) {
choice = Math.round(Math.random()*2);
switch (choice) {
case 0 :
location.loadMovie("image0.swf");
break;
case 1 :
location.loadMovie("image1.swf");
break;
}
}

Thanks

-M

Open A New Window With A Certain Size
k I don't know if this is action script, but, how can I make it so that when someone presses a button in the flash movie, a new window opens with a certain size ,which can't be changed ?

k I know this is the javascript for it :
<script language="javascript">
<!--
var orb_num = '19';
var adult_flag = 'n';
var popup=window.open('/page.html,'popupad','title=no,resizable=no,scrollb ars=no,status=no,width=125,height=180')
popup.focus()
//-->
</script>

but how can I use that in actionscript ??


[Edited by vick on 12-02-2001 at 03:11 AM]

Open New Window At A Specified Size
Using Falsh 5 and mx
I linked a button from 1 falsh movie that is embeded in a coldfusion file to another swf file. I need the file to open at a specified width and height and not in full screen mode in the browser. Tried using the fscommand ("fullscreen", "false"), Please help! Thanks!!

Open Full Size?
i have a flash projector file that i want to put on a cd with an auto run file, but i want the flash file to open full screen with no menu at the top or borders.
i have a sample cd like this, but its just an exe file and a normal autorun file(no special commands).
is there something in the flash file to make it run full screen when its played?
this seems pretty simple, but i just cant seem to figure it out.
thanks for any help offered.
jon

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