[Flashcoders] flash bowling games

2006-01-05 Thread Yves Peckstadt
Hi,

I am currently looking for a bowling game in flash that can be bought for
customizing purposes. Due too severe time constrictions I don't have the
time to make one from scratch so I am looking for alternative options.

Anyone has an idea if there are services or persons avaiable who offer such
services?

Thanks.

Yves
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] OT: Windows XP Level2 Cache mostly incorrect

2006-01-05 Thread Bernard Visscher
Good morning (here..) everyone,

I just read that Windows XP at installation sets the Level2 cache to 0 in
the registry.
I've changed it to my real L2 cache and had an improvement in speed of 40%
with Sorenson encoding. So that's why I think it's interesting for all here.

First open regedit (start-run-regedit)
Then search the key:
hkey_local_machine\system\currentcontrolset\control\session manager\memory
management
Then at the sub key secondleveldatacache you fill in your real L2 cache.
Hex value 200 for 512kb, 400 for 1Mb etc..
Then reboot.

DON'T fill in a larger value than the real L2 cache, it will result in a
BSOD.

If you don't know your L2 cache you can use this program:
http://www.cpuid.com/download/cpu-z-131.zip

Good luck!

Greetz,

Bernard

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: Windows XP Level2 Cache mostly incorrect

2006-01-05 Thread a /

What is BSOD ?
a
- Original Message - 
From: Bernard Visscher [EMAIL PROTECTED]

To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 9:01 AM
Subject: [Flashcoders] OT: Windows XP Level2 Cache mostly incorrect



Good morning (here..) everyone,

I just read that Windows XP at installation sets the Level2 cache to 0 in
the registry.
I've changed it to my real L2 cache and had an improvement in speed of 40%
with Sorenson encoding. So that's why I think it's interesting for all 
here.


First open regedit (start-run-regedit)
Then search the key:
hkey_local_machine\system\currentcontrolset\control\session manager\memory
management
Then at the sub key secondleveldatacache you fill in your real L2 cache.
Hex value 200 for 512kb, 400 for 1Mb etc..
Then reboot.

DON'T fill in a larger value than the real L2 cache, it will result in a
BSOD.

If you don't know your L2 cache you can use this program:
http://www.cpuid.com/download/cpu-z-131.zip

Good luck!

Greetz,

Bernard

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] sendAndLoad() and If-Modified-Since

2006-01-05 Thread Alexander Farber
Ok, thanks. And what about the If-Modified-Since header?
Is it honored by Flash's sendAndLoad()?
Does anybody please have an AS-code snippet using that header?

Regards
Alex

On 1/4/06, Weyert de Boer [EMAIL PROTECTED] wrote:
 What I always understood about the working of the Flash player is that
 most requests (i..e not streams) get redirected to the browser to handle
 the downloading etc. I f this is correct you should be able to use
 messages compressed with gzip. Because this is supported by the browser.

 I'm new to Flash, but plan to develop an web-chat-alike
 Apache module which would communicate with a Flash client
 through sendAndLoad() (i.e. exchanging short messages
 in application/x-www-form-urlencoded format).
 
 From the docs/books I've understood that SSL communication
 is mastered by Flash transparently (i.e. just call https://... instead
 of http://... and the browser will handle it for you).
 
 Is it the same case for gzipped content (like coming from
 mod_gzip or if I gzip the messages myself in my Apache module)?
 Or would I have to use onData() or similar and uncompress
 gzipped content myself in the Flash application?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] sendAndLoad() and If-Modified-Since

2006-01-05 Thread Weyert de Boer

Hi Alexander,


Ok, thanks. And what about the If-Modified-Since header?
Is it honored by Flash's sendAndLoad()?
 

Yes, I think Flash honors the caching magic of the browser, meaning that 
when If-Modified-Since is = to the previous cached one it will get the 
ol done. One of the reasons you sometimes need to add a timestamp to the 
requested url in Flash, otherwise you won't get the latest version.



Does anybody please have an AS-code snippet using that header?


// diable the caching...
highscoreXml .sendAndLoad( highscorephp?timestamp= +  new 
Date().getTime(), highscoreXml );


Yours,
Weyert de Boer

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Php and flash lloader

2006-01-05 Thread CARABUS+
There is an index.php where index.swf is.
The swf got 4 buttons to  load 4 different movies

If i press an index.php?category=4 for exemple, does flash can read category
var ? And how ?

Thank you


Laurent



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Firefox bug?

2006-01-05 Thread MetaArt
Thank you...

 Enrico Tomaselli
  + web designer +
  [EMAIL PROTECTED]
http://www.metatad.it

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] OT: Windows XP Level2 Cache mostly incorrect

2006-01-05 Thread Johan Karlsson
It's Blue Screen Of Death

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

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of a /
Sent: den 5 januari 2006 10:30
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: Windows XP Level2 Cache mostly incorrect


What is BSOD ?
a
- Original Message -
From: Bernard Visscher [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 9:01 AM
Subject: [Flashcoders] OT: Windows XP Level2 Cache mostly incorrect


 Good morning (here..) everyone,

 I just read that Windows XP at installation sets the Level2 cache to 0 in
 the registry.
 I've changed it to my real L2 cache and had an improvement in speed of 40%
 with Sorenson encoding. So that's why I think it's interesting for all
 here.

 First open regedit (start-run-regedit)
 Then search the key:
 hkey_local_machine\system\currentcontrolset\control\session manager\memory
 management
 Then at the sub key secondleveldatacache you fill in your real L2 cache.
 Hex value 200 for 512kb, 400 for 1Mb etc..
 Then reboot.

 DON'T fill in a larger value than the real L2 cache, it will result in a
 BSOD.

 If you don't know your L2 cache you can use this program:
 http://www.cpuid.com/download/cpu-z-131.zip

 Good luck!

 Greetz,

 Bernard

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Php and flash lloader

2006-01-05 Thread Miles Thompson


If index.php?category=4 is beneath button 4, which I understand is in the 
movie, that's the URL you would use as one of the parameters to the 
SendandLoad() function.


I'd suggest sending the parameter to another script, so that the returned 
movie would load into Flash, if you send it to index.php you will force a 
reload of the page, rather than just loading the movie into the script.


Macromedia has an example of how this is done, you can Google for flash 
PHP and get a remarkable number of hits. A visit to www.sephiroth.it would 
be worthwhile.


Regards - Miles Thompson

At 07:40 AM 1/5/2006, CARABUS+ wrote:


There is an index.php where index.swf is.
The swf got 4 buttons to  load 4 different movies

If i press an index.php?category=4 for exemple, does flash can read category
var ? And how ?

Thank you


Laurent



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.14.13/221 - Release Date: 1/4/2006


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] sendAndLoad() and If-Modified-Since

2006-01-05 Thread Alexander Farber
Hi,

On 1/5/06, Weyert de Boer [EMAIL PROTECTED] wrote:
 // disable the caching...
 highscoreXml .sendAndLoad( highscorephp?timestamp= +  new
 Date().getTime(), highscoreXml );

thanks however I mean something different
than your trick with the changing URL:

1) Can you sendAndLoad() from a flash applet,
2) then get the Last-Modified value from the returned HTTP-header
3) then prepare another sendAndLoad() call and set the
HTTP-header If-Modified-Since from the 2)?

Is that possible? Java applets can do this through the 2 methods
getLastModified() and setIfModifiedSince() in java.net.HttpURLConnection.

That would speed-up the Flash-to-backend communication (for ex.
for webchat-applications or database queries) and save bandwidth.

Regards
Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] sendAndLoad() and If-Modified-Since

2006-01-05 Thread Weyert de Boer

Hi

I don't think is possible... maybe someone else knows it :)



thanks however I mean something different
than your trick with the changing URL:

1) Can you sendAndLoad() from a flash applet,
2) then get the Last-Modified value from the returned HTTP-header
3) then prepare another sendAndLoad() call and set the
   HTTP-header If-Modified-Since from the 2)?

Is that possible? Java applets can do this through the 2 methods
getLastModified() and setIfModifiedSince() in java.net.HttpURLConnection.

That would speed-up the Flash-to-backend communication (for ex.
for webchat-applications or database queries) and save bandwidth.

Regards
Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flashcomm server and IE

2006-01-05 Thread Karina Steffens
Hi List,
 
I have a chat application that connects to the flash comm server (localhost,
windows XP sp2) in order to work. When I connect it through the standalone
player, it connects ok, but when published as html and viewed in Internet
Explorer, it refuses to connect, although it definitely used to do that
before. It does work in Firefox, though...
 
When checking the Communication App Inspector, I found, again, that although
it works from within the IDE and as a standalone, it refuses to connect to
the server from the html environment in IE, although I use the same (stored)
connection parameters.
 
I'm still using MX 2004, and my standalone player is Flash 7, and the apps
are all published to Flash 7, but the with flash 8 plugin for IE (8,0,22,0).
But it seems that I never updated Firefox, so the plugin is still 7
(7,0,35,5).  
 
So it looks as if the Flash 8 plugin is the culprit here, but why would it
do that, and is there any solution?
 
Thanks,
Karina
 
 
 
 
Karina Steffens  |  Neo-Archaic
creative  technical new media design
 http://www.neo-archaic.net/ www.neo-archaic.net
 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] component rotation in LivePreview

2006-01-05 Thread GregoryN
Hello Flashcoders,

I have a custom component in which I want to process changes in _rotation
property.
Everything is ok if you rotate it with code...

But some weird  problems arise in  LivePreview.
For example, if I use Free Transform tool or Ctrl+T and rotate it,
rotation seems to be taken and appears in published SWF, BUT I can't
catch it in  LivePreview mode!

Question:
Where the rotation value is stored while in LivePreview?
onSizeMulti() function passes only height and width to my setSize.
Also, I can't find any prop. with _rotation != 0  at _root or
_root.contents etc.

What am I missing?


-- 
Best regards,
 GregoryN

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


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash, Ant and the Mac

2006-01-05 Thread erixtekila

Hep, use swf2ant :
http://osflash.org/ant?s=as2ant

Works well on 10.3.9

Le 29 déc. 05, à 01:09, Chris Griffith a écrit :
Just started a new project and unlike the past efforts (in Flash), 
this one has two developers. I would like to automate the build 
process. I do my work on a Mac and the other on a PC. Can we use 
FlashAnt on both platforms? I have installed Ant on my Mac, but an not 
quite sure on the next baby steps.



---
erixtekila
http://blog.v-i-a.net/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] flash bug or please help!

2006-01-05 Thread PR Durand

Hi list...
It starts to make me mad...
I encountered problem to load a very simple XML, like those we use all 
days since years...

So I made a very simple class only to read my xml...
Then flash started to talk to me about a class conflict error I 
have only one class with this name on the whole server... It's 200% sure 
that there is no conflict
I put things out one by one, til I got no more error... I got my class 
totally empty, except its name and an empty constructor, and the 
conflict error still was there.
I tried to change the class name, class path, package, the error was 
always here.
I let my Computer alone 1 or 2 minutes, then come back and only hit 
ctr-enter, the error has disappeared !!
So I rewrite all my ParseXML class, and got no error the first time... 
cool !! nope the 2nd time, without any change, the error came back. 
I wait a while, try again, error got away
I try to delete the import mx.utils.Delegate line in my class, 
generate the swf (and got the logical Delegate.create unknown error), 
then rewrite the line and generate once more, the conflict error came 
back !!


The only way I found not to have this error was to leave my package 
(wich is hold on a file server) and let the class in the same directory 
as the calling fla. In this case I can modify my class without error.


Maybe it's a server problem, as I often saw that Flash is the software I 
use that has the more problems with server (i.e. : let photoshop opened 
on a server located psd, and flash on a server loc. fla, reboot the 
server and there's no pb for photoshop, but flash can't write anymore on 
the file)


It really don't understand what happens, but as I got an error on an 
empty class, or got only sometimes the error on the same class, it lets 
me think about a flash bug... what do you think about it please?


Thanks,

PR

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Movieclip is created at the depth of -16383!

2006-01-05 Thread eric dolecki
are you able to swap its depth to something you'd like?

edolecki

On 1/5/06, Ramon Tayag [EMAIL PROTECTED] wrote:

 I need help.. no matter what I do, my movieclip, created using
 createEmptyMovieClip, is created at -16383.

 I originally used getNextHighestDepth, then changed it to a constant,
 like 2, 3.. 40, etc, but the mc, when I trace the depth, is -16383.

 Help?

 Thanks,
 --
 Ramon Miguel M. Tayag
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Movieclip is created at the depth of -16383!

2006-01-05 Thread franto
Negative depth have only movieclipse which are created on Stage not by AS...
it's strange

Franto

On 1/5/06, Ramon Tayag [EMAIL PROTECTED] wrote:
 I need help.. no matter what I do, my movieclip, created using
 createEmptyMovieClip, is created at -16383.

 I originally used getNextHighestDepth, then changed it to a constant,
 like 2, 3.. 40, etc, but the mc, when I trace the depth, is -16383.

 Help?

 Thanks,
 --
 Ramon Miguel M. Tayag
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Movieclip is created at the depth of -16383!

2006-01-05 Thread Joakim Carlgren
Are you sure that you're not by mistake tracing a movieclip created in
authoringtime? 

// j

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ramon
Tayag
Sent: den 5 januari 2006 16:36
To: FlashCoders Programming
Subject: [Flashcoders] Movieclip is created at the depth of -16383!

I need help.. no matter what I do, my movieclip, created using
createEmptyMovieClip, is created at -16383.

I originally used getNextHighestDepth, then changed it to a constant,
like 2, 3.. 40, etc, but the mc, when I trace the depth, is -16383.

Help?

Thanks,
--
Ramon Miguel M. Tayag
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Extending the XML class

2006-01-05 Thread William Garr
I tried a different approach. I had performance problems with building a 
new XML object tree with objects subclassed from XMLNode (I didn't want 
to re-parse every node). I ended up writing a 'Wrapper' class (apologies 
if I have the pattern mis-named) that uses __resolve() to route calls 
from one class to another, simluating inheritance. The constructor takes 
a reference to the object to be wrapped. I made my variant of XMLNode a 
subclass of that class. When I run through an XML document, I create my 
flavor of nodes, each of which keeps a reference to its original 
XMLNode. It works pretty well for me. In my case, I keep character 
offsets of the beginnings of all the text nodes, so I can find my way 
around XHTML docs and insert 'virtual tokens'.' I use these for editing 
the markup, or for finding character screen locations using 
getTextExtent() -- at least for the time being--:).
It is probably a risky thing to work with __resolve(), I know, but this 
way, I only use it in one place, so if the implementation changes, I 
only need to make one edit.


Hope this helps.
Bill G



Message: 8
Date: Thu, 5 Jan 2006 01:43:50 -0500
From: Frederic v. Bochmann [EMAIL PROTECTED]
Subject: RE: [Flashcoders] Extending the XML class
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii

Hey Rifled, 


Maybe I'm biting off more than I can chew for my first AS2 project...

I think your chewing a bit, but that alright, that's what brains are made
for :)

Why not simply parse your loaded XML structure and recreate the organization
with your EXML objects? 


For an answer to your question: can you override the XMLNode creation for
your own implementation, I think the answer is Yes and No! at least for
Flash Player 8.0 and lower. You can always use the xmlObject.onData method
to override the actual moment when the XML String gets parsed, and
eventually implement your own parser code that checks the player version to
call different ASNative calls according to the version (very hard to
maintain (example: XMLNitro)). Or you could parse the XML string by hand,
but that's too hard on your CPU if you're using player versions under 8.5.
Basically the answer is no. Don't try! :)

The reason why, is this: The Flash Player has its own build-in (Native) SAX
XML Parser that returns an array of objects representing the nodes parsed.
The XML API we commonly use in ActionScript, uses this build-in SAX Parser
to get an Array of Objects ordered in the order they are parsed (like a SAX
parser works). The XML implementation we normally use takes this array and
creates children of type XMLNodes on himself. It's quite easy to implement,
but the problem is that the address of the ASNative call might change from
version to version of the Flash Player. It's not suggested to use this
method.
PS: the ASNative call would look a bit like this: (This is old code)
this.status = ASnative(300, 0)(str, tags, false);
But BEWARE this might not work in all version of the player. Don't try ;)


One thing you might want to try is to associate some custom prototyped
functions on the XML object to method prototypes in your own class. For
example: XML.prototype.yourCustomMethod = EXML.prototype.yourCustomMethod;
and this way, you might be able to have some functionalities with your
XMLNode objects that your handling. Be aware of the context of the execution
of your methods by the way! (This is like backtracking AS2 to AS1, not
suggested either)

Anyways, I think you should try simply iterating threw the received (parsed)
xml to recreate your own structure, or something like that.

One thing that might be interesting is if (Adobe) would provide us with a
SAXParser which supports our own custom ContentHandler's that could permit
us to handle the data as its being parsed by the internal engine. I can
see why they haven't implemented this in previous versions, but with
upcoming versions, this sure would be nice to have, if possible. (but that's
just my two little tiny cents)

Good luck :)
Fredz./


--
William Garr
Sr. Educational Multimedia Developer
Center for New Designs in Learning and Scholarship
Georgetown University
Washington, DC 20057
phone: 202-687-9119
email: [EMAIL PROTECTED]

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Stage.height Misreporting

2006-01-05 Thread Jason Lutes
I need some brain help this morning. I want to position a button ten
pixels in from the lower right-hand corner of the movie. I decided to use
Stage.width and Stage.height, minus the respective width and height of the
button, minus ten (each). I can't get this to work though, because Flash
reports the Stage height always at exactly 100 pixels shorter than it
really is. I'm stumped.

The _width and _height properties of _level0 won't work either due to
off-Stage assets causing the clip size to extend beyond the Stage
boundary.


-
pixelTwiddler, a.k.a. Jason

Respect yourself, and THINK about stuff.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] flash 8 Masking blurred BitmapData

2006-01-05 Thread _jan Guichelaar [woedend]

Hi All
(I'm not new to the list but was away for over a year, so hi to you all 
again)


I am working with some new flash 8 features in actionscript, but ran 
into a problem (bug?)


I am taking a snapshot from a mc wtih :

snapshot = new BitmapData(200, 200);

Then draw this into an emty mc with :

mc.draw(snapshot ,new Matrix())

And apply a blur to the new mc with :

mc.filters=[new flash.filters.BlurFilter(80,0,30)];

This all works fine but when i want to mask this blurred mc with :

mc.setMask(_root.maskMc)
There is no mask applied to the mc

If i leave out the blur, the mask will show perfectly

Anybody any ideas?
Flash will be very limited when we can only use the one or two new 
methods etc. at the same time :-(


grtz
jan

--
Jan Guichelaar
---
[EMAIL PROTECTED]
http://www.woedend.nl
---
Woedend!
Magna Plaza
Spuistraat 139 J
1012 SV Amsterdam
---
tel +31 [0]20 6764999
fax +31 [0]20 4714446
---




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flash 8 Masking blurred BitmapData

2006-01-05 Thread Wille Frankenhaeuser

Hi,

have you tried:
maskee.cacheAsBitmap = true;
maskMC.cacheAsBitmap = true;

http://www.kaourantin.net/2005/08/alpha-masking-goodness-in-flash- 
player.html


Wille

On Jan 5, 2006, at 18: 35, _jan Guichelaar [woedend] wrote:


Hi All
(I'm not new to the list but was away for over a year, so hi to you  
all again)


I am working with some new flash 8 features in actionscript, but  
ran into a problem (bug?)


I am taking a snapshot from a mc wtih :

snapshot = new BitmapData(200, 200);

Then draw this into an emty mc with :

mc.draw(snapshot ,new Matrix())

And apply a blur to the new mc with :

mc.filters=[new flash.filters.BlurFilter(80,0,30)];

This all works fine but when i want to mask this blurred mc with :

mc.setMask(_root.maskMc)
There is no mask applied to the mc

If i leave out the blur, the mask will show perfectly

Anybody any ideas?
Flash will be very limited when we can only use the one or two new  
methods etc. at the same time :-(


grtz
jan

--
Jan Guichelaar
---
[EMAIL PROTECTED]
http://www.woedend.nl
---
Woedend!
Magna Plaza
Spuistraat 139 J
1012 SV Amsterdam
---
tel +31 [0]20 6764999
fax +31 [0]20 4714446
---



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Wille Frankenhaeuser
[EMAIL PROTECTED]


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flashcomm server and IE

2006-01-05 Thread a /
Please change the IE plug-in to Flash  and test it. If it does not work 
that would isolate the player as the culprit.

I'd also ask if you could check your security settings with regards to IE.
Just shots in the dark to see if one can narrow down the problem. I 
personally have had few problems making the shift on both platforms from 7 
to 8 on IE Mozilla and NScape


a
- Original Message - 
From: Karina Steffens [EMAIL PROTECTED]

To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 2:10 PM
Subject: [Flashcoders] Flashcomm server and IE



Hi List,

I have a chat application that connects to the flash comm server 
(localhost,

windows XP sp2) in order to work. When I connect it through the standalone
player, it connects ok, but when published as html and viewed in Internet
Explorer, it refuses to connect, although it definitely used to do that
before. It does work in Firefox, though...

When checking the Communication App Inspector, I found, again, that 
although

it works from within the IDE and as a standalone, it refuses to connect to
the server from the html environment in IE, although I use the same 
(stored)

connection parameters.

I'm still using MX 2004, and my standalone player is Flash 7, and the apps
are all published to Flash 7, but the with flash 8 plugin for IE 
(8,0,22,0).

But it seems that I never updated Firefox, so the plugin is still 7
(7,0,35,5).

So it looks as if the Flash 8 plugin is the culprit here, but why would it
do that, and is there any solution?

Thanks,
Karina




Karina Steffens  |  Neo-Archaic
creative  technical new media design
http://www.neo-archaic.net/ www.neo-archaic.net

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] getTextExtent and embedded images

2006-01-05 Thread Josh Gormley
I'm dynamically populating a textField with HTML and would like to  
get the entire height of the textField, including embedded images.


Is there a method for determining the height of a textField that  
includes an embedded image?  Both the textEntent and _height values  
do not take the image into account, even if I specify a width and  
height for the image.  I did notice that the help docs for  
getTextExtent mentions that text is treated as plain text, not HTML  
text, so that would explain why textExtent doesn't work.  Is there  
another way?


Thanks,
Josh
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Key Listeners array

2006-01-05 Thread Nick Gerig
Is there anyway of accessing the Key listeners? I dont want to change 
the listeners array, just need to see whos in it :)



cheers

Nick



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Key Listeners array

2006-01-05 Thread JesterXL
trace(Key._listeners);

- Original Message - 
From: Nick Gerig [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 12:39 PM
Subject: [Flashcoders] Key Listeners array


Is there anyway of accessing the Key listeners? I dont want to change 
the listeners array, just need to see whos in it :)


cheers

Nick



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Key Listeners array

2006-01-05 Thread Nick Gerig

Great, thanks Jesse!

JesterXL wrote:


trace(Key._listeners);

- Original Message - 
From: Nick Gerig [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 12:39 PM
Subject: [Flashcoders] Key Listeners array


Is there anyway of accessing the Key listeners? I dont want to change 
the listeners array, just need to see whos in it :)



cheers

Nick



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 






___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Get SWF Version

2006-01-05 Thread Josh Buhler
Does anybody know of a quick and easy way to get the version info on  
a published swf?  I've got a swf that was published by the previous  
developers of a client's site, but no FLA to look at publish settings  
to see what version it's targeting.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] export from SWF to a vector format (flash 8)

2006-01-05 Thread lists
Hi there - I was wondering if there was a way to export the contents of the 
stage to
some kind of vector format? I am not talking in the IDE, but from a movie 
running in the
flash 8 player.

IE - I am running a movie in a browser or flash player and want to have a 
button that
will save the contents as some kind of vector format (IE eps or something).

I am using flash 8.


Thanks in advance!

d



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Get SWF Version

