Re: [Flashcoders] Export frame option disabled

2006-06-23 Thread Mike Boutin
Here is an example of the preloader used placed on the first frame of 
the movie.


this.onEnterFrame = function(){
var loaded:Number = this.getBytesLoaded();
var total:Number = this.getBytesTotal();
var percent:Number = Math.floor((loaded/total)*100);
load_txt.text = Loading... +percent+%;
loadBar._xscale = percent;
if (percent == 100){
gotoAndPlay(2);
delete this.onEnterFrame;
}
}
stop();


Mike


Mike wrote:

Are you basing the percentage on the frames loaded (100 * _framesloaded
/ _totalframes) or bytes loaded (100 * getBytesLoaded() /
getBytesTotal())? You should be doing the latter. If you are then ... um
 *tags someone else*

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Boutin
Sent: Thursday, June 22, 2006 1:52 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Export frame option disabled

Hey everyone,

Im creating a preloader and I notice that it doesnt start until about 
90% done loading the file.  I believe this is because my ui components 
are exported to the first frame.  I tried unchecking export to first 
frame with no difference.  I also tried changing the actionscript 
setting to export it to frame 2 rather than 1, but it is unavailable to 
change (the field is disabled).  Am I missing something here? ;) Thanks!




Mike
___
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] Export frame option disabled

2006-06-23 Thread stacey
http://www.gskinner.com/blog/archives/000104.html
Check out the preloading. You could also create a shell and preload in
that swf.



 Are you basing the percentage on the frames loaded (100 * _framesloaded
 / _totalframes) or bytes loaded (100 * getBytesLoaded() /
 getBytesTotal())? You should be doing the latter. If you are then ... um
  *tags someone else*

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mike
 Boutin
 Sent: Thursday, June 22, 2006 1:52 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Export frame option disabled

 Hey everyone,

 Im creating a preloader and I notice that it doesnt start until about
 90% done loading the file.  I believe this is because my ui components
 are exported to the first frame.  I tried unchecking export to first
 frame with no difference.  I also tried changing the actionscript
 setting to export it to frame 2 rather than 1, but it is unavailable to
 change (the field is disabled).  Am I missing something here? ;) Thanks!



 Mike
 ___
 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] getTextExtent weirdness

2006-06-23 Thread michal jaworski

i had this problem a while ago. the text would be rendred exactly the
same on all platforms buth the numbers returned from textExtend varied
depending on os, browser, i don't know what else. with a tendency to
cut off lines/letters on mac.
i came up with the following: took a largish block of text of length
(L), set the field width to the one i needed and counted how many rows
it would take in a static field (R). now C = L/R is an approximation
of how many letters fits in a row. you can measure H the height of a
single row in pixels on a static field too.
then to display your string textString you need field of
height=(Math.ceil(textString/C)+1)*H
i add one because it's approximate and i prefer to have some extra
space than cut off text. it works quite weel for strings tha occupy
more than 5 rows.
you can easily adapt is to measuring width of a single row of text too.
cheers,
michal


I've noticed a post about this in the archives, but it was described
as a
Mac issue and I'm getting it on a PC. I'm trying to use
TextFormat.getTextExtent() to do some image calculations, but I'm
getting enormous values. I suspect it's because my text includes
newline characters, but that's just a guess.

The docs say the function is deprecated, but the liveDocs
emphatically deny this. Anyone got any suggestions?

___
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] Export frame option disabled

2006-06-23 Thread Mick G

This is one of the reasons I avoid MM components unless I totally have to.

Most of the components will only work if you export in first frame so the
only option I''ve found is:
- Put your content in an external SWF (which also causes problems because of
a bug with the components needing an instance in the root library if they're
loaded into target MCs). So, you now need to create a Shared Library for the
components and preload them (or if you don't want the hassle of a shared
library, some components get around this bug if you put a _lockroot in the
SWF containing them).

I'd love to hear other peoples solutions to component preloading.


On 6/24/06, Mike Boutin [EMAIL PROTECTED] wrote:


Here is an example of the preloader used placed on the first frame of
the movie.

this.onEnterFrame = function(){
var loaded:Number = this.getBytesLoaded();
var total:Number = this.getBytesTotal();
var percent:Number = Math.floor((loaded/total)*100);
load_txt.text = Loading... +percent+%;
loadBar._xscale = percent;
if (percent == 100){
gotoAndPlay(2);
delete this.onEnterFrame;
}
}
stop();


Mike


Mike wrote:
 Are you basing the percentage on the frames loaded (100 * _framesloaded
 / _totalframes) or bytes loaded (100 * getBytesLoaded() /
 getBytesTotal())? You should be doing the latter. If you are then ... um
  *tags someone else*

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mike
 Boutin
 Sent: Thursday, June 22, 2006 1:52 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Export frame option disabled

 Hey everyone,

 Im creating a preloader and I notice that it doesnt start until about
 90% done loading the file.  I believe this is because my ui components
 are exported to the first frame.  I tried unchecking export to first
 frame with no difference.  I also tried changing the actionscript
 setting to export it to frame 2 rather than 1, but it is unavailable to
 change (the field is disabled).  Am I missing something here? ;) Thanks!



 Mike
 ___
 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] onEnterFrame / SetInterval in a Class (with Delegate)

2006-06-23 Thread azsl1326-email
Hello All ---

I am trying to run an onEnterFrame or setInterval in a Class (which extends 
mx.core.UIComponent) and not having much luck. 
If I use onEnterFrame it runs once and then dies. I have even tried using 
Delegate with the onEnterFrame and still no luck. 
Likewise, I have tried using setInterval with Delegate and while it gets called 
it only seems to keep the scope passed from the 
Delegate the first time thru. The remaining calls, the scope is undefined.

Any ideas as to what I am doing wrong.

Thanks for any and all replies.


___
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] Fjax... does this seem ridiculous to anyone else?

2006-06-23 Thread ryanm

http://www.fjax.net/

ryanm
___
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] Export frame option disabled

2006-06-23 Thread Mike Boutin
Hmm thanks for the tips.  I think ill just strip all the components out 
:) Thanks again!



Mike

Mick G wrote:

This is one of the reasons I avoid MM components unless I totally have to.

Most of the components will only work if you export in first frame so the
only option I''ve found is:
- Put your content in an external SWF (which also causes problems 
because of
a bug with the components needing an instance in the root library if 
they're
loaded into target MCs). So, you now need to create a Shared Library for 
the

components and preload them (or if you don't want the hassle of a shared
library, some components get around this bug if you put a _lockroot in the
SWF containing them).

I'd love to hear other peoples solutions to component preloading.


On 6/24/06, Mike Boutin [EMAIL PROTECTED] wrote:


Here is an example of the preloader used placed on the first frame of
the movie.

this.onEnterFrame = function(){
var loaded:Number = this.getBytesLoaded();
var total:Number = this.getBytesTotal();
var percent:Number = Math.floor((loaded/total)*100);
load_txt.text = Loading... +percent+%;
loadBar._xscale = percent;
if (percent == 100){
gotoAndPlay(2);
delete this.onEnterFrame;
}
}
stop();


Mike


Mike wrote:
 Are you basing the percentage on the frames loaded (100 * _framesloaded
 / _totalframes) or bytes loaded (100 * getBytesLoaded() /
 getBytesTotal())? You should be doing the latter. If you are then 
... um

  *tags someone else*

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mike
 Boutin
 Sent: Thursday, June 22, 2006 1:52 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Export frame option disabled

 Hey everyone,

 Im creating a preloader and I notice that it doesnt start until about
 90% done loading the file.  I believe this is because my ui components
 are exported to the first frame.  I tried unchecking export to first
 frame with no difference.  I also tried changing the actionscript
 setting to export it to frame 2 rather than 1, but it is unavailable to
 change (the field is disabled).  Am I missing something here? ;) 
Thanks!




 Mike
 ___
 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] Physics Engine?

2006-06-23 Thread franto

it was discussed last wekk or 2 weeks ago, try to search in archives. There
were another engine (at least 1:)

On 6/22/06, Ian Thomas [EMAIL PROTECTED] wrote:


Hi folks,
  Does anyone know if there's an Actionscript (preferably AS2) physics
engine out there other than Flade?

Thanks,
  Ian
___
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





--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
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] Fjax... does this seem ridiculous to anyone else?

2006-06-23 Thread Mike Britton

Seems like a hack to me, from both the AJAX programming and Flash
programming perspective.

Mike
___
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] Fjax... does this seem ridiculous to anyone els e?

2006-06-23 Thread Dave Watts
 Of course I am not an ajax programmer, but if its as hard as 
 they say, and if it makes it easier for ajax programmers to 
 code then why not?

AJAX programming is not hard at all, as long as you know JavaScript and a
server-side programming language. There's no need to have your server-side
programming language return XML, either, so this is a solution in search of
a problem.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

___
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] Fjax... does this seem ridiculous to anyone els e?

2006-06-23 Thread Steven Sacks | BLITZ
AJAX is just a buzzword anyway.  The methodology has been around
forever.  

___
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] Fjax... does this seem ridiculous to anyone els e?

2006-06-23 Thread hank williams


AJAX programming is not hard at all, as long as you know JavaScript and a
server-side programming language. There's no need to have your server-side
programming language return XML, either, so this is a solution in search
of
a problem.




Lol. So the whole thing about their code eliminating the differences
between browsers is huey huh?!

Thats funny. Well *they* seem to think they have done something really good.
At least they are amusing themselves. Of course I would love to hear their
defense.

Hank
___
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] Fjax... does this seem ridiculous to anyone else?

2006-06-23 Thread Rich Rodecker

ridiculous?  not really, i think its kind of slick, the idea to use
flash as your xml parser rather than the browser.

Overblown?  defintely.  i think i can actually hear those guys
stroking themselves from here.



On 6/23/06, hank williams [EMAIL PROTECTED] wrote:

Well... not really.

Of course I am not an ajax programmer, but if its as hard as they say, and
if it makes it easier for ajax programmers to code then why not?

Hank

On 6/23/06, ryanm [EMAIL PROTECTED] wrote:

 http://www.fjax.net/

 ryanm
 ___
 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] Fjax... does this seem ridiculous to anyone else?

2006-06-23 Thread mark . s . luker
Error parsing XML data .. LOL!

The Digg Effect strikes again.  Anyway, I don't think it's hard to use
conditional branching in your Javascript to account for browser
differences, but I think FJAX is a neat idea anyway.



Mark Luker
Illustration Design  Interactive Media
GREF-Southern Facilities-Visual Communication Solutions
GSC-EMB-877B
713-656-4194


Taking on ExxonMobil's toughest web  multi-media design challenges
» http://emgs.na.xom.com/gref/bcsc/default.htm







___
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] peer 2 peer

2006-06-23 Thread Thomas Marbois

hi

has anyone tried making a peer 2 peer client via Flash?  Anyone care  
to make an opinion about the possibilities or difficulties?


thanks

Tj

___
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] Fjax... does this seem ridiculous to anyone else?

2006-06-23 Thread ryanm

Of course I am not an ajax programmer, but if its as hard as they say, and
if it makes it easier for ajax programmers to code then why not?

   Because it makes your web site dependant on the Flash plugin when it 
doesn't need to be. You're trading the effort of browser compatibility for 
the effort of Flash versioning, which are about equal to begin with. But 
browser compatibility doesn't require VBScript. :-P


ryanm 


___
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] Oregano forum/mailing list/etc

2006-06-23 Thread ryanm
   Where can I find one? I'm getting some errors and I need an archive to 
search. ;-)


ryanm 


___
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] Good component sets? (was: Re: XP Components gonebad)

2006-06-23 Thread Rich Rodecker

wow, those drumbeat ones look prety nice, good job.



On 6/22/06, judah [EMAIL PROTECTED] wrote:

While not trying to pimp my own stuff I'd like to add
http://drumbeatinsight.com to the list. It is a small set of components
that covers what I think were missing most from the V2 components. They
work with all the V2 components, extend them and fixes what I considered
were the main problems with them. If you want, check them out. They are
as up to date as one month ago, with version 3, and you can purchase the
source code for them if you need it.

