Jack Doyle wrote:
http://www.greensock.com/actionscript/tweenlite/
http://www.greensock.com/actionscript/PreloadAssetManager/
Good luck.
Jack, you da' man!
This is great, so many helpful people on this list! Many thanks Jack and
all...
I may be back with more questions... I love learning
Just curious if it is possible to extend/apply a sub class to a swf
which is loaded via attachMovie()?
TIA,
Cheers,
M
--
Wishlist: http://snipurl.com/vrs9
Switch: http://browsehappy.com/
BCC?: http://snipurl.com/w6f8
My: http://del.icio.us/mhulse
Hi flashcoders,
I am looking for an easy way to indicate an SWF's version on the stage
(i.e. via a textfield). I guess the easiest way would be if there was
a compiler literal like __DATE__ (indicating the time/date of
compilation) available within ActionScript. But I couldn't find any
such
We haven't found an easy way to do it - we've done it two ways:
i) Use Ant to update a textfile as part of the build process, and read
that textfile in at runtime. A good way to get a version number / date
for an entire _deployment_, rather than just for one .swf.
or
ii) Use Ant to update a
Stefan Thurnherr schrieb:
Hi flashcoders,
I am looking for an easy way to indicate an SWF's version on the stage
(i.e. via a textfield). I guess the easiest way would be if there was
a compiler literal like __DATE__ (indicating the time/date of
compilation) available within ActionScript. But I
Hello,
I learned a lot now about broadcasting events, but still haven't
achieve my initial intention, which was as follows:
I want to have a class (kind of black-box), I call MyUIObject.
Then I want to create instances of MyUIObject:
var uio:MyUIObject = new MyUIObject();
I want to have a
The set/get (former addProperty) methodology seemed to offer the
solution, but now I see, that I can implicit (not writing
uio.setSomething, but uio._something) set a value, but _something is
private and thus code completion etc. will not work.
Matthias
Quick question. Whats the fastest way to get 5 random numbers out of a
list
of X number of numbers without having any duplicates?
I like this:
function rndNumArray(max:Number, noZero:Boolean):Array{
var a:Array = new Array();
var n:Array = new
Hello :)
the _ notation is used to do the difference between private and public ...
if you create a virtual property with get/set used in private the _ notation
:
class Test
{
function Test()
{
}
/**
* Internal private value.
*/
private var _value:Number ;
public
I think the JSFL offers a great solution if you can have a command to
publish which will alter a variable __DATE__ (perhaps a counter) on the root
of the swf before calling publish document. Not sure if this is possible,
but thats how I'd think of it theoritically
Y Shouman
On 12/1/06, Michael
i'm kind of a noob, so there is probably a really simple solution i'm
overlooking. i was thinking: how would one reverse the order in which
flash is processing/placing the thumbs? or maybe instead of using my
script, there's some kind of for loop that might work?
Note that a loop like this:
function Square(){}
Square.prototype=new MovieClip();
Square.prototype.changeColorTo=function (clr:Number)
{
var tempClr:Color=new Color(this);
tempClr.setRGB(clr);
delete tempClr;
}
var linkageID_str:String=exportedClip;
//associate the linked clip with sub class
Hi to all,
I'm a web developers workinf for European Commission.
I've a problem with my Flash application: In a textfield I load a text
from a XMK file and it works well. In this text are present some links
those should start a Flash fuction().
How can I realize this linkage system?
Is it
look up asfunction
![CDATA[A HREF=asfunction:selectedLink,viewView a sample/A...
On 12/1/06, dario [EMAIL PROTECTED] wrote:
Hi to all,
I'm a web developers workinf for European Commission.
I've a problem with my Flash application: In a textfield I load a text
from a XMK file and it works
Excellent! Many many many thanks Yehia and EKA... I have not had any
luck finding examples on the www... both examples will be great for me
to learn from. :D
Thanks again!
Cheers,
Micky
--
Wishlist: http://snipurl.com/vrs9
Switch: http://browsehappy.com/
BCC?: http://snipurl.com/w6f8
You're welcome Micky
EKA,
I've been really confused by the garbage collection and how it sometimes
sits their coldly not doing the job ! I read somewhere the garbage
collection won't fire unless the application is in a still state. In an
application, that I had some interval process happening,
Hello :)
a delete in a function failed to destroy a variable ;)
My french article about this subject :
http://www.ekameleon.net/blog/index.php?2006/06/10/34--as-ssas-delete-un-peu-capricieux
Used google translator or bablefish if you want read my article in english
(sorry .. i speak english
Does this help?
for(var i=Array.length; i=0; i--){
//loop backwards
}
On 12/1/06, Scott Morgan [EMAIL PROTECTED] wrote:
You could also use the reverse method which reverse's the order of your
array:
myArray.reverse();
and then loop through it like you normally would. Six of one,
I load and unload several clips dynamically. Does anyone know how to
unload a loaded movie and its corresponding classes completely?
For instance, if I have a base swf, which I will A .
Clip A then loads clips B.
Clip A then unloads clip B
Clip A then loads clip C
Clips B
Hi James,
By default the player uses - and keeps - the first version of any
class that's loaded. Unloading a submovie won't help.
If you know which class you are trying to unload, I think you can
get rid of it in the following way (this is off the top of my head, so
try it out!)
If the class
[I'm revising and re-sending this as I'm not sure this reached the
list, and I've answered some of my own questions. -Marc]
I'm working on an all-Flash site that will use a single swf to
display many pages of information about manufactured products.
Regarding text functionality, I'm not sure
MG Does this help?
MG
MG for(var i=Array.length; i=0; i--){
MG//loop backwards
MG }
No, it doesn't help, since the first index is out of range :)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
#2: The issue is that if I use CSS rather than TextFormat, the
embedded fonts aren't accessed by Flash, so the font must reside on
the user's system, which is no good.
This is not true. I've used CSS and embedded fonts lots of times.
You should be able to find plenty of examples by Googling. A
Hello everybody!
I was just wondering... I need to display a short video clip that is
generated dynamically by the server. Now the most stupid approach would
be transmitting the movie frame-by-frame as images. Transmitting only
the differences between the frames sounds much more intelligent, kind
That's odd, it should be incrementing K from 0 and then up from there.
Have you done a trace on the value of k to see if it really is going
down instead of up?
Jason Merrill
Bank of America
Learning Organizational Effectiveness
-Original Message-
From: [EMAIL PROTECTED]
You can use the abstract factory design pattern, interface, etc.
Google it.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig
No, it doesn't help, since the first index is out of range :)
What do you mean? There's nothing wrong with the way they wrote that either -
this works for me:
myArray = [1,1,1,1,1,1,1,1];
for(var i=myArray.length; i=0; i--){
trace(i)
}
I don't think they meant the word Array literally...
Hi Wojtek,
Is pre-rendering really not an option? It'd be the simplest - take a
look at ffmpeg. I'm pretty sure that it can take a set of image files
as input and produce an output .flv.
HTH,
Ian
On 12/1/06, Wojtek Dabrowski [EMAIL PROTECTED] wrote:
Hello everybody!
I was just wondering...
Hello Ian,
Thanks for the tip, but unfortunately, pre-rendering is really not an
option. I need to render the video in response to user input, inputs
coming from a few other nodes, and the state of the server itself (e.g.
load) - basically a heap of information that I don't have earlier.
I'll
write trace(myArray[i]) instead of trace(i)
MJ What do you mean? There's nothing wrong with the way they wrote that
either - this works for me:
MJ
MJ myArray = [1,1,1,1,1,1,1,1];
MJ
MJ for(var i=myArray.length; i=0; i--){
MJ trace(i)
MJ }
MJ
MJ I don't think they meant the word Array
You're probably better off sending the commands themselves. Your
rendering algorithm may be complicated, but sending commands is almost
always going to be more efficient (and as such will probably save you
on bandwidth).
Calculating image diffs is kind of expensive, and can be pretty
complex if
Ok - then this:
myArray = [2,3,4,5,6,7,8];
for(var i=myArray.length-1; i=0; i--){
trace(myArray[i])
}
Jason Merrill
Bank of America
Learning Organizational Effectiveness
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of
Hi Andy!
The problem is, I really need to be operating more or less in real-time.
What's happening on the server is that I'm generating a lot of single
image files. Pre-rendering would be an option if I could find some
program that can take a continuous supply of image files, encode them to
some
Won't be able to put that kind of load on the clients? In general
things like this are probably better to put load on the clients than
on the server if you can. Remember, the less load you put on the
server the more it will scale. :)
If you really don't want to do the processing on the client
Hi,
Before I hit hay, I noticed loadClip() is causing my loaded swf to loose
control... I can't seem to tell the loaded clip(s) to do anything
(targMc.play(), targMc.stop(), targMc.goToFrame())... Is this normal
behavior, or am I doing things wrong (can post code later if need be)?
It
Yuck!
for(var i=myArray.length-1; i=0; i--){
trace(myArray[i])
}
Yum!
var i:Number = myArray.length;
while (i--) {
trace(i);
}
Zoom!
var i:Number = myArray.length;
while (--i -(-1)) {
trace(i);
}
___
No don't worry man about your english.
Thanks alot eka,
Yehia
On 12/1/06, eka [EMAIL PROTECTED] wrote:
Hello :)
a delete in a function failed to destroy a variable ;)
My french article about this subject :
On 12/1/06, Wojtek Dabrowski [EMAIL PROTECTED] wrote:
Hello Ian,
Thanks for the tip, but unfortunately, pre-rendering is really not an
option. I need to render the video in response to user input, inputs
coming from a few other nodes, and the state of the server itself (e.g.
load) - basically a
Hi,
where are you putting those commands? If you put them in onLoadInit it
should work:
mcl.addListener({
onLoadInit: function(target:MovieClip) {
target.stop();
}
});
On 12/2/06, Micky Hulse [EMAIL PROTECTED] wrote:
Hi,
Before I hit hay, I noticed loadClip() is causing my loaded swf to
Hi,
afaik there's no such thing.
If you want to, in the frame that you are looking for you can put a
dispatch call, eg at frame 30:
trace(frame reached);
broadcaster.dispatch({type: onFrameReached});
I made that up, there's no event by the name onFrameReached.
Even if you do that or use
Hi Jim,
Thanks so much for the reply. I'll have to double-check my tests -- I
embedded the fonts (as you suggested) in offstage textfields. Then I
designated the font face and other attributes in CSS, loaded the CSS
into a style, and attached the style to an onstage textfield (or some
such
Hi guys,
This is more of a flex question, but I think some people
might know. I'm trying to load in a skin at runtime just
as PNG data and then draw this in an extended UIComponent
which can then be used as a style for all buttons within
the app using 9 scale skinning.
I've got the png data
Not sure whether you've seen this.
http://www.flashsandy.org/
On 11/30/06, Boon Chew [EMAIL PROTECTED] wrote:
I am investigating the different ways one can implement or simulate perspective
texture mapping both using Flash 8 API (e.g. with bitmapdata) and without using
Flash 8 API (without
Micky Hulse wrote:
Just curious if my sleep deprived thinking is on the right track... if
so, how do you handle similar situation?
Well, I feel like a dolt... this whole day I have been banging my head
on keyboard trying to figure out why I could not get totalframes, or
control the
44 matches
Mail list logo