2006-01-05 Thread Alisdair Mills
use flare (http://www.nowrap.de/flare.html) to decompile the swf.  
that'll tell you the version it was compiled to.


On 5 Jan 2006, at 17:57, Josh Buhler wrote:

Does anybody know of a quick and easy way to get the version info  
on a published swf?  I've got a swf that was published by the  
previous developers of a client's site, but no FLA to look at  
publish settings to see what version it's targeting.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] weird Word behaviour?

2006-01-05 Thread Marilyn McLeod
Virus in the Word doc?

Are there alot of large images in the Word doc, or something else that 
makes them processor intensive to open?  Is the machine that's shutting 
down an older machine?

Perhaps the Word document was created in a newer version of Word and 
the machine that's shutting down has an older version of Word?

The alert asking you to Open in Word (or save to disk) is normal.  If 
you say 'yes', it usually opens Microsoft Word for you and displays the 
Word doc.

Hope this helps.
Marilyn

 Hi There,
 I have a really weird problem. I have an app with a link to a Word 
Document. 
 On one of my machines the link comes up with an alert asking me to 
Open in 
 Word or save the document. On another machine the window opens and 
 immediately shuts down. If I click on the link more than 3 times a 
browser 
 window comes up saying the action is disallowed.
 Does anyone know what is going on??
 
 a 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash equivalent of a Java class loader

2006-01-05 Thread August Gresens
Another related question -  now that we can instance a class specified in an
XML document, how can
we dynamically associate this class with a MovieClip instance? It is my
understaning that Object.Register
class associates a class with a movieclip symbol (not an instance).

Thanks,

August

On 1/4/06, August Gresens [EMAIL PROTECTED] wrote:

 ClassFactory - just what we were looking for. Thanks, August

 On 1/4/06, Jim Kremens [EMAIL PROTECTED] wrote:
 
  Or this:
 
  class ClassFactory {
 
  public static function getClass(name:String, args:Object):Object {
 return new Function(eval(name))(args ? args : []);
  }
  }
 
  /* USAGE
  * //can be any referenced class
  * var myClass = ClassFactory.getClass(
  org.flashcodersny.style.GradientFill,
  args);
  */
 
  As long as the class you're trying to instantiate exists in the _global
  namespace, the above will work.  To make sure it exists, just say its
  name:
 
  class DeclareClassNames {
 
function DeclareClassNames() {
   org.myClass1;
   org.myClass2;
   //and so on...
}
  }
 
  There have been a few threads on this subject recently...
 
  Jim Kremens
 
 
 
  On 1/4/06, Johannes Nel  [EMAIL PROTECTED] wrote:
  
   no it needs to be a ref to the constructer function.
   this can be solved however with this:
   Object.RegisterClass(myClipSymbolName,
   _global[com][blackhammer][test][TestClass]);
  
  
   On 1/4/06, August Gresens [EMAIL PROTECTED] wrote:
   
Hello
   
We're new to flash, migrating over from Director. We're trying to
implement
a Java style class loader in Flash, but we are having some
  difficulty
doing
this.
   
This is what we  are trying to do:
   
1. Create an XML document with elements specifying the name of the
   class,
a
movieclip instance and and some initialization parameters.
   
for example:
   
object class=com.blackhammer.test.TestClass
  name=testClassInstance1
clipName=myTestClip
param name=param1 value=1 type=int/
/object
   
2. On startup, the Flash movie parses the XML file, instancing a
  class
corresponding to the string name specifiied in the XML (associating
  it
with
the specified MovieClip), and populates the newly created object
  with
   the
parameter values specified in the XML.
   
When we attempt to do this using RegisterClass, however, it appears
  as
though the class name cannot be passed in as a string.
   
This works:
   
Object.RegisterClass(myClipSymbolName,
  com.blackhammer.test.TestClass
   );
   
This doesn't:
   
Object.RegisterClass(myClipSymbolName, 
  com.blackhammer.test.TestClass
);
   
Any clues?
   
Perhaps there is a more elegant way of doing this anyway, since
RegisterClass seems to associate all instances of myTestClip (the
   symbol)
with the specified class. What we'd like to do is associate an
  instance
   of
a
class with an instance of a movieclip.
   
Thanks,
   
August
   
--
-

   
August Gresens
Technical Director
Black Hammer Productions, NYC
[EMAIL PROTECTED]
   
-

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
  
  
  
   --
   j:pn
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
 
 
 
  --
  Jim Kremens
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 



 --
 -
 

 August Gresens
 Technical Director
 Black Hammer Productions, NYC
 [EMAIL PROTECTED]

 -
 




--
-


August Gresens
Technical Director
Black Hammer Productions, NYC
[EMAIL PROTECTED]

-

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Get SWF Version

2006-01-05 Thread Josh Buhler
Thanks for reminding me about Flare - I forgot I could get the info  
from that. Just haven't used it in a while.


That SWF Edit Jesse mentioned works out pretty good too.

Thanks guys.

- Josh

On Jan 5, 2006, at 11:06 AM, Alisdair Mills wrote:

use flare (http://www.nowrap.de/flare.html) to decompile the swf.  
that'll tell you the version it was compiled to.


On 5 Jan 2006, at 17:57, Josh Buhler wrote:

Does anybody know of a quick and easy way to get the version info  
on a published swf?  I've got a swf that was published by the  
previous developers of a client's site, but no FLA to look at  
publish settings to see what version it's targeting.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Get SWF Version

2006-01-05 Thread Derek Vadneau
There are a few ways.  The easiest is to load the SWF into another SWF and 
check the version:

// After the SWF has been loaded:
trace(child_mc.getSWFVersion());


Derek Vadneau

- Original Message - 
From: Josh Buhler [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 12:57 PM
Subject: [Flashcoders] Get SWF Version


Does anybody know of a quick and easy way to get the version info on
a published swf?  I've got a swf that was published by the previous
developers of a client's site, but no FLA to look at publish settings
to see what version it's targeting.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stage.height Misreporting

2006-01-05 Thread Rich Rodecker
i've run into a simlar issue before:
http://www.visible-form.com/blog/000190.html

you might need to wait a few frames before getting the correct width and
height properties.

On 1/4/06, Jason Lutes [EMAIL PROTECTED] wrote:

 I need some brain help this morning. I want to position a button ten
 pixels in from the lower right-hand corner of the movie. I decided to use
 Stage.width and Stage.height, minus the respective width and height of the
 button, minus ten (each). I can't get this to work though, because Flash
 reports the Stage height always at exactly 100 pixels shorter than it
 really is. I'm stumped.

 The _width and _height properties of _level0 won't work either due to
 off-Stage assets causing the clip size to extend beyond the Stage
 boundary.


 -
 pixelTwiddler, a.k.a. Jason

 Respect yourself, and THINK about stuff.


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stage.height Misreporting

2006-01-05 Thread Mike Britton
Try using setInterval

Mike
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] recommended books on XML in Flash

2006-01-05 Thread Ben Deroo
thanks for the book suggestions,
I ended up ordering a couple of books:

Foundation PHP 5 for Flash
Foundation ASP.NET for Flash
Foundation XML for Flash
Learning ActionScript 2.0 for Macromedia Flash 8
Using ActionScript 2.0 Components with Macromedia Flash 8

should keep me busy for a while :-)

Ben



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan Potter
Sent: dinsdag 3 januari 2006 21:49
To: Flashcoders mailing list
Subject: RE: [Flashcoders] recommended books on XML in Flash

Can I third that?  Not to be mean, but I saw them speak at flash forward
and Joey Lott had to keep answering questions they didn't know.  He
(Joey) was really nice about it, but it was ugly.

I would start in the docs and here:
http://www.actionscript.org/tutorials.shtml
http://www.oreilly.com/catalog/actscptckbk/index.html?CMP=IL7015
http://www.oreilly.com/catalog/actscript2/





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Lapasa
Sent: Tuesday, January 03, 2006 1:14 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] recommended books on XML in Flash

I heartily second this notion. Don't the get Jacobsen and Jacobsen book
for
all the same reasons. I just happened to gain a better insight from
Flash's
docs than the book.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Merrill,
Jason
Sent: Tuesday, January 03, 2006 11:14 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] recommended books on XML in Flash


Whatever you do, don't buy Flash and XML: A Developers Guide by Dov
Jacobsen and Jesse Jacobsen - Addison-Wesley Press - besides being Flash
5, the book sucks.  You get the impression these guys are much more into
XML than Flash.  If they even use Flash at all in their professional
lives.  Apologies in advance if you're on thist list and one of the
authors. There's some good stuff in it, but for someone new to Flash or
doing basic stuff, it's not the book for you.  But even the advanced
stuff lacks depth though.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Ben Deroo
Sent: Saturday, December 31, 2005 4:29 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] recommended books on XML in Flash

