Re: [Flashcoders] Embed fonts problem

2006-09-21 Thread Matthias Dittgen

Hello Leonardo,

please try the following:
in your publishing settings dialog, enable the size report option. This will
show you your exported fonts and their names in the output window (F2).
There you should see your Arial exported. If you see there for example an
Arial 11px or the like, you should try to embed your font for animation.
Anyways, you should use the font name, you found in this report as font face
of your textfield.

Have fun,
Matthias

2006/9/19, Leonardo Sá [EMAIL PROTECTED]:


Actually im setting it via actionscript like:

instancename.text = something;

something will show up just fine if i dont use any embedded fonts. It
wont
otherwise.

Thanks for the reply!



On 9/18/06, Craig Taylor [EMAIL PROTECTED] wrote:

 Leonardo
 Type some text into the text field anything like 'text field' and it
 will then show.
 Cheers-Craig

 Leonardo Sá wrote:
  Hello all,
 
  I have set up a regular dynamic text field in flash. However, when I
  try to
  embed a font on it (which is Arial) it just wont show up. It shows no
  text
  at all where it supposed to be. When i use no embedded fonts, the text
  shows
  up fine, but anti-alias does not work. Any ideas?
 
  best regards,
 

 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
Leonardo Sá
EMBRATI - Soluções on-line
Rua Conde d'Eu 118 - Boa Vista
(81) 8822 7374
(81) 3221 2494
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] test

2006-09-21 Thread Ellen Sundh

Test

--
Ellen Sundh
Flash Developer

Great Works
. . . . . . . .  . . . . 
Mobile: +46 73 200 40 73

Office: +46 8 528 077 76
Sveavägen 66
111 34 Stockholm
 /|_
   ,'  .\
   ,--'_,'
  /   /
 (   -.  |
 | ) |
(`-.  '--.)
 `. )' Mjau..


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Object.registerClass

2006-09-21 Thread Ian Thomas

Patrick,
  Take a look at this entry in the wiki:

http://www.osflash.org/flashcoders/as2#creating_a_class_instance_based_on_movieclip_without_a_symbol_in_the_library

It's almost certainly what you're trying to do.

Cheers,
 Ian

On 9/20/06, Patrick Matte [EMAIL PROTECTED] wrote:

Flash help says that registerClass works with the attachMovie method but I
was wondering if there was any way to register a class to a MovieClip
created with the createEmptyMovieClip method.


___

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Decompiling some sketchy flash code

2006-09-21 Thread GregoryN
yes, ASV is great tool. Unbeatable leader in the industry.
Easy way to steal someone's code...

Well, apart from ASV.

Michiel, now as you've got their code, what are you going to do (just
curious)?  Send an email to shame them?  Fill a claim to the court?

From tech side, SWF is just a binary file, easily edited in hex
editor.
Thus, I think it's possible to create a server-side filter to search
3rd-party SWFs for given patterns and either replace these patterns
with safe code OR just deny for malicious files.

Have anyone seen/wrote such a tool?

  

-- 
Best regards,
 GregoryN

http://GOusable.com
Flash components development.
Usability services.

 === Michiel Nolet wrote:
 I'm in the online advertising industry and I've been trying to track down an
 squash a scam that has been hitting the industry.  There is a party out there
 (errorsafe.com) that is embedding some very nasty code in their flash ads 
 that
 depending on several factors will popup a new window and try install their 
 spyware
 using active-x.
 
 ...
 
 I am more than willing to shell $59.95 for asv, I just want to make sure
 it can extract stuff that other toosl couldn't. ...
  Could you copy paste some sample lines of more informative
 code you're finding?
 
 === Michael Stuhr wrote:
 ...
 function setswfashCookie() {
 my_date.setTime(my_date.getTime() + 43200);
 my_so.data.expires = my_date.getTime();
 my_so.swfush();
 ...


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Getting text from a specific line...

2006-09-21 Thread Michael K
I am hoping to get some help on making a text effect in the lines of the one 
on this site:


http://www.selftitled.ca/

Pick something from the green section and press the white cross.

The thing is I can doit for a single line, but I need to do it dynamically 
for a paragraph with several lines.


With max scroll and some dummy textboxes I can calcualte the number of lines 
in a paragraph. Then I make a textfield for each paragraph and set scroll so 
it all ens up looking like a paragraph but now in individual lines. My 
problem is I still cant figure out what the text is in the particular line!


Thats what I need help with...
Or other suggestions for approaching the issue.

Thanks
Michael

_
Download din yndlingsmusik på MSN Music:  http://www.msn.dk/music  - det er 
nemt og billigt


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Getting text from a specific line...

2006-09-21 Thread Adrian Ionut Beschea
just a thought... you can try to retrieve all text  in your texbox and split it 
by newline
something like : 
var test_str = my_txt.text;
lines_arr = test_str.split(newline); 

Don't know if it works, never tested it. 


- Original Message 
From: Michael Kønig [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, September 21, 2006 1:08:13 PM
Subject: [Flashcoders] Getting text from a specific line...

I am hoping to get some help on making a text effect in the lines of the one 
on this site:

http://www.selftitled.ca/

Pick something from the green section and press the white cross.

The thing is I can doit for a single line, but I need to do it dynamically 
for a paragraph with several lines.

With max scroll and some dummy textboxes I can calcualte the number of lines 
in a paragraph. Then I make a textfield for each paragraph and set scroll so 
it all ens up looking like a paragraph but now in individual lines. My 
problem is I still cant figure out what the text is in the particular line!

Thats what I need help with...
Or other suggestions for approaching the issue.

Thanks
Michael

_
Download din yndlingsmusik p MSN Music:  http://www.msn.dk/music  - det er 
nemt og billigt

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Using transform.matrix on loaded movie problem

2006-09-21 Thread Robert Sköld
I've made a little app that loads in an image from the server and using
the new transform matrix i'm modifying the image, rotation and scale
and translate... The problem is that while testing, i get a security
sandbox error like this:

*** Security Sandbox Violation ***
SecurityDomain 'http://localhost/test/getImages.php' tried to access
incompatible context
'file:///C|/Documents%20and%20Settings/Administrator/My%20Documents/Workspace/test/public/index.swf'

I've tried using System.security.allowDomain(http://localhost;); and
i've added a crossdomain.xml in localhost root... but i still get the
error.

I don't think i get it while running it in a browser from
http://localhost/test/index.swf, but the modifications i do using the
transform matrix doesn't apply, so i guess it's something wrong, and
the sandbox error makes it quite impossible to debug.

Anyone know a workaround for this? or more suggestions how to make it
stop whining about security when i'm in the ide, which should be quite
safe...?

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Close/exit browser AS event?

2006-09-21 Thread Michel Gaudette

Hi!

Do any of you know how to catch the event (in Flash/AS) when a browser 
is closed or zapped?


I think I could use the JavaScript unloadPage if it's called before the 
Flash object is zapped, but I'd prefer to use some sort of onUnload() on 
the main timeline...


Any clues?
Thanks!

Michel
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Webcam stream in Flash

2006-09-21 Thread Ellen Sundh

Hi!

I am working with a project where we want to have a live webcam stream 
in Flash. The streaming company says it is very unstable to use Flash 
com server for a longer period of time. The web cam stream will be 
actiive for 3 months.. Are there any other aletrnatives.. Someone 
mentioned you can stream Windows Media Player in Flash but I am not sure 
how. Is it possible to put the WMP in an iframe on top of Flash or 
underneath? The project will be in Flash Player 8.


Does anyone have any similar experience of a solution like this?

Thanks in advance!

--
Ellen Sundh
Flash Developer

Great Works
. . . . . . . .  . . . . 
Mobile: +46 73 200 40 73

Office: +46 8 528 077 76
Sveavägen 66
111 34 Stockholm
 /|_
   ,'  .\
   ,--'_,'
  /   /
 (   -.  |
 | ) |
(`-.  '--.)
 `. )' Mjau..


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Getting text from a specific line...

2006-09-21 Thread Merrill, Jason
Which text effect on that site are you trying to emulate?  I'm not sure which 
effect you're after.  The navigation on the right side or the text that appears 
when you click the cross?  The navigation on the right is done with individual 
movie clips that contain textfields, and all of those are in a movie clip that 
scrolls.  The text that appears when you click the cross is a textfield's 
values being overwritten and the whole container clip being tweened. At least, 
it seems that way to me, I could be wrong.  

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Michael Kønig
Sent: Thursday, September 21, 2006 6:08 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Getting text from a specific line...

I am hoping to get some help on making a text effect in the lines of the one
on this site:

http://www.selftitled.ca/

Pick something from the green section and press the white cross.

The thing is I can doit for a single line, but I need to do it dynamically
for a paragraph with several lines.

With max scroll and some dummy textboxes I can calcualte the number of lines
in a paragraph. Then I make a textfield for each paragraph and set scroll so
it all ens up looking like a paragraph but now in individual lines. My
problem is I still cant figure out what the text is in the particular line!

Thats what I need help with...
Or other suggestions for approaching the issue.

Thanks
Michael

_
Download din yndlingsmusik på MSN Music:  http://www.msn.dk/music  - det er
nemt og billigt

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Webcam stream in Flash

2006-09-21 Thread julien castelain

hi ellen,
did you check out red5? www.osflash.org/red5
have a good day




On 9/21/06, Ellen Sundh [EMAIL PROTECTED] wrote:


Hi!

I am working with a project where we want to have a live webcam stream
in Flash. The streaming company says it is very unstable to use Flash
com server for a longer period of time. The web cam stream will be
actiive for 3 months.. Are there any other aletrnatives.. Someone
mentioned you can stream Windows Media Player in Flash but I am not sure
how. Is it possible to put the WMP in an iframe on top of Flash or
underneath? The project will be in Flash Player 8.

Does anyone have any similar experience of a solution like this?

Thanks in advance!

--
Ellen Sundh
Flash Developer

Great Works
. . . . . . . .  . . . .
Mobile: +46 73 200 40 73
Office: +46 8 528 077 76
Sveavägen 66
111 34 Stockholm
 /|_
   ,'  .\
   ,--'_,'
  /   /
 (   -.  |
 | ) |
(`-.  '--.)
 `. )' Mjau..


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Object.registerClass

2006-09-21 Thread Mark Lapasa
My bad. Thx! -mL

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
slangeberg
Sent: Wednesday, September 20, 2006 6:24 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Object.registerClass


Mark said:

 pass the movieclip into the constructor
of the movieclip

Did you mean to say:

pass the movieclip into the constructor of the class?

Scott

On 9/20/06, Mark Lapasa [EMAIL PROTECTED] wrote:

 What I normally do in this case is pass the movieclip into the constructor
 of the movieclip a.k.a. Decorator Design Pattern

 http://en.wikipedia.org/wiki/Decorator_pattern

 So rather than other objects dealing with the movieclip directly, they
 deal
 with the interface of the class you decorate the movieclip with.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Patrick
 Matte
 Sent: Wednesday, September 20, 2006 4:43 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Object.registerClass


 Flash help says that registerClass works with the attachMovie method but I
 was wondering if there was any way to register a class to a MovieClip
 created with the createEmptyMovieClip method.


 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--

: : ) Scott
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Berkay Unal

Hi Coders,

Can someone please tell me whats the problem with this code . it's working
on fl6 but not fl8 . Thanks

Code:

--

counter++;
// hiding the first dot
dot._visible = false;
// particle generator

// setting of the shape and velocity for each new dot
this[dot+counter].gotoAndStop(shape);
this[dot+counter].speedx = (random(speed*10)/10)-(random(speed*10)/10);
this[dot+counter].speedy = (random(speed*10)/10)-(random(speed*10)/10);
// FX scaling and fading for every dots
for (i=counter; icounter-maxdot; i--) {
this[dot+i]._x =
this[dot+i]._x+this[dot+i].speedx+Math.cos((counter+i)/frequency)*amplitude+forcex/friction;
this[dot+i]._y =
this[dot+i]._y+this[dot+i].speedy+Math.sin((counter+i)/frequency)*amplitude+forcey/friction;
//friction
this[dot+i].speedx = this[dot+i].speedx/friction;
this[dot+i].speedy = this[dot+(i)].speedy/friction;
if (fxscale == true) {
 this[dot+i]._xscale = (maxdot-(counter-i))*(100/maxdot)*scale;
 this[dot+i]._yscale = (maxdot-(counter-i))*(100/maxdot)*scale;
} else {
 this[dot+i]._xscale = 100*scale;
 this[dot+i]._yscale = 100*scale;
}
if (fxfade == true) {
 this[dot+i]._alpha = (maxdot-(counter-i))*(100/maxdot);
} else {
 this[dot+i]._alpha = 100;
}
}
// removing old dots
if (counter=maxdot) {
eleman = counter-maxdot;
removeMovieClip(this[dot+eleman]);
}
// managing maxdots changes : destroying unused dots
maxdotdif = maxdot-maxdot0;
if (maxdotdif0) {
for (i=counter-maxdot; i=counter-maxdot0-1; i--) {
 removeMovieClip(this[dot+i]);
}
}
trace(a);
maxdot0 = maxdot;



--
Berkay UNAL
[EMAIL PROTECTED]
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flash 9 Debug Player for Intel Macs?

2006-09-21 Thread Marlon Harrison

I've been looking for the Debug Plugin for the 9 Player for Intel Macs
and can't seem to find it anywhere on Adobe's site.  The PowerPC Debug
plugin won't install. It prompts to go to adobe's site to get the
Intel version.  Anyone have a URL?
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Invert coded mask?

2006-09-21 Thread Ellen Sundh

Hi!

I created a mask with setMask to mask another movieclip. I wonder if it 
is possible with code to invert that mask? So instead of having a circle 
as a mask, that circle becomes a hole in a square. Like punchhole style.


Thanks in advance!

Ellen

--
Ellen Sundh
Flash Developer

Great Works
. . . . . . . .  . . . . 
Mobile: +46 73 200 40 73

Office: +46 8 528 077 76
Sveavägen 66
111 34 Stockholm
 /|_
   ,'  .\
   ,--'_,'
  /   /
 (   -.  |
 | ) |
(`-.  '--.)
 `. )' Mjau..


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Invert coded mask?

2006-09-21 Thread Johannes Nel

so you did this

a.setMask(b).

now go
a.setMask(null)
b.setMask(a)

no?

On 9/21/06, Ellen Sundh [EMAIL PROTECTED] wrote:


Hi!

I created a mask with setMask to mask another movieclip. I wonder if it
is possible with code to invert that mask? So instead of having a circle
as a mask, that circle becomes a hole in a square. Like punchhole style.

Thanks in advance!

Ellen

--
Ellen Sundh
Flash Developer

Great Works
. . . . . . . .  . . . .
Mobile: +46 73 200 40 73
Office: +46 8 528 077 76
Sveavägen 66
111 34 Stockholm
  /|_
,'  .\
,--'_,'
   /   /
  (   -.  |
  | ) |
 (`-.  '--.)
  `. )' Mjau..


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
j:pn
http://www.lennel.org
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] flash5 and xml parsing

2006-09-21 Thread avit
i've a question: i've some problems with my flash clip (or better in my
player's XML parser).

the movie clip is receiving continuosly little xml ping packets from an
XMLsocket object, for tracking the connection liveness on a server.
So the XML parsing is always working.

The movie clip seems working correctly for a couple of time.
Besides, after a random time the movie freezed completely, and it restarted
to run only after a mouse click.

the movie clip is running on a Netscape 4.78 browser with flash player 5.

i've already introduce in the actionscript the Brandon Hall XMLnitro file,
but it doesn't solve the freeze problem.
the only result is that the parsing works faster than before, but the freeze
rate is greater
:-))

how can i do
is there someone that can help me??

:-)

andrea




 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Acquista i tuoi gioielli in tutta sicurezza ed a prezzi veramente
imbattibili. Sfoglia il nostro catalogo on-line!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5634d=20060921


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Jake Prime

