Hi.
I use Sound class to load a mp3 file.
Code:
var _url:URLRequest = new URLRequest(...);
var _mp3:Sound = new Sound();
_mp3.load(_url);
_mp3.addEventListener(Event.COMPLETE, onLoad);
var _soundChannel:SoundChannel;
...
private function onLoad(event:Event):void
{
_soundChannel
Hi.
I create an instance of Loader class. Then use it to load a png file.
However, I cannot change the loader's width and height.
Code:
var _url:URLRequest = new URLRequest(a.png);
var _loader:Loader = new Loader();
_loader.load(_url);
this.addChild(_loader);
If I just type the code above,
Of mouhong.lin
Sent: Saturday, April 05, 2008 10:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Why MouseEvent.Click Event doesn't work
Hi, I'm a Flex beginner.
Here I want a shape(_shape) to move while I'm clicking another
shape(_goRight).
ActionScript Code:
public
Hi, I'm a Flex beginner.
Here I want a shape(_shape) to move while I'm clicking another
shape(_goRight).
ActionScript Code:
public class Move extends Sprite
{
private var _goLeft:Shape;
private var _goRight:Shape;
private var _shape:Shape;
private var
4 matches
Mail list logo