i want to know the second method how to do,have any Data in this?
赵洪日
2006-11-09
发件人: Zeh Fernando
发送时间: 2006-11-08 19:44:33
收件人: Flashcoders mailing list
抄送:
主题: Re: [Flashcoders] about BitmapData.draw() crossdomain
when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the
LOL, for a second there I thought I was looking at a J2ME java class.
Are you trying to port a J2ME game? I was thinking about porting a game
I wrote and it started out looking a lot like this. Then I got busy and
forgot about it. You've inspired me to pick it up again. :)
BTW, looks
William Sanders has a nice tutorial up on Adobe's Dev Center about
creating a video player using OOP and the State Pattern.
http://www.adobe.com/devnet/flashmediaserver/articles/video_state_machine_as3.html
Also, a great book to pick up if you want to start learning OOP is Head
First Design
Hi Jim,
Don't think you can get around listening to for the event unless you
want to get into callbacks...
How's this though? Requires GDispatcher in the Model.
---
class AbstractWidget {
var localData:Array;
var provider:Model;
var build:Function; //--child
no, no.
i totally understand the difference between onMouseDown and onPress for
movieclips. i am saying only one works when placed on the root. the player
seems to ignore _root.onPress or _root.onRelease.which makes no sense to
me because it is a movieclip and the events will work when
I think the explanation stated that _root is not in fact a MovieClip
in the same sense. onMouseDown works because it fires globally in
response to the mouse, not because _root is a MovieClip.
Can I ask, why do you need to use onPress and onRelease on _root
anyway? Is there some other
Hi,
assuming that you use a relative path to the swf, then you can just
use one substring:
var baseurl:String = _root._url;
baseurl = baseurl.substr(0, baseurl.lastIndexOf(/)+1);
mcl.loadClip(baseurl+ar07ui.swf);
On 11/9/06, Hans Wichman [EMAIL PROTECTED] wrote:
ps that can be made way more
i know it doesnt make any sense to use onPress on the root because of
children, and nested mc's, its just something i ran into today. i was
debugging something, and i arbitrarily chose _root.onPress to fire off a
trace. when that didnt work, i figured out that _root.onPress was being
ignored.
I think he is against using this in class definitions.
On 11/9/06, Muzak [EMAIL PROTECTED] wrote:
From a person who keeps posting against the use of 'this' and who says it's
bad practice I'd expect something better than using
nested functions, especially if there's no need for it whatsoever.
Hey all,
I'm trying to use the printJob class (AS 2.0) to print a page with a
dynamically drawn chart, something like:
mc_pp = _root.createEmptyMovieClip(printbox,
this.getNextHighestDepth());
mc_pp.attachMovie(printPage+i, printPage, 100, {_x:-1000,
_y:-1000});
//
Is it possible to for a class to extend another class as well as
implement an interface? What I want to do is something like this:
ITheInterface {
// etc.
}
ClassA implements ITheInterface extends MovieClip {
// etc.
}
ClassB implements ITheInterface extends MovieClip {
101 - 111 of 111 matches
Mail list logo