Hi Berkay

Have you set counter to a value before incrementing it? If you fail to
initialise a variable in F6, it will assume it is 0 and increment to
1. If you do this in F8 it treats it as undefined, and will stay
undefined no matter how many times you increment it.

Jake

On 21/09/06, Berkay Unal [EMAIL PROTECTED] wrote:

Hi Coders,

Can someone please tell me whats the problem with this code . it's working
on fl6 but not fl8 . Thanks

Code:

--

counter++;
// hiding the first dot
dot._visible = false;
// particle generator

// setting of the shape and velocity for each new dot
this[dot+counter].gotoAndStop(shape);
this[dot+counter].speedx = (random(speed*10)/10)-(random(speed*10)/10);
this[dot+counter].speedy = (random(speed*10)/10)-(random(speed*10)/10);
// FX scaling and fading for every dots
for (i=counter; icounter-maxdot; i--) {
 this[dot+i]._x =
this[dot+i]._x+this[dot+i].speedx+Math.cos((counter+i)/frequency)*amplitude+forcex/friction;
 this[dot+i]._y =
this[dot+i]._y+this[dot+i].speedy+Math.sin((counter+i)/frequency)*amplitude+forcey/friction;
 //friction
 this[dot+i].speedx = this[dot+i].speedx/friction;
 this[dot+i].speedy = this[dot+(i)].speedy/friction;
 if (fxscale == true) {
  this[dot+i]._xscale = (maxdot-(counter-i))*(100/maxdot)*scale;
  this[dot+i]._yscale = (maxdot-(counter-i))*(100/maxdot)*scale;
 } else {
  this[dot+i]._xscale = 100*scale;
  this[dot+i]._yscale = 100*scale;
 }
 if (fxfade == true) {
  this[dot+i]._alpha = (maxdot-(counter-i))*(100/maxdot);
 } else {
  this[dot+i]._alpha = 100;
 }
}
// removing old dots
if (counter=maxdot) {
 eleman = counter-maxdot;
 removeMovieClip(this[dot+eleman]);
}
// managing maxdots changes : destroying unused dots
maxdotdif = maxdot-maxdot0;
if (maxdotdif0) {
 for (i=counter-maxdot; i=counter-maxdot0-1; i--) {
  removeMovieClip(this[dot+i]);
 }
}
trace(a);
maxdot0 = maxdot;



--
Berkay UNAL
[EMAIL PROTECTED]
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread Charles Parcell

I am looking to replace MC Tween which is written in AS1 and uses prototype
to add methods to MovieClips. I want a version that is a class.

I am aware of the Tween class that in the mx package. But it does not cover
all aspects (ColorTransform for example). It also does not have all the
easing options that MC Tween has, but that is less important to me.

Does anyone know of such a class that is available out there?

Charles P.
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] search and replace keywords in textbox with CSS, asfunction.

2006-09-21 Thread Kurt Dommermuth

Hi All,

Earlier this week I asked about a function that could search through text, 
replace words that are selected from an array, and make them clickable.


Karian Steffens and Jason Merrill offered some good suggestions on how to 
do this (CSS/asfunction).


Below is something that works, but I'm sure could be better optimized...

Question though, the limits of CSS in flash are really bothersome.  No 
leading, no kerning?  geez.


I think I know the answer to this, but is there no way to apply flash's 
native text formatting on top of CSS ?


anyhow, the function (I would love help making it better). also, it 
requires a stylesheet...




//keywords array [[keyword, doThisOnPress]]
var keywords_ar:Array = new Array();
var keywords_ar:Array = 
[[biotechnology,_root.testfunc],[GM,_root.testfunc]];



//key word search
keyWordSearch = function(sTS)
{   
var len = keywords_ar.length-1;
var cssBegin = span class='generaltext'
var cssEnd = /span
for(i=len;i=0;i--)
{
var sF = _root.keywords_ar[i][0];
var func = _root.keywords_ar[i][1];
var startPos = sTS.indexOf(sF,0);
var marker = ? + i;
var falseMarker = ~ + i;
while(startPos != -1)
{
var startPos = sTS.indexOf(sF,0);
if(startPos == -1)
{
break;
}
var sLen = sF.length;
var endPos = sTS.indexOf(sF,startPos)+ sLen;
var cBefore = sTS.charAt(startPos-1);
var cAfter = sTS.charAt(endPos);
var beginText = sTS.substring(0,startPos);
var endText = sTS.substring(endPos,sTS.length);
if(cBefore ==   || cBefore ==  || cBefore == ()
{
if(cAfter == . || cAfter == , || cAfter == ; || cAfter == : || 
cAfter == ) || cAfter ==  )

{
sTS = beginText + marker + endText;
}
else
{
sTS = beginText + falseMarker + 
endText;
}
}
else
{
sTS = beginText + falseMarker + endText;

}
}
}
for(j=len;j=0;j--)
{
var sF = _root.keywords_ar[j][0];
var func = _root.keywords_ar[j][1];
var marker = ?+j;
var startPos = sTS.indexOf(marker,0);
while(startPos != -1)
{
var startPos = sTS.indexOf(marker,0);
if(startPos == -1)
{
break;
}
var sLen = marker.length;
var endPos = sTS.indexOf(marker,startPos)+ sLen;
var beginText = sTS.substring(0,startPos);
var endText = sTS.substring(endPos,sTS.length);
var replacement = a href=\'asfunction: + func + \' + sF + 
/a;
sTS = beginText + replacement + endText;
}
}
for(k=len;k=0;k--)
{
var sF = _root.keywords_ar[k][0];
var falseMarker = ~+k;
var startPos = sTS.indexOf(falseMarker,0);
while(startPos != -1)
{
var startPos = sTS.indexOf(falseMarker,0);
if(startPos == -1)
{
break;
}
var sLen = falseMarker.length;
var endPos = sTS.indexOf(falseMarker,startPos)+ sLen;
var beginText = sTS.substring(0,startPos);
var endText = sTS.substring(endPos,sTS.length);
var replacement = sF;
sTS = beginText + replacement + endText;
}
}   

return(cssBegin+sTS+cssEnd);
}

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread gerry
I believe that MC tween is AS2 now (mc_tween2.as).
Check out Zeh's site...
http://hosted.zeh.com.br/mctween/documentation.html

Gerry

 I am looking to replace MC Tween which is written in AS1 and uses
 prototype
 to add methods to MovieClips. I want a version that is a class.

 I am aware of the Tween class that in the mx package. But it does not
 cover
 all aspects (ColorTransform for example). It also does not have all the
 easing options that MC Tween has, but that is less important to me.

 Does anyone know of such a class that is available out there?

 Charles P.
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread Charles Parcell

Actually no. It simply gives some work arounds to problems when using AS2.
http://hosted.zeh.com.br/mctween/as2_notes.html

Thanks though.

Charles P.


On 9/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I believe that MC tween is AS2 now (mc_tween2.as).
Check out Zeh's site...
http://hosted.zeh.com.br/mctween/documentation.html

Gerry

 I am looking to replace MC Tween which is written in AS1 and uses
 prototype
 to add methods to MovieClips. I want a version that is a class.

 I am aware of the Tween class that in the mx package. But it does not
 cover
 all aspects (ColorTransform for example). It also does not have all the
 easing options that MC Tween has, but that is less important to me.

 Does anyone know of such a class that is available out there?

 Charles P.
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] search and replace keywords in textbox with CSS, asfunction.

2006-09-21 Thread Iv
Hello Kurt,

about 2 years ago I did this:
http://www.sharedfonts.com/fla/as_highlight.fla
possible it can help you.

-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] FileReference browse() window

2006-09-21 Thread Merrill, Jason
I'm using the Filerefence class on a project, and it works great
uploading a file to our .NET server. (actually let me say, it's AWESOME
- Flash should have had this a looong time ago).

Question:

Is there a way to control the X and Y position of the Filereference
browse window that appears when you call browse()?  I couldn't find
anything in the docs.

