Hi! A good friend recommended this site to me, it looks really useful! I'm a bit of a shameless noob at actionscript and after 3 days of tutorials and advice I've hit a brick wall.
I've managed to get a sensor attached to an arduino talking to flash using something called AS3glue. it works, when i set up a trace("leaf") for the contitio...
I have a MovieClip symbol created with flash in a fla file library. There is a textfield in frame one of this movieclip's timeline . There is another frame in the movieclip timeline. There is a custon class definition for this symbol. It is a flipping card in a memory game.
I access the textfield by going to frame 2 (gotoAndStop(2)) and...
I'm trying to do initial caps in actionScript with no loops but now i'm stuck. I wanted to select the first letter or every word then apply uppercase on that letter. Well I got the selection part right, but at a dead end right now, any ideas? I was trying to do this with out loops and cutting up strings.
//replaces with x cant figure o...
I'm writing all sorts of multi lingual text to .txt files using AIR's
fileStream.writeUTFBytes()
For english characters everything works perfectly. But as soon as there are chinese, arabic or any other non-english characters the sentences are totally messed up.
For example:
对着大叔摄影师的确没爱....
becomes
ÂØπÁùħßÂèîÊëÑÂΩ±Â∏àÁöÑÁ°ÆÊ≤°Áà...
I am loading JPEGs into a Flash presentation using load with a flash.display.Loader and it's working great. The JPEGs are sizing to their native resolution (which is perfect). However, if I maximize the Flash presentation (in the Flash Player), the JPGs do NOT take advantage of the bigger screen.
For example, the presentation is 1024x76...
In Flex3, I could compile pure as3 code and use "embed" tags to load in images. This was done by Flex making a BitmapAsset class.
I can still do this in Flex4.
However, there was a trick to fakeout flex3 and use my own mx.core.BitmapAsset class to remove some of the extraneous stuff Flex's BitmapAsset brings in with it. This is descr...
If I have a pure as3 project that I have been compiling with flex3 from mxmlc, is there any reason to switch to using the mxmlc with flex4?
I can use all of the flash 10 language features like Vector, 3D, etc., so that is not a reason to switch (or is there something I can't do?).
But maybe there is a performance boost? Or is it the e...
I'm currently developing flash chat for social networking websites like facebook. Actually i want to develope flash chat in this game. Chat would have a lot of instant active users. So that, i need to know which flash servers i should use, is there any free ones that are pretty good for such high performance needs?
I've found ElectroSer...
as i currently understand, if an event listener is added to an object with useWeakReference set to true, then it is eligible for garbage collection and will be removed if and when the garbage collection does a sweep.
public function myCustomSpriteClass() //constructor
{
this.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownList...
Hi,
I need to comunicate with a webservice (WCF) from actionscript 3 (not Flex). I've been searching the Internet a lot and found http://flashauthoring.blogspot.com/2008/10/using-flex-webservice-component-in.html, but it works only in Flash Professional and I'm using Flash Builder 4 to compile the project. code.google.com/p/as3webservic...
hi,
I have a syntax problem using Actionscript. Can I create new objects from inside an ArrayColletion ?
var tagsList:TagsListModel = new TagsListModel(new ArrayCollection([
{new TagModel("News", 36, yearPopularity, false, true)},
{new TagModel("Information", 18, yearPopularity, false, true)}
]);
This is the error I get:
1...
Event.DISPLAYING
Why this event wont work when i try to compile the flashe (CTRL+ENTER)
Flash gives me error
1119: Access of possibly undefined property DISPLAYING through a reference with static type Class.
...
Is there an open source AS lib can be used for mind-map-like application?
...
Hi,
Is it feasible to play a number of FLV files at the same time on one SWF? Basically I have a brief to create a video banner with a number of FLVs of people playing at the same time but starting at different points in the videos. My concerns are with loading times, memory consumption and the starting of each FLV at a different point ...
Hello All,
I am looking for open source tools to do Actionscript3 web development. (Web Sites)
I know about the existence of tools such as Eclipse+plugins and Flash Develop for the coding but I am most concerned about the graphics part.
Is there any tool out there to create SWFs with all the graphics for animate with AS3 later?
And bes...
I am an absolute beginner when it comes to ActionScript and Flash.
I am really a .NET developer.
I have been asked to modify a flash application that runs on Windows.
Currently it uses hard coded paths. My customer wants it to use the windows document folder for the current user.
Does ActionScript have a method to get the documents folde...
Hi,
I'm having some problems figuring out how to organise data pulled off XML in cells within a container. I'm sure this should be a basic thing in AS3, but my head's fried.. can anyone help?
Basically an array if fed to callThumbs() which iterates through it and compares the entries with preloaded XML _my_images. If match is found, it...
Hello,
Let say I have a BitmapData with different pixels representing an object, and some black pixels around it that I want to remove.
I would like to obtain a new BitmapData, with width and height of the object represented by non-black pixels.
For example, let say I have a BitmapData 400x400px, but the object represented by non-blac...
What's the best way to organize functionality modules in a flex project? I saw some people put all modules in one view stack ,and so the application interface is only load once, but when the application get larger, the whole compiled swf would be very big. If we put swfs in different pages, we pass request parameters through HTTP request...
I've been trying to learn Action Script 3 the past few weeks, making tiny interactive games to learn the basics. I stumble upon a problem every now and then but most of the times google helps me out.
But this problem has got me stuck so please help:
The main stage contains two objects(movieclips), the player and a wall.
The player has ...