Ville Walveranta wrote:
 The documenation is detailed, but there is so much stuff in the
 XP components that the documenation would have to be massive
 to cover it all.


 The XP Components documentation is mostly autogenerated (from code) with
 AS2DOC and while it describes the classes' methods and properties fairly
 well, IT HAS VIRTUALLY NO CODE EXAMPLES! That annoys heck out of me; just
 *one* simple this-is-how-you-instantiate-XP-Component-from-custom-class
 example would have made my day (or, two weeks, rather). Instead all examples
 use their xp.system.Application.Run() mehtod. Perhaps this means that's the
 only way to use them, but why?

 They're in Hong Kong, I think.

 Ville

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Todd Hivnor
 Sent: Wednesday, June 21, 2006 16:57
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Good component sets? (was: Re: XP Components
 gonebad)

 I just posted a similar question, look for the thread with subject line
 Best component set for Flash 8 / MTASC development?

 Quickly, tho, I'm feeling the same way:
  There seems to be a lack of good component
 sets these days.

 The XP components look very comprehensive,
 and have good keyboard control. But they don't
 seem to be under active development.
 The lead developer has responded to my initial questions,
 but seems to be in a far east timezone so responses
 take full day to get. The documenation is detailed,
 but there is so much stuff in the  XP components
 that the documenation would have to be massive
 to cover it all. I haven't spent too much time with them,
 but haven't been able to get a lot done in the time
 I've spent.

 There are a couple of open source projects under
 development, but are in either alpha or beta state.

 Ghostwire has poor keyboard control.

 David Rorex [EMAIL PROTECTED] wrote: There seems to be a lack of good
 component sets these days.

 Ghostwire: Maybe the best, but done in old-style AS1
 mCom: Pretty good, but a couple showstopper bugs, little to no support from
 developer. poor documentation.
 XP: see previous message
 MM v2: bloated, bugs
 Flex 2: requires flash 9

 What am I missing here? Are there any other full component sets I don't know
 about?

 -David R


 -
 Sneak preview the  all-new Yahoo.com. It's not radically different. Just
 radically better.
 ___
 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




--
Always bear in mind that your own resolution to succeed is more important than any 
one thing.

You can have anything you want - if you want it badly enough. You can be anything 
you want to be, do anything you set out to accomplish if you hold to that desire with 
singleness of purpose.

- Abraham Lincoln

___
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] Export frame option disabled

2006-06-23 Thread John VanHorn

two things you can do to remedy this problem:

1.pay attention to the bandwitdth profiler when you test your movie.it
sounds like the bulk of your movie is being loaded in the first frame. make
sure that the only thing on the timeline in the frame or frames where the
preloader works is the preloader. make sure classes are set to export in a
frame after the preloader. also if you have assets in the library set to
export for actionscript, by default, they load in the first frame. either
change that or store them off stage after the first couple of frames.

2. use a stub swf. you can make a very lightweight stub swf that contains
only the preloader and a blank movie clip in which to load your main movie.

On 6/22/06, Mike Boutin [EMAIL PROTECTED] wrote:


Hey everyone,

Im creating a preloader and I notice that it doesnt start until about
90% done loading the file.  I believe this is because my ui components
are exported to the first frame.  I tried unchecking export to first
frame with no difference.  I also tried changing the actionscript
setting to export it to frame 2 rather than 1, but it is unavailable to
change (the field is disabled).  Am I missing something here? ;) Thanks!



Mike
___
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





--
John Van Horn
[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] Fjax... does this seem ridiculous to anyone els e?

2006-06-23 Thread Dave Watts
  Lol. So the whole thing about their code eliminating the 
 differences between browsers is huey huh?!

Yeah, pretty much. There's very little about using XmlHTTPRequest that's
browser-dependent. If you're doing anything significant with the data you
return via AJAX, that's where you're more likely to run into browser
dependency issues, and this won't help with that.

Of course, one of the reasons for AJAX's current popularity is that browsers
are much more compatible than they used to be. We've been writing apps that
use the same sort of functionality for many years, but it's only recently
that you can do it without a lot of code explicitly to deal with browser
differences.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


___
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] Good component sets? (was: Re: XP Componentsgonebad)

2006-06-23 Thread Arnoud Bos

Check http://www.tufat.com/category3.htm
Dont know if they are good but really cheap and with AS2 source!
You can check the api and demo's as well.

Arnoud



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Rich Rodecker
Verzonden: vrijdag 23 juni 2006 20:50
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Good component sets? (was: Re: XP
Componentsgonebad)

wow, those drumbeat ones look prety nice, good job.



On 6/22/06, judah [EMAIL PROTECTED] wrote:
 While not trying to pimp my own stuff I'd like to add
 http://drumbeatinsight.com to the list. It is a small set of components
 that covers what I think were missing most from the V2 components. They
 work with all the V2 components, extend them and fixes what I considered
 were the main problems with them. If you want, check them out. They are
 as up to date as one month ago, with version 3, and you can purchase the
 source code for them if you need it.

 Ville Walveranta wrote:
  The documenation is detailed, but there is so much stuff in the
  XP components that the documenation would have to be massive
  to cover it all.
 
 
  The XP Components documentation is mostly autogenerated (from code) with
  AS2DOC and while it describes the classes' methods and properties fairly
  well, IT HAS VIRTUALLY NO CODE EXAMPLES! That annoys heck out of me;
just
  *one* simple this-is-how-you-instantiate-XP-Component-from-custom-class
  example would have made my day (or, two weeks, rather). Instead all
examples
  use their xp.system.Application.Run() mehtod. Perhaps this means that's
the
  only way to use them, but why?
 
  They're in Hong Kong, I think.
 
  Ville
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Todd
Hivnor
  Sent: Wednesday, June 21, 2006 16:57
  To: Flashcoders mailing list
  Subject: Re: [Flashcoders] Good component sets? (was: Re: XP Components
  gonebad)
 
  I just posted a similar question, look for the thread with subject line
  Best component set for Flash 8 / MTASC development?
 
  Quickly, tho, I'm feeling the same way:
   There seems to be a lack of good component
  sets these days.
 
  The XP components look very comprehensive,
  and have good keyboard control. But they don't
  seem to be under active development.
  The lead developer has responded to my initial questions,
  but seems to be in a far east timezone so responses
  take full day to get. The documenation is detailed,
  but there is so much stuff in the  XP components
  that the documenation would have to be massive
  to cover it all. I haven't spent too much time with them,
  but haven't been able to get a lot done in the time
  I've spent.
 
  There are a couple of open source projects under
  development, but are in either alpha or beta state.
 
  Ghostwire has poor keyboard control.
 
  David Rorex [EMAIL PROTECTED] wrote: There seems to be a lack of good
  component sets these days.
 
  Ghostwire: Maybe the best, but done in old-style AS1
  mCom: Pretty good, but a couple showstopper bugs, little to no support
from
  developer. poor documentation.
  XP: see previous message
  MM v2: bloated, bugs
  Flex 2: requires flash 9
 
  What am I missing here? Are there any other full component sets I don't
know
  about?
 
  -David R
 
 
  -
  Sneak preview the  all-new Yahoo.com. It's not radically different. Just
  radically better.
  ___
  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
 
 


 --
 Always bear in mind that your own resolution to succeed is more important
than any one thing.

 You can have anything you want - if you want it badly enough. You can be
anything you want to be, do anything you set out to accomplish if you hold
to that desire with singleness of purpose.

 - Abraham Lincoln

 ___
 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:

Re: [Flashcoders] Best Flash data access way opinions

2006-06-23 Thread Mick G

Hey no laughing - my point was that they support PHP, nothing more :P


On 6/23/06, Michael Stuhr [EMAIL PROTECTED] wrote:


Mick G schrieb:

 You can build a fully blown database driven site in Dreamweaver (allbeit
not
 perfect code)

LOL


___
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] Fjax... does this seem ridiculous to anyone else?

2006-06-23 Thread Ville Walveranta

Yes.. why not use remoting instead? Much cleaner from both the Flash and
server perspective. Of course, perhaps with aid of AJAX Flash front-end can
be fitted to more back-ends.

Ville

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton
Sent: Friday, June 23, 2006 12:47
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Fjax... does this seem ridiculous to anyone else?

Seems like a hack to me, from both the AJAX programming and Flash
programming perspective.

Mike
___
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] peer 2 peer

2006-06-23 Thread Mark Lapasa
It's possible to do it with the help of a 3rd party wrapper like Northcode's
UDP/TCP API or even using Python Simple Socket Server.

It's impossible to do a Flash Player to a remote Flash Player directly
because you need some external common meeting place (like a server) to tell
you that somebody is waiting to connect. Also there is nothing in Flash
Player 8 or less that would let you host incomming connections as all it can
do is pull stuff into the player via LoadVars or XML or XMLSocket.

So I think the minute you introduce a server that acts as a directory or
lobby for Flash Players to connect, your back to the old Client-Server model
which is not really P2P.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas
Marbois
Sent: Friday, June 23, 2006 2:25 AM
To: Flashcoders mailing list
Subject: [Flashcoders] peer 2 peer


hi

has anyone tried making a peer 2 peer client via Flash?  Anyone care
to make an opinion about the possibilities or difficulties?

thanks

Tj

___
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] peer 2 peer

2006-06-23 Thread hank williams

It is not possible. Flash cannot connect to another flash peer for security
reasons. First of all, flash cannot accept incoming requests to connect. It
can only generate connection requests.

It is conceivable that Apollo will do p2p, but if my recollection serves me,
I read that while they are considering it, it would probably not be in a
first release.

Regards,
Hank

On 6/23/06, Thomas Marbois [EMAIL PROTECTED] wrote:


hi

has anyone tried making a peer 2 peer client via Flash?  Anyone care
to make an opinion about the possibilities or difficulties?

thanks

Tj

___
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] Fjax... does this seem ridiculous to anyone els e?

2006-06-23 Thread Palmer, Jim
Dave has it right - the only issue on browser dependency I've found was with
sending hefty packets via the xmlhttprequest... beyond the browser actually
supporting the call in the first place.

The biggest hurdle I found was the space character being presented as a +
character when using Safari.

Another bit - for debugging xmlhttprequest I found the firebug extension
for firefox to be very powerful.

--
Jim Palmer ! Mammoth Web Operations

 Yeah, pretty much. There's very little about using 
 XmlHTTPRequest that's
 browser-dependent. If you're doing anything significant with 
 the data you
 return via AJAX, that's where you're more likely to run into browser
 dependency issues, and this won't help with that.
 
 Of course, one of the reasons for AJAX's current popularity 
 is that browsers
 are much more compatible than they used to be. We've been 
 writing apps that
 use the same sort of functionality for many years, but it's 
 only recently
 that you can do it without a lot of code explicitly to deal 
 with browser
 differences.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.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] peer 2 peer

2006-06-23 Thread Thomas Marbois

ah

yea...

but IF the server is JUST a meeting spot -- could Flash clients  
actually host data?  As long as the server is just doing the mapping  
of other clients its okbut what I was thinking about was having  
them all hold data somehow.   Like - what is the internal limit for  
Flash plug in - receiving data?  Is it browser limit? etc...


Thanks

Tj


On Jun 23, 2006, at 1:23 PM, Mark Lapasa wrote:

It's possible to do it with the help of a 3rd party wrapper like  
Northcode's

UDP/TCP API or even using Python Simple Socket Server.

It's impossible to do a Flash Player to a remote Flash Player directly
because you need some external common meeting place (like a server)  
to tell
you that somebody is waiting to connect. Also there is nothing in  
Flash
Player 8 or less that would let you host incomming connections as  
all it can

do is pull stuff into the player via LoadVars or XML or XMLSocket.

So I think the minute you introduce a server that acts as a  
directory or
lobby for Flash Players to connect, your back to the old Client- 
Server model

which is not really P2P.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas
Marbois
Sent: Friday, June 23, 2006 2:25 AM
To: Flashcoders mailing list
Subject: [Flashcoders] peer 2 peer


hi

has anyone tried making a peer 2 peer client via Flash?  Anyone care
to make an opinion about the possibilities or difficulties?

thanks

Tj

___
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] Applying transformations to text?

2006-06-23 Thread aklist_flash




I think you'd need to use bitmapData and some filters on it... like
displacement mapping, etc. Not a small task.


I took a look at the BitMapData class and the displacementMapFilter and I'm 
not sure if it can do what I want or not. I looked at the PerlinNoise filter 
as well and I don't see any way of creating a simple, symmetrical distortion 
with it.


Is it possible to take a regular bitmap shape (say, a bulging square) and 
map a MC or image to it?





On 6/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 Hi All: I'm bringing this question over from flash-newbie at the
 suggestion of the list.

 I'm looking for insight into applying transformations to text (or
 vectorized text) such as Adobe's warp functionality, where you can
take
 an object and make it bulge, arc, squeeze, spherize, etc. in flash.

 Is it possible, or has anyone already done it? The goal would be to 
 have

 an interface where a user could input a line of text and then apply one
of
 several distortion effects to it.

 TIA, AK

OK...please LART me if I'm asking this question wrong!

I see that I can take a line of text, break it apart, and then grab the
envelope controls in the IDE and distort it however I want...but is there
a
way to programmatically control the envelope controls?

What I'd like to do is:

1) Create an interface where the user can type in a line of text, hit
enter,
and have the text appear as a draggable symbol (I can do that).

I think I would store the strings in vars, so I can manipulate them
destructively but be able to go back to the original text if necessary.

2) Have a combobox with all the system fonts in it, and have the user
select
the font they want to apply to the text/symbol (I think I can do that).

