ActionScript 3.0 :: Sub Classes & Folders - Make Folders Inside Of My Main Folder But It's Not Working?
Jul 11, 2010
I'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 Replies
Similar Posts:
Jul 11, 2010
i'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 Replies
Feb 3, 2012
I haven't scripted in AS3 is a while and can't remember having these issues. Perhaps it's because I've been using less strict languages like lua, ruby/php, and java that has made this difficult to get back into.
I am trying to make classes talk to each other and am using folders in an attempt to make things a bit easier for me to track.I have a document class in the base folder known as Main and right now one other class located in com/Game/ known as NewGame.as
Now the issues I am having is basically the Main.as sets up the stage. Puts on the starting buttons, interface, etc. The NewGame.as is called from the Main when the NEWGAME button is clicked. I have gotten that working properly, a few hang ups on error 1061.
[Code]...
View 6 Replies
Jan 13, 2009
I 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
May 9, 2011
I'm working on an application where client may upload any folder which may contain sub folders along with files. Is it possible to upload a folder instead of a file?
View 1 Replies
Jul 23, 2010
I am in cs3, publishing as version 7, using actionscript 2. It is asking to be linked to my classes because of the error messages I am receiving.
what to link to in classes. Is it the file, the folder or folders with sub folders?
View 0 Replies
Jul 8, 2011
I'm trying to re-organize my classes into folders, currently they're all just in the same directory and it's very messy, so I've tested this out in one feature, being the bullets. So bullet.as is in the directory: [main source]/Classes/Turrets/Ammo
I so in the bullet.as file I have coded as follows:
Code:
package Classes.Turrets.Ammo {
import flash.display.MovieClip;
import flash.events.*
public class Bullet extends MovieClip {
Now this works, the bullet is fired on to the stage, however it behaves profoundly. For some reason it does not move at all or behave how it does when it is fired from the turret object, the bullets behave perfectly though when I just simply put them in the same directory as the source .fla. What can I do to easily re-organize my classes into folders without turning my objects into malfunctioning pieces of junk?
View 2 Replies
May 6, 2010
I'm working on a lot of different flash applications Most of those applications are visual and involves the main stage.I started oop a while ago and i got to a point that %99.9 percent of my code is extracted to different classes.There is one thing that repeat on a regular basis on all of my apps, passing the Stage variable to the different classes....It's working great but it doesnt feel right that i need to pass the main stage as a variable between the different classes,is there a better way to access the stage from external classes ? can i make the main stage a static property and access itwithin all the objects in the application ?
View 1 Replies
May 17, 2011
I have Flash Media Server 3.5 on a Windows server, but I don't no much about how to make it work. Until know we have only used it for live streaming.I have let myself guide through the beginners pages and they're helpful, testing everything locally (applications/babyvultures/streams/_definst_/vultures.mp4).The problem is when I copy my project to the server; same structure, but no video. If I move the file to the applications/vod/media, and change the path in the script
So the big question is: am I able to have sub folders within the applications/vod ?
The thing is, that I want to publish videos from different sites that is also located on the server, and what I thought I could do, was to make sub folders, one for each site and then people can access their streaming folder via FTP, being able to publish their own videos with the advantage of rtmp streaming.
View 9 Replies
Nov 17, 2010
Can anyone enlighten me as to why my really simple web page is appearing as 2 folders please? These are the index.html and .swf files.
This has occurred before but I cant for the life of me remember the cause or solution.
The files are in the public folder on the server.
View 2 Replies
May 12, 2011
I have searched everywhere but cant seem to find out if the follow is possible.I would like to create a kind of image gallery that scrolls (which is straight forward enough) but instead of images on it i would like it to be folders?
View 1 Replies
Jan 27, 2011
Is it possible to customize the the UIloader source or parameters so that I can load multiple image folders for different sub-menu buttons. Right now, it is loading pictures from a folder called "images"; I need to add more folders like images2, images3, and images4 that would work the same way as pictures from "images" folder.
View 10 Replies
Feb 26, 2012
I have decompiled a swf file and got a fla file and also all kind of folders including action scripts.How do I run this? I mean if I make some changes how do I convert it back to a swf file?I created a swf file from one fla file but I got a file that was like 20x less in size then the original. I think it was not using the files in the folders.
View 1 Replies
Mar 14, 2012
I only found one post regarding the masking of folders in the timeline (and it was posted in 2009). Is it possible to mask a folder without resorting to actionscript? It seems like something Flash should be able to do...
View 5 Replies
Feb 15, 2011
I am using the sephiroth checkbox tree and I'm trying to hide the folders and icons here is what I have as in inline code, but it seems to not be working.
TreeCheckBox {
backgroundAlpha: 0.0;
folderClosedIcon: ClassReference(null);
folderOpenIcon: ClassReference(null);
defaultLeafIcon: ClassReference(null);
}
View 1 Replies
Apr 21, 2011
I'm working on a world builder that will load a toolkit which is represented by an xml document. The document will look similar to the following:[code]Now, I want to be able to represent this structure in flash. Vertical layout is easy enough, simply placing the elements from top to bottom. It gets mind-boggling when I need to do the following:Be able to click any folder and have all its children hidden/shown.Position the elements horizontally based on hierarchical position (indent children of folders, children of the child folders, etc)Position the folders/tools vertically when folders above and in the same "directory" are hidden.It either sounds a lot easier than it is, or I'm missing a vital and obvious step.Just to save confusion - when I make reference to "folders" and "tools", these are a MovieClip which is a simple block with text over it, like:[code]
View 1 Replies
Sep 12, 2011
I currently have a Flex project that was done in Eclipse, using the following compiler settings:
Flex Build Path: (Source Path) includes source folders from other areas, i.e common_components, which aren't projects on their own but just folders with various code I need to share. This works fine but I want to migrate to using ant. I have read in places on how to include libraries, via compiler.include-libraries, but as this isn't a library but rather just bunch of folders with .as and MXML files, how do I accomplish this?
View 1 Replies
Jan 9, 2007
I'm currently trying to build a flash image uploader
My problem is that they all seem to upload the images to just one folder, is there a way the user can select or create a new folder to upload images to?
View 4 Replies
Aug 2, 2008
I customize the file so that I can load multiple image folders for different set of sub-menu button.Right now, it is loading pictures from folder called "images"; I need to add more folders like images2, images3, and images4 that would play the same way as pictures from "images" folder.Where exactly do I need to alter the variable. I am not sure how it adds the other image folders
import mx.xpath.XPathAPI;
//banner
_root.banner = new Array();
[code].......
View 2 Replies
Aug 4, 2009
All my work up to this point has been Flash MX, I currently into a project that was done in CS3 and I also have flash CS3 now. The project folder seems to broken out into several folders, I was looking for a brief overview of what each folder is.com - this folder has many .as script files org - this has several other folders like papervision, alivepdf, ascollada id.app - this has several folders in it all ending with .lproj extenstion like en.lproj, fr.lproj and one swf file. Are these language foldrs?There is also a css, fonts, resources and js folders; I kind of get what these are. So, are all these folders generated when you start new cs3 project?
View 2 Replies
May 20, 2010
I got a webpage with a main swf.
That main swf is trying to load language files xml files and other swfs in other folders...
I got the error code that the source path can not be found... I have checked this and it is the correct source path because if I run the single swf that doesnt work from its specific folder than it is all fine. but the swf and its connected xml files doesnt work from another folder.
However if I move all the files to one folder and change the source paths then it works... I can not divide the languages into different folders and then load these files from the main swf...
How can I load different swfs with connected xmls from different folders without source paths problems?
View 7 Replies
Jul 20, 2010
I was wondering if there is a way to store actionscript files which are the codes for classes into folders?Having 20+ AS files in one folder just seems to make things messy
View 5 Replies
Aug 5, 2010
Is it possible to import at once all the classes from my subfolders which share the same folder? For example, in folder A there's subfolder A1, A2, A3, A4...A10, in each of these subfolders there's a class, and I want to import all of them without typing:
import A.A1.*
import A.A2.*
View 2 Replies
Jul 24, 2011
Does anybody know how to organize .as files into folders?
Using Flash's publish settings, I can designate the .fla, .SWF, and document class to be in separate directories. That's great, but I'd like further organize my .as files into sub-directories within the folder for source code.
View 5 Replies
Oct 1, 2009
I want to create folders inside of VOD that I can use to store FLV in and them stream them to webpage.When I do this the webpage displays a white screen.It doesn't seem to find the FLV.
View 12 Replies
Aug 31, 2010
I have a FMS set up and when I do a normal video stream I use an address like [URL] So I want to make it so that I can stream from sub folders in the VOD file like [URL] This doesnt seem to work.
View 13 Replies
Mar 24, 2011
I have a forward and back button that load several images in a sub-folder that load to a UIloader.
next_btn.addEventListener(MouseEvent.CLICK, nextImage);
function nextImage2(evtObj:MouseEvent):void{
imageNumber++;
[code].....
View 1 Replies
Jul 28, 2011
i am new to FMS4 and i am having a problem playing some files with different folders.
i have different folders in C:media3feeds
in that directory i have folder "1", "2" and "3"
other words C:media3feeds1
C:media3feeds2
C:media3feeds3
[Code]...
View 3 Replies
Feb 13, 2010
I am developing an application in flex 3 using action script 3........I have some range of ip address in LAN(wired or wireless both).....i want to check which all the systems available...and also want to see their shared folders..
View 2 Replies
May 12, 2010
I'm trying to setup my bin-debug folder so that the structure looks like this[code]...
I've tried setting the project's output folder to: bin-debug/assets/swf which does get my main.swf where I want it, but then my other source folders get dumped into that swf folder as well. What I would really like is to tell Flash Builder to put my swf into a nested folder and to be able to specify where my build folders' output goes as well. Is this at all possible without resorting to ANT scripts?
View 3 Replies