Thanks,

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread Merrill, Jason
Highly recommend you try out Fuse for Actionscript based animation:

http://www.mosessupposes.com/Fuse/index.html

it's AWESOME - 

There are some great tutorials Lee Brimlow just updated recently on
http://www.gotoAndLearn.com 


Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Charles Parcell
Sent: Thursday, September 21, 2006 12:22 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Replace MC Tween? (AS1)

I am looking to replace MC Tween which is written in AS1 and uses
prototype
to add methods to MovieClips. I want a version that is a class.

I am aware of the Tween class that in the mx package. But it does not
cover
all aspects (ColorTransform for example). It also does not have all
the
easing options that MC Tween has, but that is less important to me.

Does anyone know of such a class that is available out there?

Charles P.
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Algorithm to find center of an irregular shape

2006-09-21 Thread matt stuehler

All,

I'm not too handy with geometry, so I'm not even sure this is
possible, but I'm looking for an algorithm that will determine the
center of an irregular shape.

I'm not even sure there is a meaningful definition of a center, but
I'd like to at least find a point that is within the area of the
shape. (I realize that with certain shapes, like a donut, this might
be an intractible problem), so even some rough approximation would
help.

In this particular application, the shapes are the areas between the
lines created when graphing several time series on a chart (e.g., the
price of several stocks, graphed over time)

Many thanks in advance for any advice or insights!

Cheers,
Matt Stuehler
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] search and replace keywords in textbox with CSS, asfunction.

2006-09-21 Thread Kurt Dommermuth

Now where the hell were you earlier this week!?

;)

that looks really cool and I bet much better written too, but I really need 
to make the highlighted text clickable.


I wanted to do that by getting the _x and _y of a given character, but I 
had no idea how.


that's why I went the html/css route so I could just add links and not care 
where the hell the _x and _y coords were.


Thanks Iv,
Kurt

At 12:39 PM 9/21/2006, you wrote:


Hello Kurt,

about 2 years ago I did this:
http://www.sharedfonts.com/fla/as_highlight.fla
possible it can help you.

--
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Component Live Preview...

2006-09-21 Thread eric dolecki

I have a pretty simple component with inspectables to allow the setting of 2
simple strings.

Flash 8 is supposed to allow for the ease of live previews with components.
What do I need to put in my component class to allow updates on the Stage of
the component instance to update? I've tried a couple things, even using the
old xch. stuff to no avail here. I put an onUpdate in the class (just to
see) and it doesn't seem to do anything.

??
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Beta testers and comments needed

2006-09-21 Thread Berkay Unal

Hi Coders,

I've cretaed a drap n drog flv converter. But i need to have some beta
testers and comments on it. If you have a try on it it'll cool

You can find the download url at the url below.

http://www.berkayunal.com/flvbuddy/


--
Berkay UNAL
[EMAIL PROTECTED]
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Mike Keesey
The earlier post (by Jake Prime) is probably the explanation. But also,
random() is deprecated; instead of random(x), you should use
Math.floor(Math.random() * x).

―
Mike Keesey

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Berkay Unal
 Sent: Thursday, September 21, 2006 8:04 AM
 To: [FlashCoders]
 Subject: [Flashcoders] Working on Flash 6 player but not on Flash 8
 
 Hi Coders,
 
 Can someone please tell me whats the problem with this code . it's
working
 on fl6 but not fl8 . Thanks
 
 Code:
 
 --
 
 counter++;
 // hiding the first dot
 dot._visible = false;
 // particle generator
 
 // setting of the shape and velocity for each new dot
 this[dot+counter].gotoAndStop(shape);
 this[dot+counter].speedx =
(random(speed*10)/10)-(random(speed*10)/10);
 this[dot+counter].speedy =
(random(speed*10)/10)-(random(speed*10)/10);
 // FX scaling and fading for every dots
 for (i=counter; icounter-maxdot; i--) {
  this[dot+i]._x =

this[dot+i]._x+this[dot+i].speedx+Math.cos((counter+i)/frequency)*am
pl
 itude+forcex/friction;
  this[dot+i]._y =

this[dot+i]._y+this[dot+i].speedy+Math.sin((counter+i)/frequency)*am
pl
 itude+forcey/friction;
  //friction
  this[dot+i].speedx = this[dot+i].speedx/friction;
  this[dot+i].speedy = this[dot+(i)].speedy/friction;
  if (fxscale == true) {
   this[dot+i]._xscale = (maxdot-(counter-i))*(100/maxdot)*scale;
   this[dot+i]._yscale = (maxdot-(counter-i))*(100/maxdot)*scale;
  } else {
   this[dot+i]._xscale = 100*scale;
   this[dot+i]._yscale = 100*scale;
  }
  if (fxfade == true) {
   this[dot+i]._alpha = (maxdot-(counter-i))*(100/maxdot);
  } else {
   this[dot+i]._alpha = 100;
  }
 }
 // removing old dots
 if (counter=maxdot) {
  eleman = counter-maxdot;
  removeMovieClip(this[dot+eleman]);
 }
 // managing maxdots changes : destroying unused dots
 maxdotdif = maxdot-maxdot0;
 if (maxdotdif0) {
  for (i=counter-maxdot; i=counter-maxdot0-1; i--) {
   removeMovieClip(this[dot+i]);
  }
 }
 trace(a);
 maxdot0 = maxdot;
 
 
 
 --
 Berkay UNAL
 [EMAIL PROTECTED]
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Algorithm to find center of an irregular shape

2006-09-21 Thread Mike Keesey
Look into MovieClip.getBounds() and MovieClip.getRect(). For example,
you could use:

import flash.geom.Point;
// ...
function getCenter(shape:MovieClip):Point {
var bounds:Object = shape.getBounds(this);
var center:Point = new Point();
center.x = (bounds.xMax - bounds.xMin) / 2;
center.y = (bounds.yMax - bounds.yMin) / 2;
return center;
}

(Assuming that the scope of this function is a movie clip timeline or a
subclass of MovieClip.)
―
Mike Keesey

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of matt stuehler
 Sent: Thursday, September 21, 2006 9:58 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Algorithm to find center of an irregular
shape
 
 All,
 
 I'm not too handy with geometry, so I'm not even sure this is
 possible, but I'm looking for an algorithm that will determine the
 center of an irregular shape.
 
 I'm not even sure there is a meaningful definition of a center, but
 I'd like to at least find a point that is within the area of the
 shape. (I realize that with certain shapes, like a donut, this might
 be an intractible problem), so even some rough approximation would
 help.
 
 In this particular application, the shapes are the areas between the
 lines created when graphing several time series on a chart (e.g., the
 price of several stocks, graphed over time)
 
 Many thanks in advance for any advice or insights!
 
 Cheers,
 Matt Stuehler
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Bill Abel
I'm still having one problem. When I test this movie from within  
Flash, it sends both LoadVars, but when I try it from the .swf on the  
web server, it only sends to the .php script.


Anyone see the problem?


import mx.utils.Delegate;

function onResponseComplete(success:Boolean):Void {
getURL(http://www.hallmanhill.com/information/thankyou.html;);
trace(posted data);
}
function onMailDataResponseComplete(success:Boolean):Void {
trace(sent email);
}

function processForm() {

var response = new LoadVars();
var formData:LoadVars = new LoadVars();
formData.firstname = firstname_tb.text;
formData.lastname = lastname_tb.text;
formData.address = address_tb.text;
formData.city = city_tb.text;
formData.state = state_tb.text;
formData.zip = zip_tb.text;
formData.homephone1 = areacode;
formData.homephone2 = prefix;
formData.homephone3 = linenumber;
formData.email = email_tb.text;

response.onLoad = Delegate.create(this, onResponseComplete);
	formData.sendAndLoad(http://www.salescloser.com/ 
XMLAddContact.aspx, response);

trace(formData);

var mailData = new LoadVars();
var mailDataResponse = new LoadVars();
mailData = formData;
	mailDataResponse.onLoad = Delegate.create(this,  
onMailDataResponseComplete);
	mailData.sendAndLoad(http://test.slaughtergroup.com/mail.php;,  
mailDataResponse, POST);

trace(mailData);

}

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Replace MC Tween? (AS1)

2006-09-21 Thread Rich Rodecker

there's a few Tween classes up at
http://www.actionscriptclasses.com/category/tween/ , though im not sure if
any of them handle color tweens. gotta add the Fuse one there too.

On 9/21/06, Merrill, Jason [EMAIL PROTECTED] wrote:


Highly recommend you try out Fuse for Actionscript based animation:

http://www.mosessupposes.com/Fuse/index.html

it's AWESOME -

There are some great tutorials Lee Brimlow just updated recently on
http://www.gotoAndLearn.com


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Charles Parcell
Sent: Thursday, September 21, 2006 12:22 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Replace MC Tween? (AS1)

I am looking to replace MC Tween which is written in AS1 and uses
prototype
to add methods to MovieClips. I want a version that is a class.

I am aware of the Tween class that in the mx package. But it does not
cover
all aspects (ColorTransform for example). It also does not have all
the
easing options that MC Tween has, but that is less important to me.

Does anyone know of such a class that is available out there?

Charles P.
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Component Live Preview [Solved]

2006-09-21 Thread eric dolecki

Sorry for the noise, but I simply built my own separate LP SWF and got
things working fine.

- e.d.
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread Muzak
You need to add an 'Inspectable' metadate tag to the getter/setter

[Inspectable]
function get prop(){}
function set prop(){}

[Inspectable(type=String,defaultValue=value)]
function get prop(){}
function set prop(){}

check the manual for more details:

Using components - Creating components - Creating the AS class file - Adding 
component metadata

regards,
Muzak

- Original Message - 
From: eric dolecki [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, September 21, 2006 7:09 PM
Subject: [Flashcoders] Component Live Preview...


I have a pretty simple component with inspectables to allow the setting of 2
 simple strings.

 Flash 8 is supposed to allow for the ease of live previews with components.
 What do I need to put in my component class to allow updates on the Stage of
 the component instance to update? I've tried a couple things, even using the
 old xch. stuff to no avail here. I put an onUpdate in the class (just to
 see) and it doesn't seem to do anything.

 ??


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread eric dolecki

Ya I had that - was hoping the same file being the component could be the
live preview. I got it though - thanks :)

On 9/21/06, Muzak [EMAIL PROTECTED] wrote:


You need to add an 'Inspectable' metadate tag to the getter/setter

[Inspectable]
function get prop(){}
function set prop(){}

[Inspectable(type=String,defaultValue=value)]
function get prop(){}
function set prop(){}

check the manual for more details:

Using components - Creating components - Creating the AS class file -
Adding component metadata

regards,
Muzak

- Original Message -
From: eric dolecki [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, September 21, 2006 7:09 PM
Subject: [Flashcoders] Component Live Preview...


I have a pretty simple component with inspectables to allow the setting
of 2
 simple strings.

 Flash 8 is supposed to allow for the ease of live previews with
components.
 What do I need to put in my component class to allow updates on the
Stage of
 the component instance to update? I've tried a couple things, even using
the
 old xch. stuff to no avail here. I put an onUpdate in the class (just to
 see) and it doesn't seem to do anything.

 ??


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Mike Keesey
onResponseComplete is probably being called before
onMailDataResponseComplete (damn that's a long name! onMailComplete
would suffice, no?), and thus unloading the whole SWF as it loads a new
HTML page.

Try moving this line:

formData.sendAndLoad(http://www.salescloser.com/XMLAddContact.aspx;,
response);

... to the very end of your processForm() function.
―
Mike Keesey

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Bill Abel
 Sent: Thursday, September 21, 2006 10:20 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] HTTP post request in the background
 
 I'm still having one problem. When I test this movie from within
 Flash, it sends both LoadVars, but when I try it from the .swf on the
 web server, it only sends to the .php script.
 
 Anyone see the problem?
 
 
 import mx.utils.Delegate;
 
 function onResponseComplete(success:Boolean):Void {
   getURL(http://www.hallmanhill.com/information/thankyou.html;);
   trace(posted data);
 }
 function onMailDataResponseComplete(success:Boolean):Void {
 trace(sent email);
 }
 
 function processForm() {
 
   var response = new LoadVars();
   var formData:LoadVars = new LoadVars();
   formData.firstname = firstname_tb.text;
   formData.lastname = lastname_tb.text;
   formData.address = address_tb.text;
   formData.city = city_tb.text;
   formData.state = state_tb.text;
   formData.zip = zip_tb.text;
   formData.homephone1 = areacode;
   formData.homephone2 = prefix;
   formData.homephone3 = linenumber;
   formData.email = email_tb.text;
 
   response.onLoad = Delegate.create(this, onResponseComplete);
   formData.sendAndLoad(http://www.salescloser.com/
 XMLAddContact.aspx, response);
   trace(formData);
 
   var mailData = new LoadVars();
   var mailDataResponse = new LoadVars();
   mailData = formData;
   mailDataResponse.onLoad = Delegate.create(this,
 onMailDataResponseComplete);
   mailData.sendAndLoad(http://test.slaughtergroup.com/mail.php;,
 mailDataResponse, POST);
   trace(mailData);
 
 }
 
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Mike Keesey
Actually, scratch that -- move the whole formData deal to its own
function, and call that from onMailComplete(). IOW, do the calls
sequentially, not simultaneously.
―
Mike Keesey

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Mike Keesey
 Sent: Thursday, September 21, 2006 11:07 AM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] HTTP post request in the background
 
 onResponseComplete is probably being called before
 onMailDataResponseComplete (damn that's a long name! onMailComplete
 would suffice, no?), and thus unloading the whole SWF as it loads a
new
 HTML page.
 
 Try moving this line:
 
 formData.sendAndLoad(http://www.salescloser.com/XMLAddContact.aspx;,
 response);
 
 ... to the very end of your processForm() function.
 ―
 Mike Keesey
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:flashcoders-
  [EMAIL PROTECTED] On Behalf Of Bill Abel
  Sent: Thursday, September 21, 2006 10:20 AM
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] HTTP post request in the background
 
  I'm still having one problem. When I test this movie from within
  Flash, it sends both LoadVars, but when I try it from the .swf on
the
  web server, it only sends to the .php script.
 
  Anyone see the problem?
 
 
  import mx.utils.Delegate;
 
  function onResponseComplete(success:Boolean):Void {
  getURL(http://www.hallmanhill.com/information/thankyou.html;);
  trace(posted data);
  }
  function onMailDataResponseComplete(success:Boolean):Void {
  trace(sent email);
  }
 
  function processForm() {
 
  var response = new LoadVars();
  var formData:LoadVars = new LoadVars();
  formData.firstname = firstname_tb.text;
  formData.lastname = lastname_tb.text;
  formData.address = address_tb.text;
  formData.city = city_tb.text;
  formData.state = state_tb.text;
  formData.zip = zip_tb.text;
  formData.homephone1 = areacode;
  formData.homephone2 = prefix;
  formData.homephone3 = linenumber;
  formData.email = email_tb.text;
 
  response.onLoad = Delegate.create(this, onResponseComplete);
  formData.sendAndLoad(http://www.salescloser.com/
  XMLAddContact.aspx, response);
  trace(formData);
 
  var mailData = new LoadVars();
  var mailDataResponse = new LoadVars();
  mailData = formData;
  mailDataResponse.onLoad = Delegate.create(this,
  onMailDataResponseComplete);
  mailData.sendAndLoad(http://test.slaughtergroup.com/mail.php;,
  mailDataResponse, POST);
  trace(mailData);
 
  }
 
  ___
  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 Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Bill Abel

IT is a long name...

I tried that with no luck.

I also tried commenting out the getURL(), but still no luck.

I get an error in Safari and in Firefox a message waiting for  
www.salescloser.com...


Again, the .swf works when I test it within Flash.

Even without the second LoadVars, I still can't get it to work in the  
browser. Do you think it's something to do with the ASPX script?




On Sep 21, 2006, at 1:07 PM, Mike Keesey wrote:


onResponseComplete is probably being called before
onMailDataResponseComplete (damn that's a long name! onMailComplete
would suffice, no?), and thus unloading the whole SWF as it loads a  
new

HTML page.

Try moving this line:

formData.sendAndLoad(http://www.salescloser.com/XMLAddContact.aspx;,
response);

... to the very end of your processForm() function.
―
Mike Keesey


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Bill Abel
Sent: Thursday, September 21, 2006 10:20 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] HTTP post request in the background

