ActionScript 3.0 :: Appearing And Disappearing Movieclip?
Jun 20, 2011
When I click on pix01 there is the clip01 appearingThe problem is that when I click on pix02 (it is the same when I click on pix03) before the clip02 appears there is a black backgroundbecause the clip01 disappear and I would like that the clip02 appears on clip01I don t want a black background. I would like for exemple that when after clicking on pix02 to see the clip02 and after when I clickon pix03 the clip03 appears on clip02 and after when I click on pix01 the clip01 appears on clip03...
View 2 Replies
Similar Posts:
Sep 30, 2009
i'm trying to make an enter button slowy appear while loading background images..
basically just changing it's alpha, but my button is doing the opposite.. it's dissapearing.. and i'm not interely sure how to make it do the opposite.
my code is like this:
Code: Select allstop();
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
[Code].....
View 6 Replies
Jun 4, 2009
I created our website using Actionscript 2.0 and on several of our pages there is a drop-down text box that has a "close" button on it, which is just a movieclip located inside the text box movieclip. For some reason, if you stay on a page for a few minutes the close button disappears. The hand still shows up when you hover over where it was at and you can still click on it, but it just turns invisible. I'm not sure what's causing this.
[URL]
View 10 Replies
Apr 9, 2009
Its a bit difficult to explain so Ill add a link to the swf.[URL] The problem is: When going from one scene to another, and then back from that scene to the previous one, my movieclip containing my buttons disappears. (for example: from wat to nieuws and then from nieuws back to wat). Quiet bizarre, because when going from wat to wie to nieuws to wat and so on, the movieclip with buttons does not disappear.
The situation in short is as follows. I have 4 scenes and 4 buttons, every button linking to respectively another scene / page. The buttons all are in movieclips. I have 4 different movieclips all containing all buttons. For the nieuws page movieclip the nieuws-button in the movieclip gets switched of by ungrouping it and so on, and so on.On every scene I put the movieclip, with the correct button switched of, on top, with the swapDepths function. The other movieclips are made invisible by the _visible = false function.
I could give you even more info, though I have a feeling its not going to make any difference. I even have the feeling that the info I just gave isnt a clue to the solution. It really is mysterious to me, I cant figure it out. Still, the .fla you can find here: [URL]
View 2 Replies
Aug 24, 2004
Ach. I have a class that extends MovieClip called AxonClip, and a class that extends AxonClip called Target. I create several new Target objects like so:
Code:
Targets[i] = new Target("Targ"+i);
Targets[i].attachMovie("TargetArt", "TarGuy"+i, iDepth);
[code].....
View 3 Replies
Aug 11, 2009
i am loading an external .txt file and am displaying. its working fine. but when am trying to split the specified values, the value was disappearing. i mean except that splitted value everything is displaying... how to get that.
var loadXML:XML = new XML();
var myarr:String;
loadXML.ignoreWhite = true;[cocde].....
its an xml string based. now i want to store the picture thumb value in one array value, and description value in another..... like tat..
View 2 Replies
Aug 1, 2009
What I need is to build a page with a list of 5 links each stating a time. These links will be used to determine bands timeslots which is the fairest way I can possibly think of...kinda like drawing times out of a hat except over the web. I want to send this list of 5 different timeslots to a band, have them click a link and see their timeslot...(ex; 9:00pm - 9:45pm) and in the meantime...all the other links become inactive and disappear. This can be done 1 at a time so I can rebuild the list without the previously chosen time slot being an option...or it can be the first person who reads and choses gets the slot and the next person to view the page would see the page without the previous selection even shown. I would also like the selection to be emailed to my email address.
_____Here's how I would like it to look..._____
In order to be fair about timeslots, choose from one of the links below. The link you choose will contain your timeslot in which cannot be changed and you will not be able to choose another link after you have chosen. These links are random...no particular order and nobody knows what timeslot is in what link. Your selection will be emailed to me.
Choose your timeslot A
Choose your timeslot B
Choose your timeslot C
Choose your timeslot D
Choose your timeslot E
View 3 Replies
Aug 28, 2009
All symbols have stopped rendering while in the IDE. They publish fine, but I can't see them on stage.
Details: Flash Pro CS4 10.0.2 Mac OS X 10.5.8 on MacBook Pro w/ 4GB RAM.Objects that are not symbols render fine (shapes, groups, text, components).Symbols are selectable and show the blue selection boundary.Symbol selection is constrained to the shape of the symbol, not the bounds.The 'empty clip' handle is shown for each symbol(and effects / filters are rendered on it).The layers are not hidden, and switching to outine doesn't change the appearance.All files opened on this Mac show this behavior(IDE pref setting for don't display symbols?) .Files openfine on other machines (PC & Mac).I trashed the 'Flash CS4 Preferences' file, but it didn't fix it.Here's the IDE view of the stage:
View 6 Replies
Feb 23, 2010
I'm having trouble loading a SWF that contains a FLV movie into another SWF.
Here on its own is the SWF that I want to load:
[URL]
You'll see that the movie and the controls appear and work properly.
Here is the SWF in to which I want to load it:
[URL]
If you click the white rectangle at the bottom, it will load comback.swf into Level 1 but the FLV and the controls are missing. (Somtimes the FLV appears w/o the controls.)
View 5 Replies
Jul 16, 2010
figure out why the SeekBarHandle disappears when my videos start to play?
View 2 Replies
Aug 3, 2009
I'm making a game, the cursor is replaced. However, when you fail and click try again, the cursor dissappears.
View 0 Replies
Dec 1, 2009
I found a script to make the animation follow the mouse movement and it needed to stay in fixed boundaries. I have 3 different mc 1 behind the other and moving at a different pace to give a illusion of perspective. But here are my issues;1-It works but when I open a new window in the browser the mc(s) are disappearing. 2-And I would really need to ease or smooth the animation a little. I would like the mc(s) to continue to move and stop slowly after I already stopped moving the mouse. how to script both or even 1 of these ? Here's the code I am using now;
function loopX(e:Event):void
{
var xDist:Number = mouseX - 24000
[code].....
View 0 Replies
Mar 8, 2012
I usually work with after effects, and i made this animation using it.Now I'm trying to import this short clip into a website by Wix websites..I exported the movie in FLV from after effects.I Need to put the movie on the homepage of the website, make it play once and then disappear entirely so that you can see the website hiding behind it. Now it cant be anything but SWF. No HTML or anything .any way to do it?
View 3 Replies
Mar 13, 2007
I'm customising a tutorial from "Flash 3d" book. Basically its a horizontal/panorama scroller but I don't want to have a custom cursor like they suggest so I have deleted all the bits of actionscript relevant to the cursor.But for some reason when I test the movie the cursor keeps disappearing at randomly on and off when scrolling.Please, can anyone see anything in the code that could make the cursor disappear ? I've checked there isn't any more actionscript in the hidden elsewhere in the file.
// initialize variables
var moveAmount:Number = 15; // how fast the pano will move
var centerX:Number = Stage.width/2; // horiz. center of Stage
[code]........
View 1 Replies
Mar 19, 2010
I made a 3d box using flash cs4 (ive made one using imported images as the sides and another one using vector siding made in flash) Both times, when ive finished the box and rotate it, sides will dissapear then reappear, depending on where the box was in its rotation. For instance, when you look at it dead on, the front side seems opaque, but when i start rotating it, the fron side, at certain angles, becomes transparent and you can actually see INSIDE the box thru the wall, then as it moves it becomes solid again. I am trying to make a presentation for work of a package, rotating 360 degrees on its y axis, but keep getting these odd disapearing sides.
View 1 Replies
Jul 10, 2008
I am having a problem with a swf completly disappearing when using wmode at all. When wmode parameter is removed, the swf appears fine. The bug only occurs in FF on a PC (and only some of the time at that ). When theres only a limited amount of html code in the surrounding page (even with wmode ), the swf is visible, however at a certain point, ANY extra line of code causes it to break.
View 11 Replies
Aug 5, 2010
I have just encountered a very strange problem regarding the bitmaps (.png files) used. When I view the swf movie - everything is fine until I make the browser much larger / fullscreen. Then a few of the bitmaps in the navigation menu move out of place.URL...
View 8 Replies
May 29, 2009
I have knowledge of HTML but this is my first flash project, and I think I'm way over my head. I followed a tutorial explaining how to make menu buttons and I realized that the actionscript for a drop down menu should work for what I'm trying to do. So I finally have everything the way I want it but I'm pretty sure I have a bit of wasted code in there. Now, my issue is when I play my flash and move my mouse really fast over the flash object sometimes two menu buttons appear. I'm sure it is because of the ._alpha > 0 code I'm using but I dont know another way around it. If you have any advice PLEASE share!! Here is a link to the swf file...http:[url]....
This is the code (for two buttons) I use to make something disappear when I RollOver another button:
calplate_btn.onRollOver = function () { if(scan_large._x > startX) { myTweenB.stop(); myTween2.stop(); scan_large.enabled = false scan_large._alpha = 0 scan_large._x = startX } if(scan_large._alpha > 0 ) { myTweenB.stop(); myTween2.stop(); scan_large.enabled = false scan_large._alpha = 0 scan_large._x = startX }[code].......
View 4 Replies
Sep 22, 2009
I have child movie in a project that contains a FLV Playback instance with an associated Seek Bar component. The child movie fades in and fades out when a button is pressed. When a the child movie fades-out, the handle of the seek bar is retained. If I watch the movie multiple times, multiple seek bar handles remain behind.
[URL]
Click the "View Entry Footage" button and then click the "Return to Map" button.
View 2 Replies
Feb 3, 2010
I have a screen in a Flash window with four TextFields(just regular text, no html formatting).If I tab from one TextField to the next, select all the text (using keyboard command), and then start typing, the text formatting is removed.
This does not happen if I click into the TextField before tabbing into it.Even clicking into a TextField, placing the insertion point at the begging of the text, selecting via keyboard, and typing does not reproduce the effect.I'm pretty sure this has something to do with the TextField receiving focus, but am not sure how to work around it as there is no restricted order to type into TextFields.
View 1 Replies
Jun 28, 2010
I have a problem where every time i close flash normally (it's not crashing) and fire it up again, my timeline panel is missing. I have to press ctrl+alt+t or window>timeline to bring it up again and reposition it. What's going on here?
View 10 Replies
Aug 12, 2010
I have a simple drag and drop game which consists of a scale and multiple rocks that you can place on either side of the scale. If you get the rock placed on the correct side the first time, you get ten points, which is reflected in a dynamic text box in the upper right hand corner. If you get it wrong, you get zero poitns even if you get it correct the second time. That all works fine. These rocks are also double-click-able and when you do that it will bring up some information about that rock. You can close that window and then go about your business. That works fine as well.
Well recently I added an instructions button into the mix (just in case you want to see the instructions from the beginning again) and it follows the same sort of logic as opening the window when you double-click on a rock. Only with this, it is just with a click. I get to the window just fine, shows the instructions and everything. Then I close it, that works fine too. Then the really interesting thing is, when I go to place another rock and when it is placed correctly, the score disappears. It just vanishes. This doesn't happen if I'm looking at the info of the rocks and then continue to play the game. It's only after viewing the instructions and closing it out.[code]...
View 4 Replies
Aug 17, 2011
I increased the size of my stage to 1280 x 1024 and now objects on the periphery have disappeared. When I zoom in they appear, but when I zoom out or export the movie the objects in the center are there but the objects around the edge do not appear. If I add an object and drag it to the edge I can watch it disappear as I am dragging it, but when I zoom in it is there. I have no masks and I need to create the video at the higher resolution, so I cannot resize the stage smaller.
View 3 Replies
Dec 19, 2011
*Using Flash CS5 professional (AS3)*
I'm currently working on a LARGE flash presentation broken up into many small flash movies. the files play fine in the timeline, but SOMETIMES when publishing as .swf, the text is not visible, but all the other objects and tweens play as normal. My co-worker is also having this same issue, but we can not figure out why. It seems random and does not happen with all of the files. We are copying and pasting symbols from file to file. i don't think that is the issue, though. i wonder if anyone else is experiencing this or knows why. causing LOTS of extra time spent remaking presentations.
View 4 Replies
Mar 13, 2012
I am trying to create a very simple 'fruit/slot machine' effect using moving numbers, and a mask.I want the numbers to start at 0,000, spinning through to 1,700. The '1' and '7' work fine, but the two '00' disappear during the tween, then reappear at the end (I have a 'stop' in place).I have the spinning numbers as a 'movie clip', and I have tried uisng 4 different number clips (at the moment 1 clip is duplicated).
View 2 Replies
Mar 19, 2012
This has happened to me and other co-workers multiple times lately and it appears to have started around the time CS5.5 was loaded on our computers. What will happen is, we will have a file with multiple pngs/jpgs imported in and placed across the timeline. They will import fine and they swf will publish out fine. We will save the fla and close it. Then later we will open the fla back up and the images will all be gone from the library and obviously, in turn, removed from the timeline.
View 4 Replies
Mar 19, 2012
While animating in Flash CS5 I have had all sorts of strange things happen, which never occurred in CS3 or CS4. Most recently, after drawing an image inside a movieclip symbol, I returned to the root timeline to noticed i had lost my entire timeline and every single layer. lot of work lost. All I had was a blank stage and no matter what I tried I could not get it back. The timeline panel was there, just completely empty.Prior to this, whenever I published a .swf to test my animation, i had several frames worth of blank stage before the animation was shown. For instance, my stage colour was a pale green, and all I saw was pale green for a split second. This got progressively worse before the issue mentioned above occurred.Another strange thing is that I get a completely random moviclip play at the end of my .swf. So,
View 11 Replies
Jan 28, 2010
I have an odd issue while using FlashCS4.
I have a textfield that, when set to STATIC TEXT works absolutely fine, in the correct font. If I set it to DYNAMIC TEXT, the text shows up as Arial or some other default on systems where the selected font isn't available. It shows up in the proper font on systems that have the font installed.
[Code]...
View 2 Replies
Aug 25, 2009
I have an array: possessionPics.
Code:
trace(possessionPics[0])
returns: [Object Bitmap]
[Cpde].....
Just gets me: TypeError: Error #1034: Type Coercion failed: cannot convert []@1c87df59 to flash.display.Bitmap.
View 6 Replies
Oct 12, 2009
I'm working on an interactive poetry project. I have 49 textfields displayed in a 7x7 grid. The properties are stored in an array. Here is the code for that. For the purposes of demonstration I place the character "S" as text in each field. This code works as intended.
var instances:Array = [];
for (var i:int = 0; i < 49; i++) {
var j_inst:TextField = new TextField();
j_inst.text = "S";
[code]....
The problem occurs when I want to change the text. When it's triggered the text simply disappears. I have no idea why and I'm running out of ideas. I've tried without the embedded font but to no avail. Changing other text properties like instances[j].x works but whenever I change the text I lose it.
function ChangeText(e:TimerEvent):void {
for (var j:int = 0; j < 49; j++) {
instances[j].text = "X";
}
}
View 7 Replies