Link One Swf File To Anothe
Mar 13, 2009can anyone help me link one swf file to another, so the second loads in as s seperate movie when a button on the first is clicked
View 1 Repliescan anyone help me link one swf file to another, so the second loads in as s seperate movie when a button on the first is clicked
View 1 Repliesi have created a flash animation for my homepage, i want to make part of that flash animation a "enter" button so when clicked would go to my page 2 on my website.
i have never done any script before and only used dreamweaver on a mac. is there an easy way to create this button to link to my next page and to stop my file to stop looping?
How to edit flash file (.swf) without .fla file ? I got banner in swf file and a need to make something like that:
when user click on that banner he will be redirected to an url (for example [URL]
i have created 2 swf files.. (eg; a.swf and b.swf)if i 1 2 link from a.swf to b.swf, i use this AS : ( this As works)
on (release) {
tellTarget ("_root") {
gotoAndStop(1);
loadMovieNum("b.swf", 1);
}
}
lets say if a.swf have 3 scenes in it, (scene1, scene2, scene3), and i 1 2 link b.swf back to the 'scene3, frame1' of a.swf, what will the AS be?i tried using this:
on (release) {
tellTarget ("_root") {
gotoAndStop(1);
loadMovieNum("a.swf", "scene3",1);
}
}
but it has and error....
I purchased a Flash template. I know I need to edit the .FLA file, but yikes. Layers and layers. How do I link the existing buttos in the FLA file to other URL's in the site--like "home", "contact us", etc. pages? I have a Lynda subscription, but trying to find a specific topic in those tutorials is a pain.
View 1 RepliesDoes anyone know how to link text to a file instead of a URL in flash?
View 1 RepliesI have 6 different .fla files with their own SFW file's and how to link them I also have a main.fla that holds all my stuff like my buttons, logo, banner ect. This is the only code I have and I get no errors but when I click on a certain button it wont go to that certain SWF file?
[Code]....
Is there a way to add a link/URL to a .swf file, without embedding into the original .fla file?Is there any way to do that with just the .swf file alone, and without actually editing the .fla or re-creating it?
View 5 RepliesOk, this should be easy, I've done it before, but the code was in a different setup/format.
All I'm trying to do is have a text box display a link and then click on the link to go to the site.
Now, everything is working as far as display, but when I try to pass the targeted (clicked) link to navigateToURL, it is null.
Here is the partial loader code:
Code:
//format video description txt
var vidDescFont:Font = new VidDescFont();
var vdf:TextFormat = new TextFormat();
vdf.font = vidDescFont.fontName;
[Code].....
I'm extending senocular's excellent xml/gallery tutorial to include a URL link with each image. I've created a button object but can't figure out how to add the link from the XML file?
View 7 Replies[Code]...
that's what i have currently. It worked fine in osx on safari. It opened the pdf in the browser. but on a pc with firefox I dont think it has the same in browser pdf capabilities, How do I just initiate a download prompt or something?
I'm a completely noob but I'm currently working on an animated skype-button.I inserted the button successfully on my website.Now I'd like to attach the following command in AS3 to my movieclip when someone clicks on it [code]...
View 2 RepliesI have been trying to understand how to create a url link with the xml file that my menu is driven by. what I have is a menu with text amd images reading from an xml file, I have created a third text field which I would like to use as a button/link that when click it goes to a url.this is what I have for my XML:
Code:
<?xml version="1.0" encoding="utf-8"?>
<data>
<image name="image 1" path="img/img1.jpg" [code].....
but this doesn't seem to work, am I missing something within the flash movie.
I can't understand why some of my links don't work. How can I upload the file on here or do I have to send a link to the file?
[URL]
I want to know how to link a pdf file from flash and make it availble for download?
View 4 RepliesIs it possible to link to a spacific "page" within a flash site much like you can do with a html web site? I want to be able to link to a spacific swf page within my site without going through the entire site to get to the "page" how do I do this using actionscript 2.0
View 2 RepliesI have created a Flash banner ad for our company that is to be hosted on another website. This banner ad needs to have a link added to it, within the Flash file. This link will take users straight to our website but is also for the purpose of tracking.How do I go about adding the URL? I have searched through these forums but cannot get it to work.I am using Flash CS4 (selected to use AS 3 when I first created the file.)
From what I have read and understood, I should create a new layer, and then add the code to the first frame on that layer?Exactly what code should I use? I tried something as simple as 'getURL("http://www.celonova.com","_self"); ' but that is not working. Is it bcos that is for AS 2 only? My last question is...can I set up the link so that it works for ALL frames?
I wonder if we can use XML to link into certain section of a SWF file?I have purchased a carousel which is composed mainly by AS3 and XML, it contains of 6 images linking to 6 different section of a swf file. From where should I modify to add-in the sub-button onto the carousel image? How should I modify the XML when I click on the sub-button, it will link into certain section of a swf file?
View 2 Replieshow to link pdf file in flash by xml ??
View 3 RepliesThe .fla file only gives you the option to link one .src file in the 'Class' bit, is there any way to link two .as files to the .fla file?
View 1 RepliesI have swf file, im using code below to display it on my website:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="160" height="264">code]......
How can I convert this swf file into link? Im trying to achieve it with flashVars so I've added something like that:
<param name=FlashVars value="targetURL="http://example.com/">
But what's next? Can I make a link from this .swf file without having .fla?
In my main AS, I am using a MovieClip as a Container despite of the stage. In another AS file, I want to take the Container as a reference as well as addChild (such as bullets etc) to it, but I really don't know how to write the code.
If I only addChild in the current (sub)AS, it's working, but it's just a problem to removeChild.
i made a preloader, but apparently, the preloader doesn't put the external files "which are refered to through the XML" into count.as if it only gets the bytes of the flash file, it even finishes before the images are loaded, any ideas whats going on?
Code:
onClipEvent (load) {
total = getBytesTotal();
}
[code]....
what i want is that the pre-loader understands that there are external files to be loaded too, so get their bytes and after you finish, go to and play "start"
I have a.swf and b.swf. a.swf contains a link to random website as button. b.swf contains a.swf, I mean b.swf includes a.swf. Can I detect what link in a.swf when visitors clicked the button? I hope I can explain myself
View 3 RepliesI would like to know how I can link a button in flash to a .php file..Maybe it's very easy, but I have been looking for it for days, and I can't get it to work, and it's driving me mad!
View 6 RepliesDoes any on know of a video Tutorial of a way to add a URL LINK to the end of a .FLV file.I need to add a button when the video ends to a URL to proceed to a new page on the site.
View 1 RepliesI have a txt file rendered as html in flash. Is it possible to use a link in the text file, to link back to flash to load a page or manipulate a variable?!
View 6 RepliesI have a text file that the client updates and I load the var into a flash file
Code:
&coordinate_1=39 30 42.28 N 101 14 29.73 W
&coord_link_1=http://www.google.com/maphp?
[code].....
I have a problem with the url parameter in XML. I want to link to other movieclips in the same flash. How can i do this?
My movieclips are all stored in the same fla file. The names of the movieclips i want to link to is mc_home, mc_contact etc etc
The XML looks like this:
<?xml version="1.0" encoding="iso-8859-1" ?>
- <menus>
- <menu1 name="Contact" url="yoururl">
<sub name="Details" url="yoururl" />
[Code]....
I have this xml file that looks like this:
[Code]...
and id like to add a text link like this to each "entry name":
Code:
<link href="Title1.html" text="Title1" />
Note: Each "entry name" currently becomes a link in itself when displayed. I need the new link to be a separate link. And this is the xml code in the actionscript:
[Code]...