I'm still having one problem. When I test this movie from within
Flash, it sends both LoadVars, but when I try it from the .swf on the
web server, it only sends to the .php script.

Anyone see the problem?


import mx.utils.Delegate;

function onResponseComplete(success:Boolean):Void {
getURL(http://www.hallmanhill.com/information/thankyou.html;);
trace(posted data);
}
function onMailDataResponseComplete(success:Boolean):Void {
trace(sent email);
}

function processForm() {

var response = new LoadVars();
var formData:LoadVars = new LoadVars();
formData.firstname = firstname_tb.text;
formData.lastname = lastname_tb.text;
formData.address = address_tb.text;
formData.city = city_tb.text;
formData.state = state_tb.text;
formData.zip = zip_tb.text;
formData.homephone1 = areacode;
formData.homephone2 = prefix;
formData.homephone3 = linenumber;
formData.email = email_tb.text;

response.onLoad = Delegate.create(this, onResponseComplete);
formData.sendAndLoad(http://www.salescloser.com/
XMLAddContact.aspx, response);
trace(formData);

var mailData = new LoadVars();
var mailDataResponse = new LoadVars();
mailData = formData;
mailDataResponse.onLoad = Delegate.create(this,
onMailDataResponseComplete);
mailData.sendAndLoad(http://test.slaughtergroup.com/mail.php;,
mailDataResponse, POST);
trace(mailData);

}

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Bill Abel
Well, I tried it by itself without the mailData:LoadVars... still no  
luck in the browser.


Worked fine testing it...


On Sep 21, 2006, at 1:31 PM, Mike Keesey wrote:


Actually, scratch that -- move the whole formData deal to its own
function, and call that from onMailComplete(). IOW, do the calls
sequentially, not simultaneously.
―
Mike Keesey


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Mike Keesey
Sent: Thursday, September 21, 2006 11:07 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] HTTP post request in the background

onResponseComplete is probably being called before
onMailDataResponseComplete (damn that's a long name! onMailComplete
would suffice, no?), and thus unloading the whole SWF as it loads a

new

HTML page.

Try moving this line:

formData.sendAndLoad(http://www.salescloser.com/XMLAddContact.aspx;,
response);

... to the very end of your processForm() function.
―
Mike Keesey


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Bill Abel
Sent: Thursday, September 21, 2006 10:20 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] HTTP post request in the background

I'm still having one problem. When I test this movie from within
Flash, it sends both LoadVars, but when I try it from the .swf on

the

web server, it only sends to the .php script.

Anyone see the problem?


import mx.utils.Delegate;

function onResponseComplete(success:Boolean):Void {
getURL(http://www.hallmanhill.com/information/thankyou.html;);
trace(posted data);
}
function onMailDataResponseComplete(success:Boolean):Void {
trace(sent email);
}

function processForm() {

var response = new LoadVars();
var formData:LoadVars = new LoadVars();
formData.firstname = firstname_tb.text;
formData.lastname = lastname_tb.text;
formData.address = address_tb.text;
formData.city = city_tb.text;
formData.state = state_tb.text;
formData.zip = zip_tb.text;
formData.homephone1 = areacode;
formData.homephone2 = prefix;
formData.homephone3 = linenumber;
formData.email = email_tb.text;

response.onLoad = Delegate.create(this, onResponseComplete);
formData.sendAndLoad(http://www.salescloser.com/
XMLAddContact.aspx, response);
trace(formData);

var mailData = new LoadVars();
var mailDataResponse = new LoadVars();
mailData = formData;
mailDataResponse.onLoad = Delegate.create(this,
onMailDataResponseComplete);
mailData.sendAndLoad(http://test.slaughtergroup.com/mail.php;,
mailDataResponse, POST);
trace(mailData);

}

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] onScroller ?

2006-09-21 Thread eric dolecki

Showing a little weirdness. I'd like to fill a field with text, and if it
needs to grow taller to accommodate, do so. Based on the resulting height of
that textfield, I reposition another clip... kind of like HEADLINE and then
text underneath where the headline has a fixed width, but can grow out as
tall as it needs to be.

this isn't the code to do all that, however I notice this doesn't affect the
text field *at all* ??

title_txt.onScroller = function( txt ):Void
{
   this._height = 150;
};

Any idea why this is doing nothing to expand the height ?

- e.d.
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Steven Sacks | BLITZ
 instead of random(x), you should use
 Math.floor(Math.random() * x).

Which makes me wonder why random() is deprecated.  They really think
that Math.floor(Math.random() * x) is better than random()?  Ridiculous!
The sign of a great API is its simplicity.
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] onScroller ?

2006-09-21 Thread eric dolecki

OMG... i was using _height. Been hospitalized too long ;) thanks.


On 9/21/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:


Check out

TextField.autoSize
TextField.textHeight

And check out the other properties of TextFields while you're in there.
I'm sure you'll find them quite helpful.  :)

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Mike Keesey
Well, random() has two meanings then, and the Math.random() function is
more generally useful than random() (for example, if you need a random
floating-point number). That said, I'd love a Math.randomInt() function.

―
Mike Keesey

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ
 Sent: Thursday, September 21, 2006 12:22 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Working on Flash 6 player but not on Flash
8
 
  instead of random(x), you should use
  Math.floor(Math.random() * x).
 
 Which makes me wonder why random() is deprecated.  They really think
 that Math.floor(Math.random() * x) is better than random()?
Ridiculous!
 The sign of a great API is its simplicity.
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread Eric Priou

http://www.berkayunal.com/flvbuddy/

Win only ?
---
Eric Priou
(aka erixtekila)
In progress tech blog : http://blog.v-i-a.net/
Oregano XML Socket forum : http://forum.v-i-a.net/

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread l u c h y x

On XP sp2 spa 1GB RAM AMD 1.6 GHz works good, a little cpu intensive but
it's fine i think.


On 9/21/06, Eric Priou [EMAIL PROTECTED] wrote:


 http://www.berkayunal.com/flvbuddy/
Win only ?
---
Eric Priou
(aka erixtekila)
In progress tech blog : http://blog.v-i-a.net/
Oregano XML Socket forum : http://forum.v-i-a.net/

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread Charles Parcell

setSize(width:Number, height:Number);

The IDE makes a call to it.

Within the setSize() I have a call to my draw() function which does all the
changing and moving of MC and such.

Charles P.


On 9/21/06, eric dolecki [EMAIL PROTECTED] wrote:


Ya I had that - was hoping the same file being the component could be the
live preview. I got it though - thanks :)

On 9/21/06, Muzak [EMAIL PROTECTED] wrote:

 You need to add an 'Inspectable' metadate tag to the getter/setter

 [Inspectable]
 function get prop(){}
 function set prop(){}

 [Inspectable(type=String,defaultValue=value)]
 function get prop(){}
 function set prop(){}

 check the manual for more details:

 Using components - Creating components - Creating the AS class file -
 Adding component metadata

 regards,
 Muzak

 - Original Message -
 From: eric dolecki [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Thursday, September 21, 2006 7:09 PM
 Subject: [Flashcoders] Component Live Preview...


 I have a pretty simple component with inspectables to allow the setting
 of 2
  simple strings.
 
  Flash 8 is supposed to allow for the ease of live previews with
 components.
  What do I need to put in my component class to allow updates on the
 Stage of
  the component instance to update? I've tried a couple things, even
using
 the
  old xch. stuff to no avail here. I put an onUpdate in the class (just
to
  see) and it doesn't seem to do anything.
 
  ??


 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread eric dolecki

Live preview SWFs are wonky... its not displaying quite right in the IDE,
but perfect when used as a component. Essentially the same
sizing/positioning code. Oh well...

On 9/21/06, Charles Parcell [EMAIL PROTECTED] wrote:


setSize(width:Number, height:Number);

The IDE makes a call to it.

Within the setSize() I have a call to my draw() function which does all
the
changing and moving of MC and such.

Charles P.


On 9/21/06, eric dolecki [EMAIL PROTECTED] wrote:

 Ya I had that - was hoping the same file being the component could be
the
 live preview. I got it though - thanks :)

 On 9/21/06, Muzak [EMAIL PROTECTED] wrote:
 
  You need to add an 'Inspectable' metadate tag to the getter/setter
 
  [Inspectable]
  function get prop(){}
  function set prop(){}
 
  [Inspectable(type=String,defaultValue=value)]
  function get prop(){}
  function set prop(){}
 
  check the manual for more details:
 
  Using components - Creating components - Creating the AS class file
-
  Adding component metadata
 
  regards,
  Muzak
 
  - Original Message -
  From: eric dolecki [EMAIL PROTECTED]
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Sent: Thursday, September 21, 2006 7:09 PM
  Subject: [Flashcoders] Component Live Preview...
 
 
  I have a pretty simple component with inspectables to allow the
setting
  of 2
   simple strings.
  
   Flash 8 is supposed to allow for the ease of live previews with
  components.
   What do I need to put in my component class to allow updates on the
  Stage of
   the component instance to update? I've tried a couple things, even
 using
  the
   old xch. stuff to no avail here. I put an onUpdate in the class
(just
 to
   see) and it doesn't seem to do anything.
  
   ??
 
 
  ___
  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 Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread Andy Stone
I converted a 21MB .wmv to a 0k .flv. 

Win XP Pro 2002
SP2
3.39 GHz
2GB RAM

I dropped the file in the box it too about 4 seconds to convert. 

-Andy


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berkay Unal
Sent: Thursday, September 21, 2006 1:11 PM
To: [FlashCoders]
Subject: [Flashcoders] Beta testers and comments needed

Hi Coders,

I've cretaed a drap n drog flv converter. But i need to have some beta
testers and comments on it. If you have a try on it it'll cool

You can find the download url at the url below.

http://www.berkayunal.com/flvbuddy/


-- 
Berkay UNAL
[EMAIL PROTECTED]
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread Berkay Unal

Hi again,

This program convert video files to FLV video on the fly.

Andy currently i am having some problems on the wmv4 . I guess your video is
wmv with that codes.

Slangaberg i am thinking of having a setting panel for the video options.
But i could not find a good place for it yet. I want the application to be
small as possible on the desktop. Maybe a tray menu will work out.

For all who has tested it thanks.

Berkay


On 9/21/06, Andy Stone [EMAIL PROTECTED] wrote:


I converted a 21MB .wmv to a 0k .flv.

Win XP Pro 2002
SP2
3.39 GHz
2GB RAM

I dropped the file in the box it too about 4 seconds to convert.

-Andy


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berkay
Unal
Sent: Thursday, September 21, 2006 1:11 PM
To: [FlashCoders]
Subject: [Flashcoders] Beta testers and comments needed

Hi Coders,

I've cretaed a drap n drog flv converter. But i need to have some beta
testers and comments on it. If you have a try on it it'll cool

You can find the download url at the url below.

http://www.berkayunal.com/flvbuddy/


--
Berkay UNAL
[EMAIL PROTECTED]
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Berkay UNAL
[EMAIL PROTECTED]
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Close/exit browser AS event?

2006-09-21 Thread David Rorex

The only way I know to do it is from javascript, and then call to flash
using ExternalInterface, which is synchronous, thus the browser cannot exit
until the flash function call finishes (so it wont 'zap' the flash object in
the middle of your cleanup)

-David R

On 9/21/06, Michel Gaudette [EMAIL PROTECTED] wrote:


Hi!

Do any of you know how to catch the event (in Flash/AS) when a browser
is closed or zapped?

I think I could use the JavaScript unloadPage if it's called before the
Flash object is zapped, but I'd prefer to use some sort of onUnload() on
the main timeline...

Any clues?
Thanks!

Michel
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Component Live Preview...

2006-09-21 Thread Charles Parcell

I agree, they are not very simple or intuitive. I would love for this
aspect to be cleaned up in the next version of the IDE. It is making my life
difficult when I have to make these things for our artists who want to see
exactly how it will look within the IDE as it will when published. You
should see some of the horror layouts they have to deal with.

Charles P.


On 9/21/06, eric dolecki [EMAIL PROTECTED] wrote:


Live preview SWFs are wonky... its not displaying quite right in the IDE,
but perfect when used as a component. Essentially the same
sizing/positioning code. Oh well...

On 9/21/06, Charles Parcell [EMAIL PROTECTED] wrote:

 setSize(width:Number, height:Number);

 The IDE makes a call to it.

 Within the setSize() I have a call to my draw() function which does all
 the
 changing and moving of MC and such.

 Charles P.


 On 9/21/06, eric dolecki [EMAIL PROTECTED] wrote:
 
  Ya I had that - was hoping the same file being the component could be
 the
  live preview. I got it though - thanks :)
 
  On 9/21/06, Muzak [EMAIL PROTECTED] wrote:
  
   You need to add an 'Inspectable' metadate tag to the getter/setter
  
   [Inspectable]
   function get prop(){}
   function set prop(){}
  
   [Inspectable(type=String,defaultValue=value)]
   function get prop(){}
   function set prop(){}
  
   check the manual for more details:
  
   Using components - Creating components - Creating the AS class
file
 -
   Adding component metadata
  
   regards,
   Muzak
  
   - Original Message -
   From: eric dolecki [EMAIL PROTECTED]
   To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
   Sent: Thursday, September 21, 2006 7:09 PM
   Subject: [Flashcoders] Component Live Preview...
  
  
   I have a pretty simple component with inspectables to allow the
 setting
   of 2
simple strings.
   
Flash 8 is supposed to allow for the ease of live previews with
   components.
What do I need to put in my component class to allow updates on
the
   Stage of
the component instance to update? I've tried a couple things, even
  using
   the
old xch. stuff to no avail here. I put an onUpdate in the class
 (just
  to
see) and it doesn't seem to do anything.
   
??
  
  
   ___
   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 Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
  ___
  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 Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread l u c h y x

Hi..Nice tiny app. :P
I compress a video of 20Mb.

  - AVI format
  - size WxH: 480x360px
  - Duration: 00:03:18
  - Sound-128kbps
  - MPEG Layer3
  - Video 30fps
  - 100kbps

Are you using ffmpeg. :?

I think the pref panel can display if you double-click the drag area.
And/Or In a context-menu of the systray icon.

Best.


On 9/21/06, Berkay Unal [EMAIL PROTECTED] wrote:


Hi again,

This program convert video files to FLV video on the fly.

Andy currently i am having some problems on the wmv4 . I guess your video
is
wmv with that codes.

Slangaberg i am thinking of having a setting panel for the video options.
But i could not find a good place for it yet. I want the application to be
small as possible on the desktop. Maybe a tray menu will work out.

For all who has tested it thanks.

Berkay


On 9/21/06, Andy Stone [EMAIL PROTECTED] wrote:

 I converted a 21MB .wmv to a 0k .flv.

 Win XP Pro 2002
 SP2
 3.39 GHz
 2GB RAM

 I dropped the file in the box it too about 4 seconds to convert.

 -Andy


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Berkay
 Unal
 Sent: Thursday, September 21, 2006 1:11 PM
 To: [FlashCoders]
 Subject: [Flashcoders] Beta testers and comments needed

 Hi Coders,

 I've cretaed a drap n drog flv converter. But i need to have some beta
 testers and comments on it. If you have a try on it it'll cool

 You can find the download url at the url below.

 http://www.berkayunal.com/flvbuddy/


 --
 Berkay UNAL
 [EMAIL PROTECTED]
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
Berkay UNAL
[EMAIL PROTECTED]
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FileReference browse() window

