Re: [Flashcoders] http error 302 on upload with filereference object

2007-03-15 Thread Muzak
Not sure if this helps:
http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg18396.html

regards,
Muzak

- Original Message - 
From: "Josh Ettwein" <[EMAIL PROTECTED]>
To: 
Sent: Friday, March 16, 2007 12:49 AM
Subject: [Flashcoders] http error 302 on upload with filereference object


> Anyone get these before? my entire app works to one remote php script  on one 
> server and then when moving it to a production app 
> environment  (which is Perl) I don't even see a request showing up in the 
> apache  access logs. The filereference object is 
> reporting back an http error  of type 302. I'm wondering if anyone has 
> experienced file upload woes  like this...
>
>
> --
> Josh Ettwein | Sr. Software Engineer | Eyespot.com | www.eyespot.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] Controlling flv

2007-03-15 Thread Eric Woods

Maybe a non-technical solution is better than none at all ...

You could add a second or two of "fade to black" video at the end of the 
flv...


Otherwise, the video controller has callbacks you can bind to (probably not 
called that) including a "reached end of video" callback. You can then 
create a function that tells the video to pause and bind this function to 
the "reached end of video" callback.


Eric


- Original Message - 
From: "Adrian MacTaggart" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, March 13, 2007 12:43 AM
Subject: [Flashcoders] Controlling flv


Hi,

I'm working with Flash 8 and I've imported an flv to the stage and set
it as a progressive download, using a preset skin to control the video.
This has created a Flash Video component on the stage.

This works fine but the clip ends abruptly before returning to the
start.
I'd like to pause on the last frame of the video before fading to black
over a few seconds. It can then return to the start.

As the video is not on the timeline, is this possible? Can the video be
controlled with script to do this?

Thanks,

Adrian



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Q:remove returns in text string or in text strings in XML

2007-03-15 Thread moveup
Hi
I'vm using a utility to convert my flash objects to xml.
It works great except if one of my objects happens to be text content with 
returns the returns are save as part of the xml.

Can anyone offer me an easy solution?

Would it make more sense to remove the returns in the strings first before the 
xml is created?

Thanks!
[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 parse question

2007-03-15 Thread Muzak
I don't think that's still the case with Flash player 8 (and up).

Why one would care about an Object properties order is beyond me in the first 
place though,
but maybe I missed something in one of the thread replies (and this isn't about 
copying attributess to object properties).

regards,
Muzak

- Original Message - 
From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 15, 2007 11:04 PM
Subject: RE: [Flashcoders] xml parse question


Or you can save yourself the very slow Array.reverse() and just iterate
through the array backwards, too.


> You might be aware of this, but just an FYI, if you're
> concerned about attributes being order specific. When you
> loop through the attributes with a for statement, you'll get
> the attributes in the reverse order. I personally loop
> through the attributes and push the attribute name to an
> array and then reverse order, when the for is done.
___


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] http error 302 on upload with filereference object

2007-03-15 Thread Josh Ettwein
Anyone get these before? my entire app works to one remote php script  
on one server and then when moving it to a production app environment  
(which is Perl) I don't even see a request showing up in the apache  
access logs. The filereference object is reporting back an http error  
of type 302. I'm wondering if anyone has experienced file upload woes  
like this...



--
Josh Ettwein | Sr. Software Engineer | Eyespot.com | www.eyespot.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 - using the back button

2007-03-15 Thread Steven Henry

Hi,

I've been using SWFAddress (http://www.asual.com/swfaddress/), no 
tutorials needed really...


Steven


Karim Beyrouti wrote:

Hi All,  


I was just wondering what the best way to activate the browser's back button
for a Flash(8) app?... are there any up to date resources / tutorial about
this?...


Kind regards



Karim



 



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 - using the back button

2007-03-15 Thread Harris, Mike
Karim,

Try

http://www.boxofchocolates.nl/log/?p=107

Mike




This Message (including attachments) is intended only for the identified 
Recipient(s) and may contain information that is confidential or subject to 
copyright, trade secret or other restrictions.  It may also include attorney 
client, attorney work product, or other privileged communications.  The 
information and opinions presented in this Message do not necessarily represent 
those of the Jones Companies.  If you are not the intended Recipient, you are 
hereby notified that any use, copying or distribution of this Message 
(including attachments) is unauthorized and prohibited.  If you have received 
this Message in error, please notify the Sender ([EMAIL PROTECTED]) immediately 
by replying to and then completely deleting the Message (including all 
attachments) from your computer.  Additionally, the integrity and security of 
this Message and its attachments cannot be assured on the Internet; Recipients 
assume all risk of loss by accepting this message, including from their failure 
to use effective anti-virus software.
-Original Message-

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karim
Beyrouti
Sent: Thursday, March 15, 2007 5:56 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash - using the back button


Hi All,  

I was just wondering what the best way to activate the browser's back
button for a Flash(8) app?... are there any up to date resources /
tutorial about this?...


Kind regards



Karim



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date:
13/03/2007 16:51
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 - using the back button

2007-03-15 Thread Glen Pike

Hi,
Try SWFAddress http://www.asual.com/swfaddress/

  I have not used it myself, but did find the following useful too:

  http://www.flash99good.com/?p=37

  http://www.blog.lessrain.com/?p=357

  
http://blog.jensfranke.com/2006/02/11/orange-project-%e2%80%93-the-technical-view/ 



  http://www.unfocus.com/projects/HistoryKeeper/

  http://www.13dots.com/forum/index.php?showtopic=4467

  And finally.

  
http://www.google.co.uk/search?hl=en&q=flash+back+button&btnG=Search&meta= 
 



  :)

Karim Beyrouti wrote:
Hi All,  


I was just wondering what the best way to activate the browser's back button
for a Flash(8) app?... are there any up to date resources / tutorial about
this?...


Kind regards



Karim



  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] remoting question

2007-03-15 Thread Glen Pike

Hi,
I don't think you can use a preloader type mechanism with the 
remoting, but as a suggestion, maybe you should only use the remoting to 
obtain the names of your image and swf resources, then load these in the 
normal manner - with a preloading mechanism.


  Glen

Kerem İŞERİ wrote:

hi,

I am using flash remoting and amfphp in a site, and fetching the 
content from database.. does anybody know how can I monitor the data 
sent from the server in a preloader?? or is it impossible?? because Im 
fetching mixed data like texts and pictures and some swf's sometimes, 
I think to know only the total number of bytes will be revieved on one 
query, would be enough to calculate it but I couldnt make it.. I've 
been using php object component before using flash remoting, and it 
was not possible to monitor data it there either..


any ideas??

kerem.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Resizing sw, dependently on screen resolution

2007-03-15 Thread Glen Pike

First free tutorial.

http://www.communitymx.com/content/article.cfm?page=6&cid=FD491 



Nicola Alexander Schlup - LuniLogic wrote:

Hi,

