ActionScript 3.0 :: Making Whole Movie A Link?
Jan 9, 2009
I'm new to AS3 and I was wondering if there's a way to make the whole movie a link to another page.I'm creating an advertising banner and I'd like to redirect people to another website whenever they click on the banner
View 4 Replies
Similar Posts:
Apr 21, 2011
I am pulling my hair out trying to make my simple flash file link to a URL and nothing I have tried will work. I am making a transparent box on the top layer of my file, making it a movie clip and adding the code
on (press){
getURL("http://www.trimergence.com/staging/news.html");
}
The action says it has no errors, but when I export the move, my cursor turns to a hand but goes no where when I click.
View 3 Replies
Sep 12, 2009
i have a friend who are dentist and ive agreed to do a web site for him. I do it in cs4. Like so: ive made a pretty simple and nice layout i plan to use for all pages with some images an so on .Now ive made lots of buttons wich all opens in a timeline nice and slow (not to slow). On the index page i have a menu called "treatments" wich requir some room. I want to make a button called "treatments" wich can open and collaps to 3-4 minor buttons wich then again can link to diffrent pages describing different treatments. Now i need the treatment button to open up the 3-4 minor buttons one by one smooth(tweened with the alpha slider) with same frame rate as the other ones on the page and collaps again.
View 1 Replies
Jan 10, 2010
I have an object on the stage (with an instance called mcBlackboard) that contains two buttons.I'm trying to make these buttons link to pages on my site but I get the following error(s):1120: Access of undefined property buttonAboutUs1120: Access of undefined property buttonFAQsMy guess is that it's not finding the buttons in the movieclip (since the script worked fine when the objects were on the stage).I may have done things in an odd way, but it's the result of days trying to figure this out mysel
Code:
function myButton(button:MovieClip,url:String) {
var buttonPath = "mcBlackboard." + button;
[code].....
View 5 Replies
Mar 18, 2011
Flash newbie here. I wanted to create a basic flash countdown widget to use on a site I run so I started googling and found a template I liked. After messing around with it and whipping up a quick background in Photoshop, I got something that looked decent. The template uses Action Script 2.0, but it seems to work ok. I went through it and customized the date and countdown text color so I don't have to use any variables in the embed code.
The problem I am facing now is I want the whole flash file to be a link in case someone else takes it and decided to embed it on their site, it at least links back to mine. I put an invisible rectangle over the whole project and inserted this AS
[Code]...
View 9 Replies
May 28, 2009
I'm wondering how to make a link in Flash Professional 8?
View 3 Replies
Oct 26, 2009
I have started to do some reading, but I have a FLA file that I need to add a get URL to. I have spent the last two hours doing tutorials, but all of them show a different view than what I have. with this?Request: To add the ability to have someone click on the button and get an url.Attached: My FLA that I am trying to figure out how to do this with.
View 1 Replies
Apr 20, 2011
Im trying to make two buttons for my artefact to link to facebook and twitter, but it doesn't work. I've got no error messages or anything, I just click the button and it doesn't do anything
The code is the following:
BTN_FACEBOOK.addEventListener(MouseEvent.CLICK, FacebookClick);
function FacebookClick(event:MouseEvent):void{
var getFacebook:URLRequest = new URLRequest("[URL]");
navigateToURL(getFacebook);
}
BTN_TWITTER.addEventListener(MouseEvent.CLICK, TwitterClick);
function TwitterClick(event:MouseEvent):void{
var getTwitter:URLRequest = new URLRequest("[URL]");
navigateToURL(getTwitter);
}
View 5 Replies
Apr 27, 2009
Trying to make it so when you click anywhere on the flash file, it loads a specific website. It works when I go to File > Preview > Flash, but if I try and preview in html it doesn't navigate anywhere. My actionscript is:
Code:
myButton.addEventListener(MouseEvent.CLICK, onMouseClick);
function onMouseClick(e:MouseEvent):void {
[code]....
View 1 Replies
Aug 18, 2011
I want to make it so when the visitor hovers over each navigation link the icon changes from a stop sign to a go sign
how to go about doing this. I have watched tutorials and read up on the internet
View 2 Replies
Sep 22, 2011
I need to make a label in flex as if you click on it you can open a specific URL let us say Google.
View 1 Replies
Feb 9, 2009
I am pretty rusty when it comes to action script. I am using CS3 and want to have an XML file that has the links likeimported into the flash so when a button is clicked it will go there...I have looked at numerous examples but all are too complicated for what i want to do.I will pay someone via paypal if they want to do this quick fix for me... I can send the file... should be strait forward for someone knowing waht they are doing
View 3 Replies
May 15, 2009
this is what I have as code but it opens in a new tab when i click the button
futureBtn.addEventListener(MouseEvent.CLICK,goFutu re);
function goFuture(e:MouseEvent):void
{
[code].....
View 3 Replies
Mar 18, 2010
I am creating this animation. When you click on a button I want it to use facebox to use a pop up. I was talking to my coder friend and he gave me this code to maybe useSo I am trying to basically use this kind of coding into flash. The only thing is that I am not that great a coding so I have no idea what I am doing. The only coding that I have is a stop (); at the end of the animation so it doesn't loop.
View 1 Replies
Aug 21, 2010
I have a swf embedded into a site, and I want the swf to be clickable so when you click on it it goes to another page. I tried wrapping the whole flash object in tags, and that makes it clickable but the biggest problem I'm having is when you roll over it with the mouse the pointer icon doesn't come up, it just looks like the regular arrow. I tried playing with the css and doing cursor:pointer, but it still doesn't work. I can edit the .fla file and add some actionscript 2.0 to it, but I'm not sure what to add or where. I'd rather do it through html or css, but if I have to do it in flash that's ok too. Also, I have an invisible button over the whole thing called, MYbtn
View 3 Replies
Dec 10, 2009
I have recently purchased a XML based template and need to make an existing XML link goto an internal menu page. I have been able to create buttons in the flash template itself using action script with no problems. In my site I have several buttons that say more, so in the XML document it has these internal links, asfunction:_root.more_click_func,1. So what I am trying to do is have thiese links goto the contact page, so I assumed it was simple as directing the asfunction to the internal menu which is 6 but it doe snot work.
asfunction: "6"
asfunction: contact
View 4 Replies
May 9, 2008
I am trying to figure out how to make buttons on my flash file link to URLs that appear in a window of fixed dimensions (with scroller bars) next to my Flash window. I am aware that Adobe has instructions for creating pop-up browser windows through Flash [URL]. However, what I'm trying to do is a bit more complicated, since I want to have multiple embedded invisible buttons in the Flash window that each take you to a specific URL when you click on them. Alternatively I'd be happy if any button click resulted in a link to a random selection from a pre-programmed list of URLs. This is for ActionScript 3.
View 5 Replies
Jun 14, 2010
Is it not possible to have selectable text turned on when you are making a link or button?
View 2 Replies
Nov 15, 2009
I have two copies of an image (one called blurPic_mc & one called sharpPic_mc) and I want to be able to move both of them around the screen togethe I need them to stay exactly on top of each other for some other functions I am running but right now the only one that moves is the top one (sharpPic_mc).I included my code below.
sharpPic_mc.addEventListener(MouseEvent.MOUSE_DOWN,Click);
sharpPic_mc.addEventListener(MouseEvent.MOUSE_UP,Release);
function Click(event:MouseEvent):void{
[code].....
View 1 Replies
Nov 2, 2010
how do you link(code) your swf pages to each other (through buttons) when making a flash site or portfolio?
View 5 Replies
Feb 4, 2009
trying to make a movie clip follow a custom drawn vertical line, the movie clip follows the cursor but only the y axis
I have added an example of what i mean and the file i need it to happen to
ps the vertical line needs to be hidden.
View 8 Replies
Jun 15, 2009
I need a skip intro link in my movie that, when clicked, goes to the last frame of the movie and plays it.
View 7 Replies
Feb 1, 2006
- i have 3 separate movie clips (a,b,c)
- my main movie is (a) and when i click a button there, it will go to external movie (b)
- under external movie (b) there's a movie clip that includes my animation and content button
- if i click on the content button on movie (b), external movie (c) will pop up [ it will not replace movie (b) but will just overlap it, it's like a small pop up ]
i did the actionscript and when i'm testing external movie (b), it's working... it's showing/popping up movie (c) but when i tried it on the main movie (a), the movie (c) is not popping on the (b) err, sorry if it's a bit confusing / how i explained it. but hopefully somebody will get the idea. and it won't also return on the main movie (a) when i click on a link from the external movie.
View 5 Replies
Oct 17, 2003
I have a html page that has a link, which links to another html page with a flash file on. What i need is when this flash page is accessed i need a new movie to load, which would usually load from the navigation when someone clicks on a button.Is there anyway to link to a page which then loads a new movie into the main movie. can this be done???
View 10 Replies
Aug 13, 2008
I have embedded movie files in the library of my fla file. Each movie represents an individual page of my site that came with a template. The menubar is animated and when I click on the buttons I move from one page to the next. I duplicated one of the pages, renamed it to a new name and now want to create a button or a link that when clicked goes to this new page. I have spent ages trying to figure out how to do this with no success.
View 1 Replies
May 30, 2007
What action script would i need to make a button in one movie clip goto and play a frame in another movie clip? Im not very good at flash but i've been trying my usual codes but it dont work..
View 2 Replies
Dec 6, 2007
I have a map of the UK with all the counties and i was wondering how I would go about making a rollover flash movie. I specifically need it to highlight the county when the mouse is over that county and a little box to appear with the county name in it. Like an ALT tag I dont want someone to tell me exactly how to do it just some tips on how i would go about this. Is there an image mapping tool in Flash. Or how would i go about marking out the coordinates for each of these areas.
View 6 Replies
Sep 27, 2009
Making a Comic book/Video game with Flash Action Script 2.0. Check out my blog ive uploaded a couple of demos on it.Anyways i want to make a movie clip appear on stage when the user finds a key. The movie clip would be used as a trigger to send the player into an other version of the second level where a door would now be unlockable (only if he has the key).I know how to make the hittest work its making the movie clip appear on stage with an action that is giving me problemes.
View 2 Replies
Dec 7, 2011
im very basic with flash and i made a movie that contains about 110 frames with help of toturials and stuff from internet and from here too for my site. what happens is that the movie has about 3 mb and for some slow connections it just doesnt displays the correct info when i click the buttons right away...so now i would like to built a loading message so that ppl can only access the movie when it is completely loaded in order to dont receive incomplete info when clicking the buttons ....but i dun know how.
View 9 Replies
May 20, 2009
I have several different movie clip components in a flash file that I need to hyperlink to different addresses. I cannot for the life of me figure out how to add a url to these objects.
edit: I should add that I see an invisible button as being one solution.
View 9 Replies