External And Internal Links - Move To A Frame Outside The Main Timeline

Jan 3, 2010

Not sure if I'm in the right place, I apologize in advance if so. I'm somewhat proficient with html, but fairly new to flash, using cs4pro, as3. Here's my dilemma. Converting an existing html/css site to flash. Flash is main site now but a few html pages are still linked, a buy page and a form page, a few others. I can get the all the external html pages to link to a frame in the flash movie, and I can get the flash to link with all external urls.

My problem comes when I move to a frame outside the main timeline. The movie is lets say 393 frames. All symbols/content are on seperate layers, and so is the action. Once the full movie ends, I have several frames past that where I have basically created frames for additional "pages" and created anchors for those frames, new layes for content, new layers for anchor (labeled) and new layers for a stop(); on each frame, I extended the pertinant graphic frames out to 410 from the original movie.

Now when the movies runs the buttons appear at about frame 115, so in the action layer I coded a keyframe and then added frames of it out to frame 410 or so: I have attached the .fla Now I'm lost here. When you navigate the site, from home lets say to an external link (button) like members, the html member page opens, and if you click home button, back to flash frame, and all works, all buttons, on the home frame 393. But if you go to any of the external htmls, and then go back to any other frame like frame 401 the about page, and all the rest 402 403, etc, the page appears properly, but then none of the links function. the site URL is [URL]there is a flash intro too, swf in question is actually at[URL]

View 2 Replies


Similar Posts:


IDE :: External Html And Internal Flash Frame Links?

Jan 3, 2010

Not sure if I'm in the right place, I apologize in advance if so. I'm somewhat proficient with html, but fairly new to flash, using cs4pro, as3.Here's my dilemma. Converting an existing html/css site to flash. Flash is main site now but a few html pages are still linked, a buy page and a form page, a few others. I can get the all the external html pages to link to a frame in the flash movie, and I can get the flash to link with all external urls.My problem comes when I move to a frame outside the main timeline. The movie is lets say 393 frames. All symbols/content are on seperate layers, and so is the action. Once the full movie ends, I have several frames past that where I have basically created frames for additional "pages" and created anchors for those frames, new layes for content, new layers for anchor (labeled) and new layers for a stop(); on each frame, I extended the pertinant graphic frames out to 410 from the original movie.

