ActionScript 3.0 :: How To Make A Link
Mar 16, 2009how can I make a link with ActionScript 3.0Paul Weinstock
View 1 Replieshow can I make a link with ActionScript 3.0Paul Weinstock
View 1 RepliesI am literally at the end of my wick with this one! Here's the skinny, so to speak:
home.swf
products.swf
button line mc
[code]........
how can I make a link with ActionScript 3.0
[URL]
I'm new to flash and just trying to make a url link. followed instructions and I keep getting an error" '{' expected " in line 5. It's there!!! It seems right to me. Am I missing something. it seems simple.
[Code]...
How do you make a whole flash movie a url link once embedded into the webpage?
View 3 RepliesI've build a simple twitter feed flash application that uses php script to read the latest tweet from xml and returns the string to flash to be displayed in a text box.
View 1 RepliesI have Flash Movie (with multiple movie symbols) file that parses XMLile(gallery.load("gallery.xml") with this
<image> <date>03.31.06</date>
<title>View of Seattle</title>
<desc>View of Seattle</desc> <thumb>seattle5.jpg</thumb>
[code].....
How would I go about making diagonal link like this one.I drew a retangle so that my text would fit in, select both text and rectangle, F8 turn into button,then I turn them 45degree. When hover the text change color the way I want, but the problem is that the button enters the hover state way too soon when my mouse isnt over the rectangle yet.Seems like as long as my mouse falls within x and y coordinates of the text then it goes into hover state.For example my mouse is under the diagonal box, not in yet, but right under the text and it would go into hover state.
View 1 RepliesTrying to figure out how to add a link that will open up in a new window using Action Script for something at work. Have barely used Flash so I am totally lost. People at work gave me a file with a blue box that is in its own layer, but I don't understand where to put the link at. I know I have to use Action Script 2.0 and go to the Actions palette.
View 1 RepliesIve been trying to make a flash animation i created into a link but have been unable to figure out how.
View 1 RepliesI want to make a button map to a local printer on the network.
View 6 RepliesI have a small(220x123) Fla file with only one small FLV video file in it.Iwant to embed this video into an html and make it so that it acts likea button - when the user clicks, another html page is launched.Inside Flash I imported the FLV, I made an invisible button on a separatelayer (btn_cover_all) that covers the flv.On the Actions layer I putthe code below. After publishing and embedding the code into the html - the video plays and responds to mouse-over but the link doesn't work.How do I make this FLV act like a link or button that launches another html page?
View 2 RepliesI'm just new to Flash(AS) and I want to make a hyperlink of I dont want to paste the whole URL but just like this fruitdieet and clickable on my stage.
View 1 RepliesI have one website that I am working on that has a flash video logo. The only thing they want me to change about the video is to make it a link to the index page of the site. I can not figure out for the life of me how to do this. Could someone please lay the steps out in a simple fashion for me. I have found a few tutorials online but none of them were for CS5.5 and none of them have all the steps for the version they are for.
View 6 RepliesIs it possible to make a link with a .swf flash file, using swfObject? I would like the entire video to be a clickable link... I'm out of ideas on how to make it happen., on the left thumbnails, do you see how they got a swf object to be a link?Anyone know the principle behind this? How would I do it? It seems like however I lay a div over the flash, my browser will not respond to the click.dit: I cannot make a link directly in the flash file, because 1. I dont have the project file 2. I need to echo PHP code in the link
View 3 RepliesI need make a flash project where I can import an external FLASH file .swf and make a navigation system like this:
[URL]
I need make a navigation system for a big image (like schema) where I need put some transaparent button for link some .html file.
I want to make the link a variable so I can pass a few URL's into this.[url]...
View 1 RepliesI'm wanting to make a movie clip a link, the movie clip loads an image from a php file.
Heres the actionscript that loads the image, if it helps. Also, how do a load text into a dynamic text box with this script. The text I want to put into it is loaded from the php file.
[Code]....
Also is there any way to resize the photo in the actionscript. I want the photo to fit in a movieclip 190x120.
I'm trying to make a link from my flash .swf to call a JavaScript from the html document. It looks like this:
thumb2.onRelease = function() {
getURL("javascript:callArticle('http://shop.examplelink.com/[mySessionID]/Grobstrickpullover--12378d1a30211.html');");
}
Does this looks correct? Are these ' ' symbols placed correct? The problem is that someone else is doing the connection to actually pick up the JavaScript callArticle function, so this code is all that I do.
I'm trying to link a button to the next scene. But the problem is that I can't give an action to the button in the scene, because in the action panel appears: 'Current selection cannot have actions applied to it.' So I have to make a framelabel I guess but doesn't work eather, what's the next step?
View 4 RepliesI have managed to create some buttons movie clips and understand how to link pages. The only question i have is how do you make the button/link for the current page highlight so the user can know what page they are on? Is there a way to have a current page indicator in flash as you can do with html/css?
View 2 Replieslink opens up a new window rather that the same window?
PHP Code:
//listen for mouse click on" button"
button,addEventListener(MouseEvent.CLICK, navigatetoURL);
[code].....
I'm just picking up flash and I am trying to make a new menu of buttons in the template and I will be changing the menu that is already there, but it isn't using conventional menu coding. This is the piece of code I am trying to use for my button to lead to a different movie clip to a different frame than the one the buttons are sitting in, a separate movie clip.
stop();
customhms_btn.addEventListener('click', function(e:MouseEvent):void{
gotoAndStop('customhomes');
});
Of course there are more buttons, this is just one. Customhomes is the frame label, customhms_btn is the instance name. It tells me that customhms_btn is not defined. I have this code sitting in the movie clip that the buttons are in by itself in the first layer.
I have a movieclip and have actionscript on a separate layer that controls the movie clip. However I want to be able to link to a URL when I click the button. Based on what I have does anyone know how to teak my code? Lets pretend the site I want to link to is "[URL]". Here's the code:
[Code]...
I've been sent a swf file for a banner that needs to be linked to a url. I am adding this to my client's website and my client has been sent the swf and javascript to add to the page. The problem is that the javascript code is overly complex, and I'm wanting to use Jquery and Unobtrusive Flash Objects (I've not yet updated to swfobject on this site). Can I use Jquery and/or UFO (or indeed swfobject if I have to upgrade) to make the swf file link to an external url (preferably loading in a new tab/window)?
View 1 RepliesHow to make flash movie as html link?E.g <a>embed</a> its not working.
View 2 RepliesHow can I make a link to my Flash file?
Like an image, I can do it like this:
<a href="http://stackoverflow.com"><img src="imagefile.png" /></a>
I've tried to put <a></a> around the Flash HTML code, but it does not work.
EDIT: I found a solution. I've just put some JavaScript into the code.
I have a swf and want to make it linked.I try like this... but dosent work
<a href="http://www.mydomene.com" target="_blank"><MY SVF OBJECT></a>
I dont have the source of swf and i really don't want to decompile it...
i know how to make a link to a parent frame in AS3
about_btn.addEventListener(MouseEvent.CLICK, aboutClick);
function aboutClick(event:MouseEvent):void{
MovieClip(parent).gotoAndStop("about");
}
thats what i use.. works great. But how to I go up two movie clips, becuase the code above only goes up one movie clip. I'm trying to go up two movie clips instead of one now.
What am I doing wrong? My link opens in a new window rather in the same window.[code]
View 2 Replies