3) Make the symbol scalable so the user can position it however they
want
against a reference shape (I can do that).

4) Have a combobox or radio array of envelope distortions that the user
could apply to the text/symbol one at a time. I imagine that I could 
write

a
function that would take an object and apply some predetermined envelope
modifications to create a desired effect, like arc or bulge

Is step 4 possible?

TIA, AK



___
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] Physics Engine?

2006-06-23 Thread Ian Thomas

Thanks Franto - my mistake for skipping that discussion. The other one
mentioned is:
http://www.harveycartel.org/metanet/tutorials.html

However, the last discussion was about free physics engine, whereas
I'll happily take a look at anything commercial out there as well - if
anyone's got any commercial suggestions, please let me know.

Cheers,
 Ian

On 6/23/06, franto [EMAIL PROTECTED] wrote:

it was discussed last wekk or 2 weeks ago, try to search in archives. There
were another engine (at least 1:)

___
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] Can Flash for Pocket PC interface external devices?

2006-06-23 Thread Zárate

Hi,

I have a Flash application inside a C wrapper to gain access to the
PDA file system (mostly read and write txt/xml files) without major
problems.

We´re communicating both applications via XMLSockets (you cannot use
ExternalInterface because player the Flash PPC player is player 7),
which is not beautiful but does the work.

HTH

On 6/23/06, Ettore Paolillo [EMAIL PROTECTED] wrote:

Hi all!
I am considering the possibility of using Flash Player 7 for Pocket PC to
build the client-side (PDA-based) user interface of an application
communicating via GPRS with a server. In addition to UI and GPRS
communication handling, the PDA needs to interface an RFID-reader module
installed in the Compact Flash slot of the PDA itself.
My concern is mainly related to interfacing external devices (RFID reader,
GPRS communication module etc.) from Flash.
Can this be done? Are there any 3rd-party tools facilitating this task? Can
anyone point me to relevant document/articles?
TIA

Ettore Paolillo
COSI srl
Viale Sondrio, 7
Milano - Italy
www.cosi.it





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Juan Delgado - Zárate
http://www.zarate.tv
___
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] Numeric Stepper - limiting field length?

2006-06-23 Thread Ville Walveranta
Does anyone here happen to know a way to limit the field length in the V2
numeric stepper component? In TextInput the same can be accomplished fairly
easily as every keypress within it broadcasts a change event. Numeric
stepper doesn't appear to do so; a change is broadcast only when the focus
is lost, or when the up or down arrow is clicked. Nor are keyUp or
keyDown events broadcast on every keypress. I'd like to limit keyboard
entry to two characters. Validation will, of course, reset the value to the
maximum allowed on loss of focus but for clarity's sake - especially since
Numeric Stepper's display window is pretty small - it would be nice to
prevent users from entering more digits than what can be displayed.

 

Thanks!

 

Ville

 

___
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] TextField behaves differently in player v7 and v8

2006-06-23 Thread GregoryN
Hello Flashcoders,

I've found substantial differencies in TextField behavior when the
movie is played in Flash Player v7 (7.0.19.0) and v8(8.0.24.0).

Moments I have problems with are:
- IMG tag with external swf (or clip from library) embedded
- .maxscroll property

I'd like to avoid version-specific corrections (using
System.capabilities.version)...

Have anyone some relevant experience to share?

Thanks in advance.
  

-- 
Best regards,
 GregoryN

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

___
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] Numeric Stepper - limiting field length?

2006-06-23 Thread Ville Walveranta

Never mind.. :) maxChars appears to work for Numeric Stepper the same way it
does for TextInput even though it's not in the documentation.

Ville

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ville
Walveranta
Sent: Friday, June 23, 2006 22:18
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Numeric Stepper - limiting field length?

Does anyone here happen to know a way to limit the field length in the V2
numeric stepper component? In TextInput the same can be accomplished fairly
easily as every keypress within it broadcasts a change event. Numeric
stepper doesn't appear to do so; a change is broadcast only when the focus
is lost, or when the up or down arrow is clicked. Nor are keyUp or
keyDown events broadcast on every keypress. I'd like to limit keyboard
entry to two characters. Validation will, of course, reset the value to the
maximum allowed on loss of focus but for clarity's sake - especially since
Numeric Stepper's display window is pretty small - it would be nice to
prevent users from entering more digits than what can be displayed.

Thanks!

Ville

 

___
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