RE: [Flashcoders] correct way to set onRease of an arbitrary button

2007-03-13 Thread Nimrod Huberman
You can set pointer to the question class in the button, and use it later in
function .
Use this code in the your question class:
answerButton.handleBy = this;
answerButton.onRelease = function() { handleBy.GiveAnswer(aNum);}
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Sinning
Sent: Monday, March 12, 2007 8:14 PM
To: Flash Coders
Subject: [Flashcoders] correct way to set onRease of an arbitrary button

(Putting aside whether or not this is best practice design, as I'm just 
trying to get my head around this.)

I've put three buttons in _root.questionInterface called button_1, 
button_2, etc.  Elsewhere I have defined a class Question.  When an 
instance of Question is displayed, it needs to modify the onRelease of 
the three buttons so that the Question gets notified when each button 
gets released.

Within the "Display" method of the Question, I want to do something like

for (var aNum=1; aNum<=5; aNum++) {

var answerButton = _root.questionInterface["button_"+aNum];
// pseudo code:
make the onRelease of answerButton make a call to the function 
AnswerSelected(aNum) inside of this
//

// I have tried the following, but it's not right
answerButton.onRelease = function() { this.GiveAnswer(aNum);};


}


Any help greatly appreciated.  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] flash.media.Camera.setMode Freeze SWF

2007-03-13 Thread Anthony Lee

Hi Luciano,

It sets the pixel width, pixel height and framerate for the camera
it's called on. ie. What the data is grabbed at. How you choose to
preset it is something else.

For example:

var cam:Camera = Camera.get();
cam.setMode(320, 240, 20);

But it's a bit more complicated than that because the camera generally
has preset modes so Flash attempts to find the one closest to your
request, giving preference to the framerate.

Does it freeze your machine? What are your specs?

Anthony
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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-13 Thread Anggie Bratadinata

have you tried www.flashsandy.org ?

--
Anggie Bratadinata
www.masputih.com
I N D O N E S I A

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

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


[Flashcoders] ISOMETRIC GAME ENGINE

2007-03-13 Thread gilles

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

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


[Flashcoders] get ip by host name

2007-03-13 Thread lincoln
does flash (or javascript for that matter) have anyway to get an IP  
by host name?  For example:


 var returnIP = getIPbyHost("chattyfig.com");

I'm restricted to scripts that only run locally (not server based  
like PHP).  Any ideas?


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

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


Re: [Flashcoders] is flash still alive?

2007-03-13 Thread Ramon Miguel M. Tayag

Yep, I always tell them otherwise, so at least I get to convert one
person at a time.  We use normal computers btw!  At least most of the
time, not systems built out of scrap from other countries! ;)

I've noticed this topic has gone quite off, but I'm sure ottocid has
gotten the message, even just by the sheer number of emails!  Flash is
very much alive!

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

It's strange that they would "think that Flash is for fast computers and
high bandwidth" as the Flash player's ubiquety is due in no small way to
the fact that it is very well optimised for speed and size to allow it to
run on most machines. Of course I have no idea what you're running it on
in the Philippines so maybe that's a factor

w: www.flashcoder.net/blog


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

2007-03-13 Thread Paul Andrews

I've been building a graphical front end controlled via a text log file that
is frequently updated by a running process. The log file and web server are
on the same unix box. I read the text log file using LoadVars. All well and
good.

The flash code reads the log file, extracts pertinent data and runs
animations accordingly. For the most part it works well - reading from a
static log file - no problem.
In practice, the log file is not static and is being continually refreshed
by another process that changes it's content. The flash code repeatedly
re-reads the changing log file and the whole thing will start again,
repeating as required.

Now to the point: Since the flash front end runs in a browser, I realise
that supplying a url to read the logfile from using Loadvars would be prone
to caching in the browser and adding a changing parameter in the file url
would deal with that. In my case, rather than use a url I've specified the
logfile location as a relative path from the swf, therby avoiding sandbox
restrictions.

Using this technique (a relative path), is the file read prone to be cached
by the browser?
If so, is there any way to defeat the caching when using a relative file
path (since you can't include a changing parameter in what looks like a
local file)?

If this file is being cached, I guess I'll have no choice but to use a url,
cache killer parameter and a policy file.

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


Re: [Flashcoders] Controlling flv

2007-03-13 Thread greg h

Adrian,

Have you gotten this resolved yet?

I am a little rusty on the FLVPlayback component.  It wraps the VideoPlayer
class.  If you look on the docs there are a number of properties on
VideoPlayer that you might be able to use to construct the logic you
describe.  Docs here:
http://livedocs.adobe.com/flash/8/main/3645.html

For instance, do your FLVs have encoding showing values on the property
VideoPlayer.totalTime?  If so, perhaps you can have a listener watch
VideoPlayer.playheadTime and as it reaches totalTime you can have the logic
"pause on the last frame of the video before fading to black".

Also, I don't know if you might be able to use the event
VideoPlayer.complete.

Maybe somebody from YouTube is on the list and they can share how their
player is coded  :-)

Regardless, please post back and let us know if you have resolved this, and
if so how.

hth,

g


On 3/12/07, Adrian MacTaggart <[EMAIL PROTECTED]> wrote:


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


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

2007-03-13 Thread Paul Andrews
I've been building a graphical front end controlled via a text log file that 
is frequently updated by a running process. The log file and web server are 
on the same unix box. I read the text log file using LoadVars. All well and 
good.


The flash code reads the log file, extracts pertinent data and runs 
animations accordingly. For the most part it works well - reading from a 
static log file - no problem.
In practice, the log file is not static and is being continually refreshed 
by another process that changes it's content. The flash code repeatedly 
re-reads the changing log file and the whole thing will start again, 
repeating as required.


Now to the point: Since the flash front end runs in a browser, I realise 
that supplying a url to read the logfile from using Loadvars would be prone 
to caching in the browser and adding a changing parameter in the file url 
would deal with that. In my case, rather than use a url I've specified the 
logfile location as a relative path from the swf, therby avoiding sandbox 
restrictions.


Using this technique (a relative path), is the file read prone to be cached 
by the browser?
If so, is there any way to defeat the caching when using a relative file 
path (since you can't include a changing parameter in what looks like a 
local file)?


If this file is being cached, I guess I'll have no choice but to use a url, 
cache killer parameter and a policy file.


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


RE: [Flashcoders] is flash still alive?

2007-03-13 Thread Steven Sacks | BLITZ
I was joking, hence the ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Adjust height of UIScrollBar?

2007-03-13 Thread Marc Hoffman
Update: I was finally able to do this -- not sure exactly where in 
the sequence the UIScrollbar snaps to the textfield, but if you catch 
it after that point you can just use myScrollBar._height = nnn. I'm 
now setting it after the xml loads and is assigned to the text field, 
and that seems to work fine.


Marc

At 11:06 PM 3/12/2007, you wrote:


Errors-To: [EMAIL PROTECTED]
X-UIDL: -22"!#ea!!JkI!!Ub##!

I want to set the UIScrollbar height independent of the height of 
the textfield being scrolled. I used to be able to do this easily. 
Is it just me, or did Flash8 do away with that? Now the scrollbar 
snaps to the height of the textfield no matter what I do. Anyone 
know how to fix this? I want the scrollbar to fill a vertical space 
but I want the textfield shorter so it maintains top and bottom 
margins. Anyone know how to do this?


thanks,
Marc



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Trac Integrated SCM & Project Management

2007-03-13 Thread dr.ache

Is there anyone out there using svn in combination
with trac with as2+ projects? it seems very interesting
because of the online source browsing, merely actionscript
syntax highlighting is missing. any ideas?


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

2007-03-13 Thread sean
Afraid not Matt. It allows you to design your stage assets using graphical
tools and it writes the code to create, and if necessary, animate them for
you just like Frontpage used to do, only worse ;)

> by "graphical code behind" do you mean that it outputs SVG? that is a
> feature that i could certainly use. we create PDF files on the fly and
> have
> to describe our graphics via SVG so we can see them in a PDF.
>
> sure, we could use FlashPaper but haven't gone that route yet.
>
> matt
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, March 13, 2007 5:41 PM
> Subject: RE: [Flashcoders] is flash still alive?
>
>
>> Yeah, we're doing a couple of small proof of concept projects in house
>> using WPFe but it is very far from a Flash killer. It has a couple of
>> nice
>> features like the graphical code behind but the implementation is very
>> much like their attempt at code behind HTML with Frontpage - full of
>> unwanted crap. The product will improve but Adobe have a fantastic
>> product
>> (Flash), first-to-market advantage and a very large and loyal
>> developer/designer base. Flash is the future, get used to it ;)
>>
>>
>>> Has anyone had much of a play with WPF? What's the word on the street?
>>> Will it take over from Flash?
>>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of Steven
>>> Sacks | BLITZ
>>> Sent: 13 March 2007 19:18
>>> To: flashcoders@chattyfig.figleaf.com
>>> Subject: RE: [Flashcoders] is flash still alive?
>>>
>>>
>>> Flash is dead.  Long live WPF/E!   ;)
>>> ___
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training http://www.figleaf.com
>>> http://training.figleaf.com
>>>
>>> --
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.1.413 / Virus Database: 268.18.11/721 - Release Date:
>>> 13/03/2007
>>>
>>>
>>> --
>>> No virus found in this outgoing message.
>>> Checked by AVG Free Edition.
>>> Version: 7.1.413 / Virus Database: 268.18.11/721 - Release Date:
>>> 13/03/2007
>>>
>>>
>>> ___
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/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] is flash still alive?

2007-03-13 Thread Matthew Ganz
by "graphical code behind" do you mean that it outputs SVG? that is a 
feature that i could certainly use. we create PDF files on the fly and have 
to describe our graphics via SVG so we can see them in a PDF.


sure, we could use FlashPaper but haven't gone that route yet.

matt
- Original Message - 
From: <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, March 13, 2007 5:41 PM
Subject: RE: [Flashcoders] is flash still alive?



Yeah, we're doing a couple of small proof of concept projects in house
using WPFe but it is very far from a Flash killer. It has a couple of nice
features like the graphical code behind but the implementation is very
much like their attempt at code behind HTML with Frontpage - full of
unwanted crap. The product will improve but Adobe have a fantastic product
(Flash), first-to-market advantage and a very large and loyal
developer/designer base. Flash is the future, get used to it ;)



Has anyone had much of a play with WPF? What's the word on the street?
Will it take over from Flash?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks | BLITZ
Sent: 13 March 2007 19:18
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] is flash still alive?


Flash is dead.  Long live WPF/E!   ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] (job offered) Need Referral to ASP Programmer

2007-03-13 Thread Marc Hoffman
I am looking for someone to work the server side of a Flash project, 
using asp. No recruiters, please.


Might this be you, or someone you know? The person must have 
demonstrated expertise in these areas:


1. Establish a database (this one will hold about 1,000 items, each 
with 4-6 fields).
2. On receipt of a query from Flash, the ASP will send Flash an xml 
file of the current database.
3. Establish a shopping cart, possibly using AbleCommerce, which is 
asp.net -- not sure yet, and not sure if using .net complicates 
things. You might be in a position to recommend a different shopping 
cart that you're more familiar with, as long as it works with asp.

4. Receive variables from Flash and send them securely to the shopping cart.

Experience integrating Flash and asp is desirable, but not essential.

The project is not yet certain, but we're well into negotiations.

Please email me offlist. If you include links to a resume and work 
samples, I promise to reply. If you look like a good candidate, I 
will also forward your information to the client, who will be doing the hiring.



Many thanks,

Marc

Marc Hoffman
Poison Dart Frog Media
Macromedia-Certified Flash Developer
Online Portfolio: http://www.dartfrogmedia.com/portfolio
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] is flash still alive?

2007-03-13 Thread sean
Yeah, we're doing a couple of small proof of concept projects in house
using WPFe but it is very far from a Flash killer. It has a couple of nice
features like the graphical code behind but the implementation is very
much like their attempt at code behind HTML with Frontpage - full of
unwanted crap. The product will improve but Adobe have a fantastic product
(Flash), first-to-market advantage and a very large and loyal
developer/designer base. Flash is the future, get used to it ;)


> Has anyone had much of a play with WPF? What's the word on the street?
> Will it take over from Flash?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Steven
> Sacks | BLITZ
> Sent: 13 March 2007 19:18
> To: flashcoders@chattyfig.figleaf.com
> Subject: RE: [Flashcoders] is flash still alive?
>
>
> Flash is dead.  Long live WPF/E!   ;)
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training http://www.figleaf.com
> http://training.figleaf.com
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.413 / Virus Database: 268.18.11/721 - Release Date:
> 13/03/2007
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.413 / Virus Database: 268.18.11/721 - Release Date:
> 13/03/2007
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] is flash still alive?

2007-03-13 Thread Merrill, Jason
>>Has anyone had much of a play with WPF? What's the word on the street?
>>Will it take over from Flash?

  
//#\
||##|
||##|
\___\#/___


  __
(\.-.   .-.  /_")
 \\_//^\\_//^\\_//
   `"`   `"`   `"`  
__
   (\.-.   .-. /_")
\\_//^\\_//^\\_//
  `"`   `"`   `"`  
  __
(\.-.   .-.  /_")
 \\_//^\\_//^\\_//
   `"`   `"`   `"`

..etc.
 

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


 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Tom Gooding
>>Sent: Tuesday, March 13, 2007 5:15 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] is flash still alive?
>>
>>Has anyone had much of a play with WPF? What's the word on the street?
>>Will it take over from Flash?
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Steven Sacks | BLITZ
>>Sent: 13 March 2007 19:18
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] is flash still alive?
>>
>>
>>Flash is dead.  Long live WPF/E!   ;)
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training 
>>http://www.figleaf.com http://training.figleaf.com
>>
>>--
>>No virus found in this incoming message.
>>Checked by AVG Free Edition.
>>Version: 7.1.413 / Virus Database: 268.18.11/721 - Release Date:
>>13/03/2007
>> 
>>
>>-- 
>>No virus found in this outgoing message.
>>Checked by AVG Free Edition.
>>Version: 7.1.413 / Virus Database: 268.18.11/721 - Release Date:
>>13/03/2007
>> 
>>
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/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] is flash still alive?

2007-03-13 Thread Glen Pike

Keep it clean people this is a flash list :)

Should it be WTF?

Tom Gooding wrote:

Has anyone had much of a play with WPF? What's the word on the street?
Will it take over from Flash?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks | BLITZ
Sent: 13 March 2007 19:18
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] is flash still alive?


Flash is dead.  Long live WPF/E!   ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] is flash still alive?

2007-03-13 Thread Tom Gooding
Has anyone had much of a play with WPF? What's the word on the street?
Will it take over from Flash?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Sacks | BLITZ
Sent: 13 March 2007 19:18
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] is flash still alive?


Flash is dead.  Long live WPF/E!   ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] asunit and a class that loads XML

2007-03-13 Thread Matthew Ganz
yes, i believe it's a port from JUNIT. would you be willing to share your 
package? i'd like to see how you implemented it.


thanks. -- matt.
- Original Message - 
From: "T. Michael Keesey" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, March 13, 2007 1:21 PM
Subject: Re: [Flashcoders] asunit and a class that loads XML



I'm not familiar with asunit, but I assume it's based on JUnit? I
created an AS2 package for doing unit tests and in mine I extended
Test, TestCase, and TestSuite to produce AsyncTest, AsyncTestCase, and
AsyncTestSuite, respectively. These classes complete test runs on
asynchronous events rather than at the end of a function call. In the
test cases there are functions called onRunComplete and onRunError
which can be made to listen for certain events, or can be called by
event handler functions.

On 3/13/07, Matthew Ganz <[EMAIL PROTECTED]> wrote:

hi jack.

thank you for sending your parser class along. it looks extremely useful 
but

it's not exactly what i'm looking for. what i need is some way of unit
testing the "loading" of a class that handles XML. i could make this part 
of
my functional test plan but my objective is to find out if i can unit 
test

it.

my constructor takes a string that is the location of an XML file. i want 
to
create a unit test case that will evaluate if a file location can be 
loaded
in. how do i create a handler for when the XML has completely loaded 
without

that handler being invoked as soon as the test is run?

thanks. -- matt.
- Original Message -
From: "Jack Doyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2007 4:42 PM
Subject: RE: [Flashcoders] asunit and a class that loads XML


> You might want to check out my XMLParser class at
> http://www.greensock.com/ActionScript/XMLParser. I think it does what
> you're
> looking for. It's free. It works. It's served me well for at least a 
> year.

>
> Good luck.
>
> Jack Doyle
>
> -Original Message-
> From: "Matthew Ganz" <[EMAIL PROTECTED]>
> Subject: [Flashcoders] asunit and a class that loads XML
> To: "Flashcoders mailing list" 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> hi.
>
> i have a question on using asunit to test a class that loads XML.
>
> i have a class that accepts a string in its constructor and i want to 
> test

> if it'll accept not just an http://myFileLocation.xml but also a file
> location such as "/data/config.xml".
>
> my question is how can i write my test with a handler for when the xml 
> is

> finished loading?
>
> this is what i have right now:
>
> class com.testsource.util.ConfigParserTest extends
> com.asunit.framework.TestCase {
> private var className:String = "com.testsource.util.ConfigParserTest";
> private var configParser:ConfigParser;
>
> public function setUp():Void {
> trace("setUp: " + setUp());
> configParser = new ConfigParser("data/config.xml");
>  configParser.addEventListener("loadSuccess",
> Delegate.create(this,testLoadFileLocation));
> }
>
> public function tearDown():Void {
> trace("tearDown()");
> delete configParser;
>  }
>
> public function testLoadFileLocation():Void{
>  var size:Number = configParser.getLayerSetSize(); // this should 
> return

> the number 2.
>  trace("size: " + size);
>  assertEquals("example test", size, 2);
> }
> }
>
> the problem here is that my test is run and testLoadFileLocation() is 
> run

> before my XML successfully loads. and by the time it does load, the
> 'configParser" object has been deleted by the tearDown() method.
>
> so my traces come out looking like this:
> setUp()
> size: 0
> tearDown()
> size: undefined
>
> any tips are greatly appreciated.
>
> thanks. -- matt.
>
> **
>
>
>

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


Re: [Flashcoders] AS3 parseFloat issue?

2007-03-13 Thread Ron Wheeler



elibol wrote:

Mr. Wheeler,

""up to 1.0e+63" says nothing about precision. This is the
exponent it deals with magnitude not precision. Precision is
determined by the mantisa." 

 
Thank you for correcting me, I respect and honor your knowledge, but 
this statement doe not help me at all. I still don't know why 
parseFloat in as3 fails where other languages succeed. The Java Double 
and the AS3 Number are documented to have the same # of bits for the 
exponent. Why does the parsing algorithm for these numbers return 
different results?
Because of the way the algorithms are coded. Within the specification of 
floating point numbers both are correct. You can not have more than 16 
meaningful digits in the whole number. You can put lots of zeros before 
and after to make very big numbers or very small numbers.
10010 and 10014 are the same double precision 
number. The hardware can not represent any difference
I have a lot of reading to do. There are a lot of details that I need 
in order to have a good grasp on the idea.


I found this particularly helpful:
http://people.uncw.edu/tompkinsj/133/Numbers/Reals.htm#applet

I certainly need a better idea of floating point numbers in general, 
but I don't think the basic idea will give me the answer to this 
question. It's as if I have to know how different data types store all 
kinds of numbers on the binary level. I then need to understand how 
storage affects the parsing process. I will have to know and 
understand the parsing algorithms.


You got it. If you are going to try to exceed the spec, you have to 
understand what is happening.

You need to understand what "equality" means in floating point.
You must never compare 2 floating point numbers for equality. You can 
only get "close enough".
It has been that way for almost 60 years now and you and I are not going 
to change it.
If you really need to do arithmetic on very big or very small numbers 
with high precision, you have to use data types that support that or 
write your own. This was mentioned in an early part of this thread. That 
is what astronomers and nuclear physicists have to do.
ATM, I am on the verge of understanding why some base 10 numbers 
cannot be represented in base 2. I've wondered about the mechanism for 
representing fractions in different bases. I think representing 
fractions in base 2 will finally allow me to abstract this concept. 
It's something I've been pondering for some time now...



All base 10 numbers can be represented up to some level of precision.
Why can't 1/3 be represented in Base 10?

I think that you will get this figured out but I am afraid that we have 
lost sight of your original need.


Ron


Thank you,

Melih

On 3/13/07, *Ron Wheeler* < [EMAIL PROTECTED] 
> wrote:




elibol wrote:
> Your example uses a machine which solves to a working precision.
>
> If I were to do that problem by hand, 100/3 would be 100 over 3, and
> when multiplied by 3, it would be 100.
Show the intermediate storage of 100/3 in writing. You are making
a leap
("I see a string of 3s as far as the eye can see, so I can assume that
it goes on forever") that a computer is not able to do since the can
only see to end of its mantissa and is not supposed to make guesses
about how the number might turn out if only it had more places to
store
the least significant digits.
>
> I understand working precision, and floating point arithmetic,
> however, I don't understand how the parsing algorithms differ,
> specifically, why parseDouble has greater precision than AS3
> parseFloat, and why AS1 parseFloat (up to 1.0e+63) even has greater
> precision than AS3 parseFloat.
>
"up to 1.0e+63" says nothing about precision. This is the exponent it
deals with magnitude not precision. Precision is determined by the
mantisa.


The maximum exponent allowed is determined by the hardware as is the
number of bits in the mantissa.. There are some general statements
about
what float can stand and what double can handle but no one makes any
promises about the last few bits of the mantissa.

From Wikipedia http://en.wikipedia.org/wiki/Floating_point
The arithmetical distance between two consecutive representable
floating
point numbers is called an "ULP", for Unit in the Last Place. For
example, the numbers represented by 45670123 and 45670124
hexadecimal is
one ULP. An ULP is about 10^-7 in single precision, and 10^-16 in
double
precision. The mandated behavior of IEEE-compliant hardware is
that the
result be within one-half of an ULP.

This tells you exactly what is supposed to happen - 7 digits of
information in floating point and 16 in double
and the last bit can be off by 1/2.

If you look carefully at your previous examples, you will see that
the
differences that are botheri

Re[2]: [Flashcoders] Detecting embedded domain?

2007-03-13 Thread R�kos Attila

Correction: since you don't need to know the URL exactly and it is
enough to determine whether it is your own or not, use JS (e.g. as
mentioned by Dave) and if you get no valid response (no matter if it
is a non-matching URL or nothing/error) show the logo. The only
deficiency is that users with disabled JS will have the logo
displayed.

  Attila


RA> I think there is no reliable way for determining that. On client side
RA> it is not possible if embedding is not under your control (since some
RA> JS is needed for obtaining the HTML's URL). On server side you can
RA> check referer, but making fake headers is so simple :)
RA> 
RA>   Attila
RA> 
PB>> Building a video player that can be embedded in a web page. We'd like to
PB>> be able to detect what domain the page the player is embedded on lives.
PB>> If the domain is not ours (eg, SI.com), we'd like to display a logo; if
PB>> it is ours, we don't want to display the logo.


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

2007-03-13 Thread Dave Segal
Someone else on this list hooked me up with this a while back. It works as 
long as JavaScript is not restricted on the pages your swf is embedded on 
(see mySpace).

var embedded_domain:String = flash.external.ExternalInterface.call("eval", 
"location.href");



-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Perdue, 
Blake
Sent: Tuesday, March 13, 2007 3:19 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Detecting embedded domain?

Building a video player that can be embedded in a web page. We'd like to be 
able to detect what domain the page the player is embedded on lives.
If the domain is not ours (eg, SI.com), we'd like to display a logo; if it 
is ours, we don't want to display the logo.



Does anyone know how to detect what the domain is for a page that the SWF is 
embedded on?





Blake Perdue  |  212.522.1292  |  AIM: blakepCNN



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

2007-03-13 Thread R�kos Attila

I think there is no reliable way for determining that. On client side
it is not possible if embedding is not under your control (since some
JS is needed for obtaining the HTML's URL). On server side you can
check referer, but making fake headers is so simple :)

  Attila

PB> Building a video player that can be embedded in a web page. We'd like to
PB> be able to detect what domain the page the player is embedded on lives.
PB> If the domain is not ours (eg, SI.com), we'd like to display a logo; if
PB> it is ours, we don't want to display the logo.


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

2007-03-13 Thread Merrill, Jason
>>Does anyone know how to detect what the domain is for a page 
>>that the SWF is embedded on?

Just use String functions to parse out what you need from this._url
starting after http:// or whatever.

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


Re: [Flashcoders] Detecting embedded domain?

2007-03-13 Thread Joshua Sera
var domain:String = _root.url.split("/")[2];
if (domain != "SI.com") {
displayLogo();
}

--- "Perdue, Blake" <[EMAIL PROTECTED]> wrote:

> Building a video player that can be embedded in a
> web page. We'd like to
> be able to detect what domain the page the player is
> embedded on lives.
> If the domain is not ours (eg, SI.com), we'd like to
> display a logo; if
> it is ours, we don't want to display the logo.
> 
>  
> 
> Does anyone know how to detect what the domain is
> for a page that the
> SWF is embedded on?
> 
>  
> 
>  
> 
> Blake Perdue  |  212.522.1292  |  AIM: blakepCNN 
> 
>  
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the
> archive:
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 



 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Detecting embedded domain?

2007-03-13 Thread Perdue, Blake
Building a video player that can be embedded in a web page. We'd like to
be able to detect what domain the page the player is embedded on lives.
If the domain is not ours (eg, SI.com), we'd like to display a logo; if
it is ours, we don't want to display the logo.

 

Does anyone know how to detect what the domain is for a page that the
SWF is embedded on?

 

 

Blake Perdue  |  212.522.1292  |  AIM: blakepCNN 

 

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

2007-03-13 Thread Steven Sacks | BLITZ
Flash is dead.  Long live WPF/E!   ;)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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.Camera.setMode Freeze SWF

