Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-15 Thread Tom Shaw
I think the problem I have got here is that Perl is really flexible
when it comes to making objects.

The WSDL is generated by hand, not automated.

This leaves a simple question...what services on the web allow public
access to methods that return a complex object?

Any ideas anyone?

Cheers,
Tom


On Mon, 14 Aug 2006 16:27:54 -0400, you wrote:

Yeah, sorry, this is more of a Perl SOAP WSDL generation issue than a
Flash issue I think.  I don't do the WSDL creation in .NET here, I have
a .NET C# developer I work with.  Nobody here knows Perl SOPA WSDL
creation in my group.  I do know that using native complex objects are
fine with Flash and .NET produced WSDLs, and they semi-problematic in
ColdFusion (according to some recent posts on this list - they
recommended sticking with the straight XML response instead), but I know
nothing of Perl-based WSDL SOAP requests.  I only know the basics of a
SOAP WSDL format, so I couldn't begin to debug yours... sorry.  Have you
compared your SOAP response to working ones on the Web?  

Best of luck to you,  

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Tom Shaw
Sent: Monday, August 14, 2006 3:28 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array
of complex
objects

Hi Jason,

Im using Perl with Apach2-SOAP under mod_perl.

If you are sending objects back and forth then I dont see why I should
be having problems.  It must be a problem with my WSDL or Perl SOAP
Response.

Since flash decodes the response according to the WSDL file then it
seems likely there is a problem with this bit.

I have included the WSDL file and a copy of the request and response.
Does the response look vastly different for an array of objects that
you might expect to see on your working Flash/SOAP project?

This is an example and triggers my problem and is as short as I could
make it.

- snip 8 --

Request
?xml version=1.0 encoding=utf-8?
SOAP-ENV:Envelope
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
  SOAP-ENV:Body xmlns:ns1=http://ice.zerofiveone.com/Objecttest;
ns1:getPeople
 SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  author xsi:type=xsd:int/author
/ns1:getPeople
  /SOAP-ENV:Body
/SOAP-ENV:Envelope

Response
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:namesp2=http://xml.apache.org/xml-soap;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  SOAP-ENV:Body
namesp6:getPeopleResponse
  xmlns:namesp6=http://ice.zerofiveone.com/Objecttest;
  SOAP-ENC:Array xsi:type=SOAP-ENC:Array
SOAP-ENC:arrayType=namesp2:SOAPStruct[3]
item xsi:type=namesp2:SOAPStruct
  name xsi:type=xsd:stringTom/name
  age xsi:type=xsd:int24/age
/item
item xsi:type=namesp2:SOAPStruct
  name xsi:type=xsd:stringChris/name
  age xsi:type=xsd:int26/age
/item
item xsi:type=namesp2:SOAPStruct
  name xsi:type=xsd:stringAndrew/name
  age xsi:type=xsd:int56/age
/item
  /SOAP-ENC:Array
/namesp6:getPeopleResponse
  /SOAP-ENV:Body
/SOAP-ENV:Envelope

And finally the WSDL - I tried to keep this as short as possible for
this example.

?xml version=1.0?
definitions
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
 xmlns:si=http://soapinterop.org/xsd;
 xmlns:tns=http://ice.zerofiveone.com/Objecttest;
 xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
 xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
 xmlns=http://schemas.xmlsoap.org/wsdl/;
 targetNamespace=http://ice.zerofiveone.com/Objecttest;
 types
   xsd:schema
  targetNamespace=http://ice.zerofiveone.com/Objecttest;
  xsd:import
namespace=http://schemas.xmlsoap.org/soap/encoding/; /
  xsd:import namespace=http://schemas.xmlsoap.org/wsdl/; /
  xsd:complexType name=Person
xsd:all
  xsd:element name=name type=xsd:string /
  xsd:element name=age type=xsd:string /
/xsd:all
  /xsd:complexType
  xsd:complexType name=PersonArray
xsd:complexContent
  xsd:restriction base=SOAP-ENC:Array
xsd:attribute ref=SOAP-ENC:arrayType
  wsdl:arrayType=tns:Person[] /
  /xsd:restriction
/xsd:complexContent
  /xsd:complexType
/xsd:schema
  

Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-15 Thread Tom Shaw
Ignore than...googles API will do for testing.

Ill report back when I have it fixed.

Cheers,
Tom


On Tue, 15 Aug 2006 08:56:05 +0100, you wrote:

I think the problem I have got here is that Perl is really flexible
when it comes to making objects.

The WSDL is generated by hand, not automated.

This leaves a simple question...what services on the web allow public
access to methods that return a complex object?

Any ideas anyone?

Cheers,
Tom


On Mon, 14 Aug 2006 16:27:54 -0400, you wrote:

Yeah, sorry, this is more of a Perl SOAP WSDL generation issue than a
Flash issue I think.  I don't do the WSDL creation in .NET here, I have
a .NET C# developer I work with.  Nobody here knows Perl SOPA WSDL
creation in my group.  I do know that using native complex objects are
fine with Flash and .NET produced WSDLs, and they semi-problematic in
ColdFusion (according to some recent posts on this list - they
recommended sticking with the straight XML response instead), but I know
nothing of Perl-based WSDL SOAP requests.  I only know the basics of a
SOAP WSDL format, so I couldn't begin to debug yours... sorry.  Have you
compared your SOAP response to working ones on the Web?  

Best of luck to you,  

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Tom Shaw
Sent: Monday, August 14, 2006 3:28 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash 8 - Decoding a SOAP Response - Array
of complex
objects

Hi Jason,

Im using Perl with Apach2-SOAP under mod_perl.

If you are sending objects back and forth then I dont see why I should
be having problems.  It must be a problem with my WSDL or Perl SOAP
Response.

Since flash decodes the response according to the WSDL file then it
seems likely there is a problem with this bit.

I have included the WSDL file and a copy of the request and response.
Does the response look vastly different for an array of objects that
you might expect to see on your working Flash/SOAP project?

This is an example and triggers my problem and is as short as I could
make it.

- snip 8 --

Request
?xml version=1.0 encoding=utf-8?
SOAP-ENV:Envelope
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
  SOAP-ENV:Body xmlns:ns1=http://ice.zerofiveone.com/Objecttest;
ns1:getPeople
 SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  author xsi:type=xsd:int/author
/ns1:getPeople
  /SOAP-ENV:Body
/SOAP-ENV:Envelope

Response
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:namesp2=http://xml.apache.org/xml-soap;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  SOAP-ENV:Body
namesp6:getPeopleResponse
  xmlns:namesp6=http://ice.zerofiveone.com/Objecttest;
  SOAP-ENC:Array xsi:type=SOAP-ENC:Array
SOAP-ENC:arrayType=namesp2:SOAPStruct[3]
item xsi:type=namesp2:SOAPStruct
  name xsi:type=xsd:stringTom/name
  age xsi:type=xsd:int24/age
/item
item xsi:type=namesp2:SOAPStruct
  name xsi:type=xsd:stringChris/name
  age xsi:type=xsd:int26/age
/item
item xsi:type=namesp2:SOAPStruct
  name xsi:type=xsd:stringAndrew/name
  age xsi:type=xsd:int56/age
/item
  /SOAP-ENC:Array
/namesp6:getPeopleResponse
  /SOAP-ENV:Body
/SOAP-ENV:Envelope

And finally the WSDL - I tried to keep this as short as possible for
this example.

?xml version=1.0?
definitions
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:si=http://soapinterop.org/xsd;
xmlns:tns=http://ice.zerofiveone.com/Objecttest;
xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
xmlns=http://schemas.xmlsoap.org/wsdl/;
targetNamespace=http://ice.zerofiveone.com/Objecttest;
types
  xsd:schema
  targetNamespace=http://ice.zerofiveone.com/Objecttest;
  xsd:import
namespace=http://schemas.xmlsoap.org/soap/encoding/; /
  xsd:import namespace=http://schemas.xmlsoap.org/wsdl/; /
  xsd:complexType name=Person
xsd:all
  xsd:element name=name type=xsd:string /
  xsd:element name=age type=xsd:string /
/xsd:all
  /xsd:complexType
  xsd:complexType name=PersonArray
xsd:complexContent
  xsd:restriction base=SOAP-ENC:Array
xsd:attribute ref=SOAP-ENC:arrayType

[Flashcoders] fuse kit and events

2006-08-15 Thread flashcoders

allright boys.
just switched over from kicking with the regular laco tween class to using
the fuse kit engine.
though i am having some problems with the events.

first off i import (into one of my classes):

import com.mosesSupposes.fuse.* ;

then i do like:
var menuPress_out = new Fuse ( { target : clip , _height : 400 , ease :
'easeOutElastic' , seconds : 1.9 , delay : 0 } ) ;

so far so good. tween executes and works smooth.
though now i want to assign an event to this baby.

usually i use my own eventhandler class and with that i would just add like:

EventDelegate.create ( menuPress_out , onComplete , tweenDone ) ;

but of course this doesn't work. event is totally ignored. same result if
i use the adobe/mm eventdispatcher - nothing.

been reading a lot on the fuse site and doing a lot a googling, but i just
can't figure it out - seems like there is a million diffrent syntaxes..

anyone been doing this?

thanks,
fred



___
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] fuse kit and events

2006-08-15 Thread flashcoders

can add to that, that i dont want to use the callback thingie ({scope,
func,args}), since i want to check for events like onAdvance and similar..




 allright boys.
 just switched over from kicking with the regular laco tween class to using
 the fuse kit engine.
 though i am having some problems with the events.

 first off i import (into one of my classes):

 import com.mosesSupposes.fuse.* ;

 then i do like:
 var menuPress_out = new Fuse ( { target : clip , _height : 400 , ease :
 'easeOutElastic' , seconds : 1.9 , delay : 0 } ) ;

 so far so good. tween executes and works smooth.
 though now i want to assign an event to this baby.

 usually i use my own eventhandler class and with that i would just add
 like:

 EventDelegate.create ( menuPress_out , onComplete , tweenDone ) ;

 but of course this doesn't work. event is totally ignored. same result if
 i use the adobe/mm eventdispatcher - nothing.

 been reading a lot on the fuse site and doing a lot a googling, but i just
 can't figure it out - seems like there is a million diffrent syntaxes..

 anyone been doing this?

 thanks,
 fred



 ___
 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] Flash 8 - Decoding a SOAP Response - Array of complex objects

