ActionScript 2.0 :: Possible To Make A MC In Flash And Then Randomise Where It Appears Within The Movie?
Dec 22, 2006Is it possible to make a MC in flash and then randomise where it appears within the movie?
View 7 RepliesIs it possible to make a MC in flash and then randomise where it appears within the movie?
View 7 RepliesHow do you make a flash movie where you press a button and a number (lts say three) appears in a text field?
View 6 RepliesHow do you make a flash movie where you press a button and a number (lts say three) appears in a text field?
View 6 RepliesMy work need me create this flash:
When movie(flv) stop, one "continue" button appears, so you can click on it to go to next page.
I have a tricky problem. I've been working on a flash quiz that uses a xml file to generate questions in a random order. Got that working fine. The Fla parses open the file and loads the nodes into dynamic text boxes.
[Code]...
How do i randomise and come to a stop at the random selected circle.URL...
View 4 RepliesMaybe the title is not self explanatory but in most iphone games eg you click the correct example and you see a +100 points mc appear and rise and alpha out. I did this with a png done in photoshop BUT not all goes well - it doesn't work.
[Code]...
It seens perfct but I can't see it work. The funny thing is that the custom currentBubble - with a dot after you see the code hints but a dot after pb100 - you see no code hints. Well not normal.
I have an xml gallery that I'm making for my photo business, and I'm having a problem with the order of events firing off here.
Right now when I test my flash, there is a brief moment where I see the image resize from big to the resized format... and the fader does not work anymore.
I want for everytime I open the gallery or click on an image for the resize event to happen, have the image loaded, so that the fading I have in function checkerF can begin...
Pretty much like this: Open gallery Resized image fades in...
Below is the full actionscript code of the Fla. file.
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
[Code]....
I have a project for school making a flash descripty thing.. and what im trying to do is make it so when you clikc a button, the description of the ingredient appears in the right hand box..
Its not working.. I dont know whyIve tried everything.. and I cant find any errors in my scripting
[code]...
when i click the start button, how do i randomise the question. it will come to a stop at the random question. Once question display will b4, should not display anymore..
View 2 RepliesI want 3 movieclips to change positions (swap places) on the stage randomly when I push a button and make sure they are always in different positions, so they don't randomise the same way.
cat, dog, fish
position_a,position_b,position_c
position_b,position_c,position_a
position_c,position_a,position_b
then loop and randomize the position they popup in again. So I can just keep on clicking the screen and they always change.
xxxa
xxbx
cxxx
I will have the 3 movie clips on the stage with instance names.
position_a
position_b
position_c
[code]....
I got help the other day of how to add dynamic text as the tutorial didn't work for me(that worked). but how to preload the text as it appears later than the movie which had already preloaded(i made a simple preloader for now) the address [URL]
View 13 RepliesOk so I have this button, and on this button I have the following AS. It works just the way it is suppose to (miracles really do happen), but now how do I control where the loaded movie appears on the screen?
Code:
on (release) {
loadMovieNum("E:\FLASHMX docs\flashTips\bushbug.swf", 1);
}
I have 4 shapes which fit into 4 boxes and would like to modify my code so when a shape is placed in the correct box a movie clip appears e.g. if a triangle is placed into a triangle shape the movieclip for triangle appears. if the shape is placed into the wrong box a message appears saying try again.
View 9 RepliesI dont know which action to use to get my buttons and movie clips to work. I have five buttons and five movie clips, so when I click on a button it calls a specific movie clip, but when I click on the next button, next movie clip appears, but the previous movie clip stays on the scene..How can I make it disappear? here is a buttons code
[Code]....
We're making a viral video which is going to be distributed as FLV movie file free for download and redistribution.
I don't know much about flash yet but I can imagine FLV is just some sort of special flash application which can also include arbitrary code.
Is it possible to track how many times that movie file has been played by letting the FLV file perform a server-callback when playback begins?
I have to make a flash movie that would allow the user to control the framerate of the movie. Unfortunately I'm not that good with flash and I don't know how that could be done ..I thought about something like
"on(press){
movieclip.increaseframerate(*2);
}"
I've concluded that I have to use several Loaders. At first I was thinking "oh well I just use sixteen loaders", but do I have to? Maybe I should create only eigth of them? Then I found this tutorial. If I'm correct I just have to create eight Loaders, then addChild to correct img1/img2?
View 1 RepliesThis is weird because I cannot see how a browser can have any affect on a SWF file animation. This SWF contains masking of images. The SWF appears perfectly in Safari, and for some strange reason, one of the three masks is not applied when viewing the SWF in IE (as if the image is 'released').
View 1 RepliesI am loading external SWF files into my project at runtime. I am also using a cookie to store user information for returning the project to the user's last point of operation.These seem to be conflicting at the moment, as when the cookie file is not large enough for the desired storage amount, Flash requests for more space through the Settings dialog box. However, since the SWFs are loaded at run-time (for a dynamic experience), they appear to be loading on top of Flash's dialog box and are interfering with the dialog box. Not only will the user not be able to click an option behind certain loaded SWF children, but they won't be able to see it through them either.The red box is from a SWF file loaded at run-time.
View 2 Replieshow to replace all the instances of '(A)' in a string with just 'A'.
This is what I have, but it is not working:
String str = "(A) + (B) + ( (A) + (B) )";
str = str.replace("(A)","A");
i have a flash video called abc.swf that i would like to play when a user first registers to our website. however, if the user does not have flash, i need it to tell them that in an easy way.
for this reason, i am trying to tell them how to download flash with the following html:
[Code]...
I'm trying to create some MovieClips with a glow effect when you rollOver and the glow effect dissapearing on rollOut. But when the rollOut is finished my background movieclip to which I apply the filter (a simple 20 x 20 vector circle) all of a sudden appears jagged, when before rollOver/rollOut it appeared smooth as it should. What could be going on here? I'm pretty new to AS3, thus the example isn't working properly yet. For instance:
* when you roll over the item the first time it immediately shows the end phase of the glow in stead of animating. I thought I'ld circumvent this with Tween.rewind() in the constructor, but that didn't do the trick.
* also I'm not sure whether the addEventListener for TweenEvent.MOTION_CHANGE is placed in the correct spot. I tried putting it in the constructor, but that resulted in the event being recieved continuously by _onMotionChange.
But the most important part is the jagged circle after the glow filter has dissapeared. This is what I have so far (abbreviated example):
[CODE]....
I am writing a process where users will need to select a file that far exceeds their availble RAM and have that file broken up into small chunks (for upload). I'm able to create a File reference to said file, but when I try to pass it to the fileStream, it appears to try to read the thing into memory before acting on it. Is there a way to get fileStream to just take the reference to the file and then utilize readBytes the way it's documented? it's called when the user selects the File in the browser dialogue.
[Code]...
I am building a flash banner ad which I will traffic among some major ad networks. Is it possible for me to track what sites (or domains) my ad has appears on, without relying on their reporting?
View 2 RepliesI have a drop-down/multi-level CSS menu on a page. The menu however doesn't appear over a flash.i put <param value="transparent" name="wmode"/> I added wmode="transparent" to the EMBED tag then the expanded menu appeared but the color of flash image diaappeared also tried z-index in css.
[Code]...
The image on the left has a text field that has been already dynamicly loaded.The image on the right has not loaded dynamically yet.The drop down menu is inside of a MovieClip that is on a layer higher than the textfields.How can I prevent the dynamic text from appearing on top of the Buttons/MovieClips?
View 1 Repliesi have downloaded a flash component "Fade In Fade Out Slideshow".and included mu images in it.i don't know how to include it in drupalits index.html page is
<html xmlns="http`enter code here`://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>XML Banner Rotator</title>
[code].....
Any one come across this situation where users of a cd-rom gets security problems when for example click on pdf button to view in separate window.
View 3 RepliesAfter changing the Flex SDK to 3.6 (from 4.5.1) so as to target Flash player 9.0.124, the project no longer compiles, producing spurious errors such as XML does not have matching begin and end tags leading me to believe that the compilation process is 'borked'.
This is a pure AS project, and so should have no dependency on the Flex SDK, howver, it seeems to be inextricably linked to the Flex 4.x SDK and Flash Player 10+. I have tried swf-version and -target-player-version in the compiler arguments, but there is still something I am missing to get this to compile for Flash player 9.