Animation Be Created In Flex?
Feb 1, 2011Can animation be created in Flex without using Flash at all?
View 2 RepliesCan animation be created in Flex without using Flash at all?
View 2 Repliesim trying to do is have a button that shows an animation (created by a duplicateMovieClip function) with onRollOver and stops the animation with onRollOut. It works when i roll over and it stops when i roll out, but then it continues in a loop up to the point where i rolled out (instead of cutting off completely as i would like). Id be extremely grateful if you could tell me where im going wrong.
View 2 RepliesCreating Animations Using the AS3 Tween Class:[URL].. I have three textboxes and I need them to fly in at different times, not all at once.
From the tutorial I get that I should create a tween, then instantly stop it. I would like to know how to count seconds or frames before resuming the animation.
I created a dropdown menu by using a mask over animation. When you rollover the correct button a mask lowers down showing the dropdown buttons. then you can roll over each one showing a small tint animation. I wrote a script on that layer telling it to gotoAndPlay(21) when you click any one of the buttons. however whenever I click on one of the dropdown menu Items nothing happens. Is this because of the stop action I have at that frame?? and if so How do I get around that.
View 2 RepliesI'm currently making my own 2D shoot' em up and I've created a simple enemy spawn state machine which allows the game to automatically keep spawning/creating new enemies on the stage. Before I had this spawn loop machine/code set up, I had only one single enemy which was already on the stage to test the gameplay of my game and the enemy as set up tween object using tween animation. I'm wondering if its possible to add/able tween animation on all new created enemies as appear on the stage giving them movement/ai? This is possible? I've experimented with some code, I'm failed to succeed withs such functionality, I just wondering where I am going wrong or if anyone knew of any alternatives to my approach?
[Code]...
I'm trying to use 9-slice to animate a natively created flash movieclip. It's a rounded-corner box, with a little speech-bubble pointy thing jutting out of the bottom left corner. I have 9-slice enabled, and the slices have been repositioned close to the corners. When I distort/grow the MC on the flash stage, it's fine... but as soon as I try to animate the growth, it gets all wonky?
If I use the newer Motion tween style, it's messed up all the way through except for the first frame? And if I use a traditional tween, with the proper small box start frame, and modified/grown end frame... it will look right for the first and last frame of the animation, but its as if the 9-slice isn't working during the tween? I've inserted a series of screen caps to illustrate the traditional tween issue.
I'm looking to create an animation where a structure created with the bone tool follows my mouse around the stage.
I've tried startDrag but it breaks the bone structure apart.
I made an animation in Flash which I want to embed in Flex using SWFloader.
I've imported the tweener class (caurina.transitions.*) to tween a rotation. The animation runs perfectly in Flash.
However, when I embed the animation in Flex, the tweening is gone.
Do I need to import the tweener class in Flex?
I use Flash Player 10 (latest version), Flash CS4 Professional version 10.0.02, IE8 and Flex Builder 3.
I created a motion preset of a 3D text animation that made the text swing back and forth like a gate with the hinge on the far left side. However, when I apply the motion preset to other text, the text moves to a new location and the text swings closer to the center than the far left side. Moving the text only creates a travel path that further complicates matters.
what am I doing wrong with the motion preset? How can I save something into a preset and apply it to other things and have the animation work the way it was designed?
I work on a Flex application that creates compressed files and uploads them on a server. The files are created with ByteArray.compress method, which is zlib compression. I can decompress them using Python API on the server but I prefer to keep the files compressed there. I want to be able to download and decompress the files later, however WinZip and WinRar fail to decompress them. When I google for zlib utility, I only find zlib dll library. I need a simple application for Windows (and/or Linux)
View 1 RepliesI have a Flex module created in Flash Builder 4 as a swf file. I am trying to load and run in within a Flash application. I can get the module loaded but I can not get the flash application to access any module functions. Here is how I load the module in Flash and the error I get. If I change the module to an application type swf then it loads and runs but now I have two applications on top of each other. I would like the loaded module swf to be able to have access the Flash stage object.
ReferenceError: Error #1069: Property application not found on MyModule__mx_core_FlexModuleFactory and there is no default value.
var loader:Loader = new Loader();
[code].....
I have a movieclip that shows an animation onRollOver and an animation on RollOut but onRelease the animation enlarge itselfs but now when I'll roll out when the animation isn't open (so i didn't release) the animation plays the animation for the minimizing of the animation. Here's my code (I know its a bit amateuristic but I'm not a programmer )
[Code]....
I have only one question but phrased it 3 ways:
1) Is it better to pre=render things say in photoshop or have flash render them?
2) if I have a field of stars that drift along; is it better to create that Star Field in photoshop as a single picture (say a .png) or to create a star in my library and add it to a movie clip and then have that drift along?
Lets say I have a blur effect on my stars and have an equivalent on the photoshop.
3) I have heard (and experienced) adding effects like blur takes a fair amount of CPU and memory so was wondering if I created the effect in photoshop and then imported the 'blurred' object into my flash if I could cut down on system resources?
Is it possible to create a display object in AS and take a screenshot of it as ByteArray or whatever without adding it to stage?
View 1 RepliesHow can I refresh view after a certain event? I have a view which contains multiple groups. I want to show or hide some groups. onCreationComplete() or initialize() method works only at the beginning of the view creation.
View 2 RepliesWe are creating an ios app, In which we want to use certain interactive functionality which is created in flex. Though flex 4.5 does gives an option to create an ipa file and lauch it in app store as a app. But we want only a certain functionality in flex and want to develop other functionality using Objective C only. Is that possible? Can we use a module developed in flex inside an objective C app?
I have searched and found out that we can make .ane packages through flex. These packages use .a file to access the native ios functionality. To know about Adobe Native extensions (ane) click here
To see the sample provided by adobe click here. All I want to know is Can we include this ane in ios app, being developed using objective C using xcode 4? Is there any way I can use a module developed in flex under my cocoa app?
I didn't create that Timer... so this is problably a component I have addedUnfortunately it will be difficult to remove all compenents until if find the "one" ..Yes I should have notice the CPU usage sooner !and yes I will do that if I don't find another solutionI am of course using some components without having their sources...My questions :* How can I find the guilty component ?* I tried to find it using Kap Inspector without success ...any tips for Kap inspector ?
View 2 RepliesIs there a easy way to figure out consistently when a Dialog closes that has been created through PopUpManager. I would have suspected some type of message or callback mechanism, but there does not seem to be. In one case I use the WindowTitle component and event that only fires the CLOSE if someone presses the close and give no message when the dialog actually closes.
View 2 RepliesI created a canvas in a function, and in his function I have a CLICK eventlistener. On the click I want to manipulate what's inside the canvas. Will referencing the canvas using the Dictionary class work?
View 1 RepliesI have an issue in flex which is causing a bit of a headache!
I am adding objects to an ArrayCollection but in doing so, another ArrayCollection is also picking up these changes even though there is no binding occurring.
I can see from the debug that the two ACs have the same address but for the life of me can't figure out why.
I have two Array Collections:
model.index.rows //The main array collection
model.index.holdRows //The array collection that imitates the above
This phantom data binding occurs only for the first iteration in the loop and for all others it will just write it the once.
The reason this is proving troublesome is that it creates duplicate entries in my datagrid.
public override function handleMessage(message:IMessage):void
{
super.handleMessage(message);
[Code]....
I created a Button in MXMXL. On button click, I create a Menu as a child of the Button. I am using an XML datasource. The reason for creating it this way, was due to the amount of custom skinning involved. A popupmenubutton was not an option. Anyway, so my question is this: when clicking the button, the menu is displayed. However, if you click the button again, the menu reopens. I want the menu to close if the user clicks the button a second time. Now, I got it to work by setting a var after opening the menu, and then I check that var on each click to make sure that the menu isn't already open. If true, then it will close the menu, instead of reopening it. This works, until the user clicks away, in which the HIDE event gets dispatched and the menu closes. My hack no longer works.
View 1 RepliesIs there a way to get TweenMax to tween the filters of an DisplayObject where The filters are added in the Flash IDE.
I want to Tween between two states and it would be nice if I could do it without creating the two states with bitmaps and tween between them. One state with the filters and one without the filters. [code]...
I'm new to Flash Builder 4 and Actionscript 3 (actually, to programming as a whole beyond some very simplistic stuff). I have watched / read a bunch of tutorials, and started a project but now seem to have hit a wall. The answer is most likely simple, but seems to be alluding me.
How do I (or What approach should I take) to control visual elements, for instance, BorderContainer's, that I created dynamically?
As is, I have an Application containing a BorderContainer and a DataGrid. At runtime, 3 new BorderContainers (which are dragable, and resizeable) are created based on XML data that contains X & Y co-ordinates, and Height and Width values, and then added to the pre-existing BorderContainer. How would I go about getting the properties of these children BorderContainers to be displayed and remain up-to-date in the DataGrid (such as when they are moved/resized)?
I need to show htmlText in custom tooltip created by TooltipManager.Below is the code.
myToolTip = ToolTipManager.createToolTip(text, pt.x, pt.y, "errorTipAbove") as ToolTip;
myToolTip.setStyle("borderColor", "#FAF8CC");
myToolTip.setStyle("color", "black");
[code].....
I created a SkinnableContainer runtime because I want to set some style properties to it, then based on some external data I need to create a new SkinnableContainer and add it as children of the first one. This children height can be greater than the parent container.How can I create a SkinnableContainer runtime with some scrollbars?I read in the documentation that I need] to create a new Skin. [code
View 1 RepliesI am dynamically creating panels based on information i get from an XML file but i'm having a problem with adding buttons to these panels. These buttoms are also created based on information taken from the XML file. The problem seems to be in the way i give the panels an Id name.[code]...
View 1 RepliesHow I can change frame of dynamically created swfloader in Flash Builder 4.5?
View 1 RepliesI have an application which manipulates high resolution images (something around 100+ megapixels), and I'm having some memory issues. When the BitmapData object is created, it allocates memory to store this image. The problem, is that I already have a ByteArray with this image's pixels (which have something around 400+ MB), so when the BitmapData is created, it allocates memory to store the same data that I have on the ByteArray. After its creation, I can set the pixels from the ByteArray to the BitmapData and free the ByteArray. But this memory peak is, sometimes, causing the runtime to raise an exception, telling that the system is out of memory. Is there any way to tell the BitmapData to use my own ByteArray? Or any other solution that I don't have to use double the memory that I need?
View 1 RepliesI have some custom components, that derived from UIComponent. I overloaded the updateDisplayList so they have custom look. I've created a layouter that lays out these custom components, but to place them correctly, I have to know the custom componets width, height. They are created dynamically. After all of them created (creationCompleted event fired for every), i try to laying out them, but width/height property is still 0. I am also tried to add them to a canvas, before the layout process.
how to create custom UIComponent that placed dynamically, and get to know the width and height of it.
With the use of the mx_internal namespace I can set width and height (using the internal $width and $height fields), and it looks like it is working. But not so clean/good solution.
I have a SWF file I created using Adobe Flex and I cannot seem to properly embed it inside an HTML page. If I take another SWF file and use it instead, it works all the time. My SWF file is pretty big (1 MB) while the other one is tiny (25 KB). However, I can wait 5-10 minutes and the server connection is super fast and it still will never load. Is there something I need to do to the SWF to have it start up properly? My SWF almost never runs.
View 1 Replies