2006-08-15 Thread Tom Shaw
All fixed!

Similar to Jasons problem this was a SOAP generation problem in Perl
and the simple fact I wasnt doing it correctly.

for anyone else who is having problems using Perl you must make sure
you correctly type all your output to match the WSDL file.

Google API is an excellent resource to see how it should be done
correctly.

I will put up some example source files and documentation when I get
time.

Cheers,
Tom

On Mon, 14 Aug 2006 14:28:56 +0100, you wrote:

Hi all,  This is my first post on the list so Ill say hi now and hope
you are all friendly :)

Ive been going round for days on this one and have searched high and
low for an answer.  I even looked under the bed but all I found was
smelly socks, so before I actually go mad could anyone shed some light
on this rather annoying problem with Flash 8 Pro.

I have a SOAP server set up under mod_perl which delivers an array of
objects.

To avoid reinventing the wheel I wanted Flash to decode the SOAP
response from the server.  the result Im actually getting is an array
of XML Objects.

I could parse these XML objects but then I might as well and decode
the entire response manually anyway.  the overhead for getting flash
to decode the object has already been incurred so Id really like to
figure this out.

Now while this might seem trivial I do want to return some rather more
complex objects so this has effetively stopped my development for now.

I dont want to go down the path with flash Remoting at the minute but
for those who might suggest it I have considered it and may implement
it in the future.

If anyone is getting Flash to fully decode Arrays of Objects or any
other remotely complex data structure could they please post their
SOAP response and reply for me to study so I can try and find out what
exactly is wrong.

I have a few more questions to ask but for clarity Ill leave these for
another day.

Im not sure if posting my SOAP reply would help at this point...I will
create a simple example and post it shortly.

Id really appreciate some help here so Ill cross my fingers and hope
for the best.

Cheers,
Tom
___
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] jigsaw puzzle piece algorithm

2006-08-15 Thread Guntur N. Sarwohadi

Hello Danny,

Thanks alot.. this can't be any clearer :D, workin on it now :))

thanks again,
Guntur N. Sarwohadi
___
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] external jpegs mac problem

2006-08-15 Thread alex h lee
I have been troubled with this for a long time now and have tried almost 
everything in the world to figure out what the problem is.


http://tinyurl.com/jfnxa

it works on pc's, but not on macs (neither ie or safari)

that is to say: it loads all images instantaneously on pc's, but on macs it 
only loads a few of them, however many of them seem to pop up a while later 
(like minutes later). the mac doesnt show signs of stress in the whole 
process.


I have tried several different preloaders, bokel's loader class, even 
checking numerous times if one image is loaded before loading the next... 
and none of it seems to work on the mac.


does anyone have a guess what might cause the peculiar behaviour?

(dont mind the buttons in the bottom they are not working properly yet).

thank you!


___
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] external jpegs mac proble

2006-08-15 Thread eric dolecki

Can you post your code?

On 8/15/06, alex h lee [EMAIL PROTECTED] wrote:


I have been troubled with this for a long time now and have tried almost
everything in the world to figure out what the problem is.

http://tinyurl.com/jfnxa

it works on pc's, but not on macs (neither ie or safari)

that is to say: it loads all images instantaneously on pc's, but on macs
it
only loads a few of them, however many of them seem to pop up a while
later
(like minutes later). the mac doesnt show signs of stress in the whole
process.

I have tried several different preloaders, bokel's loader class, even
checking numerous times if one image is loaded before loading the next...
and none of it seems to work on the mac.

does anyone have a guess what might cause the peculiar behaviour?

(dont mind the buttons in the bottom they are not working properly yet).

thank you!


___
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] external jpegs mac problem

2006-08-15 Thread gerry
Loads fine over here on a FireFox(G4 Powerbook w/512mb ram). On a side
note...IE is dead on the Mac for several years now which might help your
testing proceedure.




 I have been troubled with this for a long time now and have tried almost
 everything in the world to figure out what the problem is.

 http://tinyurl.com/jfnxa

 it works on pc's, but not on macs (neither ie or safari)

 that is to say: it loads all images instantaneously on pc's, but on macs
 it
 only loads a few of them, however many of them seem to pop up a while
 later
 (like minutes later). the mac doesnt show signs of stress in the whole
 process.

 I have tried several different preloaders, bokel's loader class, even
 checking numerous times if one image is loaded before loading the next...
 and none of it seems to work on the mac.

 does anyone have a guess what might cause the peculiar behaviour?

 (dont mind the buttons in the bottom they are not working properly yet).

 thank you!


 ___
 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] external jpegs mac problem

2006-08-15 Thread Tyson Tune
works for me on Firefox 1.5 on MacBook 2.0 Intel.   They load in  
order from left to right, and everything loads.

On Aug 15, 2006, at 7:47 AM, alex h lee wrote:

I have been troubled with this for a long time now and have tried  
almost everything in the world to figure out what the problem is.


http://tinyurl.com/jfnxa

it works on pc's, but not on macs (neither ie or safari)

that is to say: it loads all images instantaneously on pc's, but on  
macs it only loads a few of them, however many of them seem to pop  
up a while later (like minutes later). the mac doesnt show signs of  
stress in the whole process.


I have tried several different preloaders, bokel's loader class,  
even checking numerous times if one image is loaded before loading  
the next... and none of it seems to work on the mac.


does anyone have a guess what might cause the peculiar behaviour?

(dont mind the buttons in the bottom they are not working properly  
yet).


thank you!


___
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] external jpegs mac problem

2006-08-15 Thread Tyson Tune
right, ram might be an issue on a n old mac.  I'm running 2 gigs, so  
everything is pretty fast

On Aug 15, 2006, at 8:15 AM, [EMAIL PROTECTED] wrote:


Loads fine over here on a FireFox(G4 Powerbook w/512mb ram). On a side
note...IE is dead on the Mac for several years now which might help  
your

testing proceedure.




I have been troubled with this for a long time now and have tried  
almost

everything in the world to figure out what the problem is.

http://tinyurl.com/jfnxa

it works on pc's, but not on macs (neither ie or safari)

that is to say: it loads all images instantaneously on pc's, but  
on macs

it
only loads a few of them, however many of them seem to pop up a while
later
(like minutes later). the mac doesnt show signs of stress in the  
whole

process.

I have tried several different preloaders, bokel's loader class, even
checking numerous times if one image is loaded before loading the  
next...

and none of it seems to work on the mac.

does anyone have a guess what might cause the peculiar behaviour?

(dont mind the buttons in the bottom they are not working properly  
yet).


thank you!


___
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] external jpegs mac problem

2006-08-15 Thread Margo Powell
Loads fine on IE on a pc but for firefox 1.5 on pc only about half of 
the images come up


alex h lee wrote:
I have been troubled with this for a long time now and have tried 
almost everything in the world to figure out what the problem is.


http://tinyurl.com/jfnxa

it works on pc's, but not on macs (neither ie or safari)

that is to say: it loads all images instantaneously on pc's, but on 
macs it only loads a few of them, however many of them seem to pop up 
a while later (like minutes later). the mac doesnt show signs of 
stress in the whole process.


I have tried several different preloaders, bokel's loader class, even 
checking numerous times if one image is loaded before loading the 
next... and none of it seems to work on the mac.


does anyone have a guess what might cause the peculiar behaviour?

(dont mind the buttons in the bottom they are not working properly yet).

thank you!


___
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



--
Margo Powell
Applications Analyst
Department of Nutrition
University of North Carolina at Chapel Hill
800 Eastowne Dr, Suite 100
Chapel Hill, NC 27514
919-408-3320 ext 30
[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] external jpegs mac proble

2006-08-15 Thread alex h lee
I am sorry all, after 2 days of intense head scratching I just now found out 
myself what the problem was.


it has nothing to do with the loadmovie action as I had first thought.

for others who experience similar problems, I will explain how I fixed mine:

the image_mc's I load pjgs into are masked. image_mc were placed at _x = -50 
(this I did to center the image in the mask). now, apparantly macs didnt 
quite like this. I tried manually moving the image_mc to _x = 0 just for the 
heck of it. and now it shows all images.


I guess it turns out that all images were loaded, they just werent shown... 
well, that is, some of them were and some of them wont... with no apparant 
pattern it seems.


so in short, if you experience the same:

if your image is being loaded into a masked movieclip make sure it is 
positioned at _x = 0 (or perhaps with the same _x as the mask) , else it 
might perform oddly on macs.


all 60 images now load perfectly, without preloaders, loader classes or 
anything.


I thank eric and others that may have answered me and apologize if I have 
wasted anyones time.


thanks!


From: eric dolecki [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] external jpegs  mac proble
Date: Tue, 15 Aug 2006 09:02:52 -0400

Can you post your code?

On 8/15/06, alex h lee [EMAIL PROTECTED] wrote:


I have been troubled with this for a long time now and have tried almost
everything in the world to figure out what the problem is.

http://tinyurl.com/jfnxa

it works on pc's, but not on macs (neither ie or safari)

that is to say: it loads all images instantaneously on pc's, but on macs
it
only loads a few of them, however many of them seem to pop up a while
later
(like minutes later). the mac doesnt show signs of stress in the whole
process.

I have tried several different preloaders, bokel's loader class, even
checking numerous times if one image is loaded before loading the next...
and none of it seems to work on the mac.

does anyone have a guess what might cause the peculiar behaviour?

(dont mind the buttons in the bottom they are not working properly yet).

thank you!


___
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] external jpegs mac problem

2006-08-15 Thread alex h lee

thank you very much tyson and gerry for taking your time to test it.

for test purposes I am using an old 400mhz G3 powerbook, 512mb memory 
running os x 10.3. the site didn't work on either ie or safari. but after I 
did the modification it worked perfectly on both.

maybe it has to do with the flash player, a bug that was fixed or something.



From: Tyson Tune [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] external jpegs  mac problem
Date: Tue, 15 Aug 2006 08:22:27 -0500

right, ram might be an issue on a n old mac.  I'm running 2 gigs, so  
everything is pretty fast

On Aug 15, 2006, at 8:15 AM, [EMAIL PROTECTED] wrote:


Loads fine over here on a FireFox(G4 Powerbook w/512mb ram). On a side
note...IE is dead on the Mac for several years now which might help  your
testing proceedure.





