ActionScript 3.0 :: How To Make Hidden Or Folder With Layers
Jul 9, 2009For my small flash required to make hidden some folders with layers or some layers separately. It is very handy. But I don't know how to do it.
View 1 RepliesFor my small flash required to make hidden some folders with layers or some layers separately. It is very handy. But I don't know how to do it.
View 1 RepliesRunning CS4 I have a .fla that was compiling fine yesterday. Today I made some slight additions and it wouldn't compile, giving errors saying that various things were undefined I was starting to go nuts until finally I made all layers in the timeline visible and compiled again. Now it compiles fineJust in case it was something Flash itself I created a new file, hid some layers and compiled and it was fine. So it's not the application, just this particular file.
View 1 RepliesI recently experienced a very strange bug and even afteruninstalling and reinstalling Flash the bug is still there. Myproblem is as follows: existing symbols on stage appear blank withthe correct bounding box. FIlls and lines appear correctly, but assoon as they are converted to a symbol they disappear. Componentslike the included drop down menu appear correctly.img1img2img3
View 1 RepliesIs there any way to copy a folder with a bunch of layers and keyframes to a different flash project?
or in another way is there a way for me to save time and copy a work i have done on a different project and use it in a new, consisting a keyframed animation?
I am using Flash CS3 and Actionscript 2.0.I want to make a photo.jpg that is in my images folder load into a swf that is in a swf folder. It works fine when I have the photo.jpg in the same folder as the swf. But it does not work when I have the photo.jpg in a different folder. What must I do to the AS2 to make this happen? Here is the path: mcLoader.loadClip("swf/images/photo1.jpg",mcHolder);
View 11 RepliesI'm wondering if a hidden navbar can be done at the left side of my flash whereby i can trigger it to open by sliding out with all the submenus and close it. I know it can but done in javascript but can it be done in actionscript?
View 14 RepliesI'm currently working on a game that has multiple 'scenes' located on each frame. In one scene, if you click on an object it disappears. I did this using the visible = false method. However, anytime you return the scene after, the object is visible again. How would I write the code so that it stays invisible permanently when you click it, regardless of whether or not you leave and later return to the scene?
View 4 RepliesI tried adapting a bit of script from one Tonypa posted some time ago about making a hidden objects game.I want to have a movieclip play on top of a randomly selected movieclip from an array, but I don't seem to have it.Here is the hint script part.....
this._parent.hint.visible=false;
function showHint () {
var n=Math.floor(Math.random()*this._parent["object" + i].length);
[code].....
Can I do this in AS3?
(1) add the caurina folder to the folder
(2) add Thumbnail.as to the folder
(3) add
[Code]....
I have an externally loaded SWF, which contains 30+ layers, each with a rather large area of transparency. In my application, I dynamically turn on and off these layers, as I needI've run into an issue where if I have all 30+ layers visible, the transparency "cuts through" the background of my application, and shows the stage's default colour.
View 2 RepliesI'm using a really simple bit of code on some fading in/out buttons which overlap each other slightly to ensure that the one with the cursor resting over it sits in front of the others:[code]problem being that this brings the button in front of everything across all layers. How do I change my swapdepths to make sure the layers above the buttons STAY above? - or do I need to add something to the other layers to give them a fixed 'depth'?
View 11 RepliesHow can I move the Flash layers on the browser or How can I make Flash layers transperant on Browser to see what's under them ?When browsing (I use firefox) in the internet when flash apps. work;At flash applications some images get over the other and I want to see whats under that image.I some how have to move that image or make it transperant to see under it?
View 1 Repliesi'm trying to make a website in a number of buttons and layers. In one section i need to have an if statement on the buttons as where in the timeline they go is dependant on where the user is (this location is set in a variable called "destination".
The problem is that when i have = in the if statement it bypasses the first section and only does the else action (ie trace ("else")), and if i put == in the statement it only does the first action (ie trace ("gallery")) no matter what "destination" is.
here is my code:
on (release){
if (destination = "gallery"){
trace ("gallery");
}else{
[code]....
I want to load/run a swf file inside my movie.
- How can I import the swf file inside folder?
- How to manage/ create new folder inside flash?
I made the follwing button to start my swf file "Dari1D1.swf" :
on (release) {
loadMovieNum("Dari1D1.swf", 0);
}
But it give me no result. I am new in flash.
I'm having trouble when scrolling across keeping my eye focused on the layer I want... is there anyway to change the view so that they alternate between grey and white(or anything like that) or are each there own color..
View 2 Replies-this is supposed to make multiple buttons with text(not clickable yet) -it seems to coppy over, or remove the previous myButtons[i] movieclip each time it goes through the loop. -there are 3 strings in buttonText.length -on the output i get 0,1,2 -but on the screen I only see one gradient (its only a pink box, but one problem at a time) -the box appears where roughly the 3rd button should be. -full code attached
View 14 Repliesthe snow effect always acts like the top layer, ok what i mean is, i have 3 layers, (1)toplayer= a car, (2)middle= snow, (3)low= background.I want to make the snow to be seen behind the car...i hope you understand what i mean , whenever i put the code from the link above it acts as the top layer and appears in front of everything.
View 4 RepliesI'm making a flash page, and I need to load the images I have in a folder. Is there a way to make flash to count how many pictures are in the folder ?
View 4 RepliesIs there a program/method to use with actionscript-3 in order to make a virtual folder hierarchy that contains my images and sounds and traverse it at runtime in order to select what to load on the SWF?
View 1 Repliesi've worked wioth sub classes so I know how they work but I always work with everything all in one folder which can get messsy when there are a lot of classes to work through. So i started to make folders inside of my main folder but it's not working. Thought it may be to do with package names but as far as i know, for the whole "classes in separate folders" things that's how they are supposed to be.
View 1 Repliesi am trying to create a flash movie for my browser page. i am able to import and export the movie just fine, the problem comes after i export the movie. As long as i leave the flash file in the folder it was created in things work great. If i try to move the folder or rename the folder it stops working. It acts like it cant find the flv file i created the flash with. if i rename or move the folder back where it was created things work fine.
View 2 Repliesi have situation in which i have some library projects, say
"DataProcessors","Lib2"
, included in my lets say "MainProject" (a web project) placed on directory
"E:in-debugMainProject.swf"
, when i build the project it automatically place all the libs .swf in its "E:in-debug" folder, but when i debug or run the project it it gives loading error that
"E:DataProcessors.swf"
not found but i have those lib files on
"E:in-debugDataProcessors.swf"..
what could be the possible errors.
I am creating an autorun exe file. Basically the CD is filled with markering materials. What I need to know is how to get Flash to open a folder on the CD so the viewer can pick from what is in side the folder.
View 4 RepliesI AM USING AIR FOR ANDROID. I want to get all the jpg's (or Mp3's) in a folder of an external folder ... that will be stored on the users PHONE with included in the APP.
How can I do that from FLASH using Action-script 3?[code]...
I have a db file Resided in Flex Air Bindebug Folder,Here i want to Move/save this db File at another location let say In mydocument/or any Folder, I am not able to do it's programatically.
View 2 RepliesHow do I import a class that resides outside the root folder of a fla file?
From root I should go back two folders to get the classes I want, which by the way is TweenMax. I don't want to copy these classes to every website's folder.
Is it possible to loadMovie into the main movie when the swf is not located in the same folder that the main swf is locatedThis is the script that works when I am loading the swf from the same folder as the main swf,
this.createEmptyMovieClip("empty_mc", 1);
empty_mc.loadMovie("pageflip_loader.swf");this.cre ateEmptyMovieClip("empty_mc", 1);
empty_mc.loadMovie("pageflip_loader.swf");
[code].....
Is it possible to add layers, re-order layers, move movieclips from layer to layer or specify which layer a duplicate movieclip appears on at runtime with AS3?I am aware of the depth properties and the functions associated with that but it would be easier to have a concept of a layer because I am dealing with masks.I have a nasty feeling I'm gonna be told that layers don't really exist within an swf and that depths and setmask are all there is to work with.
View 4 RepliesI've worked wioth sub classes so I know how they work but I always work with everything all in one folder which can get messsy when there are a lot of classes to work through. So i started to make folders inside of my main folder but it's not working. Thought it may be to do with package names but as far as i know, for the whole "classes in separate folders" things that's how they are supposed to be.
View 2 RepliesI have a project (see attached) where I need to have the folders seem like they are floating in space, and I need the best way to make it so when you click on a back folder, it slides off the screen and come back in front of all the folders.
View 2 Replies