Now when the movies runs the buttons appear at about frame 115, so in the action layer I coded a keyframe and then added frames of it out to frame 410 or so: I have attached the .fla (not able to attach at this forum .fla here:s say to an external link (button) like members, the html member page opens, and if you click home button, back to flash frame, and all works, all buttons, on the home frame 393. But if you go to any of the external htmls, and then go back to any other frame like frame 401 the about page, and all the rest 402 403, etc, the page appears properly, but then none of the links function.

View 1 Replies

ActionScript 3.0 :: Button - Move The Main Timeline To A Specific Frame

Jan 12, 2011

I have this code below on this button that is inside of a movieclip. I just want this button to do is move the main timeline to a specific frame thats all.

[Code]...

I didnt put i a object name before the addeventlistener because I'm not sure what to put because if I put "this" the other buttons will bt controlled by this code and if i put "parent" only that button will work.

View 7 Replies

ActionScript 3.0 :: External Swf Button To Move Main Timeline?

Jan 20, 2011

i made a main(parent) page that loads an swf which has a button(a1) which on click i need it to move the timeline of the parent
 
i wrote this code to the external swf and tryed many commands such as Object(root).gotoAndStop(1);
 
a1.buttonMode = true;
a1.addEventListener (MouseEvent.MOUSE_UP,a1a);
function a1a(event:MouseEvent):void { 
}

View 3 Replies

ActionScript 2.0 :: External Text With Internal Links?

Jan 28, 2009

I understand loading external text into flash through actionscript to produce a quick way to modify text without modifying the flash movie. The problem is being able to create hyperlinks in the external text to navigate within the movie (website). So my question, Is there a way to load external text but with the ability to code links into words or phrases that point to instance names (frames) within the movie (website).

current method
create *.txt file
*.txt loads into .swf file

.swf is called from loader component on main movie.Or is this impossible and the text has to made within the main movie and edited through flash?

View 4 Replies

ActionScript 3.0 :: Variables In Main And Internal Timeline?

Aug 26, 2010

I have movieclip that act as a container for a short animation. This animation has a script that repeat the movements until it's greater than a variable. But I wonder if it's possible to use this movieclip on several places on the timeline and have a several variables with different max number of movements that control the script inside the movieclip container? I have tested, but it seems like the value from the variable at the main timeline don't reach the script in the container!?

View 2 Replies

ActionScript 3.0 :: External SWF - Jumping To Frame Of Main Timeline

Aug 10, 2011

I have an external swf (is is an intro, nade in aftereffects)..and it loads in the main timeline of the site with a preloader. Everything is ok, but, when the intro in done plating. It stops and I want do see de site. I mean from the last frame of the external swf, I want to jump to the second frame of the main timeline.

Here is the script:
stop();
var req:URLRequest = new URLRequest("intro.swf");
var loader:Loader = new Loader();
function fileLoaded(event:Event):void{
addChild(loader);
[Code] .....

View 2 Replies

ActionScript 2.0 :: Go To Next Frame Of Main Time If Timeline Of External Swf Ends?

Aug 3, 2009

I have a button that when pressed goes to the next frame of a external swf file loaded into a movie clip. When the last frame of the external swf is reached, I want the button to go to the next frame of the main timeline (which in turn loads another external swf and the process repeats itself over again).

I assume I have to use an if/then statement, but what exactly is the if clause?

View 1 Replies

ActionScript 3.0 :: External Swf Button Accessing A Mc Frame In The Main Timeline?

Feb 8, 2010

I've beein digging forums everywhere but cant find the solution to my problem...

I have an external swf "advert_3.swf" loading into the main index.swf.

advert_3.swf has two buttons: one needs to go to "services" frame the other to "events" within a content_mc which is in the index.swf.

that is in the index.swf:

ActionScript Code:
var request:URLRequest = new URLRequest("advert_3.swf");
var loader:Loader = new Loader();
loader.x = 35;

[Code].....

View 1 Replies

ActionScript 2.0 :: Link A Button Thats Embedded In Frame 2 (music Page Timeline) To A Frame In The Main Timeline?

Nov 22, 2011

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.

View 1 Replies

ActionScript 3.0 :: Execute Functions In Main Document Class When Main Timeline Reaches Frame X

Oct 16, 2009

I have 3 functions in my main document class that I want to execute when the main timeline reaches a particular frame number. how do I do that?

see the code and comments

public function mainClass()
{
//stage declaraction
stage.align = StageAlign.TOP_LEFT;

[Code]....

View 5 Replies

ActionScript 2.0 :: [Flash8] Assign A Variable To The Current Frame Of The Main Timeline (not Movieclip Timeline)?

Mar 16, 2007

I simply want to assign a variable to the current frame of the main timeline (not movieclip timeline) I already know about _currentframe and it doesn't help in this case.

View 4 Replies

Professional :: Moving To A Frame In Movieclip Timeline From The Main Timeline

Apr 26, 2011

I am in the learning process. Working with FlashCS5 and AS3. if the issue appears to be too simple for you. Placed a movieclip(mcassessJohn) on the main timeline and moved to the frame labelled "johnFeedback" in the movieclip timeline using the following actionscript code.

[Code]...

View 1 Replies

ActionScript 3.0 :: Move Onto The Next Frame In My Timeline Is Located At The End Frame Of A 10 Second Animation?

May 26, 2010

I'm still struggling with going from a loaded swf to the next frame in my timeline, where a new swf file will be loaded.Ths is my current code which is trying to move onto the next frame in my timeline is located at the end Frame of a 10 second animation:

[Code]...

View 3 Replies

ActionScript 1/2 :: Move All Objects In To ONE MC In The Main Timeline?

Aug 10, 2009

On the main time line I've got movie clip called Z and also n the main timeline I've got another movie clip called B. Inside B I've got a movie clip called C. My problem is - the actionscript written in C makes few objects in the main timeline function (changing colors, displaying notes, input text linked with dynamic text, etc...). I need to move all those objects in to ONE MC in the main timeline (changing colors, displaying notes, input text linked with dynamic text, etc...). But when I move it in to a single MC it wont function! simply the actionscripts won't work!! What should I do to make all those objects in to one mc and still make the actionscript written in C work? p.s. - I've used the _root. command in C.

View 2 Replies

ActionScript 2.0 :: Move It From Button To Main-timeline?

Jul 21, 2008

I am so frustrated now - I'm trying to clean up my code, but I just don't understand this issue.

I understand that on(release)[code]...

- But there are two things I just don't manage to convert;

1) How do I move the following from the btn_volumeSlider to the main-timeline?[code]...

View 3 Replies

ActionScript 3.0 :: Move Main Timeline (stage) From Inside Movieclip?

Jun 11, 2010

I have an animation (movieclipX) on frame 2 of main timeline. At the end of movieclipX I'd like the main timeline to move to the next frame, frame 3. How can I do this??Sorry if this is an easy question, I'm in the process of learning.

View 8 Replies

ActionScript 3.0 :: Add Button Inside Move Clip And Call It From Main Timeline?

Mar 16, 2012

On the main timeline I  have a movie clip called clock_mc and playBtn playBtn is  placed in the center of clock_mc When you press playBtn clock_mc starts playing
 
playBtn.addEventListener(MouseEvent.CLICK, playClock);
function playClock(event:MouseEvent):void
{
if (event.target == playBtn)

[Code].....
 
I've tryed to placed the replayBtn on the stage on the main timeline and I've set it up to replayBtn.visible = false; And then I add replayBtn.visible = true; to last AS frame of clock_mc but it wont work Even when I put the button physically to the last frame of clock_mc it will not work either.

View 3 Replies

ActionScript 3.0 :: Attempt To Move Main Timeline From Inside A Movie Clip Breaks Menu Buttons?

May 4, 2010

I am attempting to have the main timeline move from a stopped position over a movie clip to frame 1, where my start menu is.The code I'm using does move the timeline but in doing so it somehow breaks the 4 buttons I have in frame 1.

My code in the movie clip:
stop()
function replayMovie(event:MouseEvent):void

[code].....

View 13 Replies

ActionScript 3.0 :: "gotoAndStop" On A Frame In A Nested Timeline From The Main Timeline?

Aug 9, 2010

I am trying to "gotoAndStop" on a frame in a nested timeline from the main timeline, but can't seem to figure out the correct way to write it with it's 'parents' etc... this is how I have tried which makes sense to me (have tried other ways too) but no success.
 
gotoAndStop(parent."framename");

View 3 Replies

IDE :: Go To Previous Frame Of Main Timeline?

Apr 22, 2009

So I have a frame labeled 'init' and a button called _exit. I want _exit on click to keep going back until it reaches 'init'

I'm guessing something like this but it doesn't work:

[AS]_exit.addEventListener(MouseEvent.CLICK , function(e:Event):void
{
if(currentFrame!='init'){
gotoAndPlay(currentFrame-1)
}
});
[/AS]

View 1 Replies

ActionScript 3.0 :: Go To Frame In The Main Timeline?

Aug 27, 2009

How do you go to a frame in the main timeline?I tried stage.gotoAndStop(2); but that did not work.

View 4 Replies

Unable To Create Internal Links On Xml

Mar 24, 2010

Ive been sitting infront of this screen trying to create an internal link to my contact page from some text i have on my about us page.[url]...

View 1 Replies

ActionScript 2.0 :: CS3 : When Enter Key Is Hit, Main Timeline Goes To Next Frame?

Feb 13, 2010

Whenever I hit the enter key, the main timeline goes to the next frame. I don't want this to happen -

View 1 Replies

ActionScript 3.0 :: Get SWF Main-Timeline Frame Rate?

Jan 5, 2010

How do you retrieve the frame rate for the main timeline that was set when the SWF was created.

var fr = MovieClip(root).frameRate

...does not work for me.

View 1 Replies

ActionScript 3.0 :: Go To Next Frame In Main Timeline From A Class?

Jan 19, 2011

I'm trying to go to the next frame in the main timeline from a class with no luck.
 
I have a movieclip called winner_mc that is created in the document class.
winner_mc is linked to the Winner class.

The Winner class creates a movieclip called nextlevel_mc which is linked to the Nextlevel class.
 
Then when I click on the nextlevel_mc movieclip I want to go to the next frame on the main timeline.
 
I tried this for the Nextlevel class:
 
package  {
import flash.display.MovieClip;
import flash.events.MouseEvent;
public class Nextlevel extends MovieClip {

[Code]....

View 21 Replies

ActionScript 3.0 :: Main Timeline Stuck On Frame 1?

Apr 1, 2011

I just added a motion tween on the main timeline only to realize it doesn't run.  Only frame 1 is executed, including its AS3 code.  No I could not locate any stop() command within the AS3 code.

View 5 Replies

ActionScript 2.0 :: Change Frame In Main Timeline?

Apr 2, 2011

I made an RPG, and I'm trying to make the movie itself go to the second/next frame. But whenever I try to do that, nothing happens at all. I tried _level0.gotoAndStop(2) and _root.gotoAndStop(2), both on a frame and on a movie clip.

It's suppose to initiate this function once a certain variable (_root.numbers) reaches 20, and I've tested if the variable does reach 20 by doing other things.

View 0 Replies

ActionScript 3.0 :: Moving To New Frame In Main Timeline

Apr 28, 2011

What would be the best way to move onto the next frame (frame 2), when an animation has finished playing on the first frame in the main timeline, with no user input? The animation is on the first frame in the form of a nested movie clip.

View 2 Replies

ActionScript 2.0 :: Timeline Of The Main Swf To Go To A Certain Frame And Stop?

Jul 14, 2004

I have an internal swf file play within a main swf file. At the end of the internal swf file timeline I want the timeline of the main swf to go to a certain frame and stop.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved