ActionScript 3.0 :: Attach A Callto Link To A Swf-file?
May 21, 2009I'm currently working on an animated skype button (swf-file) which I included into my website and I'd like to attach the following command to it:
[Code]...
I'm currently working on an animated skype button (swf-file) which I included into my website and I'd like to attach the following command to it:
[Code]...
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 an XML node: <link>http://www.google.com</link> which if that node exists will be applied to a button using the following code:
[code]...
I DL the kirupa source code 3D ButtonCube and i am wondering how can add/attach a different link to each faces? Basically i want to make this 3D cube function like a menu.
View 1 RepliesI downloaded the kirupa source code 3D ButtonCube and I am wondering how can add/attach a different link to each faces? Basically I want to make this 3D cube function like a menu.
View 1 RepliesI've got an XML document that holds the info for a Press section I'm doing for a client. The XML holds the path to a thumbnail, the headline text and a link to the original article. I'm having no problem getting the thumbnails to load in and the headline was a breeze too. Put them both in holders so I could position them later. My trouble comes when I try to pass the link attributes to a button that also gets attached to each press clipping. I can trace out the link array that I create to hold my XML data but when I try to pass it to a getURL function inside a button in the same For loop "i" is never passed.
Code:
var yPos:Number = 0;
var xPos:Number = 0;
var spacer:Number = 6;
var imgPathArr:Array = new Array();
var headlineArr:Array = new Array();
var linkArr:Array = new Array();
[Code] .....
I would like to attach a sound to a .fla file that starts to play when the file is opened. I have created a button and would like to be able to use this button for a visitor to the site to mute the sound. So, I'm trying to accomplish two things, first attach a .wav file, then get the mute button to work.
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?
I'm currently working on a Flash application that needs to save files to Drupal. I already saved the file to the Drupal site with the File service, but I can't get to attach the file to the node with the node.save service (Upload module, not CCK file field).[code]...
View 2 Repliesim coding an AS3 site and need to give the possibility to attach a file in the contact form. (like a browse button to select some file in X directory)My form is working with POST, and a PHP file with mail function, how to do this? i know how to do this in php but im still learning AS3.
View 2 RepliesI need to send my FLA file to a person who replied to my initial question. How do I add it as an attachment ?
View 6 RepliesI made an AIR application that parses some specific files. I am using flex builder 4.5 and SDK 3.6. I want to attach Icons with those files and when I double click those files they should open with my application. How can I do this?
View 2 RepliesI want to attach a sound file and have several cuepoints that will cause certain movies to play as the sound file plays.I've looked into this and think I'm right in saying that you can't have an external sound file, like you can have an external Flash video file?What would be the best way to attach my large sound file?One way which I thought I could do what I need: create a Flash video file, don't show the video file and just play it... and then use Flash video's cuepoints.
View 4 Replieshow do you attatch file or can you attatch files so that when the blash button is pressed it will download a pdf?
Also when i publish my files and tell it to center this does not seem to happen within the webpage why is this?
how to eliminate previos attach before move to next attach MC..let say as u can see in my code..I just settign the interval..for 2 second..in other to attach the mc on eby one...so how to set up the code so that if the 2nd mc has attach it'll remove the 1st one attach for certain time...and so on..the scenario like this..
mc1 attach
after 2 second
mc2 attach --> remove mc1
after 2 second
[code]....
how to load photos from a XML file into flash. I have a movieclip (called PhotoMC) that has two layers, bottom layer is a square(is a graphic). Top layer is a blank MovieClip where I would like to place the image loaded from XML. I'm trying to have the movie clip(PhotoMC) load for each jpg in my xml. So basically a movieClip will be attached to the jpeg.
View 1 RepliesI like to apply a prototype to the following:a holder inside an mc that has a linkage(project). Project is loaded (attachmovie ) in a holder (name main)placed on stag (root). Possible?
View 5 Repliesat the moment the menu buttons, called 'menu Items+ Number' I would like to replace this with thumb nail images and a little text description on the left side of the image. I am new to AS3 and really have no idea where to start with this.would someone beable to guide me through attaching an xml file with the script to the menu and then adding thumb nail images.I can not upload file example as to large but you can download the original menu from the above link.
View 0 RepliesHow can I attach an AS3.0 Flash Builder 4 project to a FLA file and a document for compilation? Currently I have a AS project full of files which I can't build. What should I do?
View 2 RepliesHow 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]
Im currently experimenting with AS3 and I'm trying to attach an external actionscript file to a movie clip in the library but I keep getting error messages, my .as file worked fine in AS2 and I cant figure out what the problem could be heres the code in my fla file
[Code]....
I was wondering about MC and hey can help to lag a game out. I set up an advanced class system so i don't have to use MC to simulate walls, all i use isthe x,y,width and height. Well anyway since i don't need MC anymore I was wondering if there is a way to attach Graphics instead of MC cause a Graphics file size is relatively small than that of a graphic, I think. If anyone could tell me thats true and show me a way to attach graphics that would be nice. I haven't tried it yet but maybe if I exported the graphic from the library imihgt be able to call its name, but it doesn't have an instance name so im stuck.
View 2 RepliesI'm not sure what i'm doing wrong here...When i attach a mc to my file the buttons behind that clip are still "active" how can i solve this?
View 1 Repliesi 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....
can 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 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].....