2006-09-21 Thread Michael Stuhr

Merrill, Jason schrieb:

I'm using the Filerefence class on a project, and it works great
uploading a file to our .NET server. (actually let me say, it's AWESOME
- Flash should have had this a looong time ago).

Question:

Is there a way to control the X and Y position of the Filereference
browse window that appears when you call browse()?  I couldn't find
anything in the docs.

  

that's because there is no such way.

to me it would be *much* more useful if we could use a resizable win.
who ever implemented this stuff: wtf ?

micha


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Hiding MD5 shared secret

2006-09-21 Thread Michael Stuhr

David Rorex schrieb:

hide the secret in many different places throughout the swf, and then
combine them together to produce the actual code (using some odd formula).
name them things that make it seem related to something else. part of the
shared secret should also come from the server, so that it is different
every time.

some lame examples:

_root.someInvisibleMC._x=123;
_root.someInvisibleMC._y=124; // 124 is hardcoded on the server
// ...
highscores = server.getHighScores(); // actually returns a random number
which is also stored on the server
var userID = getTimer();
server.trackUsage(userID); // server stores this value as well
// ...
var currentDate =
MD5(_root.someInvisibleMC._y+highscores+userID+currentScore); // server can
also calculate this, because it knows all the same pieces of data
// ...
submitScore(currentDate, currentScore); // actually submit the score to the
server

hope this gives you some ideas. in the end, it's pretty much impossible to
completely secure it, you just have to make the barrier high enough that
they will give up attacking your game, and try on some less-well defended
one.
but...if the player's score actually gives them some reward which has real
value (a prize, or a coupon, or free download or something), assume that it
will be hacked, no matter what you do.

-David R

  


reminds me of:
http://thc.segfault.net/root/phun/unmaintain.html

:-)

micha
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Close/exit browser AS event?

2006-09-21 Thread Rich Rodecker

I use the javascript method, except i use the swfobject/javascript
integration kit...works fine for me.



On 9/21/06, David Rorex [EMAIL PROTECTED] wrote:


The only way I know to do it is from javascript, and then call to flash
using ExternalInterface, which is synchronous, thus the browser cannot
exit
until the flash function call finishes (so it wont 'zap' the flash object
in
the middle of your cleanup)

-David R

On 9/21/06, Michel Gaudette [EMAIL PROTECTED] wrote:

 Hi!

 Do any of you know how to catch the event (in Flash/AS) when a browser
 is closed or zapped?

 I think I could use the JavaScript unloadPage if it's called before the
 Flash object is zapped, but I'd prefer to use some sort of onUnload() on
 the main timeline...

 Any clues?
 Thanks!

 Michel
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Beta testers and comments needed

2006-09-21 Thread Berkay Unal

Hi Luchy,

Yes i am using ffmeg for the video convert. But thinging of switching it to
mplayer to support more options .

Thanks for your comments and opinion

Best


On 9/22/06, l u c h y x [EMAIL PROTECTED] wrote:


Hi..Nice tiny app. :P
I compress a video of 20Mb.

  - AVI format
  - size WxH: 480x360px
  - Duration: 00:03:18
  - Sound-128kbps
  - MPEG Layer3
  - Video 30fps
  - 100kbps

Are you using ffmpeg. :?

I think the pref panel can display if you double-click the drag area.
And/Or In a context-menu of the systray icon.

Best.


On 9/21/06, Berkay Unal [EMAIL PROTECTED] wrote:

 Hi again,

 This program convert video files to FLV video on the fly.

 Andy currently i am having some problems on the wmv4 . I guess your
video
 is
 wmv with that codes.

 Slangaberg i am thinking of having a setting panel for the video
options.
 But i could not find a good place for it yet. I want the application to
be
 small as possible on the desktop. Maybe a tray menu will work out.

 For all who has tested it thanks.

 Berkay


 On 9/21/06, Andy Stone [EMAIL PROTECTED] wrote:
 
  I converted a 21MB .wmv to a 0k .flv.
 
  Win XP Pro 2002
  SP2
  3.39 GHz
  2GB RAM
 
  I dropped the file in the box it too about 4 seconds to convert.
 
  -Andy
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Berkay
  Unal
  Sent: Thursday, September 21, 2006 1:11 PM
  To: [FlashCoders]
  Subject: [Flashcoders] Beta testers and comments needed
 
  Hi Coders,
 
  I've cretaed a drap n drog flv converter. But i need to have some beta
  testers and comments on it. If you have a try on it it'll cool
 
  You can find the download url at the url below.
 
  http://www.berkayunal.com/flvbuddy/
 
 
  --
  Berkay UNAL
  [EMAIL PROTECTED]
  ___
  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 Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
  ___
  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 Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --
 Berkay UNAL
 [EMAIL PROTECTED]
 ___
 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 Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
Berkay UNAL
[EMAIL PROTECTED]
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Runtime Skinning of a flash app.

2006-09-21 Thread Rudi Yardley
I am trying to design a flash based application that will require
multiple themes based on a theme id that should be passed into the main
movie. The way the application needs to work is that we need to have
runtime or scriptable selection of theme based on an input variable
like: 

main.swf?themeid=12 

Which will make all the controls in main.swf use the library link id
assets in theme_12.swf

Problem is that if I loadmovie in the theme_12.swf I have no access to
its library items via link id - so I found that I can trick flash into
doing it via using an empty shared library object in main.swf's library
and place it on the stage there somewhere. Ok this is great I now have
access to theme_12.swf's assets but do I now have to do this for all 20
themes??? Is there some way I can make the loading association
dynamically? Has anyone tried to do this or something similar before?

Cheers,

rudi
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] RE: was..does actionscript ...like sql's...now flash 8 security and external .as files

2006-09-21 Thread Patricia Britt
Thanks to Mike and Jim for your input, This is perfect but I couldn't use the 
class because  
   
  public static function contains(str:String, val:String):Boolean {
return str.indexOf(val) = 0;
}
  I tried this and it said I had to call to an external .as script.  We have 
been experiencing issues with external file calls in flash because of the web 
server to network share environment issue.  Flash applications are embedded 
into a scorm compliant LMS and external files can only exist on a network share 
not on the LMS web server.  I have been to Adobe's site and read their solution 
for a network setup like this but that may not come into fruition for some time 
and my users cannot be asked to individually change their security settings in 
flash.
  I do not  have the ability to access the LMS like my users (no test user 
account) so I hesitate to even try this because I won't know if it won't work 
until one of my users has issues.  Which is how I found out about the 
flashplayer 8 security enhancements.
  Sincerely,
   
  Patricia Britt
  

 


-
Get your email and more, right on the  new Yahoo.com 
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] FileReference + upload + larger files

2006-09-21 Thread Duncan Reid

Hello all,

I'm running into a peculiar problem with the FileReference class and i've
seen this problem crop up spurratically in my searches but can't find any
definitive information on it.

I'm inconsistently getting a script is causing Flash to run slowly dialog,
if i choose not to cancel the script the upload continues, the dialog will
come back, rinse repeat.  But it's very inconsistent, this happens maybe 8
out of 10, at different points within the upload.  It's not an IO, security
or http error, all server settings are proper, files have rights, php is set
to well over 500MB.  It's just strange as it actually does go through
sometimes.  I've come across the technote on adobe's site which discusses
the reasons why you might get this error and that confuses me even more
since this doesn't happen consistently.

I'm not doing anything fancy, no intervals, enterframes, for or while loops
etc, just using the onProgress event to scale a bar for the users
reference.  These files aren't massive and i'm well below the suggested
100MB limit, files tested range from 30-50MB.  This occurs on mac  pc,
firefox, safari, ie.  Also using the latest Flash player, haven't tried in 8
yet.  Also only uploading 1 file at a time not multiples using the
FileReferenceList.

Small files, 1-5MB go through without a hitch.

Has anyone experienced this?  I'm guessing there is no way around this other
than modifying the timeout time within the swf using Buraks SWF ScriptLimits
Injector but I'm hesitatnt to try that.

Thanks,
Dunc
___
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 Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com