you dont 'delay' the return function, just consider that each invocation
of the function can pass back a result to the calling function
the idea is something like this (its not tested code, but hopefully will
give you a starting point...)
also, it assumes that each node has only one child,
Will you only be creating one type of object? or multiple types?
If its just one, then myFactory.getDrag() can create and return the
object..but im guessing thats not the case or you wouldnt be asking :)
so, you could return a string of the full class name (including its
package) and
not sure, case sensitivity ? work on windows, deploy to linux?
Kaloudis Stathis wrote:
Please guys, any ideas??
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
if you are writing the url, the make sure that the html passes in a
variable to the flash movie.
if the variable isnt set then you know you have been accessed directly.
martin
On 11/14/05, Paul Steven [EMAIL PROTECTED] wrote:
Is it possible to detect if a swf is being viewed in a html /
if they are already literate in other programming languages, this might help
http://www.timotheegroleau.com/Flash/articles/scope_chain.htm
particularly the section about 'this', which we all know has a great
potential to cause confusion. :)
its a long article, but is quite enlightening about
that still wont work because you are dispatching the event before you
bind the function as the handler.
what are you trying to achieve (apart from getting the event to fire), i
know this is just an example, but it seems a bit strange.
anyway, you cant call init in the constructor to dispatch
this is a bug in the current public build of ASDT, it doesnt handle
keywords in string literals properly.
Its fixed in CVS, but I dont expect you to build it :)
There will be a new release *sometime soon* if you dont want to build
from CVS.
thanks,
Martin
Steve Warren wrote:
Hey folks,
thats easy for you to say.
[EMAIL PROTECTED] wrote:
Äú·¢¸øÎÒµÄÐżþÒѾÊÕµ½¡£
ÍøÒ×163ÓÊÏä--רҵµç×ÓÓʾ֣¬2000M³¬´ó¿Õ¼ä£¬Ö§³Ö³¬´ó¸½¼þ£¬È«¹úΨһ24Сʱ¿Í»§·þÎñ¡£
»¶ÓÄúÀ´×¢²áʹÓá£ÍøÒ×126ÓÊÏ䣺http://www.126.com
--
want to know what i think?
no, once its loaded in the mc is the image.
you can always use another mc as a container if you require it.
martin
Lehr, Theodore M. wrote:
Is there anyway to resize an image imported via loadMovie - not resizing
the mc it is loaded into - but the image itself?
my favourite topic and my favourite links :
http://osflash.org/flashcoders/as2
at the bottom theres a link to this page
http://www.dynamicflash.co.uk/2005/02/delegate-class-refined/
from which you can find this implementation
http://dynamicflash.com/classes/Delegate.as
enjoy.
:)
martin
look at MovieClip.loadMovie();
despite its name it can load images.
:)
martin
Lehr, Theodore M. wrote:
How can I dynamically load images? So when I want to have more images in
the movie I just need to put them in the right folder instead of
updating the movie.
ah, i think i missed your point.
do what Tom said.
:)
Martin Wood wrote:
look at MovieClip.loadMovie();
despite its name it can load images.
:)
martin
Lehr, Theodore M. wrote:
How can I dynamically load images? So when I want to have more images in
the movie I just need to put them
alternatively you could just have a setClip method defined in IMapHolder
and implemented in the two classes. Then keep a reference to the clip as
a member variable and work with that instead of subclassing movieclip.
martin
Liam Morley wrote:
I'm working in FlashPro8. I have an empty movie
8ball Developer wrote:
Hi guys,
I'm giving a presentation on using flash for an application in a few hours
and would like to have a firm answer on the following items.
1. Can flash play audio streamed from Helix (Real Server)?
flash streams mp3. thats all. (why it doesnt do ogg, i dont
8ball Developer wrote:
1. Can flash play audio streamed from Helix (Real Server)?
flash streams mp3. thats all. (why it doesnt do ogg, i dont know.. :)
Sorry. I meant to say: can a flash player, play mp3 streamed from Helix? Or
does it have to come From Flash comm?
no, it can come from
about this? Is this documented someplace?
I'm trying to get them to replace Helix with FCS.
On 11/2/05, Martin Wood [EMAIL PROTECTED] wrote:
8ball Developer wrote:
1. Can flash play audio streamed from Helix (Real Server)?
flash streams mp3. thats all. (why it doesnt do ogg, i dont know
Its a known issue, which is fixed in the CVS build.
unfortunately if you point the current version at an existing directory
for a new project, it decides to forcibly delete the contents.
sounds like you discovered that bug.
the fix has been in cvs for a while now, so its probably time we got
i'll combine my answer to jesse with a response to this as well, because
they cover some of the same ground..hope you dont mind.
why choose open source vs flexbuilder 2 ?
because
A: its open source, if it doesnt do what i want, there is always the
possibility to change that
B: it would
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Martin Wood
Sent: Tuesday, November 01, 2005 3:22 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Circle, rotation to ?
but you'll need some trigonometry to work out the rotation angle from
be worth it. The Tween class seems to
only want to += until it gets to the desired rotation - which is
understandable. But sometimes we need tighter control ;)
e.dolecki
On Nov 1, 2005, at 4:16 PM, Martin Wood wrote:
well, what you need to do is work out the shortest route to the angle
you
maybe it would be best to do the profiling using the code that is being
performed, otherwise your results may be unreliable.
i dont know if thats possible in your case, but you could start from the
bottom and work up.
run a few loops of the doSomethingEasy() and see how fast its running,
if
The person who gave me the brief said something along the lines of Sure
Flash can talk straight to a database! All you need to do is set the
connection string or something! I hitherto hadn't realised this was
possible - I've always thought you used loadVariables to call an (in my
experience) ASP
anyway.
So, I'm with ryanm on this one ;-)
regards,
Muzak
- Original Message -
From: Martin Wood [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, October 28, 2005 11:03 PM
Subject: Re: [Flashcoders] Newbie AS3 question
ryanm wrote:
What I
If you come along maintain someone's code 6 months from now and you find a
complex method of 200 lines of so, it's useful to have the this prefix to
distinguish between variables that are local to the function and those that
are available to the instance.
true, but i would also immediately
Stan Vassilev wrote:
If you run this offline, make sure this file you test is in the trusted
list. You gotta go to the advanced flash panel hosted on
macromedia.com to do this.
but surely therein lies a paradox.
if i want to run it offline, you must first go online?
you can also combine that with some curve smoothing
Once you have 3 points you can calculate the angle between the first and
the third and use a tolerance (some call it the 'breaking angle') to
determine if the middle point can be removed from the data set.
so one idea could be to use 1
101 - 126 of 126 matches
Mail list logo