ActionScript 3.0 :: Gaia Framework Worth Learning?
Dec 7, 2011I've been learning greensock and I find it helpful now when studying greensock I've been introduced to Gaia does anyone here have an opinion on Gaia?
View 3 RepliesI've been learning greensock and I find it helpful now when studying greensock I've been introduced to Gaia does anyone here have an opinion on Gaia?
View 3 RepliesWhich framework is the best one to execute Website projects? I was researching around Flash website blogs and articles talking about the great advantage at daily production with these frameworks.In my case i'm used to get basic/intermediate projects that consists in Animations, Transitions between swf pages and at the most important point: liquid layouts.Gaia Framework seems to help a lot at organization and singular work time reduction spent.
View 4 RepliesI'm a total noob to Flash, and I'm learning it because I want to make a website design that looks like this.
That's coming from a separate external .fla file not inside my Gaia project. I currently have a Gaia 3.2.6/FP10/AS3 project with Timeline animation that I just made up today.The problem is that when I copy and paste those graphic symbols (not the background), into the 1st frame of my home.swf of my Gaia project, the preloader freezes at 50% on the home page.
When I remove the forms from my seperate external .fla file, then copy and paste them into the 1st frame of my Gaia project, the preloader freezes at 100%.When I draw a square onto the first frame of home.swf, the page loads normally.
How can I set custom path to prealod.swf in gaia framework? I need this because the index.html file generated by gaia and all the swfs are located in different directories. I have set full path to all the swf files but preload.swf because I can't find the appropriate parameter anywhere. Now I get 404 error message for preload.swf in consolo.
View 1 RepliesDoes anyone know how to insert flashxml component to pages created by gaia framework? When I insert it, it show:
VerifyError: Error #1053: Illegal override of insert in com.greensock.TimelineLite.
ReferenceError: Error #1065: Variable MultiRow3DGallery is not defined.
ReferenceError: Error #1065: Variable MyWorksPage is not defined.
Sorry if this has been discussed somewhere else on stackoverflow (I could not find it), or if it is not a "programming" question (more like a discussion). Is it good to avoid using an IDE (Flash Builder, Visual Studio...) while first learning a new framework or language?
[Code]...
I have a small RIA that I built as a learning/make-my-life-easier project that uses Flex and ASP.Net. Currently, my architecture utilizes straight HTTP posts and the server responds with xml. I posted another question about security in my web app and some people mentioned SOAP. SOAP is something I've never actually used and I was wondering what the pros/cons were to using SOAP over my current architecture and then subsequently, how much work is require to convert such an application to utilize SOAP.
View 2 RepliesIn the game I am creating, I don't want to import the images directly to flash, otherwise the game will be well over 10MB and that is not a good thingamajiggy So, I am loading them in from a folder residing in the same directory as the SWF.Question - Even if a 56k user plays the game, they shouldn't have a problem receiving the files pretty quickly, considering the image folder with the 8MB+ images is in the same directory, right?
View 4 RepliesI'm building a flash site (with Flash CS4 and AS3) inside of the Gaia framework.I want to let my visitors toggle between Exact_Fit and No_scale, and I've attached the following code to be triggered by the toggle button.
function toggleExactFit(event:MouseEvent):voi trace ("Here in toggleExactFit to change StageScaleMode") if (stage.scaleMode == StageScaleMode.NO_SCALE)
[code].....
I used Gaia framework to build a self-scrolling slideshow. There are only 4 pages in all, but I have realized to my dismay that each of these pages are requested over and over from the server. If you leave the page open and the animation goes by itself, that can clobber our server.
What can I do to prevent this? I wonder if there is a way of writing a URLRequest so the pragma header can tell the browser to use the swf from its cache rather than requesting it again?
Note that I am not using SWFaddress so the requests are going to the same URI.
I am building a portfolio site, and I want my content to occupy all the browser window. [URL] I know GAIA have the ability to do this but I don't know how to use it, and the more I look to it, the more I think it will be overkill to use on my project. I want my background to occupy 100% of the browser window and have the content to be centered. Is there a much simpler way to do that without having to do it in a framework?
View 2 RepliesI got a background asset loaded then I want to add a textField above that asset. How do I do this. It sets behind. And I can�t figure out how to override the IDisplay class.
View 0 RepliesI'm about to start on a side-scrolling game which will involve around 10 different characters the play could choose from and probably about 20 different enemies. Each of these will have slightly different graphics, movement speeds, attack rates, etc. but I'm wondering how to manage it. The way I see it there's two options: Have a general classes "Player" and "Enemy" with a setter method for the exact character which could set a bunch of class variables like speed, max health, etc.. Most of the code would be the same but I'd need a lot of "if" statements in some places (ranged attack vs. sword, etc.).Have a whole bunch of classes "Goblin", "Scarecrow", "Skeleton", etc. that inherit from "Player" or "Enemy". All the stats could be hard coded in individual classes, no need to perform multiple checks on which character it is, but there will inevitably be some code repetition.
I'm bearing in mind that I'll have to reference these regularly. For example, each "Player" will probably have a "target" class variable to track who it's moving towards/attacking. If I strongly type this as "Enemy" and then set it to an instance of "Goblin", for example, will it be cast to "Enemy"? Is that a bad thing performance wise? What about using Vector.<Enemy> for tracking objects on screen? I'm guessing I'll have the same casting issue if the actual objects I push there are instances of Player's sub-classes. Will it negatively impact performance to have ~30 extra classes if I go with option 2?
I've been Actionscripting for quite a while now, and a lot of the sources I see and books I read talk about something called XML. I understand that its a formatting language used to communicated with servers, and the syntax looks like html.
I have a few books on AS, but I don't really get the XML stuff. Is the idea that I use an XML segment of code in my Flash to import in a document to flash at runtime? Or is it that I can load variables from an external document? I don't have my own server but I do have the ability to upload files to servers, so I could probably make a file that can communicate with an SWF, and I'm told XML is the way...
So does anyone know a good way to learn about XML, and what is actually is and can do?
I have made a script, and now has come the point when I need to use removechild. Whenever I try this I get an error. After looking at the problem, I think I need to learn more about scope and packages. I think if I put everything in the correct scope, I will be able to use the removechild command. I tried to make all my vars public, so that removechild would work, however I got an error that anything public needs to be in a package. I tried to add the package part to my script, but got the error that packages cant be nested. I tried some other things and still no luck, just more errors.
So, if anyone could point me to a tutorial, or recommend a book or something, that will help teach me about scope and packages, Or if you are feeling patient and generous, and you think you could explain this problem to a 5 year old, please explain it to me the way you would to said 5 year old. If you maybe think you can help me out on the script, it can be found here: [URL]
I'm trying to learn how to use flash, and there's only so much I can learn on my own. I looked up some books on various websites, but I don't know which would be the "best" to use for someone completely new to the program.
View 2 RepliesI've gotten far on my own just using online tutorials and dinking around in Flash on my own but my boss(es) are starting to ask for more complex stuff that I simply can't learn by just piecing together my Flash education.I know there's many, many books out there that will teach you Flash but can anyone recommend any particular one(s) that are more concentrated in creating Web elements as opposed to game or animation development?
View 2 RepliesI have created a Flash file with 4 "Fill in the Blank" questions (from the Learning Interactions continued within Flash CS3) at the end. I'm then using the swf file in two different ways. One way simply loads the swf file onto a 'stand-alone' page on my website and it works perfectly.The other way I want to use it is integrated into a more complicated website where I have a Flash File into which various swf files are loaded when needed. In this version the "Control Button" doesn't change to "Check Answer" and "Reset" as it should and the whole question doesn't work. The working version is at url..Select "4 For You to Try" to go directly to Quiz Questions.The non-working version is at url...Go to "Extras" in Menu and select Naming Alkane Isomers, then "4 For You to Try" again.
View 7 RepliesAny pointers where i could start learning flash programming. Also i would be really grateful if you could point me to place where i could get free templates for the programming
View 2 RepliesWhat would be a good resource for an experienced programmer to learn Flash?Consider a very seasoned programmer that doesn't require any teaching of programming concepts and that already programmed Javascript. Someone who never created a Flash file, or even know what Flex is. Someone who could probably learn ActionScript in a day but still needs to learn how to apply it.
View 2 RepliesCan i learn Flex without learning ActionScript 3?
View 4 RepliesI am trying to learn flex4 from adobe document and I am very confused while using three namespaces.. there is no way i can keep track of when to use what often ending up using fx inside mx or s or similarly making some stupid goofed up combinations of {fx,mx,s}.
Adobe document is huge and i am looking for some good starting point for learning flex .
I need to learn ActionScript. I have no basic knowledge on ActionScript. Can I directly start learning ActionScript3 or I have to start with ActionScript1.
View 3 RepliesI have been learning about classes and oop programming with AS2. I think I have a very good idea of how it all works, but I'm lacking in one final area before I can truly say I'm coding in OOP.Currently, I use a contentmanager class to route all button commands through. This class handles the removal and preperation of the stage for content change, and then seperate classes handle the actual loading and placement of the new content.So in a way, its not really OOP, just very well organized code.
The next step is Event Management in AS2. I know it can be done, I read through a few tutorials, but get confused by it all.What I'm looking for now is two things.. a very good Event Management tutorial or article if anyone knows of any..as well as a sample site that can be downloaded or viewed which has been written using OOP. I want this sample site, to re-evaluate how my current way of programming holds up compared to more proffessional examples...
(Perhaps even we can turn this into a hot thread with examples of code and structures to help other developers trying to gain a grip on OOP..?)
I'm trying to learn loops, and I want to make this code functional,IE i want the ten clips to appear..How would I do this?
[Code]...
Good books for learning as3.. I'm a beginner in action scripting but i'm quite enthusiastic about it.
View 1 RepliesI have been in the print world for a while and flash has changed quite a bit. I am interested in learning about rich media and expandable banner ads.
View 4 RepliesI am just starting to get comfortable using as3 to create e-learning applications. I have this xml file that has a list of swf files that gets called(loaded) into a holder_mc when the user clicks on the forward btn or the back btn. Pretty simple...and it is working nicely at the moment.
I also have another loaded swf that has a menu which contains linkages to 8 chapters. Basically, when the user clicks on a link in the menu it takes them to a specific location in the course.
Here is the issue: example: let's say the user is on page 4, in the course, and decides to click on the menu and jump to page 28. After jumping to page 28, if the user clicks the forward button, the application takes them to page 5, instead of page 29. So, how do i write a script, and/or change the xml file so that the "forward" btn takes the user to page 29, instead of page 5? I think some kind of reset function needs to happen either in the as3 script or the xml file, but i'm not sure how to do that.
Here is the xml file sample:(this is a short sample of the xml file)
<course>
<page>
<file>welcome.swf</file>
</page>
[Code].....
i have been learning ActionScript for 7 or 8 days now. It's been a easy journey.
I'm curious, what is the hardest topic when you learning ActionScript ?
When i'm learning C++, pointer is a brain buster. What is the hardest topic for ActionScript ?
I want to create a subtitle for ourself language from lynda video training.(my language is persian)But it's very difficult work... I need somebody for create subtitle in english language... and this work very easier make subtitle to every language.let trying to create subtitle for this video ActionScript 3.0 in Flash Professional CS5 Essential Training
View 1 Replies