Hi,
The title says it all I guess.
Are there any good books out there on the subject of Flash 8 and XML?
I found one called XML in Flash from Que publications, but as far as
I can
tell it is for Flash 5 and was written in 2001.

Is that still current? I am assuming not.

What books should I read when just getting into this subject, again,
using
Flash 8 or Flash MX2004?


Thanks for your help,
Ben



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
NOTICE:
This message is for the designated recipient only and may contain
privileged
or confidential information. If you have received it in error, please
notify
the sender immediately and delete the original. Any other use of this
e-mail
by you is prohibited.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Flashcomm server and IE

2006-01-05 Thread Karina Steffens
I came across an article about security changes in Flash 8, but it didn't
mention the FlashComm server, although it got me thinking. I mucked around
the advanced security settings panels for Flash 8, and added localhost to
the trusted locations in the global security settings panel.
This solved my local problem - I can now connect to the server from IE.

However, that led me to check the client's app, by trying to connect to the
chat application on the server, and that doesn't work anymore, even if I add
the remote domain to the safe list. According to my client, there were a
couple of reports from people unable to connect, but they were too few for
him to take notice. These must be the ones that upgraded to 8. 

Any ideas what I must do to get this to work? 
Would it possibly be the application path? I simply use something like -
rtmp:/gth/assessment1 - which used to work both locally and remotely
before. Is it simply a matter of changing the path to reflect the domain
name?

Karina

  

 -Original Message-
 From: a / [mailto:[EMAIL PROTECTED] 
 Sent: 05 January 2006 17:14
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Flashcomm server and IE
 
 Please change the IE plug-in to Flash  and test it. If it 
 does not work that would isolate the player as the culprit.
 I'd also ask if you could check your security settings with 
 regards to IE.
 Just shots in the dark to see if one can narrow down the 
 problem. I personally have had few problems making the shift 
 on both platforms from 7 to 8 on IE Mozilla and NScape
 
 a
 - Original Message -
 From: Karina Steffens [EMAIL PROTECTED]
 To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
 Sent: Thursday, January 05, 2006 2:10 PM
 Subject: [Flashcoders] Flashcomm server and IE
 
 
  Hi List,
 
  I have a chat application that connects to the flash comm server 
  (localhost,
  windows XP sp2) in order to work. When I connect it through 
 the standalone
  player, it connects ok, but when published as html and 
 viewed in Internet
  Explorer, it refuses to connect, although it definitely 
 used to do that
  before. It does work in Firefox, though...
 
  When checking the Communication App Inspector, I found, again, that 
  although
  it works from within the IDE and as a standalone, it 
 refuses to connect to
  the server from the html environment in IE, although I use the same 
  (stored)
  connection parameters.
 
  I'm still using MX 2004, and my standalone player is Flash 
 7, and the apps
  are all published to Flash 7, but the with flash 8 plugin for IE 
  (8,0,22,0).
  But it seems that I never updated Firefox, so the plugin is still 7
  (7,0,35,5).
 
  So it looks as if the Flash 8 plugin is the culprit here, 
 but why would it
  do that, and is there any solution?
 
  Thanks,
  Karina
 
 
 
 
  Karina Steffens  |  Neo-Archaic
  creative  technical new media design
  http://www.neo-archaic.net/ www.neo-archaic.net
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash equivalent of a Java class loader

2006-01-05 Thread bryan.rice


On Jan 5, 2006, at 1:44 PM, Jim Kremens wrote:


__proto__



The Rebel Alliance Live On.  : )

In these days of the Flash Fracturization,  I find that to be a very  
comforting thought.


blue skies,
bryan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stage.height Misreporting

2006-01-05 Thread coker todd


--- Mike Britton [EMAIL PROTECTED] wrote:

 Try using setInterval
 
 Mike
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 




__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash Ant build for Flash IDE?

2006-01-05 Thread Ben Smeets
Hi all,

Been trying to get a build.xml rolling with the flash 8 IDE in
combination with coding in eclipse. Did anybody have succes with the
setup coding in eclipse and using a build.xml that calls the flash 8
IDE to publish?

I only get examples for mtasc, but I don't (can't) want to use that for
the time being. The few build examples that do seem to be written for
the flash IDE, only work in flash MX 2004 :(

Any help is appreciated.

Cheers,

Ben
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] DV cameras and flash

2006-01-05 Thread Stephen Matthews
Hi, iMovie can be used with any usb cam that a certain bit of  
software allows.

The software is by IOXperts.

Steve

On 3 Jan 2006, at 21:53, Sander wrote:


Weyert,

can I say that when the camera works iMovie HD it will work with  
Flash too?


I think iMovie is more restrictive, as it works only with DV  
camera's. iMovie wouldn't work with my analog source.


Macrobe has this on their technote (seems to apply to Windows only):

Video is captured by the Macromedia Flash Player. The Flash Player  
can acquire video from anything that has a WDM Video Capture  
Driver. This includes almost all web cameras, DV cameras and video  
capture boards. It even includes screen grab utilities like  
Camtasia. In fact, the Flash Player can even acquire from  
multiple video sources at the same time. For streaming video from  
your DVD player, all that is required is a video capture board that  
has a WDM Video Capture Driver.


http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_16454

S

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Weird Flash 8 issue

2006-01-05 Thread Beth Koehler

Hello all!  This one has been driving me nuts.

We recently required our users to upgrade to flash 8 to take advantage 
of some of the new features.  A few users are having some odd errors.  
These are only occurring under windows 2000, using IE 6. 

I have my scrollpanes set up to load a movie, into which the actual 
dynamic data is loaded.  This was done to get rid of my scrollpane issue 
where dynamic data was spilling out of the sides.  What is happening is 
the first movie will load, but then the next one won't load.  It works 
perfectly on all windows XP machines, as well as firefox on windows 
2000.  I also have gotten it to work on my windows 2000 machine, so its 
not all of them either.  Has anyone seen anything like this, or 
experience any odd problems with flash 8 in windows 2000 under IE?


Thanks,
Beth


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Ant build for Flash IDE?

2006-01-05 Thread Johannes Nel
just execute a jsfl file from the ant script and in the jsfl file publish
the movie


On 1/5/06, Ben Smeets [EMAIL PROTECTED] wrote:

 Hi all,

 Been trying to get a build.xml rolling with the flash 8 IDE in
 combination with coding in eclipse. Did anybody have succes with the
 setup coding in eclipse and using a build.xml that calls the flash 8
 IDE to publish?

 I only get examples for mtasc, but I don't (can't) want to use that for
 the time being. The few build examples that do seem to be written for
 the flash IDE, only work in flash MX 2004 :(

 Any help is appreciated.

 Cheers,

 Ben
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
j:pn
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Lite 2.0

2006-01-05 Thread Stephen Matthews
It says it is £6 on the UK site, athough it appears as £5.99 in the  
cart =D

It refunds the £5.99 though like in the US.


On 3 Jan 2006, at 20:10, Sara Spalding wrote:


Just to clarify:

* fl2 is free for developers who download the flash pro update from
labs.  Note that this is limited time offer.  For everyone else, it's
$10, for all the reasons that jesse mentioned

* we require the device id to prevent people from downloading it once
and installing it on lots of phone.

Have fun and show us what you build!  I saw Jesse's flickr app and  
think

it's great!

-Sara

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

Jason
Sent: Tuesday, January 03, 2006 2:55 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash Lite 2.0

Thx Jesse - suppose it makes some sense when you put it that way.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com











-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Tuesday, January 03, 2006 2:10 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Lite 2.0

This is an ld debate.  I can't find the context weblog links but
basically:
- normal consumers wouldn't buy FlashLite from the Macromedia.com

store.  It

would come pre-installed on their phones like Flash Lite 1.1 does

already on

some.
- Macromedia has a different business model around Flash Lite.  They

make

bling licensing it; go check out their financial reports.


- Original Message -
From: Merrill, Jason [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, January 03, 2006 2:01 PM
Subject: RE: [Flashcoders] Flash Lite 2.0


Wow, they're *selling* the player?  Stupid move IMO.

Also the store download page before you purchase says: This product

is

not refundable. The player is offered as is. And, you have to give

them

the serial number of the phone in order to buy the player.  Perhaps

for

good reason, but some people are probably going to be concerned with
privacy issues.

So much for penetrating the market any further.  Really bizarre.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com







NOTICE:
This message is for the designated recipient only and may contain

privileged
or confidential information. If you have received it in error,  
please

notify
the sender immediately and delete the original. Any other use of  
this

e-mail

by you is prohibited.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] DV cameras and flash

2006-01-05 Thread Weyert de Boer

Stephen Matthews wrote:

Hi, iMovie can be used with any usb cam that a certain bit of  
software allows.

The software is by IOXperts.


Yes, I know but I mean the Camere-object in Flash player can it use DV 
camera too. For example work _all_ the camera which also work in iMovie 
with th eCamera-object in the Flash player


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] what happens to exceptions i throw in async functions.

2006-01-05 Thread Johannes Nel
Hi All

some code to look at first

function meth2()
{
var x:XML = new XML();
try{
x.onLoad =
function(success)//Delegate.create(this,handleXmlLoad);
{
throw new CustomError();
}
x.load(somefile.xml);
}
catch(e:CustomError)
{
trace(caught in child);
}
}
function handleXmlLoad(success:Boolean)
{
throw new CustomError();
}

i am not able to catch this error in either the anon function or the
function delegate.
has anybody have any idea of how to handle asynchranous exception handeling
in flash?


thanks
j
--
j:pn
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Accordion Question

2006-01-05 Thread coker todd
much thanks.



--- bryan.rice [EMAIL PROTECTED] wrote:

 
 On Jan 5, 2006, at 2:19 PM, coker todd wrote:
 
  Can someone point me to where i can find how to
 change
  which item in the stack is selected by default.
 
 I would point you to the help panel.  : )
 
 Look up Accordion.selectedIndex .
 
 blue skies,
 bryan
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 




__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] getTextExtent and embedded images [RESOLVED]

2006-01-05 Thread Josh Gormley
Ok, I figure out that if I have wordwrap AND autosize set to true,  
then the _height property of the textField does take into account any  
width and height attributes you specify for the image.  This is only  
a minor inconvenience, and much better than setting up an interval to  
check for when the image has loaded and then continuing on with my code.


Josh

On Jan 5, 2006, at 11:26 AM, Josh Gormley wrote:

I'm dynamically populating a textField with HTML and would like to  
get the entire height of the textField, including embedded images.


Is there a method for determining the height of a textField that  
includes an embedded image?  Both the textEntent and _height values  
do not take the image into account, even if I specify a width and  
height for the image.  I did notice that the help docs for  
getTextExtent mentions that text is treated as plain text, not HTML  
text, so that would explain why textExtent doesn't work.  Is there  
another way?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash equivalent of a Java class loader

2006-01-05 Thread August Gresens
Again, thanks again for your help. Cheers, August

On 1/5/06, bryan.rice [EMAIL PROTECTED] wrote:


 On Jan 5, 2006, at 1:44 PM, Jim Kremens wrote:

  __proto__


 The Rebel Alliance Live On.  : )

 In these days of the Flash Fracturization,  I find that to be a very
 comforting thought.

 blue skies,
 bryan
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
-


August Gresens
Technical Director
Black Hammer Productions, NYC
[EMAIL PROTECTED]

-

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what happens to exceptions i throw in async functions.

2006-01-05 Thread Alan MacDougall



i am not able to catch this error in either the anon function or the
function delegate.
has anybody have any idea of how to handle asynchranous exception handeling
in flash?
 

I don't think you can do what you're planning, there; it appears that 
XML.load() starts a new execution thread, which ignores the try/catch 
block in which it was invoked.


Your best bet for error handling is to analyze the XML in your onLoad 
handler. If you detect an error condition, let the handler deal with it. 
This does mean that instead of generating an exception and catching it, 
you have to do some logic to check for errors, but it seems to be 
Flash's way.


Since Flash is designed for the internet, functions which instigate a 
new HTTP request are always going to run asynchronously -- since there's 
just no telling when the heck they'll complete. It's a compromise. 
Personally, I'd love to have the option of a synchronous XML.load() 
method, since often I'm just reading from files in the same directory as 
the SWF.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what happens to exceptions i throw in async functions.

2006-01-05 Thread Johannes Nel
well currently i am handeling my errors by dispatching them (take the same
error object add a type property). this seems terribly inelegeant, since I
use throw all over the place except in one of the places i need it most.
since that exception is being traced out i would however imagine that it
does somewhere. where is this and can i change the behaviour there to lend
more consistency my code?
On 1/5/06, Alan MacDougall [EMAIL PROTECTED] wrote:


 i am not able to catch this error in either the anon function or the
 function delegate.
 has anybody have any idea of how to handle asynchranous exception
 handeling
 in flash?
 
 
 I don't think you can do what you're planning, there; it appears that
 XML.load() starts a new execution thread, which ignores the try/catch
 block in which it was invoked.

 Your best bet for error handling is to analyze the XML in your onLoad
 handler. If you detect an error condition, let the handler deal with it.
 This does mean that instead of generating an exception and catching it,
 you have to do some logic to check for errors, but it seems to be
 Flash's way.

 Since Flash is designed for the internet, functions which instigate a
 new HTTP request are always going to run asynchronously -- since there's
 just no telling when the heck they'll complete. It's a compromise.
 Personally, I'd love to have the option of a synchronous XML.load()
 method, since often I'm just reading from files in the same directory as
 the SWF.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
j:pn
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what happens to exceptions i throw in async functions.

2006-01-05 Thread bryan.rice


On Jan 5, 2006, at 4:26 PM, Johannes Nel wrote:

has anybody have any idea of how to handle asynchranous exception  
handeling

in flash?


You need to do something more like this:

function handleXmlLoad(success:Boolean)
{
if (success) {
trace(Load successful.);
} else {
trace(Load NOT successful.);
//var error =  new CustomError();
}
}
function meth2()
{
var x:XML = new XML();
//
x.ignoreWhite = true;
x.onLoad = mx.utils.Delegate.create(this, handleXmlLoad);
x.load(somefile.xml);
}
meth2();


blue skies,
bryan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what happens to exceptions i throw in async functions.

2006-01-05 Thread Johannes Nel
no mate you are missing what i am trying to acheive.

On 1/5/06, bryan.rice [EMAIL PROTECTED] wrote:


 On Jan 5, 2006, at 4:26 PM, Johannes Nel wrote:

  has anybody have any idea of how to handle asynchranous exception
  handeling
  in flash?

 You need to do something more like this:

 function handleXmlLoad(success:Boolean)
 {
 if (success) {
 trace(Load successful.);
 } else {
 trace(Load NOT successful.);
 //var error =  new CustomError();
 }
 }
 function meth2()
 {
 var x:XML = new XML();
 //
 x.ignoreWhite = true;
 x.onLoad = mx.utils.Delegate.create(this, handleXmlLoad);
 x.load(somefile.xml);
 }
 meth2();


 blue skies,
 bryan
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
j:pn
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what happens to exceptions i throw in async functions.

2006-01-05 Thread bryan.rice


On Jan 5, 2006, at 6:26 PM, Johannes Nel wrote:


no mate you are missing what i am trying to acheive.


Sorry - misread your email.  I don't think you can do it.   
Try...Catch and Xml.onLoad are like oil and water as far as I can tell.
You will have to wait to load your xml before you start your  
try...catch block I think.


blue skies,
bryan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what happens to exceptions i throw in asyncfunctions.

2006-01-05 Thread Johannes Nel
same problem. all async functions are part of a different stack so all my
exception handeling code go out of the window.

On 1/5/06, JesterXL [EMAIL PROTECTED] wrote:

 Late to the thread.  Could you perhaps check if the onData actually
 contains
 any data, and if so, throw an exception if she does not there?  That
 happens
 before onLoad.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
j:pn
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] what happens to exceptions i throw inasyncfunctions.

2006-01-05 Thread JesterXL
You sound just like the Java guys who try Flex and wonder why it doesn't 
block.

Sorry bro, async is like Bryan said, oil and water.

- Original Message - 
From: Johannes Nel [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 7:03 PM
Subject: Re: [Flashcoders] what happens to exceptions i throw 
inasyncfunctions.


same problem. all async functions are part of a different stack so all my
exception handeling code go out of the window.

On 1/5/06, JesterXL [EMAIL PROTECTED] wrote:

 Late to the thread.  Could you perhaps check if the onData actually
 contains
 any data, and if so, throw an exception if she does not there?  That
 happens
 before onLoad.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
j:pn
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Massive XML files and Flash

2006-01-05 Thread JesterXL
Does it have to stay in that format?  Meaning, can you convert it and throw 
it into a database?  Paging is still an effective methodology, and if you 
can throw it in a database, you can then do what Flash does best and load 
what you need on the fly.

- Original Message - 
From: Jonathan Clarke [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 7:21 PM
Subject: [Flashcoders] Massive XML files and Flash


Hi,

I find myself in a situation where I need to build a tool to analyse
lots of xml data. Thousands of records containing a lot of strings as
well as numericals. I'm sure there are lots of more suitable
applications and languages, but I the only one I know is Actionscript.
Luckily, I know it very well and am more than confident at parsing
XML; however, I've never delt with data on this scale before. So, I'm
interested to know if anyone has any experience of dealing with this
sort of build, and whether it is feasible to expect Flash to handle
it.

More on the data: I need to cross-reference and check data accross 3
xml files. They are all big, but the biggest, by way of an example in
Excel form, has 25,000 records each with around 30 fields, often very
string heavy.

Any tips would be greatly appreciated?

--
Jonathan Clarke
1976 Ltd
http://19seventysix.co.uk
e: [EMAIL PROTECTED]
m (UK): +44 773 646 1954
m (Barbados): +1246 259 9475
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Lite 2.0

2006-01-05 Thread Flavio Ramos
I can't test because it's not compatible with my phone. :(

I'm worried about the player performance. Does anyone have anything to say
about it?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Lite 2.0

2006-01-05 Thread JesterXL
Player?  Great.  My phone?  Slow, and no ram.  My Alienware pawnz my Nokia 
6680.  2 gigs of RAM vs. 1 meg just isn't a comparison really... I mean, 
it's not Flash's fault.  The fact it actually runs pretty well in 1 meg of 
RAM cap is neat!

Max fps I can get is 15.

- Original Message - 
From: Flavio Ramos [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 8:56 PM
Subject: Re: [Flashcoders] Flash Lite 2.0


I can't test because it's not compatible with my phone. :(

I'm worried about the player performance. Does anyone have anything to say
about it?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Sound.loadSound --- when does streaming actually start?

2006-01-05 Thread John Olson
If I load an external MP3 into the Flash player and set up Flash to load it
as a streaming event, when does it start to play?  

In the AS2 language reference, it states : Streaming sounds play while they
are downloading. Playback begins when sufficient data has been received to
start the decompressor. So what is sufficient data?   

The reason I am asking is that I was trying to stream very low bitrate MP3s,
but they were long (1+ minutes around). When I used the bandwidth testing in
Flash for 56K modem, the MP3 had to almost entirely download before it
started.  

- John 





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Sound.loadSound --- when does streaming actuallystart?

2006-01-05 Thread JesterXL
If you do a true to the 2nd parameter of loadSound, she should start 
downloading when the _soundbuftime value is met.  _soundbuftime is global to 
the player, so you can set it anywhere.  It defaults to 5 seconds.

If you aren't seeing that, it could be latency confusing Flash maybe?

- Original Message - 
From: John Olson [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 10:06 PM
Subject: [Flashcoders] Sound.loadSound --- when does streaming 
actuallystart?


If I load an external MP3 into the Flash player and set up Flash to load it
as a streaming event, when does it start to play?

In the AS2 language reference, it states : Streaming sounds play while they
are downloading. Playback begins when sufficient data has been received to
start the decompressor. So what is sufficient data?

The reason I am asking is that I was trying to stream very low bitrate MP3s,
but they were long (1+ minutes around). When I used the bandwidth testing in
Flash for 56K modem, the MP3 had to almost entirely download before it
started.

- John





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Sound.loadSound --- when does streaming actually start?

2006-01-05 Thread Justin Bishop
Hello All. I'm new to the flash mailing list (as in, today) and
relatively new to flash (about 2 months).  I'm loving flash and
excited to have found this great mailing list! ;o)

John, I am a newbie to flash so please take my help lightly. ;o)  But
I think what you want is to set _soundbuftime .  This is a property of
every movieclip, but it is a global variable,  Check for it in the
Actionscript dictionary. ;o)

Good luck.

-Justin Bishop

On 1/5/06, John Olson [EMAIL PROTECTED] wrote:
 If I load an external MP3 into the Flash player and set up Flash to load it
 as a streaming event, when does it start to play?

 In the AS2 language reference, it states : Streaming sounds play while they
 are downloading. Playback begins when sufficient data has been received to
 start the decompressor. So what is sufficient data?

 The reason I am asking is that I was trying to stream very low bitrate MP3s,
 but they were long (1+ minutes around). When I used the bandwidth testing in
 Flash for 56K modem, the MP3 had to almost entirely download before it
 started.

 - John





 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Massive XML files and Flash

2006-01-05 Thread Jonathan Clarke
Thanks Jester, but databases are not my forte, to do it quickly I'd
like to just use ActionScript only. Is there anyway I can just load
specific sections of the XML or do I have to load the whole file into
memory?

On 05/01/06, JesterXL [EMAIL PROTECTED] wrote:
 Does it have to stay in that format?  Meaning, can you convert it and throw
 it into a database?  Paging is still an effective methodology, and if you
 can throw it in a database, you can then do what Flash does best and load
 what you need on the fly.

 - Original Message -
 From: Jonathan Clarke [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Thursday, January 05, 2006 7:21 PM
 Subject: [Flashcoders] Massive XML files and Flash


 Hi,

 I find myself in a situation where I need to build a tool to analyse
 lots of xml data. Thousands of records containing a lot of strings as
 well as numericals. I'm sure there are lots of more suitable
 applications and languages, but I the only one I know is Actionscript.
 Luckily, I know it very well and am more than confident at parsing
 XML; however, I've never delt with data on this scale before. So, I'm
 interested to know if anyone has any experience of dealing with this
 sort of build, and whether it is feasible to expect Flash to handle
 it.

 More on the data: I need to cross-reference and check data accross 3
 xml files. They are all big, but the biggest, by way of an example in
 Excel form, has 25,000 records each with around 30 fields, often very
 string heavy.

 Any tips would be greatly appreciated?

 --
 Jonathan Clarke
 1976 Ltd
 http://19seventysix.co.uk
 e: [EMAIL PROTECTED]
 m (UK): +44 773 646 1954
 m (Barbados): +1246 259 9475
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
Jonathan Clarke
1976 Ltd
http://19seventysix.co.uk
e: [EMAIL PROTECTED]
m (UK): +44 773 646 1954
m (Barbados): +1246 259 9475
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Massive XML files and Flash

2006-01-05 Thread Andy Johnston

I've found this as version of xpath very very handy..

easy to implement and use also..

http://www.xfactorstudio.com/ActionScript/AS2/XPath/



Thanks Jester, but databases are not my forte, to do it quickly I'd
like to just use ActionScript only. Is there anyway I can just load
specific sections of the XML or do I have to load the whole file into
memory?

On 05/01/06, JesterXL [EMAIL PROTECTED] wrote:
 


Does it have to stay in that format?  Meaning, can you convert it and throw
it into a database?  Paging is still an effective methodology, and if you
can throw it in a database, you can then do what Flash does best and load
what you need on the fly.

- Original Message -
From: Jonathan Clarke [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 7:21 PM
Subject: [Flashcoders] Massive XML files and Flash


Hi,

I find myself in a situation where I need to build a tool to analyse
lots of xml data. Thousands of records containing a lot of strings as
well as numericals. I'm sure there are lots of more suitable
applications and languages, but I the only one I know is Actionscript.
Luckily, I know it very well and am more than confident at parsing
XML; however, I've never delt with data on this scale before. So, I'm
interested to know if anyone has any experience of dealing with this
sort of build, and whether it is feasible to expect Flash to handle
it.

More on the data: I need to cross-reference and check data accross 3
xml files. They are all big, but the biggest, by way of an example in
Excel form, has 25,000 records each with around 30 fields, often very
string heavy.

Any tips would be greatly appreciated?

--
Jonathan Clarke
1976 Ltd
http://19seventysix.co.uk
e: [EMAIL PROTECTED]
m (UK): +44 773 646 1954
m (Barbados): +1246 259 9475
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

   




--
Jonathan Clarke
1976 Ltd
http://19seventysix.co.uk
e: [EMAIL PROTECTED]
m (UK): +44 773 646 1954
m (Barbados): +1246 259 9475
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Massive XML files and Flash

2006-01-05 Thread JesterXL
Well, you can override the XML.onData.  This is fired before XML's onLoad, 
and it'll give you the raw XML string data, unparsed.  You can then manually 
parse this.

Are these XML files created yet?  Like, you say Excel document.  If you can, 
creating a dictionary file that points to a series of XML files is tons 
better than 1 big beast.  The problem is, even XML.onData still has that 
honkin' string in it, and using the String methods on it will still chug.

Your best bet is to load in the index file, and only load those smaller 
files.

Even if the the smaller file consists of thousands of records, you can 
simply wait a frame after she loads, use a String.indexOf on a certain node, 
say record and repeat over a series of frames to record indices of where 
all the nodes are.  In the next pass, you could then break it up into 
chunks.  Since strings are copy by value, you could make a copy of the 
string you want to parse, just parse that chunk, convert to something 
meaningful like an array full of objects, discard the string, and repeat on 
the next frame.

You could even save those objects you've created as sharedobjects, 
eliminating them from memory.

- Original Message - 
From: Jonathan Clarke [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 10:17 PM
Subject: Re: [Flashcoders] Massive XML files and Flash


Thanks Jester, but databases are not my forte, to do it quickly I'd
like to just use ActionScript only. Is there anyway I can just load
specific sections of the XML or do I have to load the whole file into
memory?

On 05/01/06, JesterXL [EMAIL PROTECTED] wrote:
 Does it have to stay in that format?  Meaning, can you convert it and 
 throw
 it into a database?  Paging is still an effective methodology, and if you
 can throw it in a database, you can then do what Flash does best and load
 what you need on the fly.

 - Original Message -
 From: Jonathan Clarke [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Thursday, January 05, 2006 7:21 PM
 Subject: [Flashcoders] Massive XML files and Flash


 Hi,

 I find myself in a situation where I need to build a tool to analyse
 lots of xml data. Thousands of records containing a lot of strings as
 well as numericals. I'm sure there are lots of more suitable
 applications and languages, but I the only one I know is Actionscript.
 Luckily, I know it very well and am more than confident at parsing
 XML; however, I've never delt with data on this scale before. So, I'm
 interested to know if anyone has any experience of dealing with this
 sort of build, and whether it is feasible to expect Flash to handle
 it.

 More on the data: I need to cross-reference and check data accross 3
 xml files. They are all big, but the biggest, by way of an example in
 Excel form, has 25,000 records each with around 30 fields, often very
 string heavy.

 Any tips would be greatly appreciated?

 --
 Jonathan Clarke
 1976 Ltd
 http://19seventysix.co.uk
 e: [EMAIL PROTECTED]
 m (UK): +44 773 646 1954
 m (Barbados): +1246 259 9475
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
Jonathan Clarke
1976 Ltd
http://19seventysix.co.uk
e: [EMAIL PROTECTED]
m (UK): +44 773 646 1954
m (Barbados): +1246 259 9475
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Massive XML files and Flash

2006-01-05 Thread Steve Lloyd
XPath.  Beautiful!  I've been looking for something like that!  Thanks, will
give it a shot!  -Steve

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Johnston
Sent: Friday, 6 January 2006 11:23 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Massive XML files and Flash

I've found this as version of xpath very very handy..

easy to implement and use also..

http://www.xfactorstudio.com/ActionScript/AS2/XPath/


Thanks Jester, but databases are not my forte, to do it quickly I'd
like to just use ActionScript only. Is there anyway I can just load
specific sections of the XML or do I have to load the whole file into
memory?

On 05/01/06, JesterXL [EMAIL PROTECTED] wrote:
  

Does it have to stay in that format?  Meaning, can you convert it and
throw
it into a database?  Paging is still an effective methodology, and if you
can throw it in a database, you can then do what Flash does best and load
what you need on the fly.

- Original Message -
From: Jonathan Clarke [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, January 05, 2006 7:21 PM
Subject: [Flashcoders] Massive XML files and Flash


Hi,

I find myself in a situation where I need to build a tool to analyse
lots of xml data. Thousands of records containing a lot of strings as
well as numericals. I'm sure there are lots of more suitable
applications and languages, but I the only one I know is Actionscript.
Luckily, I know it very well and am more than confident at parsing
XML; however, I've never delt with data on this scale before. So, I'm
interested to know if anyone has any experience of dealing with this
sort of build, and whether it is feasible to expect Flash to handle
it.

More on the data: I need to cross-reference and check data accross 3
xml files. They are all big, but the biggest, by way of an example in
Excel form, has 25,000 records each with around 30 fields, often very
string heavy.

Any tips would be greatly appreciated?

--
Jonathan Clarke
1976 Ltd
http://19seventysix.co.uk
e: [EMAIL PROTECTED]
m (UK): +44 773 646 1954
m (Barbados): +1246 259 9475
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





--
Jonathan Clarke
1976 Ltd
http://19seventysix.co.uk
e: [EMAIL PROTECTED]
m (UK): +44 773 646 1954
m (Barbados): +1246 259 9475
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Massive XML files and Flash

2006-01-05 Thread ryanm

I find myself in a situation where I need to build a tool to analyse
lots of xml data. Thousands of records containing a lot of strings as
well as numericals.


   When I found myself in this situation I did 2 things:

1. Don't use XML, it is way too heavy for this much data. I found that by 
using a double-delimeted or fixed-width data format, the file size was 
reduced by as much as 70%. In the end, I went with fixed width because I 
could parse it faster (by avoiding calling split() thousands of times).


   Now, I still used the XML object, but instead of letting it parse the 
file, I overwrote the onData event and used my own parsing function, which 
generated objects directly instead of parsing it out to an XML object. 
Essentially, the XML object just read the data in and dumped it to my 
parsing function.


2. Don't try to parse it all at once. What I did was dump it all into a 
buffer when it was loaded, and then fire off a parsing function that parsed 
250 records per frame. I found that number through trial and error, you can 
find your own balance. The important thing was, the application didn't stop 
functioning while the records were being parsed, you could go to other areas 
of the app and use it normally, and when you went to the section that 
required the data, you got a progress bar showing how many records had been 
parsed.


   My parsing function was semi-complicated. It took the whole dataset in 
as a string and split it on my record delimiter, and this array became my 
buffer. This way I knew how many records there were to parse, and 
approximately how long it would take to parse them. It then sliced 250 
records off the top of the buffer on every frame and passed them to the 
serialization function, which took them, serialized them, and inserted them 
into my database object. My parsing function also built several indexes 
while it was parsing the records, to make lookups faster once the database 
was ready. My application was a database of hotels, which were sortable by a 
number of criteria, so the parsing routine looked for those attributes of 
each hotel as it parsed, and when it saw a new value for one of those 
criteria, it made a new entry in the appropriate index for it.


   I made very heavy use of the object collection syntax, for example:

Index[Location][USA][Texas][Dallas]

   ...referred to an array of hotel ids which were in Dallas, Texas, USA, 
which could be used to find a hotel like this:


// 0 is the first index in the array of ids
hotelID = Index[Location][USA][Texas][Dallas][0];
return(Database[hotelID]);

   In the end, it took about 5 times as much code to import, parse, and 
index the database than the whole rest of the application, but it worked, it 
was relatively fast, and it met the requirements I was given. I would've 
preferred for it to work from a web server, selecting what I needed from the 
database, but the client required that it work offline from a database that 
shipped with the cd, as well as be able to download an updated database from 
their website, and this was the best solution I could find in Flash that 
worked on both PC and Mac (no 3rd party wrappers). Unfortunately it had to 
parse the whole database every time you ran the app, but it would get the 
newest version from the web if you were online and it gave you the option to 
store it (in an ungodly-sized shared object) if you wanted to.


   Anyway, that's how I did it, whether or not it was successful is a 
matter of opinion. ;-)


ryanm 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders