ActionScript 3.0 :: Movieclip Disappears After 5 Second?
Mar 19, 2012add a bomb to the stage and after 5 seconds i want it to disappear. and also to make the bomb drop where the character drops it.
View 1 Repliesadd a bomb to the stage and after 5 seconds i want it to disappear. and also to make the bomb drop where the character drops it.
View 1 RepliesI posted this in Kirupa but unfortunately i did not receive any response from the community for 4 days now. I'm thinking perhaps somebody here can answer my long awaited explanation for this bug or phenomenon. I have a shape animation on the timeline from one keyframe to the next (3 keyframes). There is an orange movieclip under that mask with instance name "container". Now if i attempt to attach a movieclip to it at runtime, it will automatically get removed when it reaches the 2nd shape tween keyframe. All my code is in frame 1. Isn't that illogical? I know it works if i place it into a movieclip. I need an explanation to this (if its a bug) and a workaround other than repetitively attaching it from frame to frame.
View 2 RepliesI am printing a parent moviclip which is on stage and has many child movieClips with linked classes having all single frames.When I try to print by passing it to printObject which is in external class few things happend as:
1. the object is printed but moviclip is removed from stage
2. also the dynamic text labels are not printed
3.the size is smaller than the original.
how to get to resovle these issues to obtain good print out from flash cs5 using AS
Im loading a movieclip which contains some sound, but after it's loaded and played, there's absolutely no sound at all
View 2 Replieshow to put a timer on a movieclip so that it appears and disappears after a certain amount of seconds
View 1 Repliesi have a movieclip (hairline stroke) and after changing its width or height it disappears...
View 1 Repliesa movie clip symbol is designed and subclassed in Flash, but get instanced and addChild-ed in AS3. It works well as long as I don't change it's width/height property (scaling works too), but if i do, it disappears
View 2 RepliesI am trying to build a fireplace in flash where the mantles, surround type and face plates are changable when a value from a drop down menu is selected.I put each of the objects(mantles, surround types and face plates) in a seperate layer and am making them visible/invisible by controlling the alpha property of each of the objects. It worked fine till i had about 30 layers/images on the flash file, but as i try to add new layers/ images the new layer sort of covers the first layer making it invisible.
View 5 RepliesI am new to CS4 and I have an issue with writing text on frames. I am using the text tool to write a paragraph of text which I type in to word to do spell check etc. Then I transfer to Flash and using the text tool paste it in. Now as soon as I let go of the mouse the text disappears but when I click on the text again it reappears why?
View 1 RepliesI have a brand new Mac Pro (8-core "nehalem") and I'm having a very frustrating problem. While testing a movie within Flash, the Test Movie window will randomly go completely blank, showing the Stage color. The movie is still running, there's no error, it's just blank. When I resize the Test Movie window, everything reappears. Until a few seconds later, it snaps back to blank.I resize, it reappears, it disappears,I resize,it reappears, it disappears... over and over. Today is my first day really using this machine for Flash. The FLA worked perfectly fine on my old Quad G5 and on my Intel iMac at home, so I don't think it's an issue with my file. The graphics card is an NVIDIA GeForce GT 120 with 512MB VRAM. (the standard card that comes in the 8-cores.)
View 1 RepliesI have two Preloader problems for a project I'm working on right now.
1. The Main Site preloader disappears when 60% is loaded...with a blank screen lag until moving to the main screen
2. My external .swf Preloader is still on screen after an external .swf has loaded. I can hear the external .swf playing while watching my loader bar at about 20-40%.
Main Site Preloader:
var yChange = 109.2;var yStart = 330.2;
myInterval = setInterval(preload,100);[code].......
Everytime I publish a swf from CS4 on my machine the swf appears briefly in the file system then is removed immediately after completion. I'm running CS4, Win 7, publishing to FP10. The fla was originally CS5 but saved down to CS4. I've tried restarting flash, Windows etc., saving to different hard drives under different names but the same thing occurs creating a text file and renaming to assets.swf (the name of saif swf) is fine but if I publish to overwrite it it then disappears. The fla for this is stored within dropbox (could that be an issue?)
View 3 RepliesI am loading levels into a main swf, these levels load via a Menu bar built into my main movie... how do I keep the menu bar from disappearing as the other layers load into the main? I know it's underneath my other levels cuz I get a mouseover on the buttons, I just can't see the menu bar..
View 13 RepliesI have an swf that loads several other swf's externally. They all have a white background. But the background disappears after a while. Example is here
View 3 Replies...when i set the textField with new text eg:
var tf = new TextField();
var myFormat = new TextFormat();
//set textField format
[code].....
I am a new-comer to these forums, as I am still trying to get used to Flash CS4.
This seems like a very simple problem (might not even be a problem at all), but I can't figure out for the life of me.
Everytime I open up a new window, and as I randomly begin to draw in pencil or make rectangles, when the focus on the window is changed to somewhere else my drawings just disappear.
When you click on "works" on my site it reveals a menu with 2 other buttons, but when you try to mouse over the 2 buttons the whole thing dissapears. What I've done is set the "works" button to jump ahead in the animation to reveal the menu which is actually one large button with the 2 other buttons on top. The large button is set to - on rollout goto and play frame 1.
View 4 RepliesI'm using Flash MX to create a website. The user navigates between different scenes/frames using buttons, just like moving to different pages in html (except the "pages" are different parts of the main movie's timeline).The problem I'm having is that on two embedded movie clips there are text boxes which dynamically load html-formatted text files (news updates for different topics). When I run the movie, both of these "pages"/"frames" work beautifully, but after the first time, when I come back to either of them, the dynamic text boxes' scrollbars have disappeared and the up/down scroll buttons don't work. By clicking on the loaded text and dragging I can force it to scroll, so all the content is there, but the controls are gone.
I've been searching forums for a couple of hours on this now and the only thing I found was someone found a similar issue on CS3 which required giving scrollbars instance names (which I did) and then inserting Actionscript telling them to update--and that is a bit beyond me. Is there something I have to type in when the text loads to get it to do that?The script I'm using to load the text into the fields is as basic as it gets (and obviously cut and pasted from somewhere else):
loadText = new loadVars();
loadText.load("history.txt");
//creating the loadVarsText function
[code]....
I'm trying to make a Roll Out Menu, using a Button with a Movie Clip in its Over state. The problem that I'm running into is that when I roll off of the button the Roll Out Menu disappears. Is there any way that I can keep it out? I know that I could probably make this work by having the button itself have an invisible shape that covers where the Roll Out will appear, but then it will overlap the other Button's Roll Out Menu. Also, if it matters, the Menu is vertical and is something like this:
[Code]....
When I open Flash CS3 to create something,if the Flash window is not maximized, it disappears off the right side of the screen(s).If I maximize the window using the task bar, it's fine,but it covers up the other resources I need to use. I'm using Vista Business and Flash CS3 with two screens, the extended one on the right.
Right-click the Flash button on the taskbar and select Move.What happened: When I use the arrow keys, nothing appears to happen.When I move the mouse, the arrow pointer comes in from the extreme right side of the screen.When I hold the mouse button down and drag, a four-headed arrow appears at the extreme right, but the Flash window does not appear .Reboot. What happened: Flash is still off the screen unless maximized.
What happened: I found a registry hack that I tried (next item) but it didn't work.Use Regedit to modify settings (after exiting Flash): HKEY_CURRENT_USER > Software > Adobe > Flash 9 > Settings > WindowThe current value is 12639 960 13919 1872.I assume these are X and Y for upper right position and pixel length and width, but I don't know in what order.I tried a couple of values, including 0 0 0 0 and 100 100 100 100.I tried rebooting, verifying that the Window values were the same as those I had set, and ran Flash. What happened: Flash is still off the screen unless maximized. Registry values return to being huge numbers.Repair or uninstall+reinstall Flash Using Control Panel > Programs > Uninstall a program. What happened:Although several Adobe products are listed, Flash CS3 is not listed, nor are any of the other CS3 suite.Using Start > All Programs > Adobe > Uninstall. The Adobe group doesn't have an Unistall or Install program, not can I find one in C:Program FilesAdobe*What I'm using:
Dell Precision M90 with 4 Gb RAMNvidia Quadro FX 1500M, ForceWare version 156.69 with 256 Mb VRAM + 1406 Mb shared RAM available at the momentVista Business with auto-updatesAt home I use an auxiliary 1280x1024 monitor; at work I use an auximiary 1680x1050 monitor; the problem occurred when I moved from home to work.
I know that this has to be something simple, but it's still kicking my butt.I put an input textbox on a layer and everything looks fine.I play the movie and no textbox?If I put a filter on it, it will show up but otherwise it looks like there is nothing there.Not even the border is visible.All of the static text is good, just no input box.
View 11 RepliesText box instance is labelled,
Property set to 'Dynamic Text'
Behavior set to 'MultiLine'
Text set in Actionscript:
[code].....
somewhat of an actionscript nimrod make an flv player disappear after its .flv has finished playing.
View 3 RepliesI based the following on an old code I barely understood while creating it, and decided to begin messing with it again in my "learn japanese kanji" minigame. When my sprite contacts a movieclip, (like a door or sign), I want the text screen to appear, and disappear when they are no longer in contact.
The code below almost does that. When the sprite contacts the movieclip (contact code at the bottom of this post), the textbox appears, the text appears, and everything works... for about a split second, and then the text - but not the box, disappears. I think disappearing text has something to do with being loaded through an on EnterFrame, but I don't understand why the box remains.
[Code]....
i use the 3d feature alot, and there is often a lot of lag.this particullar flash project im working on has lots of high detail drawings and 3d.i have this 3d car I made, but whenever i add it to the stage, If i move my mouse at all, then everything disappears.
all drawing, and symbols gone i cant do anything with the car now because every time i try to use it, this happens!
Basically I have an embedded SWF file inside another which has a scroll bar (AS2 component). The whole project was created using Flash CS4 in AS2. Sometimes when the page is accessed the scroll bar is gone and the content of the embedded SWF extends outside of it's fixed sized container. I have not been successful in determining the cause but it seems to happen more frequently on a client's PC which is lacking in the performance department. I am wondering if it is a loading issue, where maybe the embedded file is loading faster than it's container. [URL]
View 6 RepliesI have a button on frame1 that when clicked, takes you to frame2. On that frame 2 there are two more buttons; one takes you back to frame 1 and the other takes you to frame 3. On frame three there is a button that takes you back to frame 1.
If you are on frame 2 and go back to frame 1, one of the buttons on frame one disappears. If you are on frame 3 and go back to frame 1 a different button disappears.[code]...
I have a movie that has an audio track (I have it set to "start" for the Sync). It works perfectly, but when I insert a preloader with it, the audio disappears. The rest of the movie still works fine (visual) but it is silent.
View 6 RepliesI've made a flash image with the gif extention with Adobe Flash CS4 Pro. I have set the WMODE to tranparent and i've set the Transparency at the giv tab to transparent to. But now comes the difficult part. Each time when I export the image the background is still white.
What did I do wrong? and how can I fix it?
I'm running a standalone EXE file via the Projector (or whatever it's called when you run a standalone EXE file made with Flash). It's NOT a web-based application. Every time I go to fullscreen mode, I just get a blank screen. All of the images are gone. However, if I press Esc to exit the full screen mode, then the pictures appear again. Is this a bug with Flash CS3? This is what I put in the first frame of my movie in the 'actions' section:
import flash.system.fscommand;import flash.display.Stage;import flash.display.StageDisplayState;stage.scaleMode = StageScaleMode.SHOW_ALL;stage.displayState = StageDisplayState.FULL_SCREEN;stage.scaleMode = StageScaleMode.NO_SCALE;stage.align = StageAlign.TOP_LEFT;stage.displayState = "fullScreen";stage['displayState'] = "fullScreen";
When I run the Flash program (as an exe file), the program goes fullscreen, but all of the elements on the stage disappear, leaving the screen blank. However, when I exit out of fullscreen mode (by pressing ESC) then everything looks like it's supposed to, with the images showing up and everything.