ActionScript 3.0 :: Have A Flash Button Open Another Swf File
Jun 17, 2011Is 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 RepliesIs 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 Replieshow 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 RepliesI 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 Repliesi 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..
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 Repliesi 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 Repliesi 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
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 RepliesI 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]....
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]....
My CS5 flash crashed when I changed the name of the root folder while it was open. Swf is working fine, but .fla file wont open, I get a "Failed to open document" message. This is a disaser because I've lost two days of work. Is there anything that could be done to fix this problem?
View 2 RepliesI'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.
i have a standalone exe flash file which opens autorun from a cd, and i need to open a windows browser directly from that flash. i want it to open the htm without any toolbars or scroll.
View 1 Repliesi have a standalone exe flash file which opens autorun from a cd, and i need to open a windows browser directly from that flash. i want it to open the htm without any toolbars or scroll...
View 1 RepliesI have been working on a project for a week and suddenly it crashed during save (nothing strange had been imported or anything i just saved after moving content around) and now i cant open my file again. I contacted adobe support who claim that since the problem is related to the file this is not their problem, what a load of HORSE ****, who should i contact about this dell if its an FLA FILE!? I have already renamed the file to flash.zip then opened with WinRar and repaired as a new zip file to a different folder (which removes the corrupt content which is document something.xml) then i tried renaming this folder back to flash.fla however the file still does not open.
View 4 RepliesI work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:
on (release) {
var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}
This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.
I am trying to customize a video player skin from f4player [URL] [the file is mySkin.fla]). I am using flash cs3 pro and I get the error "Unexpected file format" when trying to open the file, a friend has flash cs4 and has the same error. Is there something I could do to open this .fla file correctly? Or maybe if someone could try opening it and saving it again for cs3?
View 1 RepliesI created a simple button that displays an error messeage: "error opening 'url" when I test the movie, but does play and opens in browser after publishing. However, it won't open in the browser in a different location. I pasted the html code in a web page but it doesn't work there nor opens in the browser in a differnet location from where it was originally published and saved. Why is that?
View 13 RepliesHow to get a AS3 file to open that won't open no matter what I try?
I was attempting to trouble-shoot some output errors I was getting while testing my movie. At one point, I had the bright idea of changing the name of the file's root folder. Once I did that, my file couldn't recognize its "home", understandably.
I need to be able to open a number of pdf files held in an external folder called 'PDF' via a button in flash, I've tried getURL and it doesn't work
View 5 RepliesI've got a 9MB fla file that suddenly doesn't open any more. When I try to open it, it crashes Flash. When I try to open it as a library, it crashes Flash. Someone told me a library object might be corrupted - not good, irreparable. I'm on a Mac and when I try opening the fla file it gives me an "error type 2 occurred." I imported the swf file into a new Flash file, but now it's just a one-layer straight-streaming movie with every frame a completely new, redrawn keyframe. Is there any way to resurrect the original fla file? I've got a Sunday deadline?
View 1 RepliesI am just starting to learn how to use flash. I have made four diffrent fla files, but one of them is not working. Flash crashes when i try to open it, it worked last night. Is there any way to repair it or find out what i have done wrong. Dont want it to hapen again. There is no problem to run the swf file. I have uppdated flash to the latest version 10.0.2.
View 1 RepliesI created an FLA file through Adobe Flash CS4. My problem is, I compressed the file as a .sitx and put it on my server, so that I can use it on another machine. However, on a different machine, using the same version of Flash, it will not open. Flash says:
Failed to open document (FIle Path)
The SWF file can be opened through Flash, just not the FLA.
I think I know the answer to this, but. Is there any way I can open a CS5 file in CS4? A designer I'm working with created some files using her CS5. She's on vacation for 2 weeks (so I can't have her edit or resend the files as CS4) and I just got an email that the client needs a couple tweeks and all I have is CS4. Is there any way (or any program) that can backwards convert a CS5 file?
View 4 RepliesI just taught myself Adobe Flash and created a very intricate file with lots of moving parts. I saved it and then went to improve it. Of course it was taking forever so I got up from the computer to let it do its thing and I accidently knocked out my external harddrive. A lil freaked out I exited out of adobe flash- plugged it back in and went to open my file. However, it wont open now! I've saved it a dozen times after I added each new part but I have nothing now! Is there a way to get it to open? The message that comes up simply says failed to open document.
View 1 RepliesI have a fla file which opens, save and compiles perfectly in Flash CS4 but when I open it in CS5 it crashes Flash with the below error report. I have tried this on multiple machines all resulting in the same error message. I have also tried saving the file in CS4 under a new name, did a compact and save and a magic spell. Neither of which had any effect.
[Code]....
Is there any way to open a PDF file in flash application using Action Script 3.0 ?
View 6 RepliesAll I get is an error box saying: "Unexpected file format." Everything was going fine until I did some simple action (removing a few frames I believe), then Flash crashed and I haven't been able to reopen the file since. It opens other .flas just fine. I rebooted, but to no avail.
View 1 RepliesIm designing a flash website. What i need is, when i click an object, an external swf file should open seperately. then, we have to be able to close that file manually. I tried "loadMovie" function, Its not working. I need a tutorial like stuff from beginning to end.
View 1 RepliesMake a flash swf that will build "x" circles which will not touch each other, and each one of them will have a name inside it, like "John", and in a text file I have John's friends, like: John - Lucas. so i have to make two circles, one with name john inside it and another one with name Lucas inside it, and them make a line between those, with only AS2.
i have a circle(movie clip) in library, inside it there is a dynamic text with instance name "namee", and I already manage to make the circles appears (not randomly) but they don't touching each other, but for appearing the name inside a circle, that will be happening to be from a text file, thats something i don't know how to do, i know how to open up files in C/C++ but in flash i know how to load from a text file into a dynamic text with the same variable name of the var in the text file. So the question is, how can I change a Variable, not instance, name of a Dynamic text, or how can I load stuff from a text file into a Variable, not a Text field?