Flash How to use gotoAndStop in XML?



I have an XML-based menu that integrates with flash. I need to make the menu clickable so that when you click you are transported to a frame in the flash timeline.
Is there anybody that could help me with this?
Here is the action in flash:
import com.mixdesign.navigationMenu.*;
var m:NavigationMenu = new NavigationMenu(stage, 200, null, "NavigationMenuConfig.xml");
m.x = 0;
m.y = 0;
addChild(m);
m.onMenuClick(function(s:String, tab:Boolean):void {
trace(s+" "+tab);
// this functinos will be called once you click on menu item
});
m.onReady(function():void {

View Replies

Related to : Flash How to use gotoAndStop in XML?


a bug with gotoAndStop in Flash CS3?
Category : Development Tools & Services
I'm having this problem using Flash CS3. I put a movieclip called "my_mc" in frame 20 and put this code in the first frame of my movie:
gotoAndStop(20);
my_mc.gotoAndStop(2);
This should put the header into frame 20 and show the second frame of "my_mc", but it does

View Replies


gotoAndStop - a bug in Flash CS3?
Category : Design Software
I'm having this problem using Flash CS3 with AS 3.0. I put a movieclip called "my_mc" in frame 20 and put this code in the first frame of my movie:
gotoAndStop(20);
my_mc.gotoAndStop(2);
This should put the header into frame 20 and show the second frame of "my_mc",

View Replies


Flash gotoAndStop on a child
Category : Development Tools & Services
im new in as3 (as you can see) and im having some problems.
im creating a tile based game and im using something like this to draw the map:
Code:
for (y=0; y<=15; y++)
    {

View Replies


Xml gotoAndStop link in flash
Category : Design Software
Hi, Using Flash 8
Is there a way to make a text hyperlink in xml, go to a frame in flash when pressed?
I mean I know it is possible making url's in xml. But what about going to frames inside the flash movie? Does anyone know how to do that?
All I want is a list of words to appear and

View Replies


Flash gotoAndStop problem !! $ !!
Category : Development Tools & Services
hi to evryone,
im a newbie in flash game dev, i hope you guys can help.
i have a problem about using gotoandstop, i used in an .as file,
it has the frames of walking, idle, and attack for my side scroll game.
heres my code :
private function keyDownHandler(e:KeyboardEvent):

View Replies


problems with gotoAndStop in Flash CS3?
Category : Design Software
problems with gotoAndStop in Flash CS3?
 
I'm having this problem using Flash CS3 with AS 3.0. I put a movieclip called "my_mc" in frame 20 and put this code in the first frame of my movie:
gotoAndStop(20);
my_mc.gotoAndStop(2);
This should put the h

View Replies


Flash gotoAndStop Revisited
Category : Development Tools & Services
Didn't get any takers on the last question so I thought I would try again. I am getting a compiler error when I try to use a gotoAndStop function in a static method in one class that is being activated by a button in another class.
Line 33 1180: Call to a possibly undefined method gotoAndStop<

View Replies


gotoAndStop is killing me (Flash CS4 AS2)
Category : Development Tools & Services
Hi every body.
plz help me.
I have a huge problem. My timeline has just passed 575 frames.....Why!?
Each page has its own animation due to different background and content, and because transitions is the thing to me at the moment.
But....Isn`t it possible to shorten down the use

View Replies


Flash gotoAndStop problem !
Category : Development Tools & Services
hi to evryone,
im a newbie in flash game dev, i hope you guys can help.
i have a problem about using gotoandstop, i used in an .as file,
it has the frames of walking, idle, and attack for my side scroll game.
heres my code :
private function keyDownHandler(e:KeyboardEvent):

View Replies


Flash gotoandstop problem
Category : Design Software

Hi

my button in main timeline, i want to "gotostop" a label which is in a I. movieclip that is in another II. movieclip (i mean nested two movieclips)  under main timeline. How can i write "gotostop" codes?


View Replies


2012 / 2017 Copyrights BigHow , All Rights Reserved .