ActionScript 2.0 :: Toggle Button To Open External File

Mar 24, 2011

I admit I am WAY in over my head here and its been WAY too long since I've used AS2.0 to remember anything about what I'm doing. I have a dyaminc table on the screen that is holding a movieClip that contains the following code.

Quote:

this.attachMovie("info_btn","NigeriaTrain4_5",this .getNextHighestDepth(),{_x:13, _y:85});//add button to the stage and places it on x & y axis
NigeriaTrain4_5.onRelease = function()
{//give button function

[Code]....

View 9 Replies


Similar Posts:


ActionScript 2.0 :: Open An External Text File With The Help Of Button?

Oct 10, 2006

Im trying to open an external text file with the help of button. It works locally on my computer. But as soon as i upload it on my site, it does not work any more. Im not sure, if im putting the wrong path.

on (release) {
_root.flying_pages.empty_holder.loadMovie("1.jpg") ;
loadText = new loadVars();

[Code]....

View 1 Replies

IDE :: Create Toggle Button For Full Screen In Flash File

May 10, 2011

I am currently finishing off a flash project that I began using FlashMX (with action script 1).It is a language teaching tool which will be viewed both online, and will be also put on CD.I would really like the swf to fill the user's entire screen.I have tried a few things with javascript in the html file that haven't worked. I would greatly appreciate any tips on how to:

1. Create a toggle button for full screen in my flash file

2. Make the swf take up the entire browser window (width="100%" height="100%" doesn't seem to work)

3. Create a standalone version for CD that fills the user's entire screen

View 2 Replies

As2 :: Open An External File With It?

Jan 3, 2011

Im building a portfolio on Flash.I have created my menu buttons and need to open files with doc, pdf, avi and swf extentions.So far I have been using the getUrl command and it seems to work for the pdf and swf. How can I get this to work for the other types?

View 1 Replies

ActionScript 3.0 :: Open An External Pdf File?

Aug 19, 2010

i am working on a flash-based report project (we'll run it on CD) for past week, I'm new to AS3 , got in so many troubles because of it. but finally got it working fine. but there is a problem with the final act, i want to open a PDF file using flash alone. it was very easy using AS2's getURL function and worked like a charm but its a different story in AS3, i worked on it so much that it gives me a headache whenever i think about it.I searched and read almost every article on the web concerning this, the only think that works for me is navigateToURL,but it opens the file in web browser and that I'd rather not have.so i want to ask if there is a way to actually open a PDF file external source such as H.D.D using pure AS or I'll need to take a look on zinc and air?this is the code i used for the linking job :

Actionscript Code:
myDataGrid.addEventListener(Event.CHANGE, clicker);function clicker(evt:Event) {  var SSL:String = evt.target.selectedItem.item;  var path:String = "Books/"+SSL+".pdf"; 

[code].....

View 2 Replies

ActionScript 2.0 :: Open External *.doc File?

Dec 28, 2004

i have made one aplication in flash and i want to add a button to open one doc file that is in the same dir. this will not to publish for web is for a aplication on a cd rom.

View 6 Replies

ActionScript 3.0 :: Open External Swf File?

Feb 12, 2011

I have a map and when a user clicks on the different rooms on the map, i want an external swf file to open up.

View 2 Replies

ActionScript 2.0 :: Cannot Get Button To Open External SWF's Into A Loader / Mc

Apr 17, 2009

I bought a button pack from flashden.net ([URL]) and i cannot get it to open external SWF's into a loader/mc the documentation says this:

[Code]...

View 3 Replies

Professional :: Open External File (ie, Ppt) From Flash?

Apr 22, 2010

I have a webpage that currently display a powerpoint slides.The problem is that other can download the slides which I really dont want.
 
following issues:I dont want to convert the ppt slides to .swf then convert them to flash but rather let flash open the .ppt directly and display on the webpage.

View 3 Replies

ActionScript 3.0 :: Open External File Type

Sep 27, 2010

I am using SWF Studio already which allows me to open an external .bat file by clicking a button in flash.I now need to open another file but this time i dont know the exact name of the file but it will be the only .cfg file in the folder.Does anyone know of a way to open a file just by the file extension alone without specifying the name?Here is my origional code for opening the .bat file:[code]i have tried using the above code and just replacing the "\Test Link.bat" part to "\*.cgf" but that doesnt do it.

View 1 Replies

ActionScript 3.0 :: Open An External File Onr Hard Drive From Swf And .EXE?

Aug 23, 2007

how to open an external file on your hard drive from your swf and .EXE using AS3? I wana click on a button and basically just open a PDF.

View 11 Replies

ActionScript 3.0 :: Open External File From Flash *.exe Application?

Jun 15, 2009

In my Flash application users must be able to download or open PPT files nested in application's subfolder.When I run .*swf file, it works fine (Save file dialog appears), but if I run .exe file, nothing happens.[code]I suspect that "navigateToURL" function doesn't work in this case.

View 2 Replies

ActionScript 3.0 :: Button To Open A Swf File From An Swf File?

Dec 7, 2009

I am new to flash and I don't understand much about action script. I want to open one swf file from another using a button I have called ready_set_go. The project is not going to go into html format I only want to open the file locally. What is the code I need to do this?

View 0 Replies

Open A SWF File To A Button But In A Completely New Window?

Mar 14, 2009

i want to open a SWF file to a button but in a completely new window however Im not talking web related i.e. not linking to a web page
like...

on (release) {
getUrl("www.blah.com")
}

whateva it is...don�t want that... I want it so it simply opens a completely new window within flash which I can close... the reason for this is I have a SWF file which is protected and i cant create a back button within it... so I need it to open a completely new window so i can get back to my main page..

View 1 Replies

ActionScript 3.0 :: Open File Button For Intro?

Jan 29, 2009

I have an Intro with two buttons for language. When you choose the language, it shoul open de spanish site or the english site.How is the script for opening the a .swf or .html?

View 0 Replies

ActionScript 3.0 :: Have A Flash Button Open Another Swf File

Jun 17, 2011

Is it possible to create a flash button on a html page that when clicked would open or start a swf file in another spot on the page? If so how?

View 7 Replies

ActionScript 2.0 :: Add A Button To Open One Doc File That Is In The Same Directory?

Dec 28, 2004

i have made one aplication in flash and i want to add a button to open one doc file that is in the same dir. this will not to publish for web is for a aplication on a cd rom.

View 6 Replies

Actionscript 3 :: When Click On The Button It Open Local File?

Apr 22, 2010

i have some code that looks like this

function main9Click(event:MouseEvent):void {
var main9URL:URLRequest = new URLRequest("N:ICTNationalsUnit 2PagesCars");
navigateToURL(main9URL, "_self");[code]....

I need to make it open so when you click on that button it opens the file

View 1 Replies

ActionScript 3.0 :: Code For A Button To Open And Close Pop-up Swf File?

Jan 21, 2010

I created this web page in Flash AS3 and I need codefor a button that will open and close pop-up swf file on stage, not in a new window.

View 1 Replies

ActionScript 2.0 :: FLASH 8 - Toggle Button/released State/pressed Button

May 18, 2007

I have a series of buttons inside an array. I am trying to get the buttons so that once they are pressed, they remain in the over state. Which is a darker color than the up state. So that people know which button they have pressed. Is there an easy way to do this for buttons?

View 1 Replies

ActionScript 2.0 :: Open A Word File In Windows XP (and Others) From A Button In A Flash Presentation?

Feb 4, 2004

how do I open a word file in Windows XP (and others!) from a button in a flash presentation?Is it possible to open it in a Mac too?

View 8 Replies

Javascript :: SWF Video With Controls (toggle Sound On / Off And Toggle Play / Pause)

Jan 10, 2011

I'm new to flash and just need to do a simple task but I can't manage to get it to work. I'm trying to import a video (flv) into a SWF container and need to AS functions which should be exposed to JS (using liveconnect or anything else). These two function should toggle sound on/off and toggle play/pause. I dont need any user interface or a full featured player, just these two functions.

View 1 Replies

ActionScript 2.0 :: Create A Button For The User To Click And Then Have A Choice To Save Or Open File?

Jul 28, 2005

I'm developing Flash for a CD.I want to create a button for the user to click and then have a choice to save or open file (like PDF or Word file).

i have the following code:
Code:
myButton.onRelease = function()
{
getURL("abc.doc");
}

I can't see anything wrong with the above. I intend to use the code for a CD ROM.abc.doc will sit on the CD ROM. When I click on the button, it opens a browser window and tries to go to google.com.I had it working the other day.

View 2 Replies

Professional :: Toggle Button Via The Button Component?

Oct 18, 2010

I'd like to learn how to use Components in Flash, and the documentation and tutorials I find are beyond my comprehension. I usually go to FlashKit and just rehash someone's code... but again, I'd love to learn how to use Flash Components.So I did a tutorial on the toggle button, but it was:1. Click button, and a window pops up at different location on canvas2. Click button again, and the same window dissapears.This is for a videogame, and I'd like a button to be click and that same button be populated with a new graphic. What I mean is, the graphic is a skull, and I'd like to have it start as a dark skull (as if a negative value) and when you click it the skull appears... click it again and it's gone (or that negative or dark skull representing it's off).So this differs from the tutorial I did because the pop-up window is the button itself, and the window that pops up would obstruct me from click it again.

View 3 Replies

ActionScript 2.0 :: External Links From Full Screen Toggle?

Dec 22, 2009

I am having a issue when in toggled full screen mode. Any external links are opening behind the browser window.

View 4 Replies

ActionScript 3.0 :: MC - Get A Button To Toggle Between To Functions?

Jun 18, 2009

I can't figure out how to get a button to toggle between to functions?It has to be more simple than an if()...else().. statement right?example:

myBtn_mc.addEventListener(MouseEvent.MOUSE_UP, what goes here?);

/* if the MOUSE_UP event is called and the chalkboard is blank, then write to the chalkboard
else erase the chalkboard */[code].......

View 3 Replies

ActionScript 2.0 :: Make A Button 'toggle'?

Dec 5, 2006

I'm simply creating a button in flash that should alternate between a 'play' graphic (i.e. > ) and a pause graphic (i.e. || ) every time its clicked. That's all!

In shockwave I would simply type a line of code that would set a new memberNumber or memberName to swap the graphics on mouseUp. How do I do it in Flash? I called a friend and he though I had to do something like create a movieClip inside a button or vice versa. It all seems rather complicated for such a simple task.

View 9 Replies

ActionScript 3.0 :: Make A Toggle Button?

Mar 5, 2011

What would be the best way to make a toggle button -- like one where you switch it on, and it stays on until you switch it off. I have two jpegs one for on and one for off.

View 4 Replies

ActionScript 2.0 :: On/off Music Toggle Button?

May 24, 2004

i have been stuck with this for days so thought i'd try this forum. on the main timeline i'm trying to have an on/off music toggle button. here's the code on the first frame:

[Code]...

whenever i click the toggle button it restarts the sound and downloads it again. can anyone tell me where my code is wrong or what i have to add?

View 1 Replies

ActionScript 2.0 :: Visibility On / Off Toggle Button

Nov 9, 2006

I need to add text on screen (for hearing impaired) to a simple movie I created. I just need to have text toggle on and off. I don't know how to actionscript the mc or button. Working in F8, publishing to F6.I did see the visibility on/off rollover thread... but I'm not actionscript saavy and can't make the leap to an onpress or onrelease button, rather than a rollover.

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved