ActionScript 3.0 :: Connecting Array And Frames?

Mar 9, 2009

the problem is in my movie i have a question, where the user needs to write an anwer in the input text field, and if the answer is correct he should go to a new frame, but if it's wrong he is sent again to a different frame!...the code I'm using is below. As I publish the movie, flash shows that everything is fine, everytime you write a wrong answer it takes the user to the frame it supposed to take, but it if you write the 2nd and 3rd correct answer ("two", "three") it also takes to the "back frame", where it should take it to the "next" frame, it works when you write the 1st correct answer
thought!....and it keeps sending me this message:

TypeError: Error #1009: Cannot access a property or method of
a null object reference.
at project_fla::MainTimeline/answer()

View 7 Replies


Similar Posts:


ActionScript 2.0 :: Connecting Moved Frames?

Oct 25, 2009

iv made a game. and i want to add in an introduction. so i made one. and now when i try to transfer the game frames over. it messes up and takes out my background to the game. iv checked the movie clips and changed the names. and stuff. but it still does it. any suggestions? (this is due 2rrow)

View 1 Replies

ActionScript 2.0 :: Using An Array To Go To Frames?

Oct 11, 2009

I have a navigation set up that can be navigated using the keyboard. I want to incorporate going to frame numbers as well into the array.Here is the array that I'm using:

ActionScript Code:
var currentButtonId:Number = -1;
var buttons:Array = [btn1, btn2, btn3,...];

[code]......

View 1 Replies

Array Data Being Transferred Between Frames

Feb 14, 2010

The array is global, so it is there for all the frames. But when data is stored in the array in frame three, going back into frame two the data is wiped. I switched the order of the frames, and the program would freeze completely and almost crash Flash when it tried storing the data.

View 8 Replies

ActionScript 3.0 :: Random Non-repeated Frames With Array - Argument Error 2109

Mar 13, 2012

I am building sort of a slideshow that features a counter. Everytime the countdown gets to 0 it should go to another frame RANDOMLY and start itself again. So far, I was successful at that using a Math function [i.e. gotoAndStop(Math.round(Math.random() * 5)+1);]. However, i needed the random function to include UNIQUE instances, so that it would not go twice to a same frame. Everywhere I looked for I was told that the way of doing that was creating an Array.

However, it all worked with the Math function and now that I have an array not only it doesnt work but I get a runtime error, an ArgumentError: Error #2109: Frame label 0,2,3,1 not found in scene Scene 1. It's like it cannot find the source of the randomiser function. How did this happen and, how can I make it work and still obtain a unique randomised order?

[Code]...

View 5 Replies

IDE :: Create A Preloader That Plays A Certain Amount Of Frames As It Loads The Rest Of The Frames

Nov 16, 2009

I want to create a preloader that plays a certain amount of frames as it loads the rest of the frames. So, I have labels on the frames basically and need a preloader to play the "loading" frames as it is loading the "content" frames. Does that make sense? I have no idea how to even start this one... p.s. I am using AS 2.0, but if it can be done in 3.0 easier, I can switch over its no biggie

View 4 Replies

ActionScript 3.0 :: Putting Multiple Instances Of The FlvPlayback Component In Different Frames And Using Buttons To Navigate To Frames

May 2, 2011

there seems to be no accepted method of playing multiple flv using buttons. My latest attempt has me putting multiple instances of the flvPlayback component in different frames and using buttons to navigate to those frames. It works but nothing anyone has posted anywhere will result in removing the flv when you go to a different frame and instance. This was simple in AS2. Load movie to a traget and each time you load a new movie the other one goes away. REALLY goes away.

View 7 Replies

ActionScript 2.0 :: Move Frames Within A Movie Clip With Buttons On Other Frames?

Nov 24, 2011

basically im making a quiz on my main timeline ive got my questions and answers and on the last frame i want it to say how many answers the user got right. ive made a movie clip on this last frame. in the movie clip ive got 11 frames with the posible totals so frame one would be 0/10 frame 2 would be 1/10 etc what i want to do is when the user clicks the correct answer on the other frames i want flash to make the frames within the movie clip to go 1 step forward.

View 2 Replies

Count Frames - Perform Action Every 12 Frames

Mar 26, 2009

I have a function that counts days and some other variables and displays the values via dynamic text.

[Code]...

I have to place the incrementCount(): function every 12 frames so that it increments the values. Seems like it would be easier to simply modify the script to count "every 12 frames" but I can't find anything that tells me how to "count frames" in flash. Seems to be this is probably basic but I've searched unsuccessfully....so how do you do this. How do I get my script to work so it's frame based so I don't have to put incrementCount() every 12 frames?

View 16 Replies

ActionScript 3.0 :: Have A Movieclip Of About 50 Frames And Navigate Between These 50 Frames?

Jan 7, 2010

Is it possible to have an movieclip of about 50 frames and navigate between these 50 frames? As if u put a marker on frame 10 and one at frame 30 and if u use a button it plays to frame 10 and stops and use another button to go from frame 10 to frame 30 and stop... and reverse if u use the earlier button.

View 5 Replies

Flash :: Interface Connecting To .NET, SQL??

Feb 19, 2007

I am an actionscript newbie but have been given the task of designing a navigation menu in flash that has to connect to a database - the menu items have to be marked - unread, mandatory etc. and have to pull back database information to display then be marked as read.

View 3 Replies

Flash Connecting To A WCF Service?

Oct 23, 2009

proper endpoint configuration for my WCF service to enable a Flash app to consume it.

View 1 Replies

Actionscript 3.0 :: Connecting With A C++ Backend?

Jan 28, 2010

I am curious to know if there is a way of connecting a flash front-end to a C++ driven backend? I'm not currently working on a project that involves this, but I found out about an application used in the gaming industry, called Scaleform, that requires knowledge on doing such things in order to create menus in games.

View 2 Replies

Flash - Connecting To Kongregate Api?

Feb 6, 2010

When I connect to kongregate locally on debug mode it works fine. but when I upload the game to their servers, I get the following error.

TypeError: Error #1010: A term is undefined and has no properties.
at com.objects::Engine/GameMenu()
at Function/http://adobe.com/AS3/2006/builtin::apply()

Below is the code I use. and the class properties i set

// Kongregate API reference
private var kongregate:*;
public function Engine(sr:Stage):void

[code].....

View 1 Replies

Flex :: Connecting To Mysql Using Php

Mar 8, 2011

I wanted to use flex line chart for displaying data stored in mysql table. Can anyone suggest me on how do I do this with flex as UI and mysql as db, I am not sure how to call .php file in flex to query from mysql. I wanted to show some data of time v/s temperature.I wrote a php file to query data from mysql, but my flex program is not able to connect to mysql, is there any configuration I need to update. I am using XAMPP

View 1 Replies

Flash :: Error Connecting To URL

Jul 1, 2011

I am trying to connect to this service from my pc.[URL].. using the flex Webservice libs but I get this:

[Code]...

View 2 Replies

Asp.net :: Connecting Flex And Weborb?

Nov 3, 2011

I have

[Bindable]
private var model:AlgorithmModel = new AlgorithmModel();
private var serviceProxy:Algorithm = new Algorithm( model );

[Code]....

And when i call serviceProxy.Solve_Send(request); with request is array and i want use model.Solve_SendResult in my code flex to draw many cubes use papervison3d but in the first time i received model.Solve_SendResult = null . But when I click again then everything OK.

View 1 Replies

ActionScript 2.0 :: Fla Not Connecting To Database

Sep 5, 2007

[code]...

I got the script to work perfectly, even got to register a few hundred members to the site. However, my old host had a bandwidth limit of 400gb so I had to move to a new provider. I transferred all the files with no problems, and even setup the database properly. My new problem is registering... I can login just fine using an existing account I had made. But I go to try and make a new account and I get an "undefined" error.[code]...

View 1 Replies

ActionScript 2.0 :: Loading Many Swf (30 Swf) In Frames (30 Frames)

Jan 8, 2010

I want to preload all of the voiceover swf files before a lesson starts so that they are instantly available when each frame / page that incorporates a voiceover is first visited.

View 4 Replies

ActionScript 3.0 :: Draggable MCs With Lines Connecting Them?

Feb 5, 2009

I want to create a movie that allows boxes to be dragged around, and for lines to be connecting each box, wherever they are dragged. I have made the boxes draggable with the attached code.

what I mean, here is an example FLA: boxes.fla

I have no idea where to start on this, because searching for things like AS3 draggable movie clip with lines attaching, etc isn't very helpful.

View 6 Replies

Actionscript :: Connecting 3 Symbol Instances In CS4?

Jul 24, 2009

I am trying to create a group from 3 movie clip symbol instances on the stage. The three movieclip symbols are; node1, node2 & link.
 
here is what i was trying without success...// Trying to create a Nodegroup movieclip by attaching "circle nodes" to a "link" to each end
 
var linklist = null;
linklist[1] = this.attachMovie(link, 100);
linklist[1].node1 = link.node1;
linklist[1].node2 = link.node2;
 
but get the compile errors...
 
TypeError: Error #1006: attachMovie is not a function.
at test_fla::MainTimeline/frame1()

The Actionscript is a separate timeline layer called "actions".

View 3 Replies

Media Server :: Connecting To FMS From Flex?

Jul 14, 2010

I'm trying to connect to an FMS server with a Flex application. I can throw the rtmp URL straight in as the source for a VideoPlayer and it will work, but can't figure out how to get it to work with a NetStream. The pure Flash Video element works as in the FMS Flash demos, but is extremely laggy and lacks all the nice functionality of the built VideoPlayer. Is there any documentation on working with FMS with Flex? We're at a point where we need to decide quickly if FMS will do what we need to do or if we should purse other technologies.

View 4 Replies

Display A Message To Client Connecting?

Sep 1, 2010

I am fairly new to FMS and really am trying to learn about it. My question is simple I hope;

I would like a message to pop up to a client when they connect that the max users has been reached. I have it set for 5 users and so I would like when the 6th user tries to connect to watch the video, a little box will pop up and say "Sorry, Max users has been reached. Please try again in a few minutes."

I was able to develop something and get it output through trace commands by following a tutorial I saw online, but I could never get any sort of message box I built to pop up.

View 9 Replies

AS3 :: Media Server - Error When Connecting To FMS

Jul 29, 2011

I'm trying to stream my webcam to my FMS Server, using AS3, but I get this error message:

[Code]...

View 2 Replies

Professional :: Connecting A Kiosk To Server

Jan 3, 2012

i am self-taught and i have pretty good as3 and mxml skills and have worked with Flash Pro and Flex, but only for my own stuff at home. i have only done local AIR stuff that don't require sending and getting data from a server now someone has asked if i could build him a kiosks/server system, and i want to dive into that the kiosks would be deployed in stores and have touchscreens displaying pictures, movies, banners and accept user control and data.i plan to build his remote controlling software in Flex and the kiosk AIR apps in Flex or Flash pro.the kiosks should periodically connect to the server to see if updates are available  and download swf, jpeg and movie (mp4? flv?) files to the local filesystem (no live streaming is needed)also, user created data (forms only) should be sent to the server - i guess xml.[code]can all this be in as3 alone or do i need stuff like php also?also, would i be able in the controlling flex app to determine if specific kiosks are offline?

View 1 Replies

ActionScript 3.0 :: Connecting 3 SWF Files Via Loader Possible?

Mar 1, 2012

I have 3 separate swf files which I would like to connect together via an swf loader. I've created an as3 loader before however it had buttons at the bottom of the page and just loaded the swfs at the top of the page. However this time I want a main page to load automatically in the loader and then when a button in that swf is clicked I want it to show another swf in the loader and then on click of the exit button in that swf it goes back to the original swf. Is this possible?

View 11 Replies

Flash Not Connecting Via Open-socket

Jan 1, 2010

I have moved on now to where this is clearly a Flash security thing.I have a flash client that attempts to connect to an open socket on the same host as the one on which it lives.I am able to connect successfully from inside the Flash IDE, and when I run the swf movie locally on my machine, after granting it security clearance in the white list it connects as well. However, when I call the movie via the browser (URL...) it fails to connect.The socket reports that a connection attempt is made but immediately disconnects.I have a crossdomain policy file that looks like this: in the root directory of the host.[code]In the flash movie I have a line that looks like this: System. security. loadPolicyFile (URL...);And I'm thinking maybe that's where the problem is, but the documentation on how to use this method is not entirely clear. I'm in Flash CS3

View 1 Replies

ActionScript 3.0 :: Connecting 2 SWF Files With A Button?

May 28, 2010

I am using AS3 and flash CS4. I want to link two SWF files with a button but I don't know how to do it. I have a file named A.swf which has a button named photoBttn. When people click on the button I want them to see the second SWF file named B.swf. I have built a web site made of 10 SWF files, there are buttons that connect all the files and now everything is done and ready to go online but I don't know how to connect the files using a button.

View 9 Replies

ActionScript 3.0 :: Connecting To A SQLite Database?

Aug 30, 2010

I'm developing a desktop application in Flash, but I can't seem to find any tutorials that aren't based on FLEX to connect my application to a database file.

Do I have to write my application in FLEX to use SQLite or can I create an AIR app in Flash and still use it?

View 0 Replies

ActionScript 3.0 :: Connecting Classes To A Symbol?

Jul 18, 2011

how to create a class and connect it to a symbol. I've been following a few [URL] videos to help me link a couple of classes to my Movieclip, but I'm still doing something wrong. I tried linking the Main.as in Properties of the Movieclip (assuming this is correct) and got an error Access if undefined property scrol. I tried linking SwipeEngine.as and got a whole bunch of complier errors, so that must not be it. Any partial success I do get, the swf just cycles through like it is ignoring the stops.

Could someone take a look at my fla and show me how to link the classes?

The goal is for all three sections (link1_Content_mc, link2_Content_mc, and link3_Content_mc to use the scroll functionality in the .as files. The .as files should be fine;

View 9 Replies







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