I have been troubled with this for a long time now and have tried  almost
everything in the world to figure out what the problem is.

http://tinyurl.com/jfnxa

it works on pc's, but not on macs (neither ie or safari)

that is to say: it loads all images instantaneously on pc's, but  on macs
it
only loads a few of them, however many of them seem to pop up a while
later
(like minutes later). the mac doesnt show signs of stress in the  whole
process.

I have tried several different preloaders, bokel's loader class, even
checking numerous times if one image is loaded before loading the  
next...

and none of it seems to work on the mac.

does anyone have a guess what might cause the peculiar behaviour?

(dont mind the buttons in the bottom they are not working properly  yet).

thank you!


___
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] external jpegs mac problem

2006-08-15 Thread alex h lee
I think you checked it on firefox just a few moments before the solution 
popped into my head. at that time I uploaded a new version of the swf that 
would only display 10 images. if you clear your cache you will see it now 
loads all images like it should.


I thank you for your consideration :)



From: Margo Powell [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] external jpegs  mac problem
Date: Tue, 15 Aug 2006 09:28:38 -0400

Loads fine on IE on a pc but for firefox 1.5 on pc only about half of the 
images come up


alex h lee wrote:
I have been troubled with this for a long time now and have tried almost 
everything in the world to figure out what the problem is.


http://tinyurl.com/jfnxa

it works on pc's, but not on macs (neither ie or safari)

that is to say: it loads all images instantaneously on pc's, but on macs 
it only loads a few of them, however many of them seem to pop up a while 
later (like minutes later). the mac doesnt show signs of stress in the 
whole process.


I have tried several different preloaders, bokel's loader class, even 
checking numerous times if one image is loaded before loading the next... 
and none of it seems to work on the mac.


does anyone have a guess what might cause the peculiar behaviour?

(dont mind the buttons in the bottom they are not working properly yet).

thank you!


___
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



--
Margo Powell
Applications Analyst
Department of Nutrition
University of North Carolina at Chapel Hill
800 Eastowne Dr, Suite 100
Chapel Hill, NC 27514
919-408-3320 ext 30
[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] double click problem

2006-08-15 Thread Rutul Patel

Hi people,
I have problem in double click,
I have one line between two object(box).
Now I need to double click on the line.
but I can not able to double click on line. If anybody can tell me
wt is the solution.

--
Regards,
Rutul Patel
___
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] double click problem

2006-08-15 Thread eric dolecki

You need to be much clearer in what your problem is.

On 8/15/06, Rutul Patel [EMAIL PROTECTED] wrote:


Hi people,
I have problem in double click,
I have one line between two object(box).
Now I need to double click on the line.
but I can not able to double click on line. If anybody can tell me
wt is the solution.

--
Regards,
Rutul Patel
___
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] zoomin'

2006-08-15 Thread sc . bh

hy

if you want to try with a 3D systeme - http://www.kirupa.com/ 
developer/actionscript/3dexplore.htm


l  Bach  ll  www.synchrome.net  l

Le 14 août 06 à 23:13, Flash Mel a écrit :

Have a look at this: www.rpa.com

Interesting concept.  My question is merely on the zooming; zooming
elements from far to wide.  I like this a lot.  I know it might be a
bit of a challenge for me, but i'm willing to try it.  If someone
could point me in the direction of some conceptual ideas that would be
fantastic.

Thanks all.

fM
___
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] OT SVN/Project Hosting

2006-08-15 Thread Fernando Flórez

http://www.svndude.net/

On 8/14/06, Ron Wheeler [EMAIL PROTECTED] wrote:

Can anyone recommend a good project hosting site with reasonable rates
and good uptime?
Want to host a small project 3-4 developers  - Flash and server side so
likely need several projects with the same team

Minimum SVN, Bugzilla, etc. Anything else to ask for?

Client side will be Eclipse.



___
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] Getting info on flash lite for brew

2006-08-15 Thread hank williams

I know this is not the right forum, but I am wondering if there is a
list where people discuss flash lite and specifically for brew (which,
by the way for those of you who dont know, means mobile flash has
arrived in a *very* big way).

Specifically, in case anybody here knows, I am wondering if flash lite
brew will allow flash to download and play mp3 files.

Thanks
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] fuse kit and events

2006-08-15 Thread [b) a d i
since you're mentioning it, i'd like to know what benefits you sought by
using thisi've yet to find a reason to use this over the tween class but
i know several people who swear by it and i'm not convinced...
thanks
- Original Message -
From: [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, August 15, 2006 2:09 AM
Subject: Re: [Flashcoders] fuse kit and events



 can add to that, that i dont want to use the callback thingie ({scope,
 func,args}), since i want to check for events like onAdvance and similar..



 
  allright boys.
  just switched over from kicking with the regular laco tween class to
using
  the fuse kit engine.
  though i am having some problems with the events.
 
  first off i import (into one of my classes):
 
  import com.mosesSupposes.fuse.* ;
 
  then i do like:
  var menuPress_out = new Fuse ( { target : clip , _height : 400 , ease :
  'easeOutElastic' , seconds : 1.9 , delay : 0 } ) ;
 
  so far so good. tween executes and works smooth.
  though now i want to assign an event to this baby.
 
  usually i use my own eventhandler class and with that i would just add
  like:
 
  EventDelegate.create ( menuPress_out , onComplete , tweenDone ) ;
 
  but of course this doesn't work. event is totally ignored. same result
if
  i use the adobe/mm eventdispatcher - nothing.
 
  been reading a lot on the fuse site and doing a lot a googling, but i
just
  can't figure it out - seems like there is a million diffrent syntaxes..
 
  anyone been doing this?
 
  thanks,
  fred
 
 
 
  ___
  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] Flex 2 - what is the equivalent of _parent for flex 2 (application scope question)

2006-08-15 Thread Jon Kong

I'm having problems trying to call a refresh data grid function from outside
the parent page.  For example i have a main mxml called
FlexGradeBook.mxmlthat has the datagrid and everything set up.  Then i
have another mxml
called DeleteRenderer.mxml that is used for an item renderer button in a
column of the datagrid (datagrid that's in FlexGradeBook.mxml).  When i
click the button on the datagrid, it calls a mouse event function in the
DeleteRenderer.mxml and after it does what it needs to do, i want to call
the refresh datagrid function that is in the FlexGradeBook.mxml page but
DeleteRenderer.mxml can not access anything in the main page...thus the main
page is out of scope within the DeleteRenderer.mxml.  So the deletion of the
row in the datagrid works but the datagrid does not refresh since i can't
call that function b/c it is out of scope.  Any help will be appreciated.
Thanks

Jon
___
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] yahoo map api example site

2006-08-15 Thread Kevin Aebig
Hey Helen,

Sorry I missed the original post. If you have any questions about it, let me
know.

Cheers,

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helen Triolo
Sent: Sunday, August 13, 2006 11:32 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] yahoo map api example site

many thanks, Richard!

richard carr wrote:

 Here ya go
 Richard


 Kevin Aebig [EMAIL PROTECTED] to Flashcoders
 More options  Jul 31With a pretty good fight, you can really customize 
 the
 yahoo maps component.

 http://www.oceancityguide.com/hotels/more.cfm?guideID=321


___
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] double click problem

2006-08-15 Thread Rutul Patel

I want to double click on line and make one swf file pop up,
but I can not able to open swf file as pop up,
if anyone know how to pop up swf file?
thanks


On 8/15/06, eric dolecki [EMAIL PROTECTED] wrote:


You need to be much clearer in what your problem is.

On 8/15/06, Rutul Patel [EMAIL PROTECTED] wrote:

 Hi people,
 I have problem in double click,
 I have one line between two object(box).
 Now I need to double click on the line.
 but I can not able to double click on line. If anybody can tell me
 wt is the solution.

 --
 Regards,
 Rutul Patel
 ___
 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





--
Regards,
Rutul Patel
___
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] double click problem

2006-08-15 Thread Merrill, Jason
1. Subscribe to Flashnewbies - this list isn't really for those kinds of
questions.
2. Read up on LoadMovie in the help docs.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Rutul Patel
Sent: Tuesday, August 15, 2006 10:48 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] double click problem

I want to double click on line and make one swf file pop up,
but I can not able to open swf file as pop up,
if anyone know how to pop up swf file?
thanks

___
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] Flex 2 - what is the equivalent of _parent for flex 2 (application scope question)

2006-08-15 Thread Merrill, Jason
This is a question for the Flexcoders list on Yahoo - you can get to it
from Google.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Jon Kong
Sent: Tuesday, August 15, 2006 10:47 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flex 2 - what is the equivalent of _parent for
flex 2
(application scope question)

I'm having problems trying to call a refresh data grid function from
outside
the parent page.  For example i have a main mxml called
FlexGradeBook.mxmlthat has the datagrid and everything set up.  Then i
have another mxml
called DeleteRenderer.mxml that is used for an item renderer button in
a
column of the datagrid (datagrid that's in FlexGradeBook.mxml).  When
i
click the button on the datagrid, it calls a mouse event function in
the
DeleteRenderer.mxml and after it does what it needs to do, i want to
call
the refresh datagrid function that is in the FlexGradeBook.mxml page
but
DeleteRenderer.mxml can not access anything in the main page...thus
the main
page is out of scope within the DeleteRenderer.mxml.  So the deletion
of the
row in the datagrid works but the datagrid does not refresh since i
can't
call that function b/c it is out of scope.  Any help will be
appreciated.
Thanks

Jon
___
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] v2 scroll pane clips its content

2006-08-15 Thread eric dolecki

Make sure the registration point of the contents getting slapped into the
pane are at 0,0. Sounds like its off there.

On 8/15/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote:


Hi list...

I have a v2 scroll pane on the stage that is cutting off the content on
the left side.  I suppose there isn't any AS to manipulate the offset
location of the content.  Any ideas?

- Michael M.

___
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] FlashRelief TableMaker

2006-08-15 Thread Merrill, Jason
I guess since I received 0 responses, nobody has used this tool or any
of FlashRelief's other products?

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Wednesday, August 09, 2006 5:10 PM
To: Flashcoders mailing list
Subject: [Flashcoders] FlashRelief TableMaker

Anyone have any experiences - good or bad - with FlashRelief and their
TableMaker Component?  Anyone know where they are located?

http://www.flashrelief.com

Looks pretty nice for $25.

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] Flex 2 - what is the equivalent of _parent for flex 2(application scope question)

2006-08-15 Thread Muzak
Dispatch an event from the DeleteRenderer when it's done.
Listen for the event in the parent (or whatever controls the datagrid) and 
refresh the datagrid from there.

regards,
Muzak

- Original Message - 
From: Jon Kong [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, August 15, 2006 4:46 PM
Subject: [Flashcoders] Flex 2 - what is the equivalent of _parent for flex 
2(application scope question)


 I'm having problems trying to call a refresh data grid function from outside
 the parent page.  For example i have a main mxml called
 FlexGradeBook.mxmlthat has the datagrid and everything set up.  Then i
 have another mxml
 called DeleteRenderer.mxml that is used for an item renderer button in a
 column of the datagrid (datagrid that's in FlexGradeBook.mxml).  When i
 click the button on the datagrid, it calls a mouse event function in the
 DeleteRenderer.mxml and after it does what it needs to do, i want to call
 the refresh datagrid function that is in the FlexGradeBook.mxml page but
 DeleteRenderer.mxml can not access anything in the main page...thus the main
 page is out of scope within the DeleteRenderer.mxml.  So the deletion of the
 row in the datagrid works but the datagrid does not refresh since i can't
 call that function b/c it is out of scope.  Any help will be appreciated.
 Thanks

 Jon


___
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] v2 scroll pane clips its content

2006-08-15 Thread Mendelsohn, Michael
Touchdown Dolecki!




 Make sure the registration point of the contents getting slapped into
the
pane are at 0,0. Sounds like its off there.

___
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] double click problem

2006-08-15 Thread Michael Stuhr

Merrill, Jason schrieb:

1. Subscribe to Flashnewbies - this list isn't really for those kinds of
questions.
2. Read up on LoadMovie in the help docs.

if you think his doubleclick problems can be solved by reading sth about LoadMovie, maybe 
you both should switch to the lounge :-)


@ rutul:

maybe you can describe your problem better, when you put a fla online somewhere. give us 
that link, and hope that someone with some more time than me will look at your code. oh, 
btw: could you then please reduce the code to what gives you trouble ?


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] double click problem

2006-08-15 Thread Merrill, Jason
if you think his doubleclick problems can be solved by reading sth
about
LoadMovie, maybe
you both should switch to the lounge 

Nice.  

Why the lounge?  Basic flash questions are for Flashnewbies, not the
lounge.

He was asking two things it seemed. One was how to how to pop up swf
file - so Flashnewbies, which would be a good resource for him.

If he was asking about specifically how to create a double-click event
on a button (which are not natively supported in Flash, you have to hack
it) then he needs to be more specific in defining his need. 



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] diff between var == value VS var eq value

2006-08-15 Thread dnk

Grant Cox wrote:
eq has been deprecated in favour of == for many years now.  While they 
should be equivalent, you should not use eq unless you are targeting 
Flash Player 4/5.


Is the code where == didn't work for Flash lite?

Yeah - that is what I thought. I was just checking for an empty string 
on a returned record set, and all I changed was:



if (var == ) {


to

if (var eq ) {


and that gave me the expected results.

I am just targeting flash 8.


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] diff between var == value VS var eq value

2006-08-15 Thread dnk

Haikal Saadh wrote:

Yes, they are different.r

Actionscript dictionary says 'eq' is deprecated. It just compares 
string representations, so what you might be doing is comparing a 
number to it's string representation (User input, perhaps?): 
http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary198.html 




What == does depends on what sort of data you're comparing. Again, 
from the dictionary:


The definition of equal depends on the data type of the parameter:

Numbers and Boolean values are compared by value, and are 
considered equal if they have the same value.
String expressions are equal if they have the same number of 
characters and the characters are identical.
Variables, objects, arrays, and functions are compared by 
reference. Two variables are equal if they refer to the same object, 
array, or function. Two separate arrays are never considered equal, 
even if they have the same number of elements.



Well here is a sample of what I was trying to compare...


var myLink:String = this._targetMc._DB.getItemAt(0).link01;

if (myLink == ) {
trace(it was empty);
} else {
trace(It had the result:  + myLink);
}

And I was just getting hte else returned with no myLink var shown (when 
the loop had the record empty). Then I switched to:



if (myLink eq ) {
trace(it was empty);
} else {
trace(It had the result:  + myLink);
}

And it worked as expected.


That is what confused me. And I really do not want to use the eq as it 
is depreciated.


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] FlashRelief TableMaker

2006-08-15 Thread Digital Rust
I've never used Table Maker but I have used their Thumb Gallery for  
some projects and like it. Very simple and never had a problem using  
it or getting support.


At $25 it's pretty reasonable.

-Dave



On Aug 15, 2006, at 8:09 AM, Merrill, Jason wrote:


I guess since I received 0 responses, nobody has used this tool or any
of FlashRelief's other products?

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions



-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Wednesday, August 09, 2006 5:10 PM
To: Flashcoders mailing list
Subject: [Flashcoders] FlashRelief TableMaker

Anyone have any experiences - good or bad - with FlashRelief and  
their

TableMaker Component?  Anyone know where they are located?

http://www.flashrelief.com

Looks pretty nice for $25.

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


___
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] FlashRelief TableMaker

2006-08-15 Thread Merrill, Jason
Thanks Dave.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Digital Rust
Sent: Tuesday, August 15, 2006 11:49 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FlashRelief TableMaker

I've never used Table Maker but I have used their Thumb Gallery for
some projects and like it. Very simple and never had a problem using
it or getting support.

At $25 it's pretty reasonable.

-Dave



On Aug 15, 2006, at 8:09 AM, Merrill, Jason wrote:

 I guess since I received 0 responses, nobody has used this tool or
any
 of FlashRelief's other products?

 Jason Merrill
 Bank of America
 Learning  Organization Effectiveness - Technology Solutions


 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Merrill, Jason
 Sent: Wednesday, August 09, 2006 5:10 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] FlashRelief TableMaker

 Anyone have any experiences - good or bad - with FlashRelief and
 their
 TableMaker Component?  Anyone know where they are located?

 http://www.flashrelief.com

 Looks pretty nice for $25.

___
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] [:::] appending html to a var for display not working and code not runnign as expected.

2006-08-15 Thread dnk
Ok so i have a recordset with links in which I am building an HTML 
string for display in an HTML field. Now for some reason the html traces 
out fine, but when assigned to an html txt field - the filed just shows 
as blank.


Now I do realize that the eq in this code sample is depreciated, 
however that is on another thread (as the == gave weird results). And 
I do realize that my if statements are backwards as I check for equality 
and do nothing until the else statement, but again, I was getting weird 
results (I was trying to test for an empty field from a database return 
- through amfphp - this seemed to be the only way I could get it to work 
- and I hate that it is not proper code).


Anyways - onto the code.

function handleGetLinks(re:ResultEvent)
   {
   this._DB = re.result;
   // initialize the last record count
   this._lastRecord = (this._DB.length - 1);
  
   //for (var i = this._currentRecord; i = this._lastRecord; i++)

   var myHtml:String = ;
   for (var i = 0; i = 10; i++)
   {
   var myLinker1 = this._DB.getItemAt(i).link01;
   var myLinker2 = this._DB.getItemAt(i).link02;
   var myLinker3 = this._DB.getItemAt(i).link03;
   var myLinker4 = this._DB.getItemAt(i).link04;
   var myLinker5 = this._DB.getItemAt(i).link05;
   if ((myLinker1 eq ) || (myLinker1 eq undefined))
   {
   }
   else
   {
   myHtml += a href=\ + myLinker1 + \ 
target=\_blank\ + myLinker1 + /abr;

   }
   if ((myLinker2 eq ) || (myLinker2 eq undefined))
   {
   }
   else
   {
   myHtml += a href=\ + myLinker2 + \ 
target=\_blank\ + myLinker2 + /abr;

   }
   if ((myLinker3 eq ) || (myLinker1 eq undefined))
   {
   }
   else
   {
   myHtml += a href=\ + myLinker3 + \ 
target=\_blank\ + myLinker3 + /abr;

   }
   if ((myLinker4 eq ) || (myLinker1 eq undefined))
   {
   }
   else
   {
   myHtml += a href=\ + myLinker4 + \ 
target=\_blank\ + myLinker4 + /abr;

   }
   if ((myLinker5 eq ) || (myLinker1 eq undefined))
   {
   }
   else
   {
   myHtml += a href=\ + myLinker5 + \ 
target=\_blank\ + myLinker5 + /abr;

   }
   }
   if ((myHtml eq ) || (myHtml eq undefined) || (myHtml eq null))
   {
   trace(it is empty);
   } else {
   trace(myHtml);
   this._targetMc.collectiveLinks.html = true;
   this._targetMc.collectiveLinks.htmlText = myHtml;
   }
   this._targetMc.collectiveLinks.htmlText = myHtml;
}

Now to me what I thought should have been the proper way to test would 
have been:



if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
{
myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 
+ /abr;

}

but then the trace of my results does not even work (it includes the 
records that are empty).


And to top it off - no matter what my text field does not have the HTML 
loaded into it.


It seems like something like this should be so simple.


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] fuse kit and events

2006-08-15 Thread Dan Rogers
I can't necessarily vouch for the Fuse part of the Fuse / Zigo  
engine, but I can say that in certain circumstances, the Zigo tween  
engine will perform more smoothly than the mx Tween class.  The mx  
Tween class is based entirely on frames to generate the animation,  
and will (at the expense of performance) render all of the frames as  
you specify them.The Zigo engine on the other hand uses a time- 
based system which will only play through as many frames necessary to  
complete your animation.  The benefit of Zigo is that you can change  
the framerate of your movie, and it will drop/add frames to play to  
your specified duration.  However in certain circumstances, you may  
want frame-level control over your animation, where the mx Tween  
class would be a better choice.


Hope that helps...

-Danro

On Aug 15, 2006, at 7:49 AM, [b) a d i [EMAIL PROTECTED] wrote:

since you're mentioning it, i'd like to know what benefits you  
sought by
using thisi've yet to find a reason to use this over the tween  
class but

i know several people who swear by it and i'm not convinced...
thanks





___
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] [:::] appending html to a var for display not working and code not runnign as expected.

2006-08-15 Thread eric dolecki

Why are you using this. ?


On 8/15/06, dnk [EMAIL PROTECTED] wrote:


Ok so i have a recordset with links in which I am building an HTML
string for display in an HTML field. Now for some reason the html traces
out fine, but when assigned to an html txt field - the filed just shows
as blank.

Now I do realize that the eq in this code sample is depreciated,
however that is on another thread (as the == gave weird results). And
I do realize that my if statements are backwards as I check for equality
and do nothing until the else statement, but again, I was getting weird
results (I was trying to test for an empty field from a database return
- through amfphp - this seemed to be the only way I could get it to work
- and I hate that it is not proper code).

Anyways - onto the code.

function handleGetLinks(re:ResultEvent)
{
this._DB = re.result;
// initialize the last record count
this._lastRecord = (this._DB.length - 1);

//for (var i = this._currentRecord; i = this._lastRecord; i++)
var myHtml:String = ;
for (var i = 0; i = 10; i++)
{
var myLinker1 = this._DB.getItemAt(i).link01;
var myLinker2 = this._DB.getItemAt(i).link02;
var myLinker3 = this._DB.getItemAt(i).link03;
var myLinker4 = this._DB.getItemAt(i).link04;
var myLinker5 = this._DB.getItemAt(i).link05;
if ((myLinker1 eq ) || (myLinker1 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker1 + \
target=\_blank\ + myLinker1 + /abr;
}
if ((myLinker2 eq ) || (myLinker2 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker2 + \
target=\_blank\ + myLinker2 + /abr;
}
if ((myLinker3 eq ) || (myLinker1 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker3 + \
target=\_blank\ + myLinker3 + /abr;
}
if ((myLinker4 eq ) || (myLinker1 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker4 + \
target=\_blank\ + myLinker4 + /abr;
}
if ((myLinker5 eq ) || (myLinker1 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker5 + \
target=\_blank\ + myLinker5 + /abr;
}
}
if ((myHtml eq ) || (myHtml eq undefined) || (myHtml eq null))
{
trace(it is empty);
} else {
trace(myHtml);
this._targetMc.collectiveLinks.html = true;
this._targetMc.collectiveLinks.htmlText = myHtml;
}
this._targetMc.collectiveLinks.htmlText = myHtml;
}

Now to me what I thought should have been the proper way to test would
have been:


if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
{
myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1
+ /abr;
}

but then the trace of my results does not even work (it includes the
records that are empty).

And to top it off - no matter what my text field does not have the HTML
loaded into it.

It seems like something like this should be so simple.


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


___
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] [:::] appending html to a var for display not working and code not runnign as expected.

2006-08-15 Thread André Goliath

if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
{
myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 
+ /abr;
}

but then the trace of my results does not even work (it includes the 
records that are empty).


Shouldn´t it be  

if ((myLinker1 != )  (myLinker1 != undefined)  (myLinker1 != null))

?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dnk
Sent: Tuesday, August 15, 2006 5:59 PM
To: Flashcoders mailing list
Subject: [Flashcoders] [:::] appending html to a var for display not working
and code not runnign as expected.

Ok so i have a recordset with links in which I am building an HTML 
string for display in an HTML field. Now for some reason the html traces 
out fine, but when assigned to an html txt field - the filed just shows 
as blank.

Now I do realize that the eq in this code sample is depreciated, 
however that is on another thread (as the == gave weird results). And 
I do realize that my if statements are backwards as I check for equality 
and do nothing until the else statement, but again, I was getting weird 
results (I was trying to test for an empty field from a database return 
- through amfphp - this seemed to be the only way I could get it to work 
- and I hate that it is not proper code).

Anyways - onto the code.

function handleGetLinks(re:ResultEvent)
{
this._DB = re.result;
// initialize the last record count
this._lastRecord = (this._DB.length - 1);
   
//for (var i = this._currentRecord; i = this._lastRecord; i++)
var myHtml:String = ;
for (var i = 0; i = 10; i++)
{
var myLinker1 = this._DB.getItemAt(i).link01;
var myLinker2 = this._DB.getItemAt(i).link02;
var myLinker3 = this._DB.getItemAt(i).link03;
var myLinker4 = this._DB.getItemAt(i).link04;
var myLinker5 = this._DB.getItemAt(i).link05;
if ((myLinker1 eq ) || (myLinker1 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker1 + \ 
target=\_blank\ + myLinker1 + /abr;
}
if ((myLinker2 eq ) || (myLinker2 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker2 + \ 
target=\_blank\ + myLinker2 + /abr;
}
if ((myLinker3 eq ) || (myLinker1 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker3 + \ 
target=\_blank\ + myLinker3 + /abr;
}
if ((myLinker4 eq ) || (myLinker1 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker4 + \ 
target=\_blank\ + myLinker4 + /abr;
}
if ((myLinker5 eq ) || (myLinker1 eq undefined))
{
}
else
{
myHtml += a href=\ + myLinker5 + \ 
target=\_blank\ + myLinker5 + /abr;
}
}
if ((myHtml eq ) || (myHtml eq undefined) || (myHtml eq null))
{
trace(it is empty);
} else {
trace(myHtml);
this._targetMc.collectiveLinks.html = true;
this._targetMc.collectiveLinks.htmlText = myHtml;
}
this._targetMc.collectiveLinks.htmlText = myHtml;
}

Now to me what I thought should have been the proper way to test would 
have been:


if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
{
myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 
+ /abr;
}

but then the trace of my results does not even work (it includes the 
records that are empty).

And to top it off - no matter what my text field does not have the HTML 
loaded into it.

It seems like something like this should be so simple.


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

___
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] [:::] appending html to a var for display not working and code not runnign as expected.

2006-08-15 Thread dnk

eric dolecki wrote:

Why are you using this. ?





Sorry - I should have specified that this code sample is a method inside 
a class. Not run inline in the main fla.


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] [:::] appending html to a var for display not working and code not runnign as expected.

2006-08-15 Thread dnk

André Goliath wrote:

if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
{
myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 
+ /abr;

}

but then the trace of my results does not even work (it includes the 
records that are empty).



Shouldn´t it be  


if ((myLinker1 != )  (myLinker1 != undefined)  (myLinker1 != null))

?


Well I am testing for any of them, not all of them.

IE  or null or undefined.


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] [:::] appending html to a var for displaynot working and code not runnign as expected.

2006-08-15 Thread André Goliath
Well I am testing for any of them, not all of them.

Why would you want to do that?
do you want results such as

myHtml += a href=\\ target=\_blank\/abr;

in case myLinker1 is 

or

myHtml += a href=\undefined\ target=\_blank\undefined/abr;
 
in case myLinker1 is undefined?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dnk
Sent: Tuesday, August 15, 2006 7:21 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] [:::] appending html to a var for displaynot
working and code not runnign as expected.

André Goliath wrote:
 if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
 {
 myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 
 + /abr;
 }
 
 but then the trace of my results does not even work (it includes the 
 records that are empty).
 
 
 Shouldn´t it be  
 
 if ((myLinker1 != )  (myLinker1 != undefined)  (myLinker1 != null))
 
 ?

Well I am testing for any of them, not all of them.

IE  or null or undefined.


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

___
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] fuse kit and events

2006-08-15 Thread Dan Rogers
To clarify, the mx Tween package does allow you to set 'useSeconds'  
as an option to drop/add frames, however from what I understand, the  
Zigo engine has always been more optimized to handle time-based  
animation.   Performance aside, I think most people look to the  
Fuse / Zigo kit for all of the additional shortcut functions...



On Aug 15, 2006, at 9:13 AM, Dan Rogers wrote:

I can't necessarily vouch for the Fuse part of the Fuse / Zigo  
engine, but I can say that in certain circumstances, the Zigo tween  
engine will perform more smoothly than the mx Tween class.  The mx  
Tween class is based entirely on frames to generate the animation,  
and will (at the expense of performance) render all of the frames  
as you specify them.The Zigo engine on the other hand uses a  
time-based system which will only play through as many frames  
necessary to complete your animation.  The benefit of Zigo is that  
you can change the framerate of your movie, and it will drop/add  
frames to play to your specified duration.  However in certain  
circumstances, you may want frame-level control over your  
animation, where the mx Tween class would be a better choice.


Hope that helps...

-Danro

On Aug 15, 2006, at 7:49 AM, [b) a d i [EMAIL PROTECTED] wrote:

since you're mentioning it, i'd like to know what benefits you  
sought by
using thisi've yet to find a reason to use this over the tween  
class but

i know several people who swear by it and i'm not convinced...
thanks





___
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] fuse kit and events

2006-08-15 Thread Dan Rogers
I agree, I was a bigger fan of the Zigo project before it started  
getting so big in file size.


Tween is a great built-in tool, and Fuse is a nice toy with a 20k  
price tag.


-Danro


On Aug 15, 2006, at 10:56 AM, [b) a d i wrote:

Thanks for the explainations...i frequently create swfs that need  
to be
under 30k and by not using this component i've saved 20k...i also  
ran them
side by side and really didn't notice much difference in  
performance...since
then i've hacked the tween class, but i just wanted to hear other  
opinions

about it

so thanks

b
- Original Message -
From: Dan Rogers [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, August 15, 2006 10:37 AM
Subject: Re: [Flashcoders] fuse kit and events



To clarify, the mx Tween package does allow you to set 'useSeconds'
as an option to drop/add frames, however from what I understand, the
Zigo engine has always been more optimized to handle time-based
animation.   Performance aside, I think most people look to the
Fuse / Zigo kit for all of the additional shortcut functions...


On Aug 15, 2006, at 9:13 AM, Dan Rogers wrote:


I can't necessarily vouch for the Fuse part of the Fuse / Zigo
engine, but I can say that in certain circumstances, the Zigo tween
engine will perform more smoothly than the mx Tween class.  The mx
Tween class is based entirely on frames to generate the animation,
and will (at the expense of performance) render all of the frames
as you specify them.The Zigo engine on the other hand uses a
time-based system which will only play through as many frames
necessary to complete your animation.  The benefit of Zigo is that
you can change the framerate of your movie, and it will drop/add
frames to play to your specified duration.  However in certain
circumstances, you may want frame-level control over your
animation, where the mx Tween class would be a better choice.

Hope that helps...

-Danro

On Aug 15, 2006, at 7:49 AM, [b) a d i [EMAIL PROTECTED]  
wrote:



since you're mentioning it, i'd like to know what benefits you
sought by
using thisi've yet to find a reason to use this over the tween
class but
i know several people who swear by it and i'm not convinced...
thanks





___
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] WhiteBoard app

2006-08-15 Thread Weldon MacDonald

I have to do an application that requires a shareable interface, like
a smartboard. There are may options to do this in Falsh, but this app
practically begs to be written in Flex2. My problem is what do I have
to have to write it? My clients dont expect thousands or even hundreds
of users and they can't afford the full blown FDS. The free version
may be adequate, but if it's not, they don't have scalability without
paying a high price. Are there any alternatives to using FDS?
I have to talk price with these people soon and this is the only point
I don't have a handle on. I talked them into publishing to Fash 9, but
if I can't solve this issue they may want to stick to Flash 8 so I can
use AS2 alternatives.

Weldon MacDonald
___
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] [:::] appending html to a var for displaynot working and code not runnign as expected.

2006-08-15 Thread dnk

André Goliath wrote:

Well I am testing for any of them, not all of them.


Why would you want to do that?
do you want results such as

myHtml += a href=\\ target=\_blank\/abr;

in case myLinker1 is 

or

myHtml += a href=\undefined\ target=\_blank\undefined/abr;
 
in case myLinker1 is undefined?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dnk
Sent: Tuesday, August 15, 2006 7:21 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] [:::] appending html to a var for displaynot
working and code not runnign as expected.

André Goliath wrote:

if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
{
myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 
+ /abr;

}

but then the trace of my results does not even work (it includes the 
records that are empty).



Shouldn´t it be  


if ((myLinker1 != )  (myLinker1 != undefined)  (myLinker1 != null))

?


but if you look I am testing if they are NOT equal to those things.. as 
in if the results are not null/undefined or ... then write out the 
links with the returned data. So then they would write proper html links.



___
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] WhiteBoard app

2006-08-15 Thread Andy Stone
Red5. http://osflash.org/red5 

Red5 is a server that not only streams content to the Flash plugin, but it
can push calls and information to the Flash client! It can also receive
video/audio/data from a flash client and either save or rebroadcast that
content. 

-Andy


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weldon
MacDonald
Sent: Tuesday, August 15, 2006 2:27 PM
To: Flashcoders mailing list
Subject: [Flashcoders] WhiteBoard app

I have to do an application that requires a shareable interface, like
a smartboard. There are may options to do this in Falsh, but this app
practically begs to be written in Flex2. My problem is what do I have
to have to write it? My clients dont expect thousands or even hundreds
of users and they can't afford the full blown FDS. The free version
may be adequate, but if it's not, they don't have scalability without
paying a high price. Are there any alternatives to using FDS?
I have to talk price with these people soon and this is the only point
I don't have a handle on. I talked them into publishing to Fash 9, but
if I can't solve this issue they may want to stick to Flash 8 so I can
use AS2 alternatives.

Weldon MacDonald
___
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] WhiteBoard app

2006-08-15 Thread Jayson K Hanes
http://www.electro-server.com/Examples/whiteboard/whiteboard.html

20 User trial of the server is at no cost with no limitations.

-Jayson

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Weldon MacDonald
 Sent: Tuesday, August 15, 2006 2:27 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] WhiteBoard app
 
 I have to do an application that requires a shareable interface, like
 a smartboard. There are may options to do this in Falsh, but this app
 practically begs to be written in Flex2. My problem is what do I have
 to have to write it? My clients dont expect thousands or even hundreds
 of users and they can't afford the full blown FDS. The free version
 may be adequate, but if it's not, they don't have scalability without
 paying a high price. Are there any alternatives to using FDS?
 I have to talk price with these people soon and this is the only point
 I don't have a handle on. I talked them into publishing to Fash 9, but
 if I can't solve this issue they may want to stick to Flash 8 so I can
 use AS2 alternatives.
 
 Weldon MacDonald
___
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 lite - MP3 player

2006-08-15 Thread justin blunk
I apologize if this is not the right mailing list to inquire about this. Can 
someone tell me where I could find out some information on using flash lite, 
with respect to how a mp3 player could be put on a mobile phone? In other 
words, I have a mp3 player made in flash and was wanting to put this on a 
mobile phone using flash lite.


Thanks for the help.



From: [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: Flashcoders Digest, Vol 19, Issue 45
Date: Tue, 15 Aug 2006 12:00:14 -0400 (EDT)

Send Flashcoders mailing list submissions to
flashcoders@chattyfig.figleaf.com

To subscribe or unsubscribe via the World Wide Web, visit
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of Flashcoders digest...


Today's Topics:

   1. Re: v2 scroll pane clips its content (eric dolecki)
   2. RE: FlashRelief TableMaker (Merrill, Jason)
   3. Re: Flex 2 - what is the equivalent of _parent for flex
  2(application scope question) (Muzak)
   4. RE: v2 scroll pane clips its content (Mendelsohn, Michael)
   5. Re: double click problem (Michael Stuhr)
   6. RE: double click problem (Merrill, Jason)
   7. Re: diff between var == value VS var eq value (dnk)
   8. Re: diff between var == value VS var eq value (dnk)
   9. Re: FlashRelief TableMaker (Digital Rust)
  10. RE: FlashRelief TableMaker (Merrill, Jason)


--

Message: 1
Date: Tue, 15 Aug 2006 11:00:45 -0400
From: eric dolecki [EMAIL PROTECTED]
Subject: Re: [Flashcoders] v2 scroll pane clips its content
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8; format=flowed

Make sure the registration point of the contents getting slapped into the
pane are at 0,0. Sounds like its off there.

On 8/15/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote:

 Hi list...

 I have a v2 scroll pane on the stage that is cutting off the content on
 the left side.  I suppose there isn't any AS to manipulate the offset
 location of the content.  Any ideas?

 - Michael M.

 ___
 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



--

Message: 2
Date: Tue, 15 Aug 2006 11:09:56 -0400
From: Merrill, Jason [EMAIL PROTECTED]
Subject: RE: [Flashcoders] FlashRelief TableMaker
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

I guess since I received 0 responses, nobody has used this tool or any
of FlashRelief's other products?

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Wednesday, August 09, 2006 5:10 PM
To: Flashcoders mailing list
Subject: [Flashcoders] FlashRelief TableMaker

Anyone have any experiences - good or bad - with FlashRelief and their
TableMaker Component?  Anyone know where they are located?

http://www.flashrelief.com

Looks pretty nice for $25.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions




--

Message: 3
Date: Tue, 15 Aug 2006 17:11:23 +0200
From: Muzak [EMAIL PROTECTED]
Subject: Re: [Flashcoders] Flex 2 - what is the equivalent of _parent
for flex2(application scope question)
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]

Dispatch an event from the DeleteRenderer when it's done.
Listen for the event in the parent (or whatever controls the datagrid) and 
refresh the datagrid from there.


regards,
Muzak

- Original Message -
From: Jon Kong [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, August 15, 2006 4:46 PM
Subject: [Flashcoders] Flex 2 - what is the equivalent of _parent for flex 
2(application scope question)



 I'm having problems trying to call a refresh data grid function from 
outside

 the parent page.  For example i have a main mxml called
 FlexGradeBook.mxmlthat has the datagrid and everything set up.  Then i
 have another mxml
 called DeleteRenderer.mxml that is used for an item renderer button in a
 column of the datagrid (datagrid that's in FlexGradeBook.mxml).  When i
 click the button on the datagrid, it calls a mouse event function in 

RE: [Flashcoders] [:::] appending html to a var for displaynot workingand code not runnign as expected.

2006-08-15 Thread André Goliath
Yes, but you need to connect them with AND and not with OR, try this:

(this is your current code)

// 
//
var myLinker1 = undefined;
trace(myLinker1 = +myLinker1);
if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) {
trace( i exectue!);  //traces
}
var myLinker1 = ;
trace(myLinker1 = +myLinker1);
if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) {
trace( i exectue!); //traces
}
var myLinker1 = null;
trace(myLinker1 = +myLinker1);
if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) {
trace( i exectue!); //traces
}

// my Code

var myLinker1 = ;
trace(myLinker1 = +myLinker1);
if ((myLinker1 != )  (myLinker1 != undefined)  (myLinker1 != null)) {
trace( i exectue!); //does NOT trace
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dnk
Sent: Tuesday, August 15, 2006 8:29 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] [:::] appending html to a var for displaynot
workingand code not runnign as expected.

André Goliath wrote:
 Well I am testing for any of them, not all of them.
 
 Why would you want to do that?
 do you want results such as
 
 myHtml += a href=\\ target=\_blank\/abr;
 
 in case myLinker1 is 
 
 or
 
 myHtml += a href=\undefined\ target=\_blank\undefined/abr;
  
 in case myLinker1 is undefined?
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of dnk
 Sent: Tuesday, August 15, 2006 7:21 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] [:::] appending html to a var for displaynot
 working and code not runnign as expected.
 
 André Goliath wrote:
 if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
 {
 myHtml += a href=\ + myLinker1 + \ target=\_blank\ + myLinker1 
 + /abr;
 }

 but then the trace of my results does not even work (it includes the 
 records that are empty).
 

 Shouldn´t it be  

 if ((myLinker1 != )  (myLinker1 != undefined)  (myLinker1 != null))

 ?
 
but if you look I am testing if they are NOT equal to those things.. as 
in if the results are not null/undefined or ... then write out the 
links with the returned data. So then they would write proper html links.


___
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] Flash lite - MP3 player

2006-08-15 Thread Nick Gerig

Its not possible with the dev version of FL due to memory restrictions

I have made a 3gp audio player, but that's a bit of a hack really.

Due to FL memory limitations you can only really playback maximum 50% of 
the available memory - which translates as 1mb in the dev version of FL2.


Hopefully when OEMs deploy the player they will add on some custom 
functions or bump up the memory but that remains to be seen.



Cheers


Nick

justin blunk wrote:

I apologize if this is not the right mailing list to inquire about 
this. Can someone tell me where I could find out some information on 
using flash lite, with respect to how a mp3 player could be put on a 
mobile phone? In other words, I have a mp3 player made in flash and 
was wanting to put this on a mobile phone using flash lite.


Thanks for the help.



From: [EMAIL PROTECTED]
Reply-To: flashcoders@chattyfig.figleaf.com
To: flashcoders@chattyfig.figleaf.com
Subject: Flashcoders Digest, Vol 19, Issue 45
Date: Tue, 15 Aug 2006 12:00:14 -0400 (EDT)

Send Flashcoders mailing list submissions to
flashcoders@chattyfig.figleaf.com

To subscribe or unsubscribe via the World Wide Web, visit
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of Flashcoders digest...


Today's Topics:

   1. Re: v2 scroll pane clips its content (eric dolecki)
   2. RE: FlashRelief TableMaker (Merrill, Jason)
   3. Re: Flex 2 - what is the equivalent of _parent for flex
  2(application scope question) (Muzak)
   4. RE: v2 scroll pane clips its content (Mendelsohn, Michael)
   5. Re: double click problem (Michael Stuhr)
   6. RE: double click problem (Merrill, Jason)
   7. Re: diff between var == value VS var eq value (dnk)
   8. Re: diff between var == value VS var eq value (dnk)
   9. Re: FlashRelief TableMaker (Digital Rust)
  10. RE: FlashRelief TableMaker (Merrill, Jason)


--

Message: 1
Date: Tue, 15 Aug 2006 11:00:45 -0400
From: eric dolecki [EMAIL PROTECTED]
Subject: Re: [Flashcoders] v2 scroll pane clips its content
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8; format=flowed

Make sure the registration point of the contents getting slapped into 
the

pane are at 0,0. Sounds like its off there.

On 8/15/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote:

 Hi list...

 I have a v2 scroll pane on the stage that is cutting off the 
content on

 the left side.  I suppose there isn't any AS to manipulate the offset
 location of the content.  Any ideas?

 - Michael M.

 ___
 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



--

Message: 2
Date: Tue, 15 Aug 2006 11:09:56 -0400
From: Merrill, Jason [EMAIL PROTECTED]
Subject: RE: [Flashcoders] FlashRelief TableMaker
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

I guess since I received 0 responses, nobody has used this tool or any
of FlashRelief's other products?

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Wednesday, August 09, 2006 5:10 PM
To: Flashcoders mailing list
Subject: [Flashcoders] FlashRelief TableMaker

Anyone have any experiences - good or bad - with FlashRelief and their
TableMaker Component?  Anyone know where they are located?

http://www.flashrelief.com

Looks pretty nice for $25.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions




--

Message: 3
Date: Tue, 15 Aug 2006 17:11:23 +0200
From: Muzak [EMAIL PROTECTED]
Subject: Re: [Flashcoders] Flex 2 - what is the equivalent of _parent
for flex2(application scope question)
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]

Dispatch an event from the DeleteRenderer when it's done.
Listen for the event in the parent (or whatever controls the 
datagrid) and refresh the datagrid from there.


regards,
Muzak

- Original Message -
From: Jon Kong [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, August 15, 2006 4:46 PM
Subject: [Flashcoders] Flex 2 - what is the equivalent of _parent for 
flex 2(application scope question)



 I'm having 

Re: [Flashcoders] Getting info on flash lite for brew

2006-08-15 Thread Nick Gerig




Specifically, in case anybody here knows, I am wondering if flash lite
brew will allow flash to download and play mp3 files.



yes I am pretty sure it will but I think it still has the very big 
memory restrictions of FL 2.0. So you can't playback anything greater 
than 50% in size of the memory available to FL.



Cheers

Nick



___
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] XML RPC and cross-domain / Flash8

2006-08-15 Thread keitai guy

hi list -

did Flash8 change the policy for movies accessing data across domains?

i have a swf that i want to read XML from a friends website.

can i just ask him to place a cross-domain.xml file there,
or do i have to write a proxy server on my domain to go and suck the
data from his site?

tx!

/dc
___
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] [:::] appending html to a var for displaynot workingand code not runnign as expected.

2006-08-15 Thread dnk

André Goliath wrote:

Yes, but you need to connect them with AND and not with OR, try this:

(this is your current code)

// 
//

var myLinker1 = undefined;
trace(myLinker1 = +myLinker1);
if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) {
trace( i exectue!);  //traces
}
var myLinker1 = ;
trace(myLinker1 = +myLinker1);
if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) {
trace( i exectue!); //traces
}
var myLinker1 = null;
trace(myLinker1 = +myLinker1);
if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null)) {
trace( i exectue!); //traces
}

// my Code

var myLinker1 = ;
trace(myLinker1 = +myLinker1);
if ((myLinker1 != )  (myLinker1 != undefined)  (myLinker1 != null)) {
trace( i exectue!); //does NOT trace
}





Just to be clear I want to code to execute if the var is undefined or 
null or an empty string.




now here is my exact test code (modified to loop though):

var aMyLinker:Array = [null, undefined, , somnething];
for (var i:Number = 0; i  4; i++)
{
trace(aMyLinker + i +  =  + aMyLinker[i]);
	if ((aMyLinker[i] != ) || (aMyLinker[i] != undefined) || 
(aMyLinker[i] != null))

{
trace( i exectue!);
}
}

Now as my understanding is this should not trace I execute UNLESS one 
of the array values is equal to something BESIDES null, undefined or .

So the results should be:

aMyLinker0 = null
aMyLinker1 = undefined
aMyLinker2 =
aMyLinker3 = somnething
 i exectue!

But i am getting:

aMyLinker0 = null
 i exectue!
aMyLinker1 = undefined
 i exectue!
aMyLinker2 =
 i exectue!
aMyLinker3 = somnething
 i exectue!

Am I misunderstanding something so basic here?

!= checks for inequality correct?
|| defines OR correct?

so any comparisons separated by the || should check if any of the 
comparisons are true. As in any one of them correct?


I have to be missing something here..


Thanks to everyone.

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] [:::] appending html to a var for displaynot workingand code not runnign as expected.

2006-08-15 Thread Keith Reinfeld
but if you look I am testing if they are NOT equal to those things.. as  
in if the results are not null/undefined or ... then write out the  
links with the returned data. So then they would write proper html links. 
 
Just in case André Goliath's case is not completely made:  
 
 
function compareAnd(checkVar:String):Boolean{ 
if((checkVar != )  (checkVar != undefined)  (checkVar !=
null)){ 
// if all three conditions are true 
return true; 
}else{ 
// else at least one of the conditions is not true 
return false; 
}  
} 
 
function compareOr(checkVar:String):Boolean{ 
if((checkVar != ) || (checkVar != undefined) || (checkVar !=
null)){ 
// if any one of the three conditions is true 
return true; 
}else{ 
// else none of the conditions are true 
// Please Note -- at least one of the conditions 
// will always be true
return false; 
} 
} 
 
var testVar = ; 
trace(compareAnd '' = +compareAnd(testVar));// false 
trace(compareOr '' = +compareOr(testVar));// true 
 
var testVar = undefined; 
trace(compareAnd undefined = +compareAnd(testVar));// false 
trace(compareOr undefined = +compareOr(testVar));// true 
 
var testVar = null; 
trace(compareAnd null = +compareAnd(testVar));// false 
trace(compareOr null = +compareOr(testVar));// true 
 
var testVar = Text; 
trace(compareAnd 'Text' = +compareAnd(testVar));// true 
trace(compareOr 'Text' = +compareOr(testVar));// true 
 
 
HTH 
 
-Keith 
http://home.mn.rr.com/keithreinfeld 
 



___
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] [:::] appending html to avar for displaynot workingand code not runnign as expected.

2006-08-15 Thread André Goliath

var aMyLinker:Array = [null, undefined, , somnething];
for (var i:Number = 0; i  4; i++)
{
trace(aMyLinker + i +  =  + aMyLinker[i]);
if ((aMyLinker[i] != ) || (aMyLinker[i] != undefined) || 
(aMyLinker[i] != null))
{
trace( i exectue!);
}
}

Now as my understanding is this should not trace I execute UNLESS one 
of the array values is equal to something BESIDES null, undefined or .
So the results should be:

aMyLinker0 = null
aMyLinker1 = undefined
aMyLinker2 =
aMyLinker3 = somnething
  i exectue!


now here is what happens:

lets do it with boolean functions: 

a(x) := (x != );
b(x) := (x != undefined);
c(x) := a(x) || b(x); //a OR b must be true for c to be true

- means that the expression does not get evaluated if we ask for c(x)
(lazy evaluation - from left to right until something is true)

x   a(x)b(x)c(x)   

nulltrue-   true- I execute
undefined   true-   true  - I execute
  false   truetrue- I execute
something true-   true- I execute

now lets add another function

a(x) := (x != );
b(x) := (x != undefined);
d(x) := a(x)  b(x);  //a AND b must be true for d to be true

and call it:

x   a(x)b(x)d(x)   

nulltruefalse*  false
undefined   truefalse   false
  false   -   false
something truetruetrue- I execute

*: Not quite sure about this one, I think its null==undefined and null !==
undefined, but may be wrong here.



Does that make things clearer to you?




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dnk
Sent: Tuesday, August 15, 2006 10:24 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] [:::] appending html to avar for displaynot
workingand code not runnign as expected.

André Goliath wrote:
 Yes, but you need to connect them with AND and not with OR, try this:
 
 (this is your current code)
 
 // 
 //
 var myLinker1 = undefined;
 trace(myLinker1 = +myLinker1);
 if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
{
   trace( i exectue!);  //traces
 }
 var myLinker1 = ;
 trace(myLinker1 = +myLinker1);
 if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
{
   trace( i exectue!); //traces
 }
 var myLinker1 = null;
 trace(myLinker1 = +myLinker1);
 if ((myLinker1 != ) || (myLinker1 != undefined) || (myLinker1 != null))
{
   trace( i exectue!); //traces
 }
 
 // my Code
 
 var myLinker1 = ;
 trace(myLinker1 = +myLinker1);
 if ((myLinker1 != )  (myLinker1 != undefined)  (myLinker1 != null))
{
   trace( i exectue!); //does NOT trace
 }
 



Just to be clear I want to code to execute if the var is undefined or 
null or an empty string.



now here is my exact test code (modified to loop though):

var aMyLinker:Array = [null, undefined, , somnething];
for (var i:Number = 0; i  4; i++)
{
trace(aMyLinker + i +  =  + aMyLinker[i]);
if ((aMyLinker[i] != ) || (aMyLinker[i] != undefined) || 
(aMyLinker[i] != null))
{
trace( i exectue!);
}
}

Now as my understanding is this should not trace I execute UNLESS one 
of the array values is equal to something BESIDES null, undefined or .
So the results should be:

aMyLinker0 = null
aMyLinker1 = undefined
aMyLinker2 =
aMyLinker3 = somnething
  i exectue!

But i am getting:

aMyLinker0 = null
  i exectue!
aMyLinker1 = undefined
  i exectue!
aMyLinker2 =
  i exectue!
aMyLinker3 = somnething
  i exectue!

Am I misunderstanding something so basic here?

!= checks for inequality correct?
|| defines OR correct?

so any comparisons separated by the || should check if any of the 
comparisons are true. As in any one of them correct?

I have to be missing something here..


Thanks to everyone.

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

___
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] Flash lite - MP3 player

2006-08-15 Thread hank williams

On 8/15/06, Nick Gerig [EMAIL PROTECTED] wrote:

Its not possible with the dev version of FL due to memory restrictions

I have made a 3gp audio player, but that's a bit of a hack really.


Is this true even using external device sounds

Regards
Hank


Due to FL memory limitations you can only really playback maximum 50% of
the available memory - which translates as 1mb in the dev version of FL2.

Hopefully when OEMs deploy the player they will add on some custom
functions or bump up the memory but that remains to be seen.


Cheers


Nick

justin blunk wrote:

 I apologize if this is not the right mailing list to inquire about
 this. Can someone tell me where I could find out some information on
 using flash lite, with respect to how a mp3 player could be put on a
 mobile phone? In other words, I have a mp3 player made in flash and
 was wanting to put this on a mobile phone using flash lite.

 Thanks for the help.


___
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] [:::] appending html toavar for displaynot workingand code not runnign as expected.

2006-08-15 Thread Jayson K Hanes
My 2 cents

var a = [null, undefined, , somnething, null, undefined];
var i=0;
while (ia.length) if (a[i++].length) trace(do something with  
+a[i-1]);

variable.length is  0 and thus viola

?

-Jayson

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of André Goliath
 Sent: Tuesday, August 15, 2006 4:45 PM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] [:::] appending html toavar for displaynot
 workingand code not runnign as expected.
___
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] Flash lite - MP3 player

2006-08-15 Thread Nick Gerig

hank williams wrote:


On 8/15/06, Nick Gerig [EMAIL PROTECTED] wrote:


Its not possible with the dev version of FL due to memory restrictions

I have made a 3gp audio player, but that's a bit of a hack really.


Is this true even using external device sounds



Yes - heres the problem with Flash Lite sound:


Native sound is poor - so its fine for game effects, maybe voice sound, 
but in terms of music playback I don't think its good enough. However 
with native sound you can at least use close to the full memory 
available to the FL player.


Device sound is great, even if it does have limited control. However it 
consumes double the memory, once to load the sound file and hold it in 
memory and then the same amount of memory again to pass the sound over 
to the device for playback I am not sure why this is the case but thats 
how it is for FL2.0 dev player.


It would be great if FL sound was the same as video where the whole 
playback is just forwarded to the device. So there are no FL memory 
limitations.



The only saviour would be when, for example, Nokia actually deploy the 
player that they either provide 6 or 7 mb of memory for FL2 (unlikely) 
or they provide a custom api for music playback. IMHO music (along with 
Video)  is one of the biggest pulls on mobile so I think it would be a 
real shame if the deployed player has the same music limitations as the 
dev player.



Cheers


Nick



___
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] TextInput Component display problem

2006-08-15 Thread Patrick Matte

Hi, I am building a 2-step form with flash 8 components. For the first step,
I¹m attaching a MovieClip which has a few instances on stage of TextInput,
ComboBox, RadioButton and CheckBox.

For the second step, I remove the step 1 movieclip using removeMovieClip and
replace it with a second movieclip which has only TextInputs. Everything
looks normal except that the text inside won¹t show up.

The problem seems to come from the RadioButton and ComboBox from Step 1
because the step 2 TextInputs show up nicely if I delete them.

Is there an issue with the TextInput component used with RadioButton or
ComboBox?

Anybody ever went through a similar problem ? Any idea welcome.

___
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] [:::] appending html to a var for display not working and code not runnign as expected.

2006-08-15 Thread dnk

dnk wrote:

And to top it off - no matter what my text field does not have the HTML 
loaded into it.




I wanted to thank everyone for their great help in explaining the other 
part of this original post regarding the testing... now i just wanted to 
touch on the other issue i was still having with this


I was trying to assign html to an html text field.. and for some reason 
it comes up as empty - even though ha trace of the same var holding the 
html shows all my results. I checked and double checked, and it is set 
to html, set to multi line.



ideas on this one?




___
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: Re: [Flashcoders] [:::] appending html to a var for display not

2006-08-15 Thread John Mark Hawley
Do you have the italic and bold versions of the font used in the field in your 
library, if you have embedFonts set to true?

 
 From: dnk [EMAIL PROTECTED]
 Date: 2006/08/15 Tue PM 05:13:40 CDT
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] [:::] appending html to a var for display not
   working and code not runnign as expected.
 
 dnk wrote:
 
  And to top it off - no matter what my text field does not have the HTML 
  loaded into it.
 
 
 
 I wanted to thank everyone for their great help in explaining the other 
 part of this original post regarding the testing... now i just wanted to 
 touch on the other issue i was still having with this
 
 I was trying to assign html to an html text field.. and for some reason 
 it comes up as empty - even though ha trace of the same var holding the 
 html shows all my results. I checked and double checked, and it is set 
 to html, set to multi line.
 
 
 ideas on this one?
 
 
 
 
 ___
 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 Mark Hawley
The Nilbog Group
773.968.4980 (cell)

___
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] switching between attachMovie and loadMovie?

2006-08-15 Thread Digital Rust

hi, all

having some trouble with a holder mc that's loading content either by  
attachMovie or loadMovie depending on a conditional. it's working  
intermittently though.


if an item is sizeName == half and then the next item also is  
sizeName == half, the content doesn't load. one more click and it  
loads though. or it works if i go from a sizeName == full to a  
sizeName == half.


this is all within a for loop loading an xml file.

is there a better way to go about doing this?

thanks,
dave

curr_item.onRelease = function()
{
   if (this.sizeName == half)
   {
  holder_mc.createEmptyMovieClip(holder2, 1);
  holder_mc.holder2.attachMovie(content, content_mc, 1);
  holder_mc.holder2.content_mc.contentImage_mc.loadMovie 
(this.image);
  holder_mc.holder2.content_mc.contentTitle_txt.htmlText =  
this.name;
  holder_mc.holder2.content_mc.contentDesc_txt.htmlText =  
this.desc;

   }
   if (this.sizeName == full)
   {
  holder_mc.createEmptyMovieClip(holder2, 1);
  holder_mc.holder2.loadMovie(this.image);
   }
};
___
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] [:::] appending html to a var for display not

2006-08-15 Thread dnk

John Mark Hawley wrote:

Do you have the italic and bold versions of the font used in the field in your 
library, if you have embedFonts set to true?



Don't think so - as they are not used on this field.

___
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] [:::] appending html to a var for display not

2006-08-15 Thread Jayson K Hanes
You need them if your rendering html in those fields, though

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of dnk
 Sent: Tuesday, August 15, 2006 7:54 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] [:::] appending html to a var for display
not
 
 John Mark Hawley wrote:
  Do you have the italic and bold versions of the font used in the
field
 in your library, if you have embedFonts set to true?
 
 
 Don't think so - as they are not used on this field.
 
___
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] XML RPC and cross-domain / Flash8

2006-08-15 Thread Vishal Kapur

Yes, in Flash 8 you need to explicitly grant permissions for
cross-domain data loading.  By default, flash looks for the
'crossdomain.xml' file in the root directory of the server from which
you are loading data. If you want to grant permissions to a specific
sub-directory, put crossdomain.xml in that directory on the server and
use System.security.loadPolicyFile() to tell flash where to find it.

-- Vishal

On 8/15/06, keitai guy [EMAIL PROTECTED] wrote:

hi list -

did Flash8 change the policy for movies accessing data across domains?

i have a swf that i want to read XML from a friends website.

can i just ask him to place a cross-domain.xml file there,
or do i have to write a proxy server on my domain to go and suck the
data from his site?

tx!

/dc
___
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] Disable CheckBox component

2006-08-15 Thread Maziak, Peter
Anybody know how to disable a checkbox component?  i.e., make it
read-only to prevent the user from changing the state of the checkbox,
whether it is selected or unselected.

It kills me that the (MX) documentation refers to enabled/disabled check
boxes, but doesn't indicate how to do such...
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/comm
on/html/wwhelp.htm?context=Flash_MX_2004file=2117.html

Thanks,
-Pete
___
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] Disable CheckBox component

2006-08-15 Thread Maziak, Peter
Oops.  My bad.  Answer was in there.  Just needed to dig a little.

checkBox.enabled = false; 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maziak,
Peter
Sent: Tuesday, August 15, 2006 5:38 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Disable CheckBox component

Anybody know how to disable a checkbox component?  i.e., make it
read-only to prevent the user from changing the state of the checkbox,
whether it is selected or unselected.

It kills me that the (MX) documentation refers to enabled/disabled check
boxes, but doesn't indicate how to do such...
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/comm
on/html/wwhelp.htm?context=Flash_MX_2004file=2117.html
___
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] Disable CheckBox component

2006-08-15 Thread Shane Korin

From memory..


myCheckbox._enabled = false;
myCheckbox._enabled = true;

and so forth.


On 8/16/06, Maziak, Peter [EMAIL PROTECTED] wrote:


Anybody know how to disable a checkbox component?  i.e., make it
read-only to prevent the user from changing the state of the checkbox,
whether it is selected or unselected.

It kills me that the (MX) documentation refers to enabled/disabled check
boxes, but doesn't indicate how to do such...
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/comm
on/html/wwhelp.htm?context=Flash_MX_2004file=2117.html

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