I want to extend a gallery slideshow script 
(http://flash-creations.com/notes/dynamic_slidingviewer.php). It 
should just contain the slide thumbs, but bigger. This is not the 
problem. The problem is, that I want to have different swf width 
values, dependently on the users screen resolution.


The container for the images should change. For examples, with a 
screen resolution of 1024*768 Pixel, the container for the images 
should be 900*300 Pixel. With a bigger resolution, the width value 
would increase. The images itself should not change in size. So with a 
bigger resolution, I see more images on screen. With a lower 
resolution, I have to scroll more as I seee just 2 or 3 images.


My problem: How can I change the swf width size dynamically? Of yourse 
I could set the object tag values dynamically, but this would just 
stretch it. I would like to avoid using a swf file for every screen 
resolution.


Do you know a smarter solution?

Kind regards,
Nicola
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Resizing sw, dependently on screen resolution

2007-03-15 Thread Glen Pike

First free tutorial.

http://www.communitymx.com/content/article.cfm?page=6&cid=FD491 



Nicola Alexander Schlup - LuniLogic wrote:

Hi,

I want to extend a gallery slideshow script 
(http://flash-creations.com/notes/dynamic_slidingviewer.php). It 
should just contain the slide thumbs, but bigger. This is not the 
problem. The problem is, that I want to have different swf width 
values, dependently on the users screen resolution.


The container for the images should change. For examples, with a 
screen resolution of 1024*768 Pixel, the container for the images 
should be 900*300 Pixel. With a bigger resolution, the width value 
would increase. The images itself should not change in size. So with a 
bigger resolution, I see more images on screen. With a lower 
resolution, I have to scroll more as I seee just 2 or 3 images.


My problem: How can I change the swf width size dynamically? Of yourse 
I could set the object tag values dynamically, but this would just 
stretch it. I would like to avoid using a swf file for every screen 
resolution.


Do you know a smarter solution?

Kind regards,
Nicola
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] xml parse question

2007-03-15 Thread Steven Sacks | BLITZ
Or you can save yourself the very slow Array.reverse() and just iterate
through the array backwards, too.

 
> You might be aware of this, but just an FYI, if you're 
> concerned about attributes being order specific. When you 
> loop through the attributes with a for statement, you'll get 
> the attributes in the reverse order. I personally loop 
> through the attributes and push the attribute name to an 
> array and then reverse order, when the for is done.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 - using the back button

2007-03-15 Thread Glen Pike

Hi,
  
   Try SWFAddress http://www.asual.com/swfaddress/


   I have not used it myself, but did find the following useful too:

   http://www.flash99good.com/?p=37

   http://www.blog.lessrain.com/?p=357

   
http://blog.jensfranke.com/2006/02/11/orange-project-%e2%80%93-the-technical-view/


   http://www.unfocus.com/projects/HistoryKeeper/

   http://www.13dots.com/forum/index.php?showtopic=4467

   And finally.

   
http://www.google.co.uk/search?hl=en&q=flash+back+button&btnG=Search&meta= 



   :)
  

  
  
   


Karim Beyrouti wrote:
Hi All,  


I was just wondering what the best way to activate the browser's back button
for a Flash(8) app?... are there any up to date resources / tutorial about
this?...


Kind regards



Karim



  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 parse question

2007-03-15 Thread Pedro Taranto

use pixlib ==> http://osflash.org/projects/pixlib

and use the Config, ConfigLoader and ConfigLoaderEvent

it convert an xml file to a object
here is 2 good tutorials about it

http://relivethefuture.com/choronzon/2006/11/14/getting-to-know-pixlib/
http://relivethefuture.com/choronzon/2006/11/15/pixlib-part-2-more-configuration-features-and-a-hidden-gem/

--Pedro Taranto


John laPlante escreveu:
The xml that you've shown consists of all attributes, that is value 
pairs inside a tag. Each node has a attributes property. Here is a 
small snippet that demonstrates accessing attributes.


   private function loadProblems(xFileName:String):Void
   {
   var sLessonPath = this.theLessonPath;// _root.lesson_path;
   var pathedFileName:String = sLessonPath + xFileName
   xmlFile = new XML();
   xmlFile.ignoreWhite = true;
   xmlFile.onLoad = mx.utils.Delegate.create(this, fetchLessonFiles);
   xmlFile.load( pathedFileName );return;
   }  
   public function fetchLessonFiles():Void

   {   var cFileNum:Number = 1;// counter
   var cFileID:String;
   cFileID = unescape(xmlFile[cFileNum].attributes.fileName);

   }



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Urgent: flash detection error with swf object and query string

2007-03-15 Thread Andy Herrman

What is actually being returned by the server you're hitting?  Is it
possible that that particular combination of query params is causing
something unexpected to be returned, and that page requires some
plugin you don't have?

   -Andy

On 3/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Came across something that has me baffled.

When appending a query string to a URL, certain query string values give me an 
arror, ie , i'm prompted for a plugin download.

for instance

?ecard=21&key=a9a08

gives me an error but if I change the last 8 to any other number, or the 
previous '0' to any other number everytghing works fine!

Help please!


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Resizing sw, dependently on screen resolution

2007-03-15 Thread Glen Pike

First free tutorial.

http://www.communitymx.com/content/article.cfm?page=6&cid=FD491 




Nicola Alexander Schlup - LuniLogic wrote:

Hi,

I want to extend a gallery slideshow script 
(http://flash-creations.com/notes/dynamic_slidingviewer.php). It 
should just contain the slide thumbs, but bigger. This is not the 
problem. The problem is, that I want to have different swf width 
values, dependently on the users screen resolution.


The container for the images should change. For examples, with a 
screen resolution of 1024*768 Pixel, the container for the images 
should be 900*300 Pixel. With a bigger resolution, the width value 
would increase. The images itself should not change in size. So with a 
bigger resolution, I see more images on screen. With a lower 
resolution, I have to scroll more as I seee just 2 or 3 images.


My problem: How can I change the swf width size dynamically? Of yourse 
I could set the object tag values dynamically, but this would just 
stretch it. I would like to avoid using a swf file for every screen 
resolution.


Do you know a smarter solution?

Kind regards,
Nicola
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] remoting question

2007-03-15 Thread Glen Pike

Hi,
  
   You cannot use a preloader type mechanism with the remoting, but as 
a suggestion, maybe you should only use the remoting to obtain the names 
of your image and swf resources, then load these in the normal manner - 
with a preloading mechanism.


   Glen

Kerem İŞERİ wrote:

hi,

I am using flash remoting and amfphp in a site, and fetching the 
content from database.. does anybody know how can I monitor the data 
sent from the server in a preloader?? or is it impossible?? because Im 
fetching mixed data like texts and pictures and some swf's sometimes, 
I think to know only the total number of bytes will be revieved on one 
query, would be enough to calculate it but I couldnt make it.. I've 
been using php object component before using flash remoting, and it 
was not possible to monitor data it there either..


any ideas??

kerem.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 - using the back button

2007-03-15 Thread Corban Baxter

check out betrie bsraum's page history class this should get you started.

http://www.betriebsraum.de/blog/downloads/

On 3/15/07, Karim Beyrouti <[EMAIL PROTECTED]> wrote:


Hi All,

I was just wondering what the best way to activate the browser's back
button
for a Flash(8) app?... are there any up to date resources / tutorial about
this?...


Kind regards



Karim



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date:
13/03/2007
16:51


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

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





--
Corban Baxter
http://www.projectx4.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 - using the back button

2007-03-15 Thread Steven Sacks | BLITZ
Google "SWFAddress"

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Karim Beyrouti
> Sent: Thursday, March 15, 2007 4:56 AM
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Flash - using the back button
> 
> Hi All,  
> 
> I was just wondering what the best way to activate the 
> browser's back button for a Flash(8) app?... are there any up 
> to date resources / tutorial about this?...
> 
> 
> Kind regards
> 
> 
> 
> Karim
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Urgent: flash detection error with swf object and query string

2007-03-15 Thread Pedro Taranto

you should use
|so.addVariable("variable1", "value1");


--Pedro Taranto

|
[EMAIL PROTECTED] escreveu:

Came across something that has me baffled.

When appending a query string to a URL, certain query string values give me an 
arror, ie , i'm prompted for a plugin download.

for instance

?ecard=21&key=a9a08

gives me an error but if I change the last 8 to any other number, or the 
previous '0' to any other number everytghing works fine!

Help please!


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] TextField variable and arrays - please help!

2007-03-15 Thread Pedro Taranto

you have to use the .text propertie
mc.txt.text = _root["winner"+i+"PercentPayout"];

--Pedro Taranto


Johan Nyberg escreveu:
I tried to get help here a couple of days ago, but alas to no avail. 
Please give me a hand with this if you can:


How do I make a connection between a TextField and an array with the 
variable property when creating TextFields dynamically?


Now I'm doing a work around where I create a variables on the fly, 
fill it with values from the array (winnerPercentPayout), and then 
connect the variable with the TextField.


for(var i:Number=0; i<=100; i++){
   mc = 
settings_mc.winner_mc.container_mc.attachMovie("txt30DynDark","col0_"+i+"_mc",100+i); 


   _root["winner"+i+"PercentPayout"] = winnerPercentPayout[i];
   mc.txt.variable = "_root.winner"+i+"PercentPayout";
}

mc.txt is the instance name of the textfield. What I would like to do 
is to connect the TextFields with the array directly, like this (which 
doesn't work):


for(var i:Number=0; i<=100; i++){
   mc = 
settings_mc.winner_mc.container_mc.attachMovie("txt30DynDark","col0_"+i+"_mc",100+i); 

   _root["winner"+i+"PercentPayout"] = 
"_root.winnerPercentPayout["+i+"]";

}

Grateful for help with this.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 - using the back button

2007-03-15 Thread Pedro Taranto

http://www.asual.com/swfaddress/

--Pedro Taranto


Karim Beyrouti escreveu:
Hi All,  


I was just wondering what the best way to activate the browser's back button
for a Flash(8) app?... are there any up to date resources / tutorial about
this?...


Kind regards



Karim



  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Datagrid sorting

2007-03-15 Thread Bojil Vassilev
You should add a listener to the DataGrid and then sort the 
dataprovider. Here is a quick example, also sorting both ways Asc<>Desc 
(keeping track if a column is sorted one way and sorting it the other 
way next time)


myDataGrid.addColumn("Product");
myDataGrid.addColumn("Quality");
myDataGrid.addColumn("Quantity");

var myDP:Array = [];
myDP.push({Product:"abc", Quality:145, Quantity:7});
myDP.push({Product:"bcd", Quality:79, Quantity:0});
myDP.push({Product:"def", Quality:300, Quantity:24});
myDP.push({Product:"efg", Quality:138, Quantity:10});

myDataGrid.dataProvider = myDP;

var productSorted:Boolean = true;
var qualitySorted:Boolean = true;
var quantitySorted:Boolean = true;

// Create listener object for DataGrid.
var listener_obj:Object = new Object();
listener_obj.headerRelease = function(evt_obj:Object)
{
switch (evt_obj.target.columns[evt_obj.columnIndex].columnName)
{
   case "Product" :
   if(productSorted) myDP.sortOn("Product", Array.CASEINSENSITIVE);
   else myDP.sortOn("Product", Array.DESCENDING | Array.CASEINSENSITIVE);
   productSorted = !productSorted;
   break;
   case "Quality" :
   if(qualitySorted) myDP.sortOn("Quality", Array.NUMERIC);
   else myDP.sortOn("Quality", Array.DESCENDING | Array.NUMERIC);
   qualitySorted = !qualitySorted;
   break;
   case "Quantity" :
   if(quantitySorted) myDP.sortOn("Quantity", Array.NUMERIC);
   else myDP.sortOn("Quantity", Array.DESCENDING | Array.NUMERIC);
   quantitySorted = !quantitySorted;
   break;
}
};

// Add listener to DataGrid.
myDataGrid.addEventListener("headerRelease", listener_obj);



Merrill, Jason wrote:

Need some help on sorting a datagrid by a particular collumn. Right now,
it's sorting alphabetically by data in the second collumn instead of the
first.  I tried sorting the dataprovider first with the array sort
methods, but they didn't work and the help docs indicate those array
sorting methods don't work on associative arrays.  


I have tried:

lobAdmins_dg.dataProvider.sortOn("lob", Array.DESCENDING);

and also with the DataSetIterator:

lobAdmins_dg.dataProvider.addSort("lobSort", "lob",
DataSetIterator.Descending); 


and:

lobAdmins_dg.dataProvider.addSort("lobSort", ["lob"],
DataSetIterator.Descending); 


and then setting the dataprovider to the datagrid. (lob is the name of
the datagrid collumn and also the property/field in the dataprovider I
want to sort on alphabetically.  
 
Also searched help docs, Adobe and Google but no luck.  Any ideas?


Jason Merrill
Bank of America  
Global Technology & Operations
Learning & Leadership Development 
eTools & Multimedia Team



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Datagrid sorting

2007-03-15 Thread Derek Lords
Can your DataProvider be xml?
I'm not sure the Array sort methods do what you want, they might,  but they're 
probably less efficient than an xml transformation anyway.
 
then you might try sorting the dataSource itself beforehand using  in 
an xsl template?  When you want to reverse the sort, just transform again.
 



Sincerely,

Derek Lords 
 


www.itsimmediate.com phone: 917-579-2367cell: 501-631-3817 [EMAIL PROTECTED] 

"It was a sometime paradox, but now time has given it proof." —Shakespeare

> Date: Thu, 15 Mar 2007 13:16:14 -0400> From: [EMAIL PROTECTED]> To: 
> flashcoders@chattyfig.figleaf.com> Subject: [Flashcoders] Datagrid sorting> > 
> Need some help on sorting a datagrid by a particular collumn. Right now,> 
> it's sorting alphabetically by data in the second collumn instead of the> 
> first. I tried sorting the dataprovider first with the array sort> methods, 
> but they didn't work and the help docs indicate those array> sorting methods 
> don't work on associative arrays. > > I have tried:> > 
> lobAdmins_dg.dataProvider.sortOn("lob", Array.DESCENDING);> > and also with 
> the DataSetIterator:> > lobAdmins_dg.dataProvider.addSort("lobSort", "lob",> 
> DataSetIterator.Descending); > > and:> > 
> lobAdmins_dg.dataProvider.addSort("lobSort", ["lob"],> 
> DataSetIterator.Descending); > > and then setting the dataprovider to the 
> datagrid. (lob is the name of> the datagrid collumn and also the 
> property/field in the dataprovider I> want to sort on alphabetically. > > 
> Also searched help docs, Adobe and Google but no luck. Any ideas?> > Jason 
> Merrill> Bank of America > Global Technology & Operations> Learning & 
> Leadership Development > eTools & Multimedia Team> > > 
> ___> 
> Flashcoders@chattyfig.figleaf.com> To change your subscription options or 
> search the archive:> 
> http://chattyfig.figleaf.com/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] Datagrid sorting

2007-03-15 Thread Pete Miller
Is dataProvider.sortOn a proper method?  Do you want
dataProvider.sortItemsBy instead?

P.

>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:flashcoders-
>> [EMAIL PROTECTED] On Behalf Of Merrill, Jason
>> Sent: Thursday, March 15, 2007 1:16 PM
>> To: flashcoders@chattyfig.figleaf.com
>> Subject: [Flashcoders] Datagrid sorting
>> 
>> Need some help on sorting a datagrid by a particular collumn. Right
now,
>> it's sorting alphabetically by data in the second collumn instead of
the
>> first.  I tried sorting the dataprovider first with the array sort
>> methods, but they didn't work and the help docs indicate those array
>> sorting methods don't work on associative arrays.
>> 
>> I have tried:
>> 
>>  lobAdmins_dg.dataProvider.sortOn("lob", Array.DESCENDING);
>> 
>> and also with the DataSetIterator:
>> 
>>  lobAdmins_dg.dataProvider.addSort("lobSort", "lob",
>> DataSetIterator.Descending);
>> 
>> and:
>> 
>>  lobAdmins_dg.dataProvider.addSort("lobSort", ["lob"],
>> DataSetIterator.Descending);
>> 
>> and then setting the dataprovider to the datagrid. (lob is the name
of
>> the datagrid collumn and also the property/field in the dataprovider
I
>> want to sort on alphabetically.
>> 
>> Also searched help docs, Adobe and Google but no luck.  Any ideas?
>> 
>> Jason Merrill
>> Bank of America
>> Global Technology & Operations
>> Learning & Leadership Development
>> eTools & Multimedia Team
>> 
>> 
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/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] xml parse question

2007-03-15 Thread Derek Lords
Carl,
 
That is how you do it.  Here's another way.
 
The following will copy the attributes of one node to another, provided they 
both have exactly the same attributes in the same order, regardless of what the 
attributes names are.
 
function replaceNode(theNode, withNode):Boolean { for(attr in 
theNode.attributes) {  if (typeof withNode.attributes[attr] != 'undefined')   
theNode.attributes[attr] = withNode.attributes[attr];  else  {   
proxy.call("alertWin", withNode.attributes[attr] + " was undefined ");   return 
false;  } } return true;}//end replaceNode



> Date: Wed, 14 Mar 2007 21:19:23 -0700> From: [EMAIL PROTECTED]> To: 
> flashcoders@chattyfig.figleaf.com> Subject: Re: [Flashcoders] xml parse 
> question> > What if I don't know what the names are going to be? How can I 
> check> how many attributes are in a node? is there anything like> 
> .attributes.length (I know that's wrong...) so I can loop> through 
> and find out their names?> > -- > Carl Welch> http://www.carlwelch.com> 
> [EMAIL PROTECTED]> > On 3/14/07, Andrew Wright <[EMAIL PROTECTED]> wrote:> > 
> .attributes.imageID> > .attributes.img> > 
> .attributes.text> >> > etc> > > Hi coders,> > >> > > I just started 
> working on a new project that is requiring me to handle> > > an xml format 
> that I haven't had to deal with yet.> > >> > > Here is an example of what it 
> looks like:> > >> > >  > > 
> Font="Black,8,Regular,AlignLeft" onPanel="true" xPos="0.25"> > > yPos="0.112" 
> />> > >> > > I'm used to parsing xml that looks like this:> > >> > > 
> > > > "foo"> > > > > >> > > How do I 
> parse xml that looks like the first example with multiple> > > values inside 
> of a single node?> > >> > > 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


Re: [Flashcoders] Export a bitmapData to a PDF on server

2007-03-15 Thread Andy Herrman

Well, if you can already do it to jpg, do you have a way to export the
bitmap data to a jpg?  Then you can use the process you already have.

  -Andy

On 3/15/07, Flap Flap <[EMAIL PROTECTED]> wrote:

Hi there,

Do you people knows a way to export a bitmapData to a pdf on server ?
I assume its possible as we can do it for a jpg.
I just looking for ready to use script if some of yours know some or just
some clue to go.
Its for Flash 8 by the way

--
Flapflap
http://www.kilooctet.net (Dev Blog Flash Fr)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ISOMETRIC GAME ENGINE

2007-03-15 Thread gilles
Thank's for the help i'll be workin g on it in the next week sso i'll  
probably ask quite a few questions.


Gilels
Le 15-mars-07 à 09:41, Sherif Elshazly a écrit :


Hi there,
I developed an isometric engine, it's currently used on  
www.faceparty.com chat client.


To have a look, you need to log in sherif791:123456 , then click on  
"party chat", when the client loads, goto the rooms tab, and then  
3D rooms tab, then choose one of the realms.. there's different  
characters, this could be managed from settings within the chat  
client.


I won't be able to share the code, but it could give you an idea on  
how you wish to build your engine.


Sherf

- Original Message 
From: gilles <[EMAIL PROTECTED]>
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 14, 2007 9:26:57 PM
Subject: Re: [Flashcoders] ISOMETRIC GAME ENGINE


Ok it's great , but i have to di it in AS 2 FOR NOW

so anybody got some idea's for an iso engine for large screens in AS2

gilels
Le 14-mars-07 à 19:54, Pedro Taranto a écrit :


its a nice work, do you pretend to share the as2 code too ??

--Pedro Taranto


matt zb escreveu:

Hi,

I've been working on an AS3 isometric game engine for a few months
now.

http://www.zenbullets.com/isometric/

It's not finished, and it's not open source (yet), but may be of
interest if
you are developing along similar lines.


matt




gilles wrote:


Hi all,

we are currently looking for a tile iso game engine for one of  
our

projects.

Does anybody knows some good engine with the new flash 8
enhancement
even commercial we are interessed.

Don't hesitate to contact me.

It doesn't need to be multi-player but we must have the source to
adapt it to our use.

PS: maybe pixlib but we didn't find much over the iso game

BERTRAND Gilles
B-services sprl
248, rue des canadiens
7022 HYON
BELGIUM



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

re

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


BERTRAND Gilles
B-services sprl
248, rue des canadiens
7022 HYON
BELGIUM
PHONE +32 499 529229


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

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



__ 
__

Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


BERTRAND Gilles
B-services sprl
248, rue des canadiens
7022 HYON
BELGIUM
PHONE +32 499 529229


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FAMES and flashout

2007-03-15 Thread Andy Herrman

I haven't used FAMES myself, so I can't really give you a whole lot of
help, but I do vaguely remember something like this from when I was
looking into it.

One of the tutorials I saw about getting flashout set up was that the
class it generates has problems with the latest version of MTASC.
There was something about having to go into that file and replace all
instances of "TRACE" with "trace".  Since you seem to be having
problems using TRACE, maybe that's the culprit.

Here's the tutorial I was looking at:
http://www.communitymx.com/content/article.cfm?cid=F3ECF

Hope that helps!

  -Andy

On 3/15/07, quinrou . <[EMAIL PROTECTED]> wrote:

Hi,

I am having a problem with the open sources fames
I followed this tutorial
http://osflash.org/getting_started_with_fames
to install all the open sources

and did this tuotrial
http://theresidentalien.typepad.com/fames/part1.htm
http://theresidentalien.typepad.com/fames/part2.htm

everything works fine in term of compiling but when i am trying to trace
something out to flashout I get the following error message:
"type error Unknown class TRACE"

the code that i have for tracing out in my class is
TRACE(Flashout.DEBUG + "HELLO");

any idea in what i have to do?

many 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


Re: [Flashcoders] Export a bitmapData to a PDF on server

2007-03-15 Thread Mick G

ImageMagik supports PDF

http://www.imagemagick.org/script/index.php



On 3/15/07, Flap Flap <[EMAIL PROTECTED]> wrote:


Hi there,

Do you people knows a way to export a bitmapData to a pdf on server ?
I assume its possible as we can do it for a jpg.
I just looking for ready to use script if some of yours know some or just
some clue to go.
Its for Flash 8 by the way

--
Flapflap
http://www.kilooctet.net (Dev Blog Flash Fr)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JSON issues with Flash Lite 2.1

2007-03-15 Thread eka

Hello :)

i don't coding with Flash Lite 2.1 but you can try my JSON implementation in
my openSource framework : http://vegas.riaforge.org/

http://svn.riaforge.org/vegas/AS2/trunk/src/vegas/string/JSON.as

EKA+ :)

2007/3/15, Pete Thomas <[EMAIL PROTECTED]>:


Hi Guys

Has anyone out there managed to successfully implement a JSON interface
with
Flash Lite 2.1 using AS2

I got both AS1 and AS2 versions from json.org but I get Bad String failure
when publishing Flash Lite player (fine in player 7). I'm thinking this is
either a glitch or something in the code that is not supported. But as yet
have not found it...

Any help appreciated

Pete

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/722 - Release Date:
14/03/2007
15:38


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Non-Unicode

2007-03-15 Thread Hairy Dog Digital
Hi Danny,

I think this same thing (or something very similar) came up on the Director
DIRECT-L list in the past few months. If you don't have it, here are links
for that list:

To SUBSCRIBE or to UNSUBSCRIBE go to
http://listserv.uark.edu/archives/direct-l.html
and click on
"Join or leave the list (or change settings)"

For list archives
http://listserv.uark.edu/archives/direct-l.html

...Rob



-Original Message-
From: Danny Kodicek [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 15, 2007 8:30 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Non-Unicode

I think I asked this a while ago but don't recall getting an answer. Is
there any way to get String.fromCharCode() and String.charCodeAt() to use
the local codepage instead of Unicode? I'm doing some Flash-Director
communication and this is causing problems because Director's numToChar and
charToNum functions return different results from their Flash equivalents.


Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 parse question

2007-03-15 Thread Rost, Andrew
You might be aware of this, but just an FYI, if you're concerned about
attributes being order specific. When you loop through the attributes with a
for statement, you'll get the attributes in the reverse order. I personally
loop through the attributes and push the attribute name to an array and then
reverse order, when the for is done.

Andrew
-Original Message-
From: Carl Welch [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 15, 2007 3:04 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] xml parse question

Nevermind. I found this in one of my many flash books:

myAttributes = this.firstChild.childNodes[0].childNodes[0].attributes;
for(attributes in myAttributes){
   trace(attributes+" : "+myAttributes[attributes]);
}


On 3/14/07, Carl Welch <[EMAIL PROTECTED]> wrote:
> What if I don't know what the names are going to be? How can I check
> how many attributes are in a node? is there anything like
> .attributes.length (I know that's wrong...) so I can loop
> through and find out their names?
>
> --
> Carl Welch
> http://www.carlwelch.com
> [EMAIL PROTECTED]
>
> On 3/14/07, Andrew Wright <[EMAIL PROTECTED]> wrote:
> > .attributes.imageID
> > .attributes.img
> > .attributes.text
> >
> > etc
> > > Hi coders,
> > >
> > > I just started working on a new project that is requiring me to handle
> > > an xml format that I haven't had to deal with yet.
> > >
> > > Here is an example of what it looks like:
> > >
> > >  > > Font="Black,8,Regular,AlignLeft" onPanel="true" xPos="0.25"
> > > yPos="0.112" />
> > >
> > > I'm used to parsing xml that looks like this:
> > >
> > > 
> > > "foo"
> > > 
> > >
> > > How do I parse xml that looks like the first example with multiple
> > > values inside of a single node?
> > >
> > > 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
> >
>


-- 
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] xml parse question

2007-03-15 Thread John laPlante
The xml that you've shown consists of all attributes, that is value 
pairs inside a tag. Each node has a attributes property. Here is a small 
snippet that demonstrates accessing attributes.


   private function loadProblems(xFileName:String):Void
   {
   var sLessonPath = this.theLessonPath;// _root.lesson_path;
   var pathedFileName:String = sLessonPath + xFileName
   xmlFile = new XML();
   xmlFile.ignoreWhite = true;
   xmlFile.onLoad = mx.utils.Delegate.create(this, fetchLessonFiles);
   xmlFile.load( pathedFileName );   
  
   return;
   }   


   public function fetchLessonFiles():Void
   {
   var cFileNum:Number = 1;// counter

   var cFileID:String;
   cFileID = unescape(xmlFile[cFileNum].attributes.fileName);

   }


--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]

On 3/14/07, Andrew Wright <[EMAIL PROTECTED]> wrote:

.attributes.imageID
.attributes.img
.attributes.text

etc
> Hi coders,
>
> I just started working on a new project that is requiring me to handle
> an xml format that I haven't had to deal with yet.
>
> Here is an example of what it looks like:
>
>  Font="Black,8,Regular,AlignLeft" onPanel="true" xPos="0.25"
> yPos="0.112" />
>
> I'm used to parsing xml that looks like this:
>
> 
> "foo"
> 
>
> How do I parse xml that looks like the first example with multiple
> values inside of a single node?
>
> 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] Flash Project in 8 Languages - Approaches in Production

2007-03-15 Thread Jeff Harrington
We've been asked to bid on a project documenting how to fill out forms -
in 8 languages including Chinese and Russian with streaming audio and
video.  I've suggested that we brute-force it and produce all the
content similarly with HTML text areas. 

I assume we'll be given PDF's of each of the 8 documents and then
combining screen shots and text pasting produce the educational pieces. 
We'll be MP3 streaming the audio and video using FMS and just resolve
the soundtracks/MP3's as needed. 

I'm fairly naive about the issues related to multi-lingual Flash
production.  Are there any obvious gotchas related to font encodings,
HTML support with non-ASCII fonts, etc?  I'm assuming for one, that the
Flash will be heavy because of all the fonts.  Any other issues that
might inform how we produce this project? 

TIA as always...

Jeff
http://jeffharrington.org

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

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


[Flashcoders] Can Flash or Director open a browser window with limited chrome

2007-03-15 Thread redknot

I'm working on a CD-ROM deployment of the content in a website.

I'd like to create a standalone projector (Flash or Director) and use 
it to navigate to parts of the main HTML content.  Does anybody know 
what tools or code I can use to:


1- open an HTML page in a browser window, and at the same time 
control the  window attributes of that browser window (toolbars, 
position, etc). Ideally, I'd like to open a window with minimal 
features. I know this is easy from another browser window,... but not 
sure if it's achievable via a standalone projector.


2-The other thing I'd like to do is target the same simple window if 
I need to change the content from the projector . i.e. replace the 
content with a new HTML page instead of opening a new window.


Many thanks,
Lorraine


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 parse question

2007-03-15 Thread Steven Sacks | BLITZ
Here's XML2AS as an AS2 static class for her pleasure.


class com.stevensacks.data.XML2AS 
{
public static function parse(n, r) 
{
var a, d, k;
if (r[k=n.nodeName] == null) r = ((a=r[k]=[{}]))[d=0];
else r = (a=r[k])[d=r[k].push({})-1];
if (n.hasChildNodes()) {
if ((k=n.firstChild.nodeType) == 1) {
r.attributes = n.attributes;
for (var i in k=n.childNodes)
XML2AS.parse(k[i], r);
} else if (k == 3) {
a[d] = new
String(n.firstChild.nodeValue);
a[d].attributes = n.attributes;
}
}else r.attributes = n.attributes;
}
}

Usage:









var xml:XML = someXML;
var xmlObj:Object = {};
XML2AS.parse(someXML.firstChild, xmlObj);

trace(xmlObj.config[0].test[0].attributes.foo);
-- bar

var nodes:Array = xmlObj.config[0].items[0].item;
var i:Number = nodes.length;
while (i--) {
trace(nodes[i]);
}
-- Some text
-- More text
-- Other text
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Urgent: flash detection error with swf object and query string

2007-03-15 Thread moveup
Came across something that has me baffled.

When appending a query string to a URL, certain query string values give me an 
arror, ie , i'm prompted for a plugin download.

for instance

?ecard=21&key=a9a08

gives me an error but if I change the last 8 to any other number, or the 
previous '0' to any other number everytghing works fine!

Help please!


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 parse question

2007-03-15 Thread Geoff Stearns
all the attributes are in the attributes object, so you can just do a  
for...in loop and grab them all.


example:

for(a in xObj.attributes) {
obj[a] = xObj.attributes[a];
}



On Mar 15, 2007, at 12:19 AM, Carl Welch wrote:


What if I don't know what the names are going to be? How can I check
how many attributes are in a node? is there anything like
.attributes.length (I know that's wrong...) so I can loop
through and find out their names?

--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]

On 3/14/07, Andrew Wright <[EMAIL PROTECTED]> wrote:

.attributes.imageID
.attributes.img
.attributes.text

etc
> Hi coders,
>
> I just started working on a new project that is requiring me to  
handle

> an xml format that I haven't had to deal with yet.
>
> Here is an example of what it looks like:
>
>  Font="Black,8,Regular,AlignLeft" onPanel="true" xPos="0.25"
> yPos="0.112" />
>
> I'm used to parsing xml that looks like this:
>
> 
> "foo"
> 
>
> How do I parse xml that looks like the first example with multiple
> values inside of a single node?
>
> 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


Re: [Flashcoders] ISOMETRIC GAME ENGINE

2007-03-15 Thread Kevin Cannon

Some of the other posts might be more related, but there's an
excellent tutorial on tilebased games that leads into isometric games
on this site:

http://www.tonypa.pri.ee/tbw/start.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


[Flashcoders] RE: Datagrid sorting

2007-03-15 Thread Merrill, Jason
Nevermind - I found there are sorting methods for dataproviders.

This works:

lobAdmins_dg.dataProvider.sortItemsBy("lob", "ASC");

Of course, seems that this list is down AGAIN, so I'm probably talking
to myself. :) 



Jason Merrill
Bank of America  
Global Technology & Operations
Learning & Leadership Development 
eTools & Multimedia Team


 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 - using the back button

2007-03-15 Thread Karim Beyrouti
Hi All,  

I was just wondering what the best way to activate the browser's back button
for a Flash(8) app?... are there any up to date resources / tutorial about
this?...


Kind regards



Karim



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date: 13/03/2007
16:51
 

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

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


[Flashcoders] TextField variable and arrays - please help!

2007-03-15 Thread Johan Nyberg
I tried to get help here a couple of days ago, but alas to no avail. 
Please give me a hand with this if you can:


How do I make a connection between a TextField and an array with the 
variable property when creating TextFields dynamically?


Now I'm doing a work around where I create a variables on the fly, fill 
it with values from the array (winnerPercentPayout), and then connect 
the variable with the TextField.


for(var i:Number=0; i<=100; i++){
   mc = 
settings_mc.winner_mc.container_mc.attachMovie("txt30DynDark","col0_"+i+"_mc",100+i);

   _root["winner"+i+"PercentPayout"] = winnerPercentPayout[i];
   mc.txt.variable = "_root.winner"+i+"PercentPayout";
}

mc.txt is the instance name of the textfield. What I would like to do is 
to connect the TextFields with the array directly, like this (which 
doesn't work):


for(var i:Number=0; i<=100; i++){
   mc = 
settings_mc.winner_mc.container_mc.attachMovie("txt30DynDark","col0_"+i+"_mc",100+i);

   _root["winner"+i+"PercentPayout"] = "_root.winnerPercentPayout["+i+"]";
}

Grateful for help with this.

--
Johan Nyberg

Web Guide Partner
Sergels Torg 12, 8 tr
111 57 Stockholm 
070 - 407 83 00


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 player and pop-up blockers

2007-03-15 Thread Gregory N

So far the only reliable way I've found is to avoid pop-ups in favor of
hidden DIVs containing IFRAME.
Then, instead of opening a pop-up, you just change the *display* property by
Javascript.

On 3/14/07, John Dowdell <[EMAIL PROTECTED]> wrote:


Perdue, Blake wrote:
> We've gotten a lot of complaints lately that popup windows spawned by a
> SWF are getting blocked by pop-up blockers, even though they are user
> initiated. It seems the newer flash players (v8, v9) or perhaps the new
> pop-up blockers (Firefox, Google, etc) have changed the way they operate
> - this didn't used to be a problem for us.

Yes, this can be a problem -- different browser extensions work in
different ways, and respond to different JavaScript events, so it's hard
to make a one-size-fits-all solution.

One bit of consolation: someone who installs a rogue window-blocker will
be visiting more sites than just yours, so they would become familiar
with any feedback the blocker and/or browser offer about windows the
browser didn't open.

Another tack you might try, to give visitors consistent feedback about
what their browser isn't doing, might be to try a localConnection test
from the original SWF to the popup SWF, after waiting a suitable
interval... if the second SWF never opened, then the first SWF can
advise that there may be a window-blocker in the visitor's browser.

jd








--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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





--
--
Best regards,
GregoryN

http://GOusable.com
Flash components development.
Usability services.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] RE: checking .flv encoding settings

2007-03-15 Thread undersound
Thanx guys, 

I managed to see the metadata in flv-knife which outputted the nice xml
beneath: After that I searched for the encode list:

Video:

2 is Sorenson H.263
3 is Screen Video
4 is On2 VP6

Audio:

0 is Uncompressed
1 is ADPCM
2 is MP3
5 is Nellymoser 8 kHz mono
6 is Nellymoser


--



  

64
1
25
4
Thu Oct 05 14:33:58 2006
0
294
2
415
127.16
490

  

--


Thanx again
Undersound

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Grant
Sent: Thursday, March 15, 2007 3:16 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] RE: checking .flv encoding settings

read about onMetaData in the help. 

good luck,
glenn grant

--

Message: 17
Date: Wed, 14 Mar 2007 23:49:09 +0100
From: "undersound" <[EMAIL PROTECTED]>
Subject: [Flashcoders] checking .flv encoding settings
To: 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"

Hello everybody, 

 

Does anybody know how you can detect the encoding settings that were used
when the .flv was created?

 

I need to re-encode a movie with the same settings that were used then.

 

Thanx in advance

Undersound
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Site Check

2007-03-15 Thread Parvaiz Patel
It's working here...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
promo+biboune.net
Sent: Wednesday, March 14, 2007 11:21 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Site Check

works for me too..

Le 07-03-14, à 12:23, Chris Tague a écrit :

works for menice photos!

On 3/14/07, Adrian Lynch <[EMAIL PROTECTED]> wrote:
>
> Could I get some of you to check this site:
>
> http://www.simon-mills.co.uk/test/
>
> Some people are saying that it gets stuck at 1% or 2%. Can anyone 
> confirm
> this?
>
> Cheers.
>
> Adrian Lynch
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Order of events for function call

2007-03-15 Thread Paul Steven
Thanks Paul

Kind of similar to what I have but with this method there is a delay if
balls are falling from high up. Ideally I would like there to be no delay
but guess that could make things too complex.

if (this.List_Of_Falling_Ball_Objects.length == 0 &&
this.List_Of_Sliding_Ball_Objects.length == 0) {


this.Move_Balls_Up();
this.Play_Balls_Up_Sound();

}

Cheers


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews
Sent: 14 March 2007 22:58
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Order of events for function call

Without thinking about this too much, I might have a count of the balls in 
transit. When a ball reaches it's destination, the count is decremented. I 
would only add a new row when the count is zero. Does that do the trick?

Paul
- Original Message - 
From: "Paul Steven" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, March 14, 2007 8:00 PM
Subject: RE: [Flashcoders] Order of events for function call


>I have another related question about this collapse game.
>
> Every few seconds, all the rows of balls on the game screen move up one 
> row
> and are replaced with a new row of random balls.
>
> I have a problem whereby this may occur immediately after I have just
> assigned the falling balls their new destinations. Hence the falling balls
> think that the bottom row was empty and are heading to fill this gap but 
> now
> the new line of balls has filled this gap and shifted all the tile data up
> by one row.
>
> I would appreciate any advice on how to prevent this problem.
>
> Thanks
>
> Paul
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
> Steven
> Sent: 14 March 2007 15:23
> To: flashcoders@chattyfig.figleaf.com
> Subject: RE: [Flashcoders] Order of events for function call
>
> Thanks to everyone for the great advice. I have now taken your advice and
> got rid of all the multiple onEnterFrames and it now works a treat.
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of T. Michael
> Keesey
> Sent: 14 March 2007 14:44
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] Order of events for function call
>
> You can't rely on the order of events for two movies in the same
> timeline. Instead, why not have an onEnterFrame in the parent clip
> that calls functions in ball_mc and ball2_mc in the proper order?
>
> On 3/14/07, Paul Steven <[EMAIL PROTECTED]> wrote:
>> This may be really basic but I can't understand.
>>
>> The following is a simplified version of what I am trying to achieve.
>>
>> Basically I am attaching an onEnterFrame function to 2 objects, say
> object1
>> and object2.
>>
>> I am attaching it to object1 first however it is calling the onEnterFrame
>> function for object2 first.
>>
>> I would appreciate any advice on why this is happening.
>>
>> When I test the movie, the "Object2 enter frame" trace is displaying
> first.
>>
>> Here is the code for my simplified test file:
>>
>> object1 = attachMovie("ball_mc","ball_mc",1);
>> object2 = attachMovie("ball_mc","ball_mc2",2);
>>
>> object1.onEnterFrame = function() {
>>
>> trace ("Object1 enter frame");
>>
>> }
>>
>> object2.onEnterFrame = function() {
>>
>> trace ("Object2 enter frame");
>>
>> }
>>
>> Many thanks
>>
>> Paul
>>
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
>
>
> -- 
> T. Michael Keesey
> Director of Technology
> Exopolis, Inc.
> 2894 Rowena Avenue Ste. B
> Los Angeles, California 90039
> --
> The Dinosauricon: http://dino.lm.com
> Parry & Carney: http://parryandcarney.com
> ISPN Forum: http://www.phylonames.org/forum/
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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
>

[Flashcoders] Text blurry when behind a mask

2007-03-15 Thread Johan Nyberg
Anybody know how to solve this annoying problem? Whenever I put text 
behind a mask, and then move the text - like for example if you want to 
make a simple scroller - the text gets blurry. Even when I use bitmap 
text. On the odd pixel the text is blurry, on the other sharp.


--
Johan Nyberg

Web Guide Partner
Sergels Torg 12, 8 tr
111 57 Stockholm 
070 - 407 83 00


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Datagrid sorting

2007-03-15 Thread Merrill, Jason
Need some help on sorting a datagrid by a particular collumn. Right now,
it's sorting alphabetically by data in the second collumn instead of the
first.  I tried sorting the dataprovider first with the array sort
methods, but they didn't work and the help docs indicate those array
sorting methods don't work on associative arrays.  

I have tried:

lobAdmins_dg.dataProvider.sortOn("lob", Array.DESCENDING);

and also with the DataSetIterator:

lobAdmins_dg.dataProvider.addSort("lobSort", "lob",
DataSetIterator.Descending); 

and:

lobAdmins_dg.dataProvider.addSort("lobSort", ["lob"],
DataSetIterator.Descending); 

and then setting the dataprovider to the datagrid. (lob is the name of
the datagrid collumn and also the property/field in the dataprovider I
want to sort on alphabetically.  
 
Also searched help docs, Adobe and Google but no luck.  Any ideas?

Jason Merrill
Bank of America  
Global Technology & Operations
Learning & Leadership Development 
eTools & Multimedia Team


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [OT] JOB OFFER

2007-03-15 Thread Pedro Furtado
Hello boys and girls,

Once again YDreams is recruiting a flash programmer :-)

You can submit your resume trough the website or if you prefer directly to
me, although the first option is preferred.

 

We’re an emerging company very loose and mostly like a very big family,
check us out at www.ydreams.com   . 

 

Hope to hear from some of you soon!

 

Pedro Furtado | Software Engineer |  
[EMAIL PROTECTED] | +351 913497490
YDreams - Informática S.A. |   www.ydreams.com |
+351 212949683 

Disclaimer and Confidentiality Notice: YDreams accepts no responsibility or
liability whatsoever
with regard to the information herein contained. This message including any
attachment hereof
is confidential and may be privileged or otherwise legally protected from
disclosure and may
only be read, copied and used by the intended recipient. If you are not the
intended recipient,
please contact the sender immediately (+351 21 294 9683) and delete this
email and any 
attachment permanently from your system. You must not copy this email or any
attachment or
disclose its/their contents to any other person or entity. 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] We are hiring (NYC candidates only)

2007-03-15 Thread Oscar Trelles

Domani Studios is looking for a Sr. Flash developer to join our team either on a
Fulltime or Freelance basis. This position will involve creating games,
animations, sites, integrating video content, and tons of other interactive
components. You will be a crucial part of a growing team of passionate
developers pushing our medium forward.

Requirements
- 3+ years of professional Flash development.
- Expert knowledge of ActionScript 2 and OOP concepts.
- Experience with data-driven Flash applications (XML, Flash Remoting)
- Experience with Flash Video (progressive and streaming)
- Knowledge of HTML, CSS, and Javascript.

Bonus Points:
- Knowledge of databases and content management tools.
- Experience instrumenting sites with Omniture or WebTrends.
- Active participation in the Flash community.
- Basic understanding of ActionScript 3.
- 3D or AfterEffects experience.
- Experience with version control systems (SVN)


Please email your resume and a list or URLs (or portfolio site) clearly
explaining your involvement on each project to: [EMAIL PROTECTED]
with SR. FLASH DEVELOPER as the subject.

About Domani Studios
Domani Studios is an award-winning 25-person interactive design firm in
Brooklyn's Dumbo neighborhood. We focus on luxury, lifestyle and entertainment
clients such as W Hotels, Volkswagon, Nikon, Anheuser-Busch, Mini Cooper and
many others. We're a committed group of professionals looking for
others like us.

Check our site for examples of our work: http://www.domanistudios.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] flash media server hosting providers

2007-03-15 Thread james o
can anyone recommend a flash media server hosting provider that  
they're really happy with based on performance, reliability and  
cost?  a LAMP solution would be ideal but not necessary.


necessary technologies would be Flash Media Server, MySQL, PHP and  
FFMpeg or another video coding solution.


an ideal solution would provide an out of the box video encoding/ 
converting solution.  i.e, upload any video format and video is  
encoded as a .flv


THANKS!
./james

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Export a bitmapData to a PDF on server

2007-03-15 Thread Flap Flap

Hi there,

Do you people knows a way to export a bitmapData to a pdf on server ?
I assume its possible as we can do it for a jpg.
I just looking for ready to use script if some of yours know some or just
some clue to go.
Its for Flash 8 by the way

--
Flapflap
http://www.kilooctet.net (Dev Blog Flash Fr)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] FAMES and flashout

2007-03-15 Thread quinrou .

Hi,

I am having a problem with the open sources fames
I followed this tutorial
http://osflash.org/getting_started_with_fames
to install all the open sources

and did this tuotrial
http://theresidentalien.typepad.com/fames/part1.htm
http://theresidentalien.typepad.com/fames/part2.htm

everything works fine in term of compiling but when i am trying to trace
something out to flashout I get the following error message:
"type error Unknown class TRACE"

the code that i have for tracing out in my class is
TRACE(Flashout.DEBUG + "HELLO");

any idea in what i have to do?

many 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] checking .flv encoding settings

2007-03-15 Thread Kurt Griffin

You can get some basic info from the meta data in Flash. From the help:
-
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);

ns.onMetaData = function(infoObject:Object) {
for (var propName:String in infoObject) {
trace(propName + " = " + infoObject[propName]);
}
};

ns.play("http://www.helpexamples.com/flash/video/water.flv";);



canSeekToEnd:true
audiocodecid:2
audiodelay:0.038
audiodatarate:96
videocodecid:4
framerate:15
videodatarate:400
height:213
width:320
duration:8.04

-

The videocodecid numbers are these: Sorenson H.263 =2, Screen Video  
=3, On2 VP6 = 4 and 5, Screen Video V2 = 6


No guarantee as to what data will be included in the metadata - that  
depends on the app used to do the compression. I believe there's a  
way to get keyframe data as well, but I'm not positive.


hth,
Kurt


On Mar 14, 2007, at 9:30 PM, flashcoders- 
[EMAIL PROTECTED] wrote:


Does anybody know how you can detect the encoding settings that  
were used

when the .flv was created?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JSON issues with Flash Lite 2.1

2007-03-15 Thread Pete Thomas
Hi Guys

Has anyone out there managed to successfully implement a JSON interface with
Flash Lite 2.1 using AS2

I got both AS1 and AS2 versions from json.org but I get Bad String failure
when publishing Flash Lite player (fine in player 7). I'm thinking this is
either a glitch or something in the code that is not supported. But as yet
have not found it...

Any help appreciated

Pete

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/722 - Release Date: 14/03/2007
15:38
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ISOMETRIC GAME ENGINE

2007-03-15 Thread matt zb

> From: Gustavo Duenas
> man that is awesome congratulations!!! if you are developing game
> for flash with that quality and textures...it is going to be nice.
> 
> Maybe in future I'd tell you some of my ideas about create a
> particular game for the internet with that engine.

Thanks Gustavo,  

Hopefully the first finished game should be delivered sometime in the next
two months. I'll try and keep http://www.zenbullets.com/isometric/ updated
with new developments. Any ideas for future development will be welcome.

> From: Pedro Taranto
> its a nice work, do you pretend to share the as2 code too ??

Pedro, I'm not sharing either AS2 or AS3 versions quite yet, just in case I
have to roll back. Sorry.

> matt zb escreveu:
>> Hi,
>> 
>> I've been working on an AS3 isometric game engine for a few months now.
>> 
>> http://www.zenbullets.com/isometric/

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Playing big FLV files (locally) - where's the problem ?

2007-03-15 Thread Cedric Muller

Hello,
I have FLV files that are being downloaded by a java client from the  
web to a local disk.

On my local machine, I have a SWF loading that local downloaded FLV.
It works great ...
but here comes that awful heartbeat again:
How can I handle 2 gig FLV files ?
Is there a way ??
Must I use RED5 in order to 'stream' the FLV locally ? (the best  
option I come up with right now)


I did tests, and a 2 gig FLV is a sure problem when played locally ...
I am just and plainly seeking ideas and help

Naively, I thought the OS would handle this case ...of course it  
doesn't, because it depends on the computer's capacity to load a 2  
gig FLV in memory ...which is quite weak normally 


Thanks in advance for any pointers,
Cedric




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] non-Unicode cont.

2007-03-15 Thread Danny Kodicek

Ha - answered my own question partially. System.useCodePage is obviously
what I need, but unfortunately I really need to be able to mix and match the
two, so I don't think it'll help. What I need is a 'codepage to unicode'
function.

Danny



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] remoting question

2007-03-15 Thread Kerem İŞERİ

hi,

I am using flash remoting and amfphp in a site, and fetching the content 
from database.. does anybody know how can I monitor the data sent from 
the server in a preloader?? or is it impossible?? because Im fetching 
mixed data like texts and pictures and some swf's sometimes, I think to 
know only the total number of bytes will be revieved on one query, would 
be enough to calculate it but I couldnt make it.. I've been using php 
object component before using flash remoting, and it was not possible to 
monitor data it there either..


any ideas??

kerem.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ISOMETRIC GAME ENGINE

2007-03-15 Thread Sherif Elshazly
Hi there,
I developed an isometric engine, it's currently used on www.faceparty.com chat 
client.

To have a look, you need to log in sherif791:123456 , then click on "party 
chat", when the client loads, goto the rooms tab, and then 3D rooms tab, then 
choose one of the realms.. there's different characters, this could be managed 
from settings within the chat client.

I won't be able to share the code, but it could give you an idea on how you 
wish to build your engine.

Sherf

- Original Message 
From: gilles <[EMAIL PROTECTED]>
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 14, 2007 9:26:57 PM
Subject: Re: [Flashcoders] ISOMETRIC GAME ENGINE


Ok it's great , but i have to di it in AS 2 FOR NOW

so anybody got some idea's for an iso engine for large screens in AS2

gilels
Le 14-mars-07 à 19:54, Pedro Taranto a écrit :

> its a nice work, do you pretend to share the as2 code too ??
>
> --Pedro Taranto
>
>
> matt zb escreveu:
>> Hi,
>>
>> I've been working on an AS3 isometric game engine for a few months  
>> now.
>>
>> http://www.zenbullets.com/isometric/
>>
>> It's not finished, and it's not open source (yet), but may be of  
>> interest if
>> you are developing along similar lines.
>>
>>
>> matt
>>
>>
>>
 gilles wrote:

> Hi all,
>
> we are currently looking for a tile iso game engine for one of our
> projects.
>
> Does anybody knows some good engine with the new flash 8  
> enhancement
> even commercial we are interessed.
>
> Don't hesitate to contact me.
>
> It doesn't need to be multi-player but we must have the source to
> adapt it to our use.
>
> PS: maybe pixlib but we didn't find much over the iso game
>
> BERTRAND Gilles
> B-services sprl
> 248, rue des canadiens
> 7022 HYON
> BELGIUM
>
>>
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/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

BERTRAND Gilles
B-services sprl
248, rue des canadiens
7022 HYON
BELGIUM
PHONE +32 499 529229


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

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


 

Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 parse question

2007-03-15 Thread Carl Welch

What if I don't know what the names are going to be? How can I check
how many attributes are in a node? is there anything like
.attributes.length (I know that's wrong...) so I can loop
through and find out their names?

--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]

On 3/14/07, Andrew Wright <[EMAIL PROTECTED]> wrote:

.attributes.imageID
.attributes.img
.attributes.text

etc
> Hi coders,
>
> I just started working on a new project that is requiring me to handle
> an xml format that I haven't had to deal with yet.
>
> Here is an example of what it looks like:
>
>  Font="Black,8,Regular,AlignLeft" onPanel="true" xPos="0.25"
> yPos="0.112" />
>
> I'm used to parsing xml that looks like this:
>
> 
> "foo"
> 
>
> How do I parse xml that looks like the first example with multiple
> values inside of a single node?
>
> 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


Re: [Flashcoders] xml parse question

2007-03-15 Thread Carl Welch

Nevermind. I found this in one of my many flash books:

myAttributes = this.firstChild.childNodes[0].childNodes[0].attributes;
for(attributes in myAttributes){
  trace(attributes+" : "+myAttributes[attributes]);
}


On 3/14/07, Carl Welch <[EMAIL PROTECTED]> wrote:

What if I don't know what the names are going to be? How can I check
how many attributes are in a node? is there anything like
.attributes.length (I know that's wrong...) so I can loop
through and find out their names?

--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]

On 3/14/07, Andrew Wright <[EMAIL PROTECTED]> wrote:
> .attributes.imageID
> .attributes.img
> .attributes.text
>
> etc
> > Hi coders,
> >
> > I just started working on a new project that is requiring me to handle
> > an xml format that I haven't had to deal with yet.
> >
> > Here is an example of what it looks like:
> >
> >  > Font="Black,8,Regular,AlignLeft" onPanel="true" xPos="0.25"
> > yPos="0.112" />
> >
> > I'm used to parsing xml that looks like this:
> >
> > 
> > "foo"
> > 
> >
> > How do I parse xml that looks like the first example with multiple
> > values inside of a single node?
> >
> > 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
>




--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] user guide type help

2007-03-15 Thread white song

Do you have a model or any sugestions for writing a help file for one
product?

Thanks,
Bianca
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Non-Unicode

2007-03-15 Thread Danny Kodicek
I think I asked this a while ago but don't recall getting an answer. Is
there any way to get String.fromCharCode() and String.charCodeAt() to use
the local codepage instead of Unicode? I'm doing some Flash-Director
communication and this is causing problems because Director's numToChar and
charToNum functions return different results from their Flash equivalents.


Danny

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

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