2007-03-13 Thread l u c h y x

Hi list!.
Does anybody here know why calling Camera.setMode freeze the movie ?
I know that calling Camera.names will trigger a new scan for camera devices
on the machine but what Camera.setMode really do ?
Any idea to make this action run smoothly ??.

Thank's

--
Luciano Bustos - Luchyx

r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] new FuseFX utility

2007-03-13 Thread Moses Gunesch
When I built Fuse 2 I made a decision to reign in some of the OO  
extensibility stuff in favor of a simpler, more self-contained  
system. I wasn't sure if anyone really bothers, so figured I'd wait  
until people start banging down the door. Took a while but I've some  
knocks, so I created a handy utility for extending Fuse Kit 2.


Like Fuse Kit, FuseFX is MIT open-source licensed, free to download,  
and super easy to use. Enjoy!


-Moses
_

FuseFX extensions define new tweenable properties that will work via  
standard doTween calls. Management of the extensions is fully  
automated — simply register your extensions during setup and they're  
activated. It's also freaky easy to build your own. Be sure to also  
download Fuse 2.1.3 which is required for FuseFX.


- MixerFX — tween VOLUME/PAN on Sound objects
- TextFX — tween props like KERNING, LEADING
- ColorFX by Graeme Asher — includes SATURATION

Ideas for authors: PV3D, Sandy, Skew/ transform via Matrix, Perlin,  
Displacement...


http://www.mosessupposes.com/Fuse/FuseFX.html
_


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

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


Re: [Flashcoders] class files have stopped compiling?

2007-03-13 Thread Andrew Sinning

manually deleting the files, using the extension, nothing worked.

Here's what did work:  I added the absolute path to the classes folder 
for my fla to the Class Path.  No more problems.


Jah wrote:


"i think an extenstion was published ... for MX 2004"
this is what he speaks of:
http://www.adobe.com/cfusion/exchange/index.cfm?extid=1016963&view=sn111


On 3/12/07, Merrill, Jason <[EMAIL PROTECTED]> wrote:


>>I'm running MX04 Professonal.  I don't see this command.
>>Must be in F8.

It is. But you can do it manually by locating the ASO files on your hard
drive and deleting them - I think an extension was published on the
Adobe Exchange which did it also for MX 2004.

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



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] practical limits to size of XML files?

2007-03-13 Thread Jah

on the subject of Xpath with large files, i've been impressed with the
speed of XMLUtilities for large XML files. granted it really is just a
wrapper for the built in XML functions, but i found it very fast and
light. and really i hardly use a fraction of what Xpath is capable of
anyway.
sorry for being off topic, in regards to that matter i feel the
subject has been covererd by greater minds than mine. ;)

On 3/12/07, Ron Wheeler <[EMAIL PROTECTED]> wrote:

We do the same thing.
Once you get the hang of the XML classes it is not too bad and you can
really tune your access.

If you are doing your own tree climbing it gets easier to deal with a
multi-file XML structure that can help reduce the amount of XML that you
have to parse in any given operation. You can break the tree from the
root or from the leaves to optimize the apparent latency to the user.

Ron

Merrill, Jason wrote:
> I agree with what's been said, and would add that if you cannot use
> Flash 9 AS3 for your XML, then be wary of the third party XML parsers
> when dealing with XML files of this size. I had been in love with
> xfactorstudio's Xpath classes (which are mostly great by the way), until
> I had to read in a large XML file and convert to objects in Flash (I had
> to convert to objects in order to preprare the data for a webservice
> transfer).  I ended up abandoning those classes and used the build-in
> XML classes.  While very cumbersome to use, it was a huge improvement in
> performance.
>
> 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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Question About MovieClips in Moock's AS Definitive Guide

2007-03-13 Thread ChrisRM
Hi all,

In his book he states:

"References to objects are pointers; reference-tracking and
garbage-collection protect the user from dangling pointers and memory
leakage. References to movie clips, however, are soft references -- the
reference actually contains an absolute target path. If you have a movie
clip named foo, and the set x = foo (which makes x a reference to clip
foo), and then delete foo using removeMovieClip(), and then create another
clip named foo, the reference x will again be valid (it will point to the
new foo clip)."

My example is slightly different and the reference is not being
reestablished.

I have a class that takes a movie clip as a parameter. (var myClassObject
= new myClass(this);) In this movie clip from frames 1 to 5 I have the
movie clip instance clip1. And on frames 6 to 10 I have other assets.
(clip1 does not reside on frames 6 to 10) The main movie clip can toggle
back and forth between these sets of frames.

Inside the myClass constructor it assigns clip1 to other classes.

function myClass(mc:MovieClip) {
   mc_clip1 = new subClass(mc.clip1);
}

Now, if the playhead moves to frames 6 to 10 and then back to frames 1 to
5, why is the reference to clip1 in mc_clip1 undefined if they are as
identified in the writing as "soft" references? Shouldn't this reference
be restored?

Possible memory-leak issue:

At the moment, each time frame 1 is reached I call mc_clip1 = new
subClass(mc.clip1) elsewhere within myClass.

Should I perform cleanup before re-instantiating these classes, say if
there is an array, to delete the array - or if there's a reference to an
outside class, to delete that as well?

I know I could do something like this below but was wondering about any
possible memory issues by calling new subClass() over and over on the same
variable.

if (mc_clip1 == undefined) {
   mc_clip1 = new subClass(mc.clip1);
} else {
   mc_clip1.setMovieClip(mc.clip1);
}


Thanks.
Chris
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] asunit and a class that loads XML

2007-03-13 Thread T. Michael Keesey

I'm not familiar with asunit, but I assume it's based on JUnit? I
created an AS2 package for doing unit tests and in mine I extended
Test, TestCase, and TestSuite to produce AsyncTest, AsyncTestCase, and
AsyncTestSuite, respectively. These classes complete test runs on
asynchronous events rather than at the end of a function call. In the
test cases there are functions called onRunComplete and onRunError
which can be made to listen for certain events, or can be called by
event handler functions.

On 3/13/07, Matthew Ganz <[EMAIL PROTECTED]> wrote:

hi jack.

thank you for sending your parser class along. it looks extremely useful but
it's not exactly what i'm looking for. what i need is some way of unit
testing the "loading" of a class that handles XML. i could make this part of
my functional test plan but my objective is to find out if i can unit test
it.

my constructor takes a string that is the location of an XML file. i want to
create a unit test case that will evaluate if a file location can be loaded
in. how do i create a handler for when the XML has completely loaded without
that handler being invoked as soon as the test is run?

thanks. -- matt.
- Original Message -
From: "Jack Doyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2007 4:42 PM
Subject: RE: [Flashcoders] asunit and a class that loads XML


> You might want to check out my XMLParser class at
> http://www.greensock.com/ActionScript/XMLParser. I think it does what
> you're
> looking for. It's free. It works. It's served me well for at least a year.
>
> Good luck.
>
> Jack Doyle
>
> -Original Message-
> From: "Matthew Ganz" <[EMAIL PROTECTED]>
> Subject: [Flashcoders] asunit and a class that loads XML
> To: "Flashcoders mailing list" 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> hi.
>
> i have a question on using asunit to test a class that loads XML.
>
> i have a class that accepts a string in its constructor and i want to test
> if it'll accept not just an http://myFileLocation.xml but also a file
> location such as "/data/config.xml".
>
> my question is how can i write my test with a handler for when the xml is
> finished loading?
>
> this is what i have right now:
>
> class com.testsource.util.ConfigParserTest extends
> com.asunit.framework.TestCase {
> private var className:String = "com.testsource.util.ConfigParserTest";
> private var configParser:ConfigParser;
>
> public function setUp():Void {
> trace("setUp: " + setUp());
> configParser = new ConfigParser("data/config.xml");
>  configParser.addEventListener("loadSuccess",
> Delegate.create(this,testLoadFileLocation));
> }
>
> public function tearDown():Void {
> trace("tearDown()");
> delete configParser;
>  }
>
> public function testLoadFileLocation():Void{
>  var size:Number = configParser.getLayerSetSize(); // this should return
> the number 2.
>  trace("size: " + size);
>  assertEquals("example test", size, 2);
> }
> }
>
> the problem here is that my test is run and testLoadFileLocation() is run
> before my XML successfully loads. and by the time it does load, the
> 'configParser" object has been deleted by the tearDown() method.
>
> so my traces come out looking like this:
> setUp()
> size: 0
> tearDown()
> size: undefined
>
> any tips are greatly appreciated.
>
> thanks. -- matt.
>
> **
>
>
>

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


Re: [Flashcoders] I have small doubt

2007-03-13 Thread Mick G

If you're using CFM, just do a standard POST to a CFM script that updates
the XML. It's more of an issue of how you can do this in Cold Fusion (which
this list is probably not the best place to get help).

If you create a form that has this functionality you need then flash will be
able to post data to this form the same way a standard HTML page will post
data.




On 3/13/07, Teresa Hardy <[EMAIL PROTECTED]> wrote:


We just covered this last week in another thread.

Omar recommended PHP
>> it is a very simple php function called write(). look for it at
www.php.net

but I had already written it in Python using the minidom module. It makes
for a nice little cgi bin script.


Teresa




On 3/13/07, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>
> >>I have the files in a web server, a coldfusion serverso I
> >>need the server language in order to write this data into a
> >>xml...right?
> >>I was wondering if I just send the data over a flash form
> >>directly to the xml...and that's it...tell me if I wrong.
> >>because If I don't ask, I wouldn't learn.
>
> Sorry, no way  - it's a security thing - you have to use server-side
> scripts to edit server-side files.  If we could write scripts on web
> pages that could directly alter files on remote servers, imagine the
> havok hackers could unleash doing the same.
>
> 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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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[2]: [Flashcoders] is flash still alive?

2007-03-13 Thread Ivan Dembicki
Hello Nick,

- Thank you!

NG> this is going off topic really but I'd just email the london 
NG> agencies directly. They may want to work with you but most stuff needs
NG> to be done onsite in their studio for various reasons.

-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.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] is flash still alive?

2007-03-13 Thread Gustavo Duenas

hey, if you need designers call me...
I'm on the USA...jacksonville, fl  to be more precise.
904-2650330

Regards

P.s: I've done some actionscript, well nothing so edgy as these guys  
on the list did or are doingbut something nice, yeah.


On Mar 13, 2007, at 11:28 AM, John Grden wrote:

LOL no doubt - I can barely keep up with the work I've taken on and  
Flash
Developers are very hard to find.  I must get 1 call a week at  
least from

Recruiters looking for Flash Devs.

Business is good.

On 1/21/07, Patrick Lemiuex <[EMAIL PROTECTED]> wrote:


You're joking right?


On Mar 12, 2007, at 3:51 PM, ottocid wrote:

> This may sound a stupid question.
>
> But I've been away from flash developing for one year. And I need
> to know if there is still the same request of flash actionscript
> programmers of last year of flash is becoming "obsolete", in favour
> of Flex or simply in favour of "classical" html/serverside
> applications, that are google friendly / accessible etc...
>
> In next months I will leave italy to go in London searching for a
> job, and I need to know if being a STRONG actionscript developer is
> still a good reference.
>
> Thanks in advance
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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





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

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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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] I have small doubt

2007-03-13 Thread Teresa Hardy

We just covered this last week in another thread.

Omar recommended PHP

it is a very simple php function called write(). look for it at

www.php.net

but I had already written it in Python using the minidom module. It makes
for a nice little cgi bin script.


Teresa




On 3/13/07, Merrill, Jason <[EMAIL PROTECTED]> wrote:


>>I have the files in a web server, a coldfusion serverso I
>>need the server language in order to write this data into a
>>xml...right?
>>I was wondering if I just send the data over a flash form
>>directly to the xml...and that's it...tell me if I wrong.
>>because If I don't ask, I wouldn't learn.

Sorry, no way  - it's a security thing - you have to use server-side
scripts to edit server-side files.  If we could write scripts on web
pages that could directly alter files on remote servers, imagine the
havok hackers could unleash doing the same.

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] is flash still alive?

2007-03-13 Thread Merrill, Jason
Agreed - Flash/Actionscript/Flex business is really good - I still get
contacted weekly about jobs even though I've been at my new job and very
happy since last May.

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


RE: [Flashcoders] MovieClip Instance _x and _y

2007-03-13 Thread Jason Lutes
Thanks Attila. What am I overlooking with getBounds? If, as a test, I create
a basic MC with a rectangle (no stroke, only fill) inside it, and place an
instance of that on the Stage at coordinates 30, 30, getBounds reports its
upper left edges at 27, 27 (xMin, yMin). The lower right edges are correctly
reported, though. I would like more accuracy than that, if it's possible.


-
Jason

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Rákos Attila
> Sent: Monday, March 12, 2007 4:24 PM
> To: Jason Lutes
> Subject: Re: [Flashcoders] MovieClip Instance _x and _y
> 
> 
> MovieClip.getBounds()
> 
> 
>   Attila


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

2007-03-13 Thread John Grden

LOL no doubt - I can barely keep up with the work I've taken on and Flash
Developers are very hard to find.  I must get 1 call a week at least from
Recruiters looking for Flash Devs.

Business is good.

On 1/21/07, Patrick Lemiuex <[EMAIL PROTECTED]> wrote:


You're joking right?


On Mar 12, 2007, at 3:51 PM, ottocid wrote:

> This may sound a stupid question.
>
> But I've been away from flash developing for one year. And I need
> to know if there is still the same request of flash actionscript
> programmers of last year of flash is becoming "obsolete", in favour
> of Flex or simply in favour of "classical" html/serverside
> applications, that are google friendly / accessible etc...
>
> In next months I will leave italy to go in London searching for a
> job, and I need to know if being a STRONG actionscript developer is
> still a good reference.
>
> Thanks in advance
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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





--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] asunit and a class that loads XML

2007-03-13 Thread Matthew Ganz

hi jack.

thank you for sending your parser class along. it looks extremely useful but 
it's not exactly what i'm looking for. what i need is some way of unit 
testing the "loading" of a class that handles XML. i could make this part of 
my functional test plan but my objective is to find out if i can unit test 
it.


my constructor takes a string that is the location of an XML file. i want to 
create a unit test case that will evaluate if a file location can be loaded 
in. how do i create a handler for when the XML has completely loaded without 
that handler being invoked as soon as the test is run?


thanks. -- matt.
- Original Message - 
From: "Jack Doyle" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2007 4:42 PM
Subject: RE: [Flashcoders] asunit and a class that loads XML



You might want to check out my XMLParser class at
http://www.greensock.com/ActionScript/XMLParser. I think it does what 
you're

looking for. It's free. It works. It's served me well for at least a year.

Good luck.

Jack Doyle

-Original Message-
From: "Matthew Ganz" <[EMAIL PROTECTED]>
Subject: [Flashcoders] asunit and a class that loads XML
To: "Flashcoders mailing list" 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

hi.

i have a question on using asunit to test a class that loads XML.

i have a class that accepts a string in its constructor and i want to test
if it'll accept not just an http://myFileLocation.xml but also a file
location such as "/data/config.xml".

my question is how can i write my test with a handler for when the xml is
finished loading?

this is what i have right now:

class com.testsource.util.ConfigParserTest extends
com.asunit.framework.TestCase {
private var className:String = "com.testsource.util.ConfigParserTest";
private var configParser:ConfigParser;

public function setUp():Void {
trace("setUp: " + setUp());
configParser = new ConfigParser("data/config.xml");
 configParser.addEventListener("loadSuccess",
Delegate.create(this,testLoadFileLocation));
}

public function tearDown():Void {
trace("tearDown()");
delete configParser;
 }

public function testLoadFileLocation():Void{
 var size:Number = configParser.getLayerSetSize(); // this should return
the number 2.
 trace("size: " + size);
 assertEquals("example test", size, 2);
}
}

the problem here is that my test is run and testLoadFileLocation() is run
before my XML successfully loads. and by the time it does load, the
'configParser" object has been deleted by the tearDown() method.

so my traces come out looking like this:
setUp()
size: 0
tearDown()
size: undefined

any tips are greatly appreciated.

thanks. -- matt.

**





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] "faux"penGL library for AS2

2007-03-13 Thread Nick Weekes
I think http://www.papervision3d.org/ are already doing this?  Not sure if
its AS2/AS3 though, and apologies if its already been mentioned.

They have an excellent demo here of a 3d game:

http://www.paperworld3d.com/demos/obstaclecourse/ObstacleCourse.html



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Amir T
Rocker
Sent: 13 March 2007 14:36
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] "faux"penGL library for AS2

Hi ,

I have been working on a similar project * -> now I want to switch to
AS3 and implement
a 'real' rasterizer for flash.
Would you like to start / collaborate on something like this ?

Let me know :)
[EMAIL PROTECTED]


sincerely
Amir

* -> you can find a OpenGL type AS2 Math Lib @ www.amirrocker.de -> navigate
to the main site and open Developer Tools -> there you find a AS2Math3D
download file with the API in it however I realized all functions as static
functions similar to the Math Class -> How does that affect performance ? Do
you know ?

Am 05:25 PM 3/12/2007 schrieben Sie:
>I've been tooling around with mimicking openGL in AS2.  Here's a demo:
>
>http://www.mentalpicture.net/misc/
>
>
>
>Currently implemented:
>
>3D Transformation Matrix Stack
>
>OBJ File Loader
>
>Wireframe renderer
>
>
>
>Are there similar projects out there?
>
>
>
>Max Kaufmann
>
>Flash Developer
>
>SilverTree Media
>
>http://www.silvertreemedia.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] I have small doubt

2007-03-13 Thread Merrill, Jason
>>I have the files in a web server, a coldfusion serverso I 
>>need the server language in order to write this data into a 
>>xml...right?
>>I was wondering if I just send the data over a flash form 
>>directly to the xml...and that's it...tell me if I wrong. 
>>because If I don't ask, I wouldn't learn.

Sorry, no way  - it's a security thing - you have to use server-side
scripts to edit server-side files.  If we could write scripts on web
pages that could directly alter files on remote servers, imagine the
havok hackers could unleash doing the same. 

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


RE: [Flashcoders] Accessing an Associative Array

2007-03-13 Thread Merrill, Jason
Right - 

myArray["hello"] = "hi"

is the same as:

myArray.hello = "hi"

Depends on your coding preferences.  Personally, I prefer Alain's
suggestion of object dot-notation syntax:

myArray.hello

if the array's name is variable, then:

this[myArray].hello


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


 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Alain Rousseau
>>Sent: Tuesday, March 13, 2007 9:58 AM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] Accessing an Associative Array
>>
>>Actually you have an Object not an Array when you define your 
>>variable :
>>
>>  var myarray = { text:"Lorem ipsum" };
>>
>>is the same as
>>
>>  var myarray:Object = new Object();
>>  myarray.text = "Lorem ipsum";
>>
>>but with Actionscript you can access objects with the array notaion []
>>
>>  var i:Number = 1;
>>  var myMC:String = "movieClip"+i;
>>
>>  this[myMC]._x = 26;
>>
>>  myarray["text"] = "Lorem Ipsum";
>>
>>instead of
>>
>>  this.movieClip1._x = 26;
>>
>>  myarray.text = "Lorem Ipsum";
>>
>>
>>If you really want an associative array, look at Jason's 
>>answer Otherwise keep on using the Object notation, but you 
>>will lack all the Array object specific methods 
>>
>>
>>Alain 
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Andy Herrman
>>Sent: 12 mars 2007 16:47
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: Re: [Flashcoders] Accessing an Associative Array
>>
>>I think this is your problem:
>>
>>showPopup("myarray");
>>
>>You're passing showPopup a string with the value "myarray", 
>>not the array.
>>Remove the quotes and you should be good.
>>
>>  -Andy
>>
>>On 3/12/07, Bill Abel <[EMAIL PROTECTED]> wrote:
>>> How do you access an associate array using a variable?
>>>
>>> Inside my function popup["text"]; won't access the array. I 
>>can't find 
>>> any information in the books I have Actionsript Cookbook and 
>>> Actionscript for Flash MX.
>>>
>>> Anyone dealt with this before?
>>>
>>> // Define the text and titles for the popups var myarray = { text: 
>>> "Lorem ipsum dolor sit amet ..." };
>>>
>>> // Testing - this works!
>>> trace(myarray["text"]);
>>>
>>> // Show the popup
>>> function showPopup(popup) {
>>> mainMap[popup].gotoAndPlay("on");
>>> mainMap[popup].label_title.text = popup["text"];  // This 
>>> doesn't
>>work.
>>> trace(popup["text"]);
>>> };
>>>
>>> showPopup("myarray");
>>> ___
>>> Flashcoders@chattyfig.figleaf.com
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/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
>>
>>
>>--
>>No virus found in this incoming message.
>>Checked by AVG Free Edition.
>>Version: 7.5.446 / Virus Database: 268.18.10/720 - Release 
>>Date: 2007-03-12
>>19:19
>> 
>>
>>--
>>No virus found in this outgoing message.
>>Checked by AVG Free Edition.
>>Version: 7.5.446 / Virus Database: 268.18.10/720 - Release 
>>Date: 2007-03-12
>>19:19
>> 
>>
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/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] is flash still alive?

2007-03-13 Thread Nick Gerig

Hi Ivan


this is going off topic really but I'd just email the london 
agencies directly. They may want to work with you but most stuff needs 
to be done onsite in their studio for various reasons.


Cheers


Nick

Ivan Dembicki wrote:

Hello Nick,

Could you please tell me...
I'm searching for a job in UK.
I have good experiance (from 2000), large portfolio and known
projects. But now I'm in Moscow and I have dirty English.
As a consequence my resume is not considered by job agencies.
Is there any way to find an employer directly skipping the agency
stage?


NG> Flash contracting in London is booming at the moment, has been for that
NG> last year and a bit. If you are good and know Flash insideout, code AS1
NG> and 2, then you'll have no problems.


  





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] "faux"penGL library for AS2

2007-03-13 Thread Amir T Rocker

Hi ,

I have been working on a similar project * -> now I want to switch to 
AS3 and implement

a 'real' rasterizer for flash.
Would you like to start / collaborate on something like this ?

Let me know :)
[EMAIL PROTECTED]


sincerely
Amir

* -> you can find a OpenGL type AS2 Math Lib @ www.amirrocker.de -> 
navigate to the main site and open Developer Tools -> there you find 
a AS2Math3D download file with the API in it however I realized all 
functions as static functions similar to the Math Class -> How does 
that affect performance ? Do you know ?


Am 05:25 PM 3/12/2007 schrieben Sie:

I've been tooling around with mimicking openGL in AS2.  Here's a demo:

http://www.mentalpicture.net/misc/



Currently implemented:

3D Transformation Matrix Stack

OBJ File Loader

Wireframe renderer



Are there similar projects out there?



Max Kaufmann

Flash Developer

SilverTree Media

http://www.silvertreemedia.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] I have small doubt

2007-03-13 Thread Gustavo Duenas
I have the files in a web server, a coldfusion serverso I need  
the server language in order to write this data into a xml...right?
I was wondering if I just send the data over a flash form directly to  
the xml...and that's it...tell me if I wrong. because If I don't ask,  
I wouldn't learn.


Thanks


On Mar 13, 2007, at 10:18 AM, Nick Weekes wrote:

Gustavo, your question has been answered, but you still aren't  
being clear

about what architecture you have.

Are you hosting the swf on a web server, and have access to a  
server-side

language such as php or asp.net?

Or is the swf running offline, for example as a projector exe?

If the answer is web server, then you must use the server language  
to handle

the xml data from flash and to write the relevant xml file.

Here is a good example of getting xml out of Flash by Senocular:

http://www.kirupa.com/web/xml/XMLsending1.htm


If the answer is offline, you will need to use a wrapper tool (such  
as Zinc)
or write your own in a language that has access to the local file  
system

(for example C#).




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Gustavo

Duenas
Sent: 13 March 2007 14:01
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] I have small doubt

hi, this is the kind of thread I like it ...does anyone knows if I  
can send

data from flash to a xml file and how this have to be(the xml)...
I know how to write by myself into the xml, but I'd like to do this  
from

flash, like sending forms to a cfm page, but instead of storing into a
database, I'd like to store it into a xml file from flash.
I know this is possible, but I don't know how.


Regards


Gustavo.
On Mar 13, 2007, at 8:56 AM, tzoli wrote:


Hi!

Only if you are developing an offline application. In that case this
is for you - http://www.multidmedia.com/software/zinc/osx/

I've used it for the same task, and it was perfect.

Z.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Smeets, Ben
Sent: Tuesday, March 13, 2007 11:17 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] I have small doubt

Hi!

If I understand correctly, you want to edit (physically) a xml  
file on

a client's pc right? This is not possible without extra server side
efforts.

You can load an xml file without problems and transform that any way
you like ver easily. But when you want to store/save that new xml  
file

somewhere where others can access it, you need some sort of server
side script, which will do the actual saving for you.

Ben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
sirajudeen kamarul jaman
Sent: dinsdag 13 maart 2007 4:10
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] I have small doubt

hi toeverybody,

this is first time to joining the team.i have  small doubt. i have  
one
xml file that file containing two fields,student name and  
question.how

to update the xml file from flash.
Is it possible to update the xml node?

thanks for ur advacne replay

_
Voice your questions and our experts will answer them
http://content.msn.co.in/Lifestyle/AskExpert/Default01.htm

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

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


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search th

RE: [Flashcoders] I have small doubt

2007-03-13 Thread Nick Weekes
Gustavo, your question has been answered, but you still aren't being clear
about what architecture you have.  

Are you hosting the swf on a web server, and have access to a server-side
language such as php or asp.net?

Or is the swf running offline, for example as a projector exe?

If the answer is web server, then you must use the server language to handle
the xml data from flash and to write the relevant xml file.

Here is a good example of getting xml out of Flash by Senocular:

http://www.kirupa.com/web/xml/XMLsending1.htm


If the answer is offline, you will need to use a wrapper tool (such as Zinc)
or write your own in a language that has access to the local file system
(for example C#).




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gustavo
Duenas
Sent: 13 March 2007 14:01
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] I have small doubt

hi, this is the kind of thread I like it ...does anyone knows if I can send
data from flash to a xml file and how this have to be(the xml)...
I know how to write by myself into the xml, but I'd like to do this from
flash, like sending forms to a cfm page, but instead of storing into a
database, I'd like to store it into a xml file from flash.
I know this is possible, but I don't know how.


Regards


Gustavo.
On Mar 13, 2007, at 8:56 AM, tzoli wrote:

> Hi!
>
> Only if you are developing an offline application. In that case this 
> is for you - http://www.multidmedia.com/software/zinc/osx/
>
> I've used it for the same task, and it was perfect.
>
> Z.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Smeets, Ben
> Sent: Tuesday, March 13, 2007 11:17 AM
> To: flashcoders@chattyfig.figleaf.com
> Subject: RE: [Flashcoders] I have small doubt
>
> Hi!
>
> If I understand correctly, you want to edit (physically) a xml file on 
> a client's pc right? This is not possible without extra server side 
> efforts.
>
> You can load an xml file without problems and transform that any way 
> you like ver easily. But when you want to store/save that new xml file 
> somewhere where others can access it, you need some sort of server 
> side script, which will do the actual saving for you.
>
> Ben
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> sirajudeen kamarul jaman
> Sent: dinsdag 13 maart 2007 4:10
> To: Flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] I have small doubt
>
> hi toeverybody,
>
> this is first time to joining the team.i have  small doubt. i have one 
> xml file that file containing two fields,student name and question.how 
> to update the xml file from flash.
> Is it possible to update the xml node?
>
> thanks for ur advacne replay
>
> _
> Voice your questions and our experts will answer them 
> http://content.msn.co.in/Lifestyle/AskExpert/Default01.htm
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training http:// 
> www.figleaf.com http://training.figleaf.com
>
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be  
> copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>

Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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] I have small doubt

2007-03-13 Thread Gustavo Duenas
hi guys, do you know if the zinc app can make standalone for windows  
also, but from a mac system. I mean I have the trial for mac, and
I was trying to figured out if the full program for mac can write app  
or .exe for pcs.

Regards


Gustavo
On Mar 13, 2007, at 8:56 AM, tzoli wrote:


Hi!

Only if you are developing an offline application. In that case  
this is for

you - http://www.multidmedia.com/software/zinc/osx/

I've used it for the same task, and it was perfect.

Z.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Smeets, Ben

Sent: Tuesday, March 13, 2007 11:17 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] I have small doubt

Hi!

If I understand correctly, you want to edit (physically) a xml file  
on a

client's pc right? This is not possible without extra server side
efforts.

You can load an xml file without problems and transform that any  
way you

like ver easily. But when you want to store/save that new xml file
somewhere where others can access it, you need some sort of server  
side

script, which will do the actual saving for you.

Ben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
sirajudeen kamarul jaman
Sent: dinsdag 13 maart 2007 4:10
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] I have small doubt

hi toeverybody,

this is first time to joining the team.i have  small doubt. i have one
xml file that file containing two fields,student name and question.how
to update the xml file from flash.
Is it possible to update the xml node?

thanks for ur advacne replay

_
Voice your questions and our experts will answer them
http://content.msn.co.in/Lifestyle/AskExpert/Default01.htm

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

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

http://training.figleaf.com


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be  
copied,

disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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] I have small doubt

2007-03-13 Thread Gustavo Duenas
hi, this is the kind of thread I like it ...does anyone knows if I  
can send data from flash to a xml file and how this have to be(the  
xml)...
I know how to write by myself into the xml, but I'd like to do this  
from flash, like sending forms to a cfm page, but instead of storing  
into a database, I'd like to store it into a xml file from flash.

I know this is possible, but I don't know how.


Regards


Gustavo.
On Mar 13, 2007, at 8:56 AM, tzoli wrote:


Hi!

Only if you are developing an offline application. In that case  
this is for

you - http://www.multidmedia.com/software/zinc/osx/

I've used it for the same task, and it was perfect.

Z.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Smeets, Ben

Sent: Tuesday, March 13, 2007 11:17 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] I have small doubt

Hi!

If I understand correctly, you want to edit (physically) a xml file  
on a

client's pc right? This is not possible without extra server side
efforts.

You can load an xml file without problems and transform that any  
way you

like ver easily. But when you want to store/save that new xml file
somewhere where others can access it, you need some sort of server  
side

script, which will do the actual saving for you.

Ben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
sirajudeen kamarul jaman
Sent: dinsdag 13 maart 2007 4:10
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] I have small doubt

hi toeverybody,

this is first time to joining the team.i have  small doubt. i have one
xml file that file containing two fields,student name and question.how
to update the xml file from flash.
Is it possible to update the xml node?

thanks for ur advacne replay

_
Voice your questions and our experts will answer them
http://content.msn.co.in/Lifestyle/AskExpert/Default01.htm

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

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

http://training.figleaf.com


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be  
copied,

disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.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] Accessing an Associative Array

2007-03-13 Thread Alain Rousseau
Actually you have an Object not an Array when you define your variable :

var myarray = { text:"Lorem ipsum" };

is the same as

var myarray:Object = new Object();
myarray.text = "Lorem ipsum";

but with Actionscript you can access objects with the array notaion []

var i:Number = 1;
var myMC:String = "movieClip"+i;

this[myMC]._x = 26;

myarray["text"] = "Lorem Ipsum";

instead of

this.movieClip1._x = 26;

myarray.text = "Lorem Ipsum";


If you really want an associative array, look at Jason's answer
Otherwise keep on using the Object notation, but you will lack all the Array
object specific methods 


Alain 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: 12 mars 2007 16:47
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing an Associative Array

I think this is your problem:

showPopup("myarray");

You're passing showPopup a string with the value "myarray", not the array.
Remove the quotes and you should be good.

  -Andy

On 3/12/07, Bill Abel <[EMAIL PROTECTED]> wrote:
> How do you access an associate array using a variable?
>
> Inside my function popup["text"]; won't access the array. I can't find 
> any information in the books I have Actionsript Cookbook and 
> Actionscript for Flash MX.
>
> Anyone dealt with this before?
>
> // Define the text and titles for the popups var myarray = { text: 
> "Lorem ipsum dolor sit amet ..." };
>
> // Testing - this works!
> trace(myarray["text"]);
>
> // Show the popup
> function showPopup(popup) {
> mainMap[popup].gotoAndPlay("on");
> mainMap[popup].label_title.text = popup["text"];  // This doesn't
work.
> trace(popup["text"]);
> };
>
> showPopup("myarray");
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.10/720 - Release Date: 2007-03-12
19:19
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.10/720 - Release Date: 2007-03-12
19:19
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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[2]: [Flashcoders] is flash still alive?

2007-03-13 Thread Ivan Dembicki
Hello Nick,

Could you please tell me...
I'm searching for a job in UK.
I have good experiance (from 2000), large portfolio and known
projects. But now I'm in Moscow and I have dirty English.
As a consequence my resume is not considered by job agencies.
Is there any way to find an employer directly skipping the agency
stage?


NG> Flash contracting in London is booming at the moment, has been for that
NG> last year and a bit. If you are good and know Flash insideout, code AS1
NG> and 2, then you'll have no problems.


NG> Cheers


NG> Nick

NG> David Mendels wrote:
>> Hi,
>>
>> Flash is booming.  Flash and Flex complement each other and have helped
>> expand the community to new folks, not Flex has not "replaced" Flash.
>>
>> Rumor has it that a major new release of the Flash authoring tool is due
>> soon:
>> http://arstechnica.com/journals/apple.ars/2007/03/05/adobe-confirms-cs3-
>> launch-date
>>
>> -David
>> Adobe 
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of ottocid
>> Sent: Monday, March 12, 2007 6:52 PM
>> To: Flashcoders mailing list
>> Subject: [Flashcoders] is flash still alive?
>>
>> This may sound a stupid question.
>>
>> But I've been away from flash developing for one year. And I need to
>> know if there is still the same request of flash actionscript
>> programmers of last year of flash is becoming "obsolete", in favour of
>> Flex or simply in favour of "classical" html/serverside applications,
>> that are google friendly / accessible etc...
>>
>> In next months I will leave italy to go in London searching for a job,
>> and I need to know if being a STRONG actionscript developer is still a
>> good reference.
>>
>> Thanks in advance
>>
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/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
>>
>>
>>   




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

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

-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.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] I have small doubt

2007-03-13 Thread tzoli
Hi!

Only if you are developing an offline application. In that case this is for
you - http://www.multidmedia.com/software/zinc/osx/

I've used it for the same task, and it was perfect.

Z.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Smeets, Ben
Sent: Tuesday, March 13, 2007 11:17 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] I have small doubt

Hi!

If I understand correctly, you want to edit (physically) a xml file on a
client's pc right? This is not possible without extra server side
efforts.

You can load an xml file without problems and transform that any way you
like ver easily. But when you want to store/save that new xml file
somewhere where others can access it, you need some sort of server side
script, which will do the actual saving for you.

Ben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
sirajudeen kamarul jaman
Sent: dinsdag 13 maart 2007 4:10
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] I have small doubt

hi toeverybody,

this is first time to joining the team.i have  small doubt. i have one
xml file that file containing two fields,student name and question.how
to update the xml file from flash. 
Is it possible to update the xml node?

thanks for ur advacne replay

_
Voice your questions and our experts will answer them
http://content.msn.co.in/Lifestyle/AskExpert/Default01.htm

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

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


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


Re: [Flashcoders] is flash still alive?

2007-03-13 Thread Nick Gerig
Flash contracting in London is booming at the moment, has been for that 
last year and a bit. If you are good and know Flash insideout, code AS1 
and 2, then you'll have no problems.



Cheers


Nick

David Mendels wrote:

Hi,

Flash is booming.  Flash and Flex complement each other and have helped
expand the community to new folks, not Flex has not "replaced" Flash.

Rumor has it that a major new release of the Flash authoring tool is due
soon:
http://arstechnica.com/journals/apple.ars/2007/03/05/adobe-confirms-cs3-
launch-date

-David
Adobe 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ottocid
Sent: Monday, March 12, 2007 6:52 PM
To: Flashcoders mailing list
Subject: [Flashcoders] is flash still alive?

This may sound a stupid question.

But I've been away from flash developing for one year. And I need to
know if there is still the same request of flash actionscript
programmers of last year of flash is becoming "obsolete", in favour of
Flex or simply in favour of "classical" html/serverside applications,
that are google friendly / accessible etc...

In next months I will leave italy to go in London searching for a job,
and I need to know if being a STRONG actionscript developer is still a
good reference.

Thanks in advance

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

2007-03-13 Thread David Mendels
Hi,

Flash is booming.  Flash and Flex complement each other and have helped
expand the community to new folks, not Flex has not "replaced" Flash.

Rumor has it that a major new release of the Flash authoring tool is due
soon:
http://arstechnica.com/journals/apple.ars/2007/03/05/adobe-confirms-cs3-
launch-date

-David
Adobe 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ottocid
Sent: Monday, March 12, 2007 6:52 PM
To: Flashcoders mailing list
Subject: [Flashcoders] is flash still alive?

This may sound a stupid question.

But I've been away from flash developing for one year. And I need to
know if there is still the same request of flash actionscript
programmers of last year of flash is becoming "obsolete", in favour of
Flex or simply in favour of "classical" html/serverside applications,
that are google friendly / accessible etc...

In next months I will leave italy to go in London searching for a job,
and I need to know if being a STRONG actionscript developer is still a
good reference.

Thanks in advance

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

2007-03-13 Thread Smeets, Ben
Hi!

If I understand correctly, you want to edit (physically) a xml file on a
client's pc right? This is not possible without extra server side
efforts.

You can load an xml file without problems and transform that any way you
like ver easily. But when you want to store/save that new xml file
somewhere where others can access it, you need some sort of server side
script, which will do the actual saving for you.

Ben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
sirajudeen kamarul jaman
Sent: dinsdag 13 maart 2007 4:10
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] I have small doubt

hi toeverybody,

this is first time to joining the team.i have  small doubt. i have one
xml file that file containing two fields,student name and question.how
to update the xml file from flash. 
Is it possible to update the xml node?

thanks for ur advacne replay

_
Voice your questions and our experts will answer them
http://content.msn.co.in/Lifestyle/AskExpert/Default01.htm

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

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


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] is flash still alive?

2007-03-13 Thread sean
It's strange that they would "think that Flash is for fast computers and
high bandwidth" as the Flash player's ubiquety is due in no small way to
the fact that it is very well optimised for speed and size to allow it to
run on most machines. Of course I have no idea what you're running it on
in the Philippines so maybe that's a factor

w: www.flashcoder.net/blog

> It sucks though that in a place like the Philippines (where I am),
> people aren't into this technology so much yet.  They almost always
> think that Flash is for fast computers and high bandwidth.  Most
> likely, even if a team feels they are quite skilled, their skills are
> not tested or pushed to the limit.
>
> To answer your questions, yes it's quite active.  Even here, there is
> some advancement, however small, in embracing the technology, thanks
> to site like YouTube.
>
> --
> Ramon Miguel M. Tayag
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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