IDE :: Consecutive Hot Object Interactions In Quiz Won't Reset?
Feb 8, 2008
with a "what should be fairly simple" problem I am having with the quiz template. I have a 5 frame quiz that I've developed from the template. All 5 interactions are Hot Object interaction types. The problem I am having is when I go from one frame to the next, the Hot Objects do not reset. Whatever the selection from the previous slide was, remains in a selected state.
I've tried renaming the Interactions in the Component Inspector, but that doesn't work. If I put some other interaction between two Hot Object Interactions, no problem. It's only when they are consecutive.
View 1 Replies
Similar Posts:
Jan 22, 2009
I am looking at the creation of a quiz using the Learning Interactions in Flash.I noticed that when I place say a Multiple Choice question on the stage that the area which says 'Question will appear here' is a dynamic text field.This renders the final text bitmapped. Is there any way of getting the text to look like smooth like the rest of my work?I have tried to anti alias it for Animation and Readability but it doesn't change.nd in all honesty set against the rest of my work the text looks crap.
View 1 Replies
Mar 16, 2010
I'm new to Flash, In CS4, is it possible to add two consecutive tweens to the same object (symbol instance)? Say I want to have a shape move in from the left, wait a few seconds, and then move back out towards the left. Thus far, the only method I've found is to create a copy of the object (a new instance of the symbol), and animate it separately. But that creates extra objects, and getting the positioning right is very difficult. Isn't there a way to have one tween end and another begin (possibly after a delay) on the same object in the same layer? Or in different layers, which might be preferable?
View 9 Replies
Aug 18, 2010
I have a variable that increments with a button clicks. I'd like to allow a learner to be able to reset his choices and try a different combination before submitting. Any ideas why the following code doesn't recount properly after resetting?
var correct:Number = 0;
function choice1(evt:MouseEvent):void { correct = correct + 1;choice1_mc.mouseEnabled = false; }
[code].....
View 3 Replies
Jul 21, 2010
Anyone know where to start thinking about logic for an XML quiz with multiple correct answers, that when the user gets the question right, that question is removed from the random array of questions so we never need to answer it again?
View 0 Replies
Dec 26, 2009
Is it better to create a new Object or to reset the same object over and over again?
[Code].....
View 10 Replies
Dec 30, 2011
I am a student working on a project with flash. I am simply trying to make a flash game using Actionscript 3 in Adobe Flash CS5. Everything is working fine, i can walk and jump, but I want the game to restart if the Main character touches an object and dies (like spikes in a pit). I have a main menu in frame 1 and the first level on frame 2. The main character is called "player_mc" and the object that kills him is called "dies".
Code:
//The Code For The Character (Player_mc)
import flash.events.KeyboardEvent;
import flash.events.Event;
[code].....
View 2 Replies
Jun 1, 2010
i wanted to make an object to reset to the default position, like i move it around and when i hit a button he goes to his position for example x: 233 and y:431
View 1 Replies
Jul 13, 2010
Just new in forum and just new in as3 programming. All i want to do is to make some physics simulations (i'm physics teacher...). So i made my first sim with the following code, just to simulate a simple motion with constant velocity. It works ok, except the part i need to reset the display by the means to start the motion all over again (reset button). Then the motion starts but the traces of the previous motion remains on stage. I tried the null command (sp=null) but the sim could not start again because the sp nedded to be non-null...
[CODE]...
View 2 Replies
Jun 30, 2009
I am new to flash and im trying to make a game. Im stuck on hitTest. I have many black boxes falling down and I want the game to reset when the black boxes touch my red circle. I used this code for my boxes:
[AS]
this.createEmptyMovieClip("canvas_mc",10);
myInterval = setInterval(addbox1,500);
function addbox1() {
[Code] .....
My red circle is controlled by the mouse. The code for that is:
[AS]onClipEvent (load) {
startDrag(this, true); }[/AS]
View 6 Replies
Apr 13, 2011
I have an issue with adding a reset button to my drag and drop movie clips.The problem is, if a student drags a movie clip to a wrong location on the SWF file I want them to be able to hit a reset button that would take them the same SWF that they opened and what would showup would a clear page for them to restart their drag and drop exercise.I know how to make the button for this just want the proper action script to be able for user to start over with no movie clip symbols on the page.
View 3 Replies
Sep 5, 2009
Would it be possible (Without being extremely inefficient) to loop through a display object and reset their children's ChildIndex based on their y value?
View 1 Replies
Dec 13, 2009
I have this frame where in the button links will change whenever the textbox changes. Here is an attached sample image so you could imagine what I am trying to say. For the
textboxes (instance anme: voca2_pg and voca3_pg)
it should be 10-20 then when next button is clicked, it will be
20-3030-4040-5050-6060-7070-8080-9090-100
For short, the next and back button will operate the textboxes.
but if I type for example 25 (on voa2_pg textbox), it will show 25-35 (basically getting 10 numbers in all)
ex. I typed 43it will look like: 43 - 53 or if I type 88it will look like: 88 - 98 And then the purple button below also will change every numbering..10 - 20 the AS is:
on (release) {
getURL("javascript:command_voca(1,1)","_self");
}
20-30on (release) {
[code]....
View 1 Replies
Jun 15, 2004
As I have done all my work for the week already I have been given the basically pointless takes of creating generic functions, classes and maybe components for a number of possible e-learning interactions for the projects we have, things such as sliders, drag and drops, multiple choice questions, scenario driven things and so on. How would I go about making things like this generic? The graphics will always be different and more then likely so will the kind of things needed from them, in many cases we don't know the capacity these things will be used in!
View 2 Replies
Apr 22, 2005
I have a bunch of drag and drop interactions in my flash file that gets graded, the problem is, they can move it away and back again to make the points keep adding up. What kind of code can I put inside my draggable movie/button to say when it is placed correctly, that is it, it can't be moved again?
View 2 Replies
Oct 8, 2006
I am using a learning interactions quiz at the end of an animated movie. Because it is entertaining I would rather not launch as a standalone quiz. Everything works perfectly when the quiz is on its own timeline that starts at frame1, but whether I use loadMovie or use the quiz as a movieclip, or start the quiz on frame 1460 on the scene1 timeline the calculate score control doesn't work. It is called mc, frameNav and it comes with the Flash quiz templates. The AS associated with that mc is below.
[Code]...
View 1 Replies
Apr 22, 2005
I have a bunch of drag and drop interactions in my flash file that gets graded, the problem is, they can move it away and back again to make the points keep adding up. What kind of code can I put inside my draggable movie/button to say when it is placed correctly, that is it, it can't be moved again?
View 2 Replies
Dec 28, 2010
reset in google yields only its use for timers.However I have code bg.reset() which I suppose puts the background back to the beginning of its timeline.
View 3 Replies
Feb 9, 2012
I'm using CS4 Professional with ActionScript 2.0.I'm working with a movie that contains 23 Tab keypress interactions, each of which uses this code (with each one navigating to a different frame number):
Actionscript Code:
var kl = new Object();kl.onKeyDown = function(){ if(Key.isDown(Key.TAB)){ gotoAndPlay(20); }};Key.addListener(kl);
[code].....
View 2 Replies
Nov 19, 2009
Why an attached move clip doesn't keep button interactions from still engaging in the layers underneath i.e. navigation buttons, rollovers, etc.?
View 3 Replies
Feb 3, 2010
[URL]I'm designing my own photography site and am trying to produce something along the lines of contemporary photography websites (big images).The point being that I want the images/swf large enough to fill the ever growing trend for big monitors.This is where my problem begins - I want to have a slideshow of 5 images from each of the areas I cover.. simple enough sure. But, if I produce the slideshow within the main swf - the file size is something like 6 mb - which is jsut a bit too big and takes a bit too long to preload.
So I decided to make each image in the slideshow a seperate swf and import consecutively. The problem is that I need the external swf to trigger/import the next swf.I have had some success with importing to levels... but I need the swfs to import into a mc_holder because it needs to sit below my nav buttons and title.so I have this script to call in my slideshow to my holder.
"loadMovie("slideshow.swf" , "clipholder2");"
At the end of slideshow.swf is this "unloadMovie(this);" which unloads my movie. What I can't do is get slideshow.swf to import slideshow2.swf into my 'clipholder2'..
View 2 Replies
Sep 7, 2006
I need a second or less in between 2 consecutive actions. I need a function.. like delayfor(seconds) which I have to insert between 2 actions. I tried something with getTimer.. but the computer then works slow because it checks the time very often.
This is my buttons code:
on(release) {
for (p=0;p<10;p++) {
// I need here a second to stop/pause/delay/to do nothing but wait (*)
line.lineTo(.......);
}}
So I need a second delay between every action in that "for".
View 1 Replies
Nov 6, 2009
What's the most effective way to find a number of consecutive elements in an array?
To keep this really basic, if I had something like:
var array:Array = [0,1,0,1,1,1,0];
What would be the best way to detect the three consecutive 1s?
I have been playing arround with array.some() but it ain't really working out
View 1 Replies
Jul 2, 2009
I have consecutive graphics being presented. I want them to start out slow then the speed at which they appear should increase steadily and quickly until they are flashing. So I am using this to time the animation:
setInterval(photoFlash,1000);
I guess what I am looking for is a way to do this:
setInterval(photoFlash,1000+100);
Where the interval is increased each time the function is run.
View 8 Replies
Mar 11, 2011
I have 2 swf files that I would like to play back to back. What is the best approach for that? The first movie needs to finish playing and then be followed immediately by the second movie.
View 3 Replies
Mar 15, 2011
I have this button:
<s:Button includeIn="MeniuPrincipal" label="Descarcare Date" click="downloadLmData(event)"/>
And this click event handler:
protected function downloadLmData(event:MouseEvent):void {
downloadData('competenta', 'competente');
downloadData('localitate', 'localitati');
}
The downloadData function looks like this:
private function downloadData(item:String, items:String):void {
try {
var colVar:String = 'col' + cappitalize(items);
this.status = "Descarcare date in curs...";
this[colVar] = null;
[Code].....
The problem is, all calls are ignored, except for the first one. Is there any "queuing" mechanism which would allow all calls to be made?
View 2 Replies
Nov 7, 2009
What's the most effective way to find a number of consecutive elements inside an array?
To give a really basic example, if one had:
var array:Array = [0,1,0,1,1,1,0];
What would be the best way to detect the three consecutive 1s?
I have been playing around with array.some() but it ain't really working out
View 1 Replies
Aug 5, 2010
am developing an application which requires a consecutive searching side to it. Basically, I need a function or a class which takes an array as the parameter, and return the possible 3 consecutive numbers in a 2 dimensional array.For example, if I have this code:
ActionScript Code:
//Global array
var glob:Array=[0,1,2,3,4,5,6,7,8,9];
[code]......
View 3 Replies
Sep 30, 2011
is it possible to add multiple children(twins) with same instance to add on different parents ?
Here we have an example showing that it fails to perform adding same child (photobg0) with instance on a new parent (page0 and page2).
My primary issue is: if i add too many objects on stage flash starts to lag especially if it is a movieClip from librarery, externaly loaded swf or image files
I am trying to duplicate child objects ,gussing this might prevent lagging?
ActionScript Code:
var request:URLRequest = new URLRequest("images/photobg.swf");
var photobgx:Number = 19.80;
var photobgy:Number = 90.55;
[Code].....
View 2 Replies
Nov 30, 2004
I have a long animated demo (approx. 5 minutes) that I want to shrink down to several small movie clips. This way if I have to go back and make changes I don't have to continue modifying a huge timeline. So what I want to have happen is to have a sequence1 loaded from the library on the stage. When sequence 1 is finished playing sequence 2 is loaded in it's place
View 3 Replies