Flash 10 :: ArgumentError: Error #2108: Scene Subnav Was Not Found
Mar 9, 2011
i have a game im making but it is useing scenes to navigate between pages. every time i click on a button i have created, it gives me this code:
ArgumentError: Error #2108: Scene subnav was not found.
at flash.display::MovieClip/gotoAndPlay()
at buttontesting_Fight_fla::ryusrevenge_17/mv1()
it does this for every scene i have. I even made the buttons in the begining and made them invisible so that they were in the entire time line but not usable or seen till the end of the time line. I dont know what could be going wrong.here is the rest of the code i have for one of my scenes.
import flash.display.*;
import flash.events.*;
import flash.display.FrameLabel;
[code]....
View 0 Replies
Similar Posts:
Feb 22, 2009
The code below works fine in CS3. But I get the following code when I try to run it in CS4:
ArgumentError: Error #2108: Scene Scene 2 was not found.
at flash.display::MovieClip/gotoAndStop()
at
introActionscriptWorkFile_Scene1_fla::MainTimeline/gotoScene2()
Here is the code: (Note: "scene2Frame1" is a frame label).
View 5 Replies
Mar 17, 2012
I am a new student and recently I am getting this error in every program that I write or import into Flash:
ArgumentError: Error #2108: Scene * was not found
at flash.display::MovieClip/gotoAndPlay()
at _5_fla::MainTimeline/clickPlay()
It doesn't matter what the scene name is because I have tried cutting and pasting the scene name from the scene window and it happens on every button in every program..
[Code]...
View 4 Replies
Jan 3, 2012
I'm having trouble jumping to another frame (15) in the main stage named "main" when closing a movie clip on frame 10..
ArgumentError: Error #2108: Scene main was not found.
at flash.display::MovieClip/gotoAndPlay()
at welldone_mc/nextlevel_function()
the actions are as follows:
stop();
nextlevel_btn.addEventListener(MouseEvent.CLICK,ne xtlevel_function);
function nextlevel_function(evt:MouseEvent):void {
gotoAndPlay(15, "main");
}
i've tried labelling the frame, but the problem seems to be locating the scene "main"?
View 8 Replies
Oct 22, 2010
I believe I'm not alone in this problem but I don't see any answers in any of the forums.I have a movie clip that has a button that I wish to take me and play my first scene at frame 1.I labeled my the 1st frame "startLabel" and my scene is named "mainScene", and that's where I want to go from my "button" that is placed in my "movie clip symbol scene".
[Code]...
View 4 Replies
Jan 8, 2011
I've just started self-learning Flash, so am not very familiar with it. I tried to do a game e-card and there were some problems which i couldn't find an answer for them after hours googling: I'm using Flash CS5 AS3. So I'm trying to create a button that would lead to another scene, i named it "ok button" (instance - "ok_btn") and the scenes are just "scene 1" , "scene 2"
[Code].....
View 2 Replies
Apr 1, 2010
ArgumentError: Error #2109: Frame label null not found in scene Scene 1. at flash.display::MovieClip/gotoAndPlay() at intro_fla::MainTimeline/intro_fla::frame606()[intro_fla.MainTimeline: :frame606:3]
View 3 Replies
May 21, 2010
I'm trying break down a large Flash project into smaller swf's using a Loader :
stop();
var reqA:URLRequest = new URLRequest("New_Inro.swf");var loaderA:Loader = new Loader();
function imageLoadedA(event:Event):void { addChild(loaderA);} loaderA.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoadedA);loaderA.load(reqA);
Some of these swf files are animations which have code that states :
MovieClip(parent).gotoAndStop("frameThree");
The first loader works but I cannot get that swf to move on to the next frame(frameThree) to load the next swf file
Instead I get this message
ArgumentError: Error #2109: Frame label frameThree not found in scene Scene 1. at flash.display::MovieClip/gotoAndStop() at New_Inro_fla::MainGuy_1/frame146()[New_Inro_fla.MainGuy_1::frame146:2 ]
View 4 Replies
Jun 22, 2010
the error is:
ArgumentError: Error #2109: Frame label instance121 not found in scene Scene 1.
at flash.display::MovieClip/gotoAndStop()
at Untitled_fla::MainTimeline/goLabel()
this is my code:
stop();
function goLabel(e:MouseEvent):void
{
[code]....
i am using a movie clip button to open a swf with a loader. hope i m not missing any information/other coding....
View 3 Replies
Mar 4, 2011
I have created a new Flash file using A3.It has a menu system which all works, I have included trace code that outputs button pressed.So the next step is when the right button is clicked it takes them to the next scene. Please note I have coded it in AS3. When I compile it returns no error however at run time when I click on the buttomit returns the following error:
Menu 1, button 1
ArgumentError: Error #2109: Frame label contact not found in scene Scene 1.
at flash.display::MovieClip/gotoAndStop()
at menuformason_fla::MainTimeline/itemButtons()
[code]....
View 1 Replies
Nov 30, 2008
When i press a certain button in my exported flash (swf file), i get this error message:
ArgumentError: Error #2108: Scene scene 10 was not found.
at flash.display::MovieClip/gotoAndStop()
at create_fla::MainTimeline/mouseDownHandler2()
And the code for that certain button that i pressed on is
[Code]...
View 1 Replies
Nov 6, 2010
When ever I test my project it comes up with "ArgumentError: Error #2108: Scene Bio was not found." Here is my code:
navMenu.navBio.addEventListener(MouseEvent.CLICK, navBio1);function navBio1(event:MouseEvent) {gotoAndStop("BioPlay","Bio")}
View 4 Replies
Mar 18, 2012
I've got this output: ArgumentError: Error #2109: Frame label pubPlayer not found in scene pubPlayer.
at flash.display::MovieClip/gotoAndPlay()
at MTAssignment2General_fla::Backround_2/goVideos()
and my code is:
stop();
function goVideos (e:MouseEvent):void{
gotoAndPlay("pubPlayer");
}
video_btn.addEventListener(MouseEvent.CLICK, goVideos);
does anyone know what i need to do in order to dont have errors?
View 2 Replies
Sep 2, 2011
I'm getting this error in the OUTPUT window, when I PREVIEW (COMMAND + RETURN) my SWF:
ArgumentError: Error #2109: Frame label nGallery_btn not found in scene Scene 1.
at flash.display::MovieClip/gotoAndStop()
at BrookBrovazMusic004_fla::MainTimeline/pageSelect()
- The funny thing is that the SWF works the way I want it to. You can view it here: http://brookbrovaz.com
- I just don't like the idea that something's wrong, according to the OUTPUT window anyway.
[Code]...
View 3 Replies
Jun 23, 2010
I have a movie clip button, however, once you click on it the output will say: ArgumentError: Error #2109: Frame label instance15 not found in scene Scene 1. at flash.display::MovieClip/gotoAndStop() at index_fla::MainTimeline/goLabel() i am new in flash and trying to learn as3. i've looked at what error this is but i cant get my head around it. what i m trying to do it if you click on a button, a swf file will load on the the page. but it is not loading and the error comes up!
[Code]...
View 1 Replies
Jan 23, 2012
When I try and run my program (check .zip), I get the following error:
ArgumentError: Error #2109: Frame label math not found in scene Scene 1.
at flash.display::MovieClip/gotoAndPlay()
at MainGameforRAT1_fla::MainTimeline/TouchingGrass()[MainGameforRAT1_fla.MainTimeline::frame1:55]
ArgumentError: Error #2109: Frame label math not found in scene Scene 1.
View 2 Replies
Jul 25, 2007
The code below works fine in CS3. But I get the followingcode when I try to run it in CS4:
ArgumentError: Error #2108: Scene Scene 2 was not found.
at flash.display::MovieClip/gotoAndStop()
at
[code].....
View 1 Replies
Jan 9, 2010
I am having problems loading a bitmapData. I am getting the following error
Engine Init //trace
loadimage//trace
ArgumentError: Error #2015: Invalid BitmapData.
[code].....
View 5 Replies
Oct 23, 2011
Code:
addEventListener(Event.ENTER_FRAME, Pixel_Perfect);
function Pixel_Perfect(e:Event):void
{[code]....
Enemy1 is a class is that makes a difference
I didn't write this code as i am not this advanced yet but really needed this script, this script normally works but now i am recieving errors
Error: ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData/ctor()
at flash.display::BitmapData()
at IceMountain_fla::MainTimeline/Pixel_Perfect()
View 23 Replies
Dec 5, 2010
I keep getting them, and can't figure out where or why I'm getting them.Here's the full error reports:
ReferenceError: Error #1065: Variable EverybodyEditsBeta is not defined. at global/flash.utils::getDefinitionByName() at Function/<anonymous>()
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
[code].....
View 16 Replies
Sep 14, 2011
I'm getting the following error after testing my Flash game's code:
ArgumentError: Error #1063: Argument count mismatch on RestartButton(). Expected 1, got 0.
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
[code].....
View 1 Replies
Sep 17, 2009
I am trying to use the onMouseWheel methodFirst I wanted to check if my event listener and event handler work
stage.addEventListener(MouseEvent.MOUSE_WHEEL, onMouseWheel);
private function onMouseWheel():void {
trace ("onMouseWheel() method");
[code].....
View 3 Replies
Jul 9, 2010
I've got a problem in an ItemRenderer in Flex 3.5. I've looked at the other posts regarding this error but still can't figure it out. The ItemRenderer is part of an AdvancedDataGrid who's data provider is HierarchicalData. I'm getting the ArgumentError but the trace doesn't go to any of my code. I've gone through in debug mode tons of times but it looks like it doesn't happen until after my code runs. Quite strange.
The item renderer has a couple different parts. It figures out what row it should be drawing for based on the xml data and then adds labels and sprites appropriately.
Here is one of the methods that gets called if the itemrenderer is on a certain row.
private function addLabels(planList:ArrayCollection):void {
height = 0;
var sprite:Sprite = new Sprite();
var curX:Number = (width / planList.length);
[code].....
View 3 Replies
Jul 20, 2011
have an ERROR message is
Code:
ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/ctor()
at flash.net::NetStream()
at videoplayer1_fla::MainTimeline/initVideoPlayer()
[code]...
where to put the rtmp server path? and changes.
View 2 Replies
Jul 18, 2011
I have a ERROR message is
[Code]...
Below code is xml playlist included. But i want to play videos through "rtmp server". My On-demand Video Player Code
[Code]...
View 8 Replies
Jan 19, 2010
I have an air application that loads an external swf when prompted by the user. In the external swf, I have a class that loads all the necessary fonts for that particular swf. When my air application attempts to load the swf I get ArgumentError: Error #1508: The value specified for argument font is invalid.
View 1 Replies
Jul 27, 2010
I am encountering the following error message whenever I compile my project in Adobe Flash CS4:
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/removeChild()
at stageRotation/spawnParticle()
[Code].....
View 2 Replies
Jun 19, 2010
I'm working on adding a difficulty setting to my platofrm-type game but I got an error and cant figure out what's actually wrong. I'm trying to click anywhere on the stage to take you to the next scene.The error says:
ArgumentError: Error #1063: Argument count mismatch on LevelKey(). Expected 3, got 0.
at flash.display::MovieClip/gotoAndPlay()
at Engine/NormHandler()[Engine::frame3:55]
ArgumentError: Error #1063: Argument count mismatch on Engine/startGame(). Expected 0, got 1.
And my entire code for the scene is:
Code:
stop();
stage.addEventListener(MouseEvent.CLICK, startGame)
function startGame ():void {
[code]....
View 5 Replies
Aug 30, 2010
im aworking on a game. There are 6 tables in the game. when i click on a table, a box pops up(done by addChild).There is also a code that spawns people randomly to sit at the various tables. The code extends a mc that contains all the people(personholder). The when i play the mc, the menu appears to be behind the people and i cant click it.It also results in an argument error in the output. I fixed this by adding this line:
Root.addChildAt(guy1,Root.getChildIndex(Root.main)-1);
after this line:
Root.addChildAt(guy1,Root.getChildIndex(Root.quizc ont)-1);
main is my table container.quizcont is my quiz container. these lines are to make the quiz and table/menu clickable. however, thay also appear in front of the people. how do i send them back? also, i get the arguement error after sometime, but it does not affect gameplay.
View 1 Replies
Aug 6, 2007
var loaderContext:LoaderContext = new LoaderContext();
loaderContext.applicationDomain = ApplicationDomain.currentDomain;
var loader:Loader = new Loader();
[code]....
in the server all is working good.compile from local Main.as heres my error
ArgumentError: Error #1508: The value specified for argument font is invalid.
at flash.text::Font$/registerFont()
at Fonts$iinit()
View 4 Replies