ActionScript 2.0 :: Link To Frame In Movie From Other Page
Aug 1, 2008
I want to make a link that goes to frame 15 of my main.swf which is embedded in index.html, the link itself will be on a page called catalogue.html. How would I go about this?
How do I link a button thats embedded in frame 2 (music page timeline) to a frame in the main timeline ( frame 3= biography page)? Both pages are on the same scene with link buttons embedded in each page independent timeline.
I am able to pass a variable from an html link that loads a separate html file and instructs the swf embedded file to go to a specific frame. But - I now need a link within an swf file on one page to open a new page and tell that swf to start on a specific frame and it is not working. Here is the code I use for the first example - works like a champ:
I am creating a framed website in Dreamweaver, but I made my navigation menu in Flash w/ AS 3. The frameset has two frames, one is called header and the other is called content.I want the flash menu to stay in the header frame (which it does) and I want the links to change the page in the content frame.I tried targeting the content frame in my function that changes pages, but for some reason it continues to open the new page (link) in a new window.
function newPage(e:MouseEvent):void { new Tween(highlight_mc,"x",Strong.easeOut,highlight_mc .x,e.currentTarget.x,12,false);[code]......
I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
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???
how to write the code that would allow a link from the html page to load a specific swf in the Flash movie.The flash movie currently has buttons that load the specific SWF into a loader.The user needs to be able to essentially click through that button from the html/url link (not having to hit the flash movie THEN find and click the button.The code in AS3 for the buttons is as follows:
I have all the frames within a Movie symbol with a scrollbar to navigate the page as its quite long.
The trouble i'm having is when you are at the bottom of a page and click to the next page it will show the next page at the exact same position as the previous.
Is there a script so where when you click to the next page it returns the top?
I have included a simple fla file to explain what I mean. (CS3)
I wanted to know how to link Button within a movie clip linking to Frame Label?I am using Action-script 3.0
I am trying to use the following AS inside the movie clip from where i want to go to the other frame labeled as advt_sms but i am not able to go to that page[code]...
I want to link a button in my main timeline to a label- frame in a movie clip. The movie clip is called "Adetail" and the label is "on01"... I type in the following script
i 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've created a flash naviagation menu and currenlly my links will open a pop up window. I don't want this. I want it to open the link in the same window. Here is the code for one of the links:
var home:URLRequest = new URLRequest("index.html"); function homeDown(event:MouseEvent):void { navigateToURL(home,"_self");} button_home.addEventListener(MouseEvent.CLICK,homeDown);
I would like to create my page links so when I roll over the text(link) enlarges and then once pressed a swf animation plays.When it stops it automatically directs to the desired page.
how do transitions from page to page and from frame to frame all in on site, and i'm lost in the codes this is an exemple that i did in attachment, i want to be able to click in the different buttons bur a lot of thinks do not work. In the portfolio section i create a move clip that works well alone, bur when i integrate it with the home intro it didn't work properly. Hope that someone will be able to help me on that one, cause i think that this will help me a lot to understnad the basic transitions with buttons (frame to frame and page to page).
Basically I have a flash website built on different frames of the timeline, the simplest way I think.Some of these frames have movie clips embedded into them using the flv playback component class.The problem I have is the following, the site works fine and videos play fine, but whenever I navigate offa part of the website to another, from a frame to another - the sound of the clips that were playing keepsplaying on the background and never stop and it keeps building up every time I navigate of.f each page.I want to remark that I believe is not only the sound that keeps playing "invisible" but the whole clip butThis is the AS code for my buttons on an example frame, would you be so kind to tell me what I should add or change
Sorry for bothering you with questions like these, but I've never worked with Flash before, so I've got no knowledge in as3. So I'm trying to make a full flash website, and I've read some good tutorials on the net, but some of the script codes the tutorials provide doesn't work. I'm trying to link a button to a page like google, or a page on the flashsite. I just purchased Flash cs4, so that might be the reason why the tutorial codes doesn't work..
I am able to pass a variable from an html link that loads a separate html file and instructs the embedded file to go to a specific frame.But - I now need a link within an swf file on one page to open a new page and tell that swf to start on a specific frame and it is not working. Here is the code I use for the first example - works like a champ:
html file 1
Code:
<a href="fullpage.html?stateVar=19">Go here</a>
html file 2 swf embed code with variable info:
Code:
<script type="text/javascript"> // <![CDATA[ var so = new SWFObject("yourSWF.swf", "sotester", "500", "500", "8", "#FF6600");
I've built a SWF with the top layer being an invisible button. As a test, I simply uploaded the file to the server and clicked it. Here is the URL where the file is located: [URL] When clicked anywhere, it should take you here: [URL] and it does. I sent the SWF to a third party vendor who have placed the masthead at the top of a page: [URL] which its on their server. When you mouse over the image, it appears clickable, but if you click it, no action takes place. It's the exact same file. Why is it working from one place, but not the other?
I am trying to link from a flash site to a specific page of a 30 page PDF and have had no luck. I can open the PDF with a getUrl but can not have the PDF open to the page I need.
I'm at my absolute wit's end. I'm an advanced Photoshop and After Effects user with quite a bit of knowledge using HTML and CSS. Today is my first day of Flash.
One would think that redirecting to a different page at a certain frame would be simple. I've been sitting here for 5 hours sifting through tutorials and forums and still have yet to arrive at the answer.
Here's what I have:
I clicked on the last keyframe and in the actions panel entered:
I have tried many (many) other iterations. how it can be done using step by step instructions. Most importantly I need a complete example of the actual code to be used.
Why is it so very very difficult to do this? I love how scripts function in After Effects. I love other Adobe software. Why is Flash so cumbersome?
i have 5 menu in my website (home, news, about,..) and the news page is built in wordpress. The others is in one flash file (1 swf)..how do i make a link from my wordpress page to my swf (to specific frames in swf, and it's that frames is in a movieclip)
is there any way I can link a button inside a MC on frame1 to a frame inside another MC that is located on another frame.Ive got 2 frames in total. On the first frame Ive got an Mc and inside this one Ive got a button that needs to be linked to frame number 50 which is inside a MC located on frame number 2.
Let me ask how to program an html page to move to a new web page on user's clicking an item of an embedded flash movie? But , in detail, I actually want to do a little different thing. I want that the parent html page remains there ,instead I want a child html frame has a new page after user's clicking the list item of the embedded flash movie.
I have a website I would like to run locally in the computer. The website is in flash and links to some HTML pages in the same folder. How do I write the action script button so it opens the HTML page in the same page? Right now I have:
on (release) { getURL("localfile.html"); }
The above code doesn't go to the HTML page that I wanted in the same folder. Do I need a relative path or something? Indicate the folder it is in?
I 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?