Since File API will enable access to the content of local files it is now possible to do image resize before upload (a fairly common task) without any additional technology like Flash or Silverlight. Except that I can't find any Javascript library that would be able to handle images in binary form. Is there any? Maybe there is some in Fl...
I've been trying to setup a working method for unit testing flex libraries using Flex Builder.
I have tried setting up a standard flex lib project and using Ant to compile and run the units tests. But this means that when something does go wrong and I want to use the flex builder debugger I cannot do so.
So my next plan is to setup the...
I'm using Flash CS3 to build a simple drawing application. When the user clicks a button, they select a particular movieclip. After clicking elsewhere on the stage, the clip is instantiated and added to the stage at the position of the cursor. I've also added the option of being able to click on the added clip and drag it around on the s...
If I do this
stuff.addEventListener(FooEvent.NAME, function(e:FooEvent) {
dispatchEvent(e);
}
I get a runtime error saying that Event cannot be converted to FooEvent.
However, it works fine if I do:
stuff.addEventListener(FooEvent.NAME, function(e:FooEvent) {
dispatchEvent(new FooEvent(e.things));
}
Why?
...
Here is my script... all I want to do is have it continuously loop!
import fl.transitions.Tween;
import fl.transitions.easing.*;
yourwebsite_mc.visible=false;
var uptodateFadeTween=new Tween(uptodate_mc,"alpha",Strong.easeOut,0,1,3,true);
var uptodateRotateTween=new Tween(uptodate_mc,"rotation",Strong.easeOut,360,0,3,true);
var uptod...
Hi all.
I'm working on a simple carousel.
My problem appears when trying to insert node values as text in my tooltip sub-elements.
Here's my xml:
<promotions>
<promotion>
<visuel>/papyrus/8a8b8d2e26fa35b60126faf90a4d002f-20100223141718.gif</visuel>
<remise>55</remise>
<libelle>produi...
I'm new to Flash and ActionScript, but managing quite nicely. One thing that is continuously getting in my way are the width and height properties of DisplayObject(Container)s. I'm finally starting to get my head around them and learned that the width and height of a Sprite are determined solely by their contents for example.
I do not u...
How can I record and save sound in flash AS3. I have writing access to the server and also access to PHP files.
Any ideas?
...
How do I load library objects by string list using Flash and AS3? I need to understand string lists, arrays, and sprites better.
WHAT I WANT TO DO
Load enemies to stage using a string list "Orange ball, red ball, green ball etc"
EXPLANATION
The tutorials I've been given are too basic, or they are incomplete
examples that don't explain...
I have developed a Flash based chat client that displays messages posted by users belonging to a group along with their username and time of writing. The data is stored in a mysql database with the group id, user id and message so that it persists beyond chat sessions and allows users logging in at a later time to see the discussions, le...
I'm porting a cross-platform lib I use to Alchemy. One particular file has a block of code similar to this :
#if defined(WIN32)
// Do some Windows-specific stuff
#elif defined(__linux__)
// Do some linux-specific stuff
#endif
I now need to add Flash-specific code (NOP in some cases), but so far I've been unable to find what do...
I've a flash games site, and Im having a lot of difficulties to make it show in internet explorer 8.
When you are playing any flash, the arrow keys that should belong to the flash scroll the page up and down (probably left and right too). This was happening in both ie7 and ie8.
I placed the flash inside an iframe, that fixed to IE7, but...
Hi all,
I have a video that is meant to start playing when a user clicks on an image and said image opens a FancyZoom overlay. It works fine in every browser except IEs. If I place the video in a div that is not hidden (display:none actually), the video starts as expected. So it seems there is a problem with either Flash, JW Player, SWF...
I'm dynamically loading movie clips (SWFS) into attached clips (from the library). The loaded movies don't all have center points, meaning that their registration point isn't directly in its center. This poses a problem when I load them into the attached clips, because they don't center on the attached clips, which is what I want them to...
Is there a statement in AS3 that will return current class and/or scope? I'd like to use that in trace statements so that I know the exact location of a trace.
Thanks.
...
Getting a VerifyError using the TweenMax lib when calling TweenMax.to. This error doesn't seem to be specific to TweenMax (we've found other people having errors with unrelated code). Perhaps someone has some insight into what this error means and what could be causing it.
Edit
Seems like it's something to do with Anonymous functions: ...
I've done most of my code in as3, working from either document class or classes. I've never done action script from within the actions panel (within Flash cs4). My question is do I need to follow the as2 manual in order for majority of code to work ? for example. If I want to do a loop. I can't do a
addEventListener(Event.EnterFrame,lo...
I am interested in developing an application where people can draw the background to their personal homepage using a generic flash drawing program (like graffiti app on facebook.. something very simple). I have little/no experience with flash, but I assume I could simply output the drawing as an image file and have that be the background...
Is there any opensource/commercial software that converts ppt, doc, pdf, video, audio into swf format?
...
Hello,
if i made a project with flex, and i want to distribute it, what it´s the better choice? i mean, it is not internet app, just desktop demo, what about the computer where application should be executed, there is any way to pack the application togheter with the flash/AIR player, in order that everything needed will be just in the ...