Re: [Flashcoders] Actionscript 2.0 Class involving XML

2006-01-03 Thread eric dolecki
Do you mean parse any dataSet of a specific structure? XPath might do
the trick - either using the built-in or using xfactorstudio's XPath.

edolecki

On 1/3/06, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> Hey Everyone,
>
> I am wondering if there is anyone out there who knows Actionscript 2.0
> Classes and XML extremely well.
>
> I have an Open Source Actionscript 2.0 class that is used to parse an
> XML file into Flash. Currently this class is only capable of reading 1
> recordset of data from a specially formatted XML file which is causing a
> significant limitation. I need to modify the class so it can
> reference/parse multiple datasets.
>
> I have not posted the code or the XML here as it is kinda substancial,
> however I am looking to see if there is any expert out there who is up
> to the challenge. Please let me know and I will send the code.
>
> Al Veldhuis
>
> ___
> 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] State Machine Implementation, anyone?

2006-01-03 Thread Aldo Bucchi
Hi flexies,

Does anyone know of a good State Machine implementation in actionscript?
One with history, concurrent states, joins, splits ( forks ), etc?

I have used Kaye's ( www.flashsim.com ), ported part of Miro Samek's
method based machine, modified a compiler (CHSM), and finally went
half the way to creating my own SCXML interpreter.

So... why ask now???
well, because after all this work it has become evident that there is
so much space for different designs that hearing other people's
practical experiences is, well, a very practical way to take some
decisions... like the following for instance:

- The state machine declaration ( states and transitions ) can be
supplied in several different ways
-- external XML declarations ( could be SCXML for example. Note that
this approach introduces some complexity due to the async loading
"state" )
-- inline XML declarations.
-- MXML declaration ( unfortunately we cannot provide an id for a
nested faceless component in flex 1.5)
-- Actionscript declaration ( instantiating classes )
-- with a class hierarchy ( a la samek )

- How do we scope state and transition ids? Per state machine? per
superstate? do we use paths?

- There is also the debate on giving each state it's own controller (
using class inheritance to override the superstate's controller ) or
using one central controller querying the machine.

- How to declare event handlers ( in the same state/transition
declaration or later on by hooking them with listeners )

- how do we implement guard conditions... are they necessary /
benefitial at all? why not just provide hooks for complex logic then.

- and Finally, how do we feed events to the machine... should we be
able to call transitions directly?

- MXML wrappers can be created to allow the use of binding and inline
event declarations


Should we allow this without limits?


Pfff. write one line of code on this domain and you will see what I
mean. State machines are so broad and powerful that it is hard to see
the best way to fit them into flex at a glimpse.

Help / observations / links / ideas appreciated.

Man, we could even create a complete osflash project devoted to state machines.
( perhaps I will if there is enough interest. let me know )

Best,
Aldo

--
: Aldo Bucchi :
mobile (56) 8 429 8300
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Actionscript 2.0 Class involving XML

2006-01-03 Thread Andy Johnston
Dunno if you have looked at this before but is very nice for dealing 
with xml in flash


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



Hey Everyone,

I am wondering if there is anyone out there who knows Actionscript 2.0 
Classes and XML extremely well.


I have an Open Source Actionscript 2.0 class that is used to parse an 
XML file into Flash. Currently this class is only capable of reading 1 
recordset of data from a specially formatted XML file which is causing 
a significant limitation. I need to modify the class so it can 
reference/parse multiple datasets.


I have not posted the code or the XML here as it is kinda substancial, 
however I am looking to see if there is any expert out there who is up 
to the challenge. Please let me know and I will send the code.


Al Veldhuis

___
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] Actionscript 2.0 Class involving XML

2006-01-03 Thread Al Veldhuis

Hey Everyone,

I am wondering if there is anyone out there who knows Actionscript 2.0 
Classes and XML extremely well.


I have an Open Source Actionscript 2.0 class that is used to parse an 
XML file into Flash. Currently this class is only capable of reading 1 
recordset of data from a specially formatted XML file which is causing a 
significant limitation. I need to modify the class so it can 
reference/parse multiple datasets.


I have not posted the code or the XML here as it is kinda substancial, 
however I am looking to see if there is any expert out there who is up 
to the challenge. Please let me know and I will send the code.


Al Veldhuis

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


[Flashcoders] Extending the XML class

2006-01-03 Thread Rifled Cloaca
Hi!

I'm new to AS2, and I'm trying to convert some old AS1 code to AS2.  This
code uses XML.prototype to add functionality to the XML class (which is
based on the XMLNode class, but you knew that already).  I'm creating a new
class like this:

dynamic class core.EXML extends XML {
}

This new XML class has new properties in each of its nodes, so I add:


dynamic class core.EXML extends XML {

 public var _MC:MovieClip;
 public var _parentMC:MovieClip;

}

But, unfortunately, since the EXML class inherits from the XML class, the
nodes are of XMLNode class, not EXML class, so the nodes do not inherit the
properties and methods I create in the new EXML class.

So, my question is, how do I create a class that creates instances of
itself, or say, an EXMLNode class that inherits from XMLNode?

Any help is greatly appreciated.  Thanks!

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


Re: [Flashcoders] flash 8 file reference upload on macs

2006-01-03 Thread bryan.rice


On Jan 3, 2006, at 5:31 PM, Ryan Matsikas wrote:

We've expeirenced this problem on a few occasions, the easy work  
around is

to monitor the onProgress event and manually fire the complete event.


Oddly enough, I have experienced the opposite and in found you can't  
rely on the onProgress event on all Macs:
"File upload progress cannot be determined on Macintosh platforms  
earlier than OS X 10.3. The onProgress event is called during the  
upload operation, but the value of the bytesLoaded parameter is -1,  
indicating that the progress cannot be determined."


Weird.  Were you able to figure out a pattern as to what files under  
what circumstances did not fire the onComplete event?  What server- 
side processor are you using (I have only ever used it with ColdFusion)?


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


RE: [Flashcoders] Print line numbers for AS file

2006-01-03 Thread tech
I found an ActionScript parser for HomeSite at: http://be.nw.com.au/



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of tech
Sent: Tuesday, January 03, 2006 2:07 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Print line numbers for AS file

I just tried SEPY. While it does print the line numbers, it doesn't print
the syntax color coding. 

You think this simple feature would have been included in Flash 8. Oh well.

I remember downloading an extension for HomeSite+ that enables color coding
for Actionscript. I'll try that.

Thanks for your help.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert de
Boer
Sent: Tuesday, January 03, 2006 1:47 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Print line numbers for AS file

You could use a other dedicated actionscript editor such as SEPY editor
>
>
>   

___
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 8 file reference upload on macs

2006-01-03 Thread Ryan Matsikas
We've expeirenced this problem on a few occasions, the easy work around is
to monitor the onProgress event and manually fire the complete event.

Cheers,
Ryan

On 1/2/06, Adam Procter <[EMAIL PROTECTED]> wrote:
>
> Hello,
> Any body know or have seen this before ?
> Thanks Adam
>
> I have used the file reference to upload files and report in a dialog
> box if
> successful.
>
> This works fine when tested on IE on windows, but although the file
> uploads ok from a Mac it does not run the onComplete command and so
> the user does not think it has uploaded , it just says Uploading and
> goes
> not further (although the file has uploaded)
>
> Is this a mac player issue ? I have tried on Firefox and Safari
>
> Code below:
>
> //Allow this domain
> System.security.allowDomain("http://meanwhile.luton.ac.uk/";);
> import flash.net.FileReference;
> // The listener object listens for FileReference events.
> var listener:Object = new Object();
>
> // When the user selects a file, the onSelect() method is called, and
> // passed a reference to the FileReference object.
> listener.onSelect = function(selectedFile:FileReference):Void {
> //clean statusArea and details area
> gui.statusArea.text = details.text = ""
> // Flash is attempting to upload the image.
> gui.statusArea.text += "Attempting to upload JPEG" + selectedFile.name
> + "\n";
> // Upload the file to the PHP script on the server.
> selectedFile.upload("upload.php");
> removeMovieClip("newTip");
> };
>
> // the file is starting to upload.
> listener.onOpen = function(selectedFile:FileReference):Void {
> gui.statusArea.text += "Uploading " + selectedFile.name + "\n";
> };
>
> // the file has uploaded
> listener.onComplete = function(selectedFile:FileReference):Void {
> // Notify the user that Flash is starting to download the image.
> gui.statusArea.text += "Upload finished.\nThanks " + selectedFile.name
> + " now online\n";
>
> };
> ___
> 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] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer


Limits per frame:
network requests <= 5
simultaneous connections <= 10

this all includes also local requests and Flahs Lite 2 only :)

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


Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer

hank williams wrote:

Yeah, that sounds right. But I dont know how you could "play" a sound
if it doesnt support mp3. I wonder what the baseline assumption is for
flash lite and whether you are supposed to be able to assume that the
sound class works normally, by playing mp3s.
The movie should just be aware of this possibility and pick the right 
sound (for best quality!) based on the sound capabilities of the phone




  


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


Re: [Flashcoders] > DV cameras and flash

2006-01-03 Thread Sander

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


Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread hank williams
Yeah, that sounds right. But I dont know how you could "play" a sound
if it doesnt support mp3. I wonder what the baseline assumption is for
flash lite and whether you are supposed to be able to assume that the
sound class works normally, by playing mp3s.

Regards
Hank

On 1/3/06, Weyert de Boer <[EMAIL PROTECTED]> wrote:
> Hi Hank,
>
> The Sound-class available and his loadSound and/or attachSound()
> methods, that means it supports progressive downloads, right? (Not sure
> at the moment I have the feeling I mixing terms, atm)
>
> Yours,
> Weyert de Boer
>
> ___
> 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] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer

Good explanation mate ;-) That's what we meant. hehe.
I think I am gonna sleep, tomorrow is it the big "lets hope the guys and 
girls in flashcoders know how I can make fix bitmapdata problem"-day. :-)


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


Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread hank williams
On 1/3/06, Weyert de Boer <[EMAIL PROTECTED]> wrote:
> Hi Hank,
> > I dont quite understand. I never use frames. So since all my code is
> > always in the first frame does that mean that for the life of my app I
> > could only make ten network calls no matter how long it was running?
> > That would be incredible. If so does this make it impractical to
> > "check" the network periodically?
> >
> Well, you are able to do ten simultaneously connections per frame as
> long the memory meets of the device. Keep in mind you are only able to
> do five network requests per frame. Also requests from the local file
> system of the phone counts as a request. The main reason was that these
> requests take up a lot of memory, a thing which is scares/rare on the
> mobile phone.The best thing is to use a altered version of the
> MovieClipLoader to queue requests.

Ok, sorry for being dumb here but I have to ask again. I only use
*one* frame. My code all lives in the first frame. There is never more
than one. So does that mean I get 10 network accesses and I am done -
no more network access ever? Or are you just saying I only have  10
**simultaneous** network accesses. Because 10 simultaneous network
accesses sounds like a lot. I dont think I ever do 10 simultaneous. I
dont think I ever do 5. So that would be fine.

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


Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer

Hi Hank,

The Sound-class available and his loadSound and/or attachSound() 
methods, that means it supports progressive downloads, right? (Not sure 
at the moment I have the feeling I mixing terms, atm)


Yours,
Weyert de Boer

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


Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread JesterXL
You may not use frames, but Flash Player internally does.  Do a function 
onEnterFrame, and you'll see what Weyert means.

So, basically, if you do this:

loadMovie("cow1.jpg");
loadMovie("cow2.jpg");
loadMovie("cow3.jpg");
loadMovie("cow4.jpg");
loadMovie("cow5.jpg");

It'll work, but this:

loadMovie("cow1.jpg");
loadMovie("cow2.jpg");
loadMovie("cow3.jpg");
loadMovie("cow4.jpg");
loadMovie("cow5.jpg");
loadMovie("cow6.jpg");

Wouldn't.  However, you could make the above work by only issuing the 
loadMovie("cow6.jpg"); when 1 of the other jpeg's finishes loading.

Yeah, it's basically just a small computer, so it caches things just like 
the desktop player does (sort of) if it's running standalone, and uses the 
web cache if running in the browser on the phone.


- Original Message - 
From: "hank williams" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, January 03, 2006 4:29 PM
Subject: Re: [Flashcoders] How does flash lite 2.0 handle network access


Weyert,

I dont quite understand. I never use frames. So since all my code is
always in the first frame does that mean that for the life of my app I
could only make ten network calls no matter how long it was running?
That would be incredible. If so does this make it impractical to
"check" the network periodically?

Also, regarding MP3 I understand that if the handset doesnt play mp3
then it wouldnt work. But my main question is just about progressive
download. Is it something that is likely to work. And if so, do the
handsets have a web cache so that things downloaded once are
available?

I guess really what I am trying to figure ot is how feasable it is to
thing about building media apps for flash lite 2.0

Regards
Hank



On 1/3/06, Weyert de Boer <[EMAIL PROTECTED]> wrote:
> Hi Hank,
>
> Flash Lite has a limit on the number of network requests, meaning you
> can only do five per frame and a maximum of ten (was four in 1.1)
> connections at the same time. You should be aware that this means all
> requests including XML.load() or loadVariables etc. The support of mp3
> totally depends on the the host. IF the host doesn't support it, it's a
> no go ;-)
>
> Yours,
> Weyert de Boer
> > If I want to progressively download an mp3 and then play it, or I just
> > want to do an http access to grab some data does all of that work.
> >
> > Thanks
> > Hank
> > ___
> > 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] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer

Hi Hank,

I dont quite understand. I never use frames. So since all my code is
always in the first frame does that mean that for the life of my app I
could only make ten network calls no matter how long it was running?
That would be incredible. If so does this make it impractical to
"check" the network periodically?
  
Well, you are able to do ten simultaneously connections per frame as 
long the memory meets of the device. Keep in mind you are only able to 
do five network requests per frame. Also requests from the local file 
system of the phone counts as a request. The main reason was that these 
requests take up a lot of memory, a thing which is scares/rare on the 
mobile phone.The best thing is to use a altered version of the 
MovieClipLoader to queue requests.

Also, regarding MP3 I understand that if the handset doesnt play mp3
then it wouldnt work. But my main question is just about progressive
download. Is it something that is likely to work. And if so, do the
handsets have a web cache so that things downloaded once are
available?
  

Well, you could load a flash movie and store the sound in their. I think.

I guess really what I am trying to figure ot is how feasable it is to
thing about building media apps for flash lite 2.0
  

The download comes with a example of a player.

Regards
Hank



On 1/3/06, Weyert de Boer <[EMAIL PROTECTED]> wrote:
  

Hi Hank,

Flash Lite has a limit on the number of network requests, meaning you
can only do five per frame and a maximum of ten (was four in 1.1)
connections at the same time. You should be aware that this means all
requests including XML.load() or loadVariables etc. The support of mp3
totally depends on the the host. IF the host doesn't support it, it's a
no go ;-)

Yours,
Weyert de Boer


If I want to progressively download an mp3 and then play it, or I just
want to do an http access to grab some data does all of that work.

Thanks
Hank
___
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] How does flash lite 2.0 handle network access

2006-01-03 Thread hank williams
Weyert,

I dont quite understand. I never use frames. So since all my code is
always in the first frame does that mean that for the life of my app I
could only make ten network calls no matter how long it was running?
That would be incredible. If so does this make it impractical to
"check" the network periodically?

Also, regarding MP3 I understand that if the handset doesnt play mp3
then it wouldnt work. But my main question is just about progressive
download. Is it something that is likely to work. And if so, do the
handsets have a web cache so that things downloaded once are
available?

I guess really what I am trying to figure ot is how feasable it is to
thing about building media apps for flash lite 2.0

Regards
Hank



On 1/3/06, Weyert de Boer <[EMAIL PROTECTED]> wrote:
> Hi Hank,
>
> Flash Lite has a limit on the number of network requests, meaning you
> can only do five per frame and a maximum of ten (was four in 1.1)
> connections at the same time. You should be aware that this means all
> requests including XML.load() or loadVariables etc. The support of mp3
> totally depends on the the host. IF the host doesn't support it, it's a
> no go ;-)
>
> Yours,
> Weyert de Boer
> > If I want to progressively download an mp3 and then play it, or I just
> > want to do an http access to grab some data does all of that work.
> >
> > Thanks
> > Hank
> > ___
> > 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] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer

JesterXL wrote:
On the networking side, you need to have a data plan for your phone. I've 
got Media Net through Cingular which gives me text, multimedia messengeing, 
pop email, and web access.
Yes, it should work with a WAP plan/membership too. It worked until I 
switch networks. :-)


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


Re: [Flashcoders] How does flash lite 2.0 handle network access

2006-01-03 Thread JesterXL
On the networking side, you need to have a data plan for your phone. I've 
got Media Net through Cingular which gives me text, multimedia messengeing, 
pop email, and web access.

In Flash Lite 1.1, when doing a network request, it would throw a popup for 
the user, letting them know Flash needed to make a network request.  While 
this is good because data plans have costs for each network request & amount 
of data, it was bad from a user experience point of view because if you 
downloaded 5 SWF's, that was 5 popups; really annoying.  This is changed in 
Flash Lite 2 to only show 1 popup, and which point I'll choose MediaNet as 
the provider, and it uses that from then on.  Really cool.

...slow, though, but I live out in the middle of nowhere.

- Original Message - 
From: "Weyert de Boer" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, January 03, 2006 4:12 PM
Subject: Re: [Flashcoders] How does flash lite 2.0 handle network access


Hi Hank,

Flash Lite has a limit on the number of network requests, meaning you
can only do five per frame and a maximum of ten (was four in 1.1)
connections at the same time. You should be aware that this means all
requests including XML.load() or loadVariables etc. The support of mp3
totally depends on the the host. IF the host doesn't support it, it's a
no go ;-)

Yours,
Weyert de Boer
> If I want to progressively download an mp3 and then play it, or I just
> want to do an http access to grab some data does all of that work.
>
> Thanks
> Hank
> ___
> 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] How does flash lite 2.0 handle network access

2006-01-03 Thread Weyert de Boer

Hi Hank,

Flash Lite has a limit on the number of network requests, meaning you 
can only do five per frame and a maximum of ten (was four in 1.1) 
connections at the same time. You should be aware that this means all 
requests including XML.load() or loadVariables etc. The support of mp3 
totally depends on the the host. IF the host doesn't support it, it's a 
no go ;-)


Yours,
Weyert de Boer

If I want to progressively download an mp3 and then play it, or I just
want to do an http access to grab some data does all of that work.

Thanks
Hank
___
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] recommended books on XML in Flash

2006-01-03 Thread Ryan Potter
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] How does flash lite 2.0 handle network access

2006-01-03 Thread hank williams
If I want to progressively download an mp3 and then play it, or I just
want to do an http access to grab some data does all of that work.

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


Re: [Flashcoders] Print line numbers for AS file

2006-01-03 Thread Weyert de Boer

tech wrote:

I just tried SEPY. While it does print the line numbers, it doesn't print
the syntax color coding. 


You think this simple feature would have been included in Flash 8. Oh well.

I remember downloading an extension for HomeSite+ that enables color coding
for Actionscript. I'll try that.
Okay, if you need any changes to the ActionScript highlighting scheme 
for HomeSite+ e-mail me, and I will make some changes for you. :-)


Yours,
Weyert de Boer
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] recommended books on XML in Flash

2006-01-03 Thread Mark Lapasa
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


RE: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread Sara Spalding
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" 
>>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


RE: [Flashcoders] Print line numbers for AS file

2006-01-03 Thread tech
I just tried SEPY. While it does print the line numbers, it doesn't print
the syntax color coding. 

You think this simple feature would have been included in Flash 8. Oh well.

I remember downloading an extension for HomeSite+ that enables color coding
for Actionscript. I'll try that.

Thanks for your help.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert de
Boer
Sent: Tuesday, January 03, 2006 1:47 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Print line numbers for AS file

You could use a other dedicated actionscript editor such as SEPY editor
>
>
>   

___
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] RE: Flashcoders Digest, Vol 12, Issue 4

2006-01-03 Thread Troy Rollins


On Jan 3, 2006, at 1:09 PM, Henry @ Tonic wrote:

I should add, that if you *really* want to stick with text files,  
you could replace special characters with URLEncoded entities  
(like, %26 for ampersand) and it should work. But I wouldn't  
recommend it ;)


How do you then deal with entities that Flash doesn't have support  
for (like the combined greater-than/equal-to)?


Since like Flash 5, we always end up using custom fonts, and some  
bastardized regEx-like replacement routine, and I've love to be rid  
of that. Is there a better way? Will CDATA nodes allow me to put  
stuff like that in directly? I use CDATA nodes in my XML, but have  
always used them still like plain-text (no funky characters.)


--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


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


RE: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread Merrill, Jason
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" 
>>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


Re: [Flashcoders] Print line numbers for AS file

2006-01-03 Thread Weyert de Boer

You could use a other dedicated actionscript editor such as SEPY editor



  


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


[Flashcoders] Print line numbers for AS file

2006-01-03 Thread tech
Hello,

 

I'm currently working on a flash project that uses 7 external .as files. I
would like to print out these files for a reference from Flash 8. The code
prints with the colored syntax, however, there does not seem to be an option
to include line numbers (urgent) and wrap the text. Any one have any idea on
how I can print this out with line numbers and wrapped text?

 

Thanks,

Mike 

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


Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread John Dowdell

Merrill, Jason wrote:
Wow, they're *selling* the player?  Stupid move IMO.  


Well, we should always examine all possibilites, but somehow ;-)

For you, use Labs. Like Jesse said, the download cost for developers is 
nullified at the Store, once you get the authoring kit. (I think the 
"$10" is there just to reserve a slot in the Store, although I haven't 
seen specific documentation on this yet.)


For consumers, we want to get Players embedded in their device 
automatically... we don't want lots of consumers trying to install 
things on their phones then asking how to do it on their varied devices. 
(Free installations into consumers' computer browsers is much easier, 
yet still confuses many.) The consumer experience is better when it just 
works, when they take the phone out of the box.




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. 


The software is keyed to the device type, which is why we need to know 
what device they'd like to install into. This is another reason why 
there's heavy work on getting standard capabilities embedded into each 
device at the factory.


jd






--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread Weyert de Boer
Well, it works fine on my Nokia 6681. Are their any limitations about 
the amount of times your can redownload a product from the online store? 
Normally I buy my software at TechData to get a nice retail box for on 
the bookcloset. Hmm, time to fix my bluetooth on my Windows notebook...

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


Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread Weyert de Boer

JesterXL wrote:
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.

Yep, I can't wait for more previews in this new year :-)
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread John Hattan
> From: JesterXL [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 03, 2006 12:53 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Flash Lite 2.0
> 
> It's actually free currently if you go through the checkout 
> process, you'll see it subtracts the full price form the 
> total, equaling $0.

Tried installing it on my N-Gage. No joy. Looks like I'll need to upgrade
phones to use it :(

---
John Hattan
[EMAIL PROTECTED]
Gamedev.net - more 1's and 0's than you can shake a stick at 

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


Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread JesterXL
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" 
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


RE: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread Merrill, Jason
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


Re: [Flashcoders] Flash Lite 2.0

2006-01-03 Thread JesterXL
It's actually free currently if you go through the checkout process, you'll 
see it subtracts the full price form the total, equaling $0.

- Original Message - 
From: "Joe Cutting" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, January 03, 2006 1:23 PM
Subject: [Flashcoders] Flash Lite 2.0


For those of you who haven't seen it. Macromedia/Adobe have announced
the release of Flash Lite 2.0

http://www.macromedia.com/devnet/

As far as I can see this means
- You can now develop Flash 7 content for mobile phones (and maybe
other devices)
- You can download a player for several phones - all Nokia for some
reason but it will cost you $10 per phone
- You can download an authoring externsion for Flash 8 from
labs.macromedia.com (for free I think).

This all looks like pretty good news apart from the $10 player fee
which seems a bit bizarre given that
for flash to beat Java in the mobile world its got to get its penetration 
up.
I would have thought a better way of making money would be to charge
for the authoring environment or
player upgrades once the public has got used to Flash on phones.
It is possible that Macromedia/Adobe is offering discounts to phone
companies to bundle the player on their handsets
so that you'll be able to buy handsets with the player ready
installed, but we'll have to wait and see.

Still it all sounds pretty exciting, I might have replace my 5 year
old phone with a new Nokia now...

Joe

___
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-03 Thread Weyert de Boer

Hi Sander,

Thanks! This is great news can I say that when the camera works iMovie 
HD it will work with Flash too? I don't have such good quality camera at 
room at the moment, so I won't be able to test it out. Good reason to 
use my Apple too ;-)


Yours,
Weyert de Boer

Weyert,

Only my question is if it's possible to use a DV camera for the real 
installation instead of such webcam.


On Mac, any video source is good. I have an old Hi8 camera hooked up 
to an analog Miro Motion DC30 card using a non-official OSX driver. My 
entire system sees it, so does flash. I've used it on some sites that 
showcase bitmapData on video streams.


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



--No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.11/219 - Release Date: 1/2/2006




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


Re: [Flashcoders] > DV cameras and flash

2006-01-03 Thread Sander

Weyert,

Only my question is if it's possible to use a DV camera for the  
real installation instead of such webcam.


On Mac, any video source is good. I have an old Hi8 camera hooked up  
to an analog Miro Motion DC30 card using a non-official OSX driver.  
My entire system sees it, so does flash. I've used it on some sites  
that showcase bitmapData on video streams.


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


[Flashcoders] Flash Lite 2.0

2006-01-03 Thread Joe Cutting
For those of you who haven't seen it. Macromedia/Adobe have announced 
the release of Flash Lite 2.0


http://www.macromedia.com/devnet/

As far as I can see this means
- You can now develop Flash 7 content for mobile phones (and maybe 
other devices)
- You can download a player for several phones - all Nokia for some 
reason but it will cost you $10 per phone
- You can download an authoring externsion for Flash 8 from 
labs.macromedia.com (for free I think).


This all looks like pretty good news apart from the $10 player fee 
which seems a bit bizarre given that

for flash to beat Java in the mobile world its got to get its penetration up.
I would have thought a better way of making money would be to charge 
for the authoring environment or

player upgrades once the public has got used to Flash on phones.
It is possible that Macromedia/Adobe is offering discounts to phone 
companies to bundle the player on their handsets
so that you'll be able to buy handsets with the player ready 
installed, but we'll have to wait and see.


Still it all sounds pretty exciting, I might have replace my 5 year 
old phone with a new Nokia now...


Joe

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


[Flashcoders] > DV cameras and flash

2006-01-03 Thread Weyert de Boer

Hello

Sorry for all the dumb questions lately, but I am currently prototyping 
an interactive installation. Only I currently video source is a cheap 
webcam from iBot and/or Logitech. Only my question is if it's possible 
to use a DV camera for the real installation instead of such webcam. 
Does anyone have experience with this? The only information I could 
found about it is for FMS.  Any insight would be nice :-)


Yours,
Weyert de Boer
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] RE: Flashcoders Digest, Vol 12, Issue 4

2006-01-03 Thread Henry @ Tonic
If you're in Flash 8, it's the button that looks like a pair of angle brackets.

I should add, that if you *really* want to stick with text files, you could 
replace special characters with URLEncoded entities (like, %26 for ampersand) 
and it should work. But I wouldn't recommend it ;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tom
Sakell
Sent: 03 January 2006 18:04
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] RE: Flashcoders Digest, Vol 12, Issue 4


Johannes: 

Thanks for the excellent suggestion. I jumped back into my MX file
and ... can't find the HTML button that used to be a simple click in
older versions. Suggestions anyone?

Thanks much. 









Message: 8
Date: Tue, 3 Jan 2006 09:07:28 -0500
From: Johannes Nel <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] a Flash coding question
To: Flashcoders mailing list 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

set it to html text as well

On 1/3/06, Tom Sakell <[EMAIL PROTECTED]> wrote:
> Hello all: I've a pesky Flash question, and since it's a new Year,
> I'm going to move beyond lurker on this list. So.
>
> On my site, I use Flash "news" boxes: Scrolling text boxes that are
> populated by a TXT file outside the SWF file. They're easy to
upload,
> assign to others, etc. The coding is simple -- I'm barely using CSS
> in the TXT file.
>
> My problem: It won't allow special characters (apostrophes, %, &).
> When reading the text in the scrolling SWF file, everything stops at
> the offending character.
>
> I could really use these characters -- especially the ampersands.
> Anyone have an idea of why this is happening, or a work around?
>
> In the Flash file, I have the text as Dynamic.
>
> Tom Sakell
>
> 703.598.6857
> [EMAIL PROTECTED]
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

Tom Sakell

703.598.6857
[EMAIL PROTECTED]

___
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] recommended books on XML in Flash

2006-01-03 Thread Adrian Lynch
Thanks for that link. It's a good read.

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sander
Sent: 03 January 2006 17:53
To: Flashcoders mailing list
Subject: Re: [Flashcoders] recommended books on XML in Flash


Indeed: a good book on Xpath and possibly XHTML for flash and browser  
would be more interesting.

Bare in mind that player 8.5 has E4X support, which will change XML  
usage completely. If you're on Flex, you can start using E4X now,  
otherwise you have to wait for Flash 9.

http://www.brajeshwar.com/archives/2005/10/ 
e4x_or_ecmascript_for_xml_in_flash/

>>> xml capability in flash is so limited that its not worth buying a  
>>> book
>>> on the subject IMO. rather spend your time tracking down a few tuts
>>> and learn from those. lastly buy the moock book for the reference.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: Flashcoders Digest, Vol 12, Issue 4

2006-01-03 Thread Tom Sakell
Johannes: 

Thanks for the excellent suggestion. I jumped back into my MX file
and ... can't find the HTML button that used to be a simple click in
older versions. Suggestions anyone?

Thanks much. 









Message: 8
Date: Tue, 3 Jan 2006 09:07:28 -0500
From: Johannes Nel <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] a Flash coding question
To: Flashcoders mailing list 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

set it to html text as well

On 1/3/06, Tom Sakell <[EMAIL PROTECTED]> wrote:
> Hello all: I've a pesky Flash question, and since it's a new Year,
> I'm going to move beyond lurker on this list. So.
>
> On my site, I use Flash "news" boxes: Scrolling text boxes that are
> populated by a TXT file outside the SWF file. They're easy to
upload,
> assign to others, etc. The coding is simple -- I'm barely using CSS
> in the TXT file.
>
> My problem: It won't allow special characters (apostrophes, %, &).
> When reading the text in the scrolling SWF file, everything stops at
> the offending character.
>
> I could really use these characters -- especially the ampersands.
> Anyone have an idea of why this is happening, or a work around?
>
> In the Flash file, I have the text as Dynamic.
>
> Tom Sakell
>
> 703.598.6857
> [EMAIL PROTECTED]
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

Tom Sakell

703.598.6857
[EMAIL PROTECTED]

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


Re: [Flashcoders] recommended books on XML in Flash

2006-01-03 Thread Sander
Indeed: a good book on Xpath and possibly XHTML for flash and browser  
would be more interesting.


Bare in mind that player 8.5 has E4X support, which will change XML  
usage completely. If you're on Flex, you can start using E4X now,  
otherwise you have to wait for Flash 9.


http://www.brajeshwar.com/archives/2005/10/ 
e4x_or_ecmascript_for_xml_in_flash/


xml capability in flash is so limited that its not worth buying a  
book

on the subject IMO. rather spend your time tracking down a few tuts
and learn from those. lastly buy the moock book for the reference.



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


Re: [Flashcoders] Components development: collection item class problems

2006-01-03 Thread Michael Klishin

Michael Klishin wrote:


It's in, thanks Jesse. Other ideas?



Never mind guys, I just misspelled the class file name :)

Thanks for your time spent on it.

--
Michael "Antares" Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Components development: collection item class problems

2006-01-03 Thread Michael Klishin

JesterXL wrote:

Ensure it's getting compiled in.  Import is not enough.

import mx.something.TheCollectionClass;

private var dependCollection:TheCollectionClass;


It's in, thanks Jesse. Other ideas?

--
Michael "Antares" Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Components development: collection item class problems

2006-01-03 Thread JesterXL
Ensure it's getting compiled in.  Import is not enough.

import mx.something.TheCollectionClass;

private var dependCollection:TheCollectionClass;

- Original Message - 
From: "Michael Klishin" <[EMAIL PROTECTED]>
To: "Flashcoders ML" 
Sent: Tuesday, January 03, 2006 11:21 AM
Subject: [Flashcoders] Components development: collection item class 
problems


Hi,

I'm developing a component and running into troubles with Collections.
I'm consistently getting error that says collection items class is not
found.

If I just create an instance of that class in code in the same .FLA I
see no errors.

Furthermore if I start it all over compiler see no changes in Components
definition dialog and if there were errors in component's class compiler
throws error messages as if class wasn't changed. ASO files were killed
several times with no result.

What am I doing wrong? Thanks in advance.

Regards,
-- 
Michael "Antares" Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi
___
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] recommended books on XML in Flash

2006-01-03 Thread Merrill, Jason
Yes - I agree - I would actually recommend people learn to use something
like XPATH in Flash - should be able to get enough help from their site
and from this list.  

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Johannes Nel
>>Sent: Tuesday, January 03, 2006 11:19 AM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] recommended books on XML in Flash
>>
>>xml capability in flash is so limited that its not worth buying a book
>>on the subject IMO. rather spend your time tracking down a few tuts
>>and learn from those. lastly buy the moock book for the reference.
>>
>>On 1/3/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>>> 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
>>>
>>
>>
>>--
>>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] recommended books on XML in Flash

2006-01-03 Thread Weyert de Boer

Johannes Nel wrote:

xml capability in flash is so limited that its not worth buying a book
on the subject IMO. rather spend your time tracking down a few tuts
and learn from those. lastly buy the moock book for the reference
  
Yes, you can better spend your money on the moock book or luxery beer 
while learning Xml in Flash ;-)
I like the following class for Xml stuff: 
http://www.sephiroth.it/file_detail.php?id=129 also the references at: 
http://www.flashdeveloper.nl/g_flash_xml_faq.html


Yours,
Weyert de Boer

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


[Flashcoders] Components development: collection item class problems

2006-01-03 Thread Michael Klishin

Hi,

I'm developing a component and running into troubles with Collections. 
I'm consistently getting error that says collection items class is not 
found.


If I just create an instance of that class in code in the same .FLA I 
see no errors.


Furthermore if I start it all over compiler see no changes in Components 
definition dialog and if there were errors in component's class compiler 
throws error messages as if class wasn't changed. ASO files were killed 
several times with no result.


What am I doing wrong? Thanks in advance.

Regards,
--
Michael "Antares" Klishin,

Email: [EMAIL PROTECTED]
Web: www.novemberain.com

Non progredi est regredi
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] recommended books on XML in Flash

2006-01-03 Thread Johannes Nel
xml capability in flash is so limited that its not worth buying a book
on the subject IMO. rather spend your time tracking down a few tuts
and learn from those. lastly buy the moock book for the reference.

On 1/3/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
> 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
>


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


RE: [Flashcoders] recommended books on XML in Flash

2006-01-03 Thread Merrill, Jason
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


Re: [Flashcoders] > Camera oddities

2006-01-03 Thread Weyert de Boer

Works now. No idea, what the problem was.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] TextFormat constructor

2006-01-03 Thread Derek Vadneau
"underline:true" isn't valid, unless you are building an anonymous object.

You can pass the values like this but they're not named.  You have to pass 
the values in the order shown in the docs.  It would have been a lot more 
useful if you could pass an object ...


Derek Vadneau

- Original Message - 
From: "Mendelsohn, Michael" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, January 03, 2006 8:39 AM
Subject: [Flashcoders] TextFormat constructor


Hi list...

I thought you could instantiate a TextFormat object like this:

var tf:TextFormat = new TextFormat(underline:true, color:0xFF);

But that doesn't work as there's a compile error.  Why?

- MM


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


[Flashcoders] Re: JavaScript to Flash Communication Compatability

2006-01-03 Thread Jiri Heitlager

http://www.mustardlab.com/developer/flash/jscommunication/

[EMAIL PROTECTED] wrote:
Take a look at this.
I did not encounter any problems with browsers using the following:

http://www.mustardlab.com/developer/flash/jscommunication/

Happy newyear,

Jiri




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

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

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

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


Today's Topics:

   1. Re: JavaScript to Flash Communication Compatability
  (Jeff Mastropietro)
   2. Re: Undefine a Component (Charles Parcell)
   3. Re: JavaScript to Flash Communication Compatability
  (Nathan Derksen)
   4. Re: Singleton as associative array - yucky icky? (g.wygonik)
   5. Re: Remote Debugging + Flash Remoting = Frozen Browser.   FP8
  Bug? (Judah Frangipane)
   6. Re: JavaScript to Flash Communication Compatability
  (Jeff Mastropietro)
   7. Re: Re: calling a static method on dynamicallynamedclass?
  (Rich Rodecker)
   8. Re: Singleton as associative array - yucky icky? (Nathan Derksen)
   9. Re: Singleton as associative array - yucky icky? (JesterXL)
  10. > Difference keying (Weyert de Boer)
  11. Passing complex structure of parameters to webservice with
  ActionScript (Binyamin Bauman)
  12. RE: Passing complex structure of parameters towebservice
  with ActionScript (Adrian Lynch)
  13. Re: Singleton as associative array - yucky icky? (g.wygonik)
  14. Re: Singleton as associative array - yucky icky? (Nathan Derksen)
  15. Re: Singleton as associative array - yucky icky? (JesterXL)
  16. Re: Singleton as associative array - yucky icky? (JesterXL)
  17. Re: Re: calling a static method on dynamicallynamedclass?
  (Jim Kremens)


--

Message: 1
Date: Fri, 30 Dec 2005 09:20:47 -0800
From: Jeff Mastropietro <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] JavaScript to Flash Communication
Compatability
To: Flashcoders mailing list 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Nathan,

Thanks, I was aware of both of the Macromedia methods, and I have 
switched over to the Macromedia Flash JavaScript Integration Kit.  It 
has pretty poor documentation, and that is why I did not use it 
initially.  I need to support back to Flash 6, so ExternalInterface is 
out of the question. :(


The sad news is that it still doesn't work in Opera on maemo.  The 
project I am working on needs to run on the new Nokia 770, which runs 
maemo and uses Opera as the web browser.  The flash player version is 
6,0,82,0 which should be sufficient to work with my application which 
now is at version 6,0,65,0.  However, it seems that the LocalConnection 
class is not working, and as a result the Macromedia Flash JavaScript 
Integration Kit method does not work.


I've found some indication that this is a problem with the flash player 
plugin for Opera on Linux, and maemo.  The Macromedia page says it 
support Opera on Windows and Mac, but nothing about other platforms.


Jeff



Nathan Derksen wrote:


I haven't seen an up-to-date chart either. You may be interested in  
knowing that Macromedia already has two ways for you to do this. The  
first is the Flash JavaScript Integration Kit:


http://weblogs.macromedia.com/flashjavascript/

This uses legacy techniques to make what you are doing work in  
versions 8 to (I believe) 6, and works in Firefox 1.0+ and Opera 8+.


The other one is the Flash 8 ExternalInterface class. I have an  
example up at http://www.nathanderksen.com/blog/?p=11 and you can  
find the documentation at http://livedocs.macromedia.com/flash/8/main/ 
wwhelp/wwhimpl/common/html/wwhelp.htm? 
context=LiveDocs_Parts&file=2200.html. Very slick, but the  
browser support isn't as good and it only works in Flash 8.


Nathan
http://www.nathanderksen.com


On Dec 28, 2005, at 2:39 PM, Jeff Mastropietro wrote:


I'm working on a project using JavaScript to call functions in a  
flash movie.  I'm currently using the JSFCommunicator Library:

http://www.abdulqabiz.com/files/JSFC/JSFCommunicator%20Library.htm

What I would like to know is, is there a better object available?   
Also, I'm guessing that all solutions are going to be dependant on  
the .GetVariable and .SetVariable methods being available to  
JavaScript.  Does anyone know of a more up to date compatability  
chart than this one?


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

More specifically, I need to know compatability with Mozilla and  
Opera browsers.


Thanks,
Jeff

Re: [Flashcoders] Change layer/path of a MovieClip

2006-01-03 Thread Michael Bedar
You cannot change the parent of a movieclip in Flash 8, although from  
what I understand about 8.5 this will be possible.  If you want a  
movieclip on the root, why not make it there?


  tmp_mc=_root.attachMovie('blankClip', 'mc'+depth, depth);
  tmp_mc.loadMovie(moduleName+'.swf');
  
  thingie=tmp_mc.attachMovie(moduleName, 'mod'+depth, depth);



On Jan 3, 2006, at 8:12 AM, Minase wrote:


Hi,

I was hoping someone would be able to help me with a problem i've been
fiddling with for a long time. I would have thought it's fairly  
common,

but Googling and searching this ML archive has yeilded nothing, so...

I have a fairly complex application using Flash which i wont bore you
all with the specifics here, but basically you have one movie which
loads others as pluggable modules via external SWF files. These SWF
files contain a MovieClip symbol which is linked to an AS class,
which then displays stuff and communicates with the parent SWF via
a standard interface.
This is done with (what i assume is) the usual method of...

  tmp_mc=attachMovie('blankClip', 'mc'+depth, depth);
  tmp_mc.loadMovie(moduleName+'.swf');
  
  thingie=tmp_mc.attachMovie(moduleName, 'mod'+depth, depth);

It is my understanding that layers are a kind of tree like layout, is
this correct? So no matter what i do in tmp_mc.attachMovie() calls,
movieclips will always be in the same plane as tmp_mc as far as the
root clip is concerned.

What i need to do, is be able to somehow attach a symbol from the
moduleName+'.swf' file on a layer in the root space, not in tmp_mc's
space.
The reason for this, is the class that gets loaded for this particular
module may need to do some kind of overlay on the display, so it'd
make some call like mc=_root.requestOverlay(this, symbolName, etc  
etc).


Am i making sense so far?
There are three ways i can see to do this:

 1) Find a way to address symbols located in moduleName+'.swf' from
 the root MovieClip.

 2) Find a way to transfer MovieClips from one depth to
 another. I.e. tmp_mc.attachMovie(blah) and then move the result into
 root. This probably isn't possible...?

 3) The method i am currently using, is to simply just load the module
 SWF a second (or third, fourth, etc...) time into a different depth,
 and attach much as i would the main module clip. This seems wasteful,
 though... and it also makes implentation much more clumsy because the
 method in the root clip cannot return the overlay clip immediately,
 it simply returns a handle and then notifies the caller at a later
 time when it is loaded.

Is 1 or 2 possible? Or can you think of another method?


Regards,
 - Daniel



___
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] > Camera oddities

2006-01-03 Thread Robert A. Colvin
Make sure you check your global settings for
flash8--->http://www.macromedia.com/support/documentation/en/flashpl
ayer/help/settings_manager02.html


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weyert
de Boer
Sent: Tuesday, January 03, 2006 10:33 AM
To: Flashcoders mailing list
Subject: [Flashcoders] > Camera oddities

Hello!

I am playing with my new web camera in Flash 8. It works fine in Firefox

(tried it 
with:http://www.macromedia.com/devnet/flash/articles/webcam_motion_print
.html). 
Only when I used the included source files in Flash 8 nothing happens. 
It only popups the allow/deny popup dialogAnyone know why it works 
in Firefox but not in the standalone flash player, flash8 and IE ?
___
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] > Camera oddities

2006-01-03 Thread Weyert de Boer

Hello!

I am playing with my new web camera in Flash 8. It works fine in Firefox 
(tried it 
with:http://www.macromedia.com/devnet/flash/articles/webcam_motion_print.html). 
Only when I used the included source files in Flash 8 nothing happens. 
It only popups the allow/deny popup dialogAnyone know why it works 
in Firefox but not in the standalone flash player, flash8 and IE ?

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


RE: [Flashcoders] Change layer/path of a MovieClip

2006-01-03 Thread Johan Karlsson
Methods 1 and 2 is not possible. A movieclip can only be attached to a
timeline inside the "owning" swf.


One dirty fix would be to do the second load emidiatly after the "module"
has loaded. Since that usually would mean it loading from the cache it would
load to the next frame. And don't consider the loading done until this
second load is done.

Another thing you could do is to put the overlay movieclips into an swf of
their own and load it to the higher depth. And of course don't consider the
loading done until both movies are loaded.

/Johan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Minase
Sent: den 3 januari 2006 14:12
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Change layer/path of a MovieClip


Hi,

I was hoping someone would be able to help me with a problem i've been
fiddling with for a long time. I would have thought it's fairly common,
but Googling and searching this ML archive has yeilded nothing, so...

I have a fairly complex application using Flash which i wont bore you
all with the specifics here, but basically you have one movie which
loads others as pluggable modules via external SWF files. These SWF
files contain a MovieClip symbol which is linked to an AS class,
which then displays stuff and communicates with the parent SWF via
a standard interface.
This is done with (what i assume is) the usual method of...

  tmp_mc=attachMovie('blankClip', 'mc'+depth, depth);
  tmp_mc.loadMovie(moduleName+'.swf');
  
  thingie=tmp_mc.attachMovie(moduleName, 'mod'+depth, depth);

It is my understanding that layers are a kind of tree like layout, is
this correct? So no matter what i do in tmp_mc.attachMovie() calls,
movieclips will always be in the same plane as tmp_mc as far as the
root clip is concerned.

What i need to do, is be able to somehow attach a symbol from the
moduleName+'.swf' file on a layer in the root space, not in tmp_mc's
space.
The reason for this, is the class that gets loaded for this particular
module may need to do some kind of overlay on the display, so it'd
make some call like mc=_root.requestOverlay(this, symbolName, etc etc).

Am i making sense so far?
There are three ways i can see to do this:

 1) Find a way to address symbols located in moduleName+'.swf' from
 the root MovieClip.

 2) Find a way to transfer MovieClips from one depth to
 another. I.e. tmp_mc.attachMovie(blah) and then move the result into
 root. This probably isn't possible...?

 3) The method i am currently using, is to simply just load the module
 SWF a second (or third, fourth, etc...) time into a different depth,
 and attach much as i would the main module clip. This seems wasteful,
 though... and it also makes implentation much more clumsy because the
 method in the root clip cannot return the overlay clip immediately,
 it simply returns a handle and then notifies the caller at a later
 time when it is loaded.

Is 1 or 2 possible? Or can you think of another method?


Regards,
 - Daniel



___
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 Player 8.5 - Illegal Operation caused by ?

2006-01-03 Thread Michael Stuhr

eric dolecki schrieb:

Ok - I am working on fixing up those errors - but that still doesn't tell me
what is bombing the 8.5 player yet. Perhaps after a rev that might go away
or something.

err, sure it is not. just wanted to point out that there is a solution for the 
markup you may want to use.


doesn't really help on bugfixing the player problem i guess ;-)

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


Re: [Flashcoders] a Flash coding question

2006-01-03 Thread Miles Thompson


If necessary, feed XML with CDATA tag, on top of setting text field to 
htmlText.

Miles

At 10:07 AM 1/3/2006, Johannes Nel wrote:


set it to html text as well

On 1/3/06, Tom Sakell <[EMAIL PROTECTED]> wrote:
> Hello all: I've a pesky Flash question, and since it's a new Year,
> I'm going to move beyond lurker on this list. So.
>
> On my site, I use Flash "news" boxes: Scrolling text boxes that are
> populated by a TXT file outside the SWF file. They're easy to upload,
> assign to others, etc. The coding is simple -- I'm barely using CSS
> in the TXT file.
>
> My problem: It won't allow special characters (apostrophes, %, &).
> When reading the text in the scrolling SWF file, everything stops at
> the offending character.
>
> I could really use these characters -- especially the ampersands.
> Anyone have an idea of why this is happening, or a work around?
>
> In the Flash file, I have the text as Dynamic.
>
> Tom Sakell
>
> 703.598.6857
> [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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.14.11/219 - Release Date: 1/2/2006


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


Re: [Flashcoders] a Flash coding question

2006-01-03 Thread Johannes Nel
set it to html text as well

On 1/3/06, Tom Sakell <[EMAIL PROTECTED]> wrote:
> Hello all: I've a pesky Flash question, and since it's a new Year,
> I'm going to move beyond lurker on this list. So.
>
> On my site, I use Flash "news" boxes: Scrolling text boxes that are
> populated by a TXT file outside the SWF file. They're easy to upload,
> assign to others, etc. The coding is simple -- I'm barely using CSS
> in the TXT file.
>
> My problem: It won't allow special characters (apostrophes, %, &).
> When reading the text in the scrolling SWF file, everything stops at
> the offending character.
>
> I could really use these characters -- especially the ampersands.
> Anyone have an idea of why this is happening, or a work around?
>
> In the Flash file, I have the text as Dynamic.
>
> Tom Sakell
>
> 703.598.6857
> [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


[Flashcoders] a Flash coding question

2006-01-03 Thread Tom Sakell
Hello all: I've a pesky Flash question, and since it's a new Year,
I'm going to move beyond lurker on this list. So. 

On my site, I use Flash "news" boxes: Scrolling text boxes that are
populated by a TXT file outside the SWF file. They're easy to upload,
assign to others, etc. The coding is simple -- I'm barely using CSS
in the TXT file. 

My problem: It won't allow special characters (apostrophes, %, &).
When reading the text in the scrolling SWF file, everything stops at
the offending character. 

I could really use these characters -- especially the ampersands.
Anyone have an idea of why this is happening, or a work around? 

In the Flash file, I have the text as Dynamic. 

Tom Sakell

703.598.6857
[EMAIL PROTECTED]

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


[Flashcoders] TextFormat constructor

2006-01-03 Thread Mendelsohn, Michael
Hi list...

I thought you could instantiate a TextFormat object like this:

var tf:TextFormat = new TextFormat(underline:true, color:0xFF);

But that doesn't work as there's a compile error.  Why?

- MM

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


Re: [Flashcoders] > Craig Swann

2006-01-03 Thread Weyert de Boer
Troublesome, those BitmapData API. All those PHPing lately had a bad 
effect on my imaging lingo skills, :-(

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


Re: [Flashcoders] Flash Player 8.5 - Illegal Operation caused by ?

2006-01-03 Thread eric dolecki
Ok - I am working on fixing up those errors - but that still doesn't tell me
what is bombing the 8.5 player yet. Perhaps after a rev that might go away
or something.

edolecki

On 1/3/06, Michael Stuhr <[EMAIL PROTECTED]> wrote:
>
> ryanm schrieb:
> >> Firefox 1.0.6 also reports many syntax errors:
> >>
> >> Source Code:
> >> 
> >>
> > This is just Firefox being particular about the html being what it
> says
> > it is. You need to remove these doctype tags from the top of the page,
> > because it will never be HTML 4.0 with an embed tag inside of an object
> tag.
> > If you remove the doctype declaration Firefox won't call it an error
> > anymore.
> >
>
> you should better use UFO [1] or a similar solution for injecting you
> embed code.
>
> [1] http://www.bobbyvandersluis.com/ufo/
>
> micha
> ___
> 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] Change layer/path of a MovieClip

2006-01-03 Thread Minase
Hi,

I was hoping someone would be able to help me with a problem i've been
fiddling with for a long time. I would have thought it's fairly common,
but Googling and searching this ML archive has yeilded nothing, so...

I have a fairly complex application using Flash which i wont bore you
all with the specifics here, but basically you have one movie which
loads others as pluggable modules via external SWF files. These SWF
files contain a MovieClip symbol which is linked to an AS class,
which then displays stuff and communicates with the parent SWF via
a standard interface.
This is done with (what i assume is) the usual method of...

  tmp_mc=attachMovie('blankClip', 'mc'+depth, depth);
  tmp_mc.loadMovie(moduleName+'.swf');
  
  thingie=tmp_mc.attachMovie(moduleName, 'mod'+depth, depth);

It is my understanding that layers are a kind of tree like layout, is
this correct? So no matter what i do in tmp_mc.attachMovie() calls,
movieclips will always be in the same plane as tmp_mc as far as the
root clip is concerned.

What i need to do, is be able to somehow attach a symbol from the
moduleName+'.swf' file on a layer in the root space, not in tmp_mc's
space.
The reason for this, is the class that gets loaded for this particular
module may need to do some kind of overlay on the display, so it'd
make some call like mc=_root.requestOverlay(this, symbolName, etc etc).

Am i making sense so far?
There are three ways i can see to do this:

 1) Find a way to address symbols located in moduleName+'.swf' from
 the root MovieClip.

 2) Find a way to transfer MovieClips from one depth to
 another. I.e. tmp_mc.attachMovie(blah) and then move the result into
 root. This probably isn't possible...?

 3) The method i am currently using, is to simply just load the module
 SWF a second (or third, fourth, etc...) time into a different depth,
 and attach much as i would the main module clip. This seems wasteful,
 though... and it also makes implentation much more clumsy because the
 method in the root clip cannot return the overlay clip immediately,
 it simply returns a handle and then notifies the caller at a later
 time when it is loaded.

Is 1 or 2 possible? Or can you think of another method?


Regards,
 - Daniel



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


Re: [Flashcoders] (no subject)

2006-01-03 Thread Sander
I have a number of files all with names like  
"assessmentitem_15845.xml".

In each of these files, I have to replace a number (always 14772) with
15845 (comes from name of file).



Lieven,

I'm using a batch rename tool on Mac, called R-name. renames  
patterns, add stuff, replaces extensions,... I'm sure something  
similar is out there for Windows if you're not on Mac. Check  
Versiontracker for "batch rename"


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


Re: [Flashcoders] Flash Player 8.5 - Illegal Operation caused by ?

2006-01-03 Thread Michael Stuhr

ryanm schrieb:

Firefox 1.0.6 also reports many syntax errors:

Source Code:


This is just Firefox being particular about the html being what it says 
it is. You need to remove these doctype tags from the top of the page, 
because it will never be HTML 4.0 with an embed tag inside of an object tag. 
If you remove the doctype declaration Firefox won't call it an error 
anymore.




you should better use UFO [1] or a similar solution for injecting you embed 
code.

[1] http://www.bobbyvandersluis.com/ufo/

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


Re: [Flashcoders] Flash Player 8.5 - Illegal Operation caused by ?

2006-01-03 Thread ryanm

Firefox 1.0.6 also reports many syntax errors:

Source Code:


   This is just Firefox being particular about the html being what it says 
it is. You need to remove these doctype tags from the top of the page, 
because it will never be HTML 4.0 with an embed tag inside of an object tag. 
If you remove the doctype declaration Firefox won't call it an error 
anymore.


ryanm 


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


Re: [Flashcoders] (no subject)

2006-01-03 Thread Johannes Nel
ctrl-h

On 1/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Does anybody of you guys know if a replace like this is possible in
> eclipse :
>
>
>
> I have a number of files all with names like "assessmentitem_15845.xml".
> In each of these files, I have to replace a number (always 14772) with
> 15845 (comes from name of file).
>
>
>
> thx
>
>
>
> Vriendelijke groeten,
>
> Lieven Cardoen
>
> PointX Multimedia
>
> Engelse Wandeling 2 K18
>
> 8500 Kortrijk
>
> Tel. 056 35 23 89
>
> Fax 056 35 26 48
>
> www.pointx.be
>
>
>
>
>
> ___
> 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] > Craig Swann

2006-01-03 Thread Weyert de Boer
Does anyone got some sort of contact details of Craig Swann? I would 
like to ask him something about his presentation he did at Spark last 
year. Only he ain't responding on [EMAIL PROTECTED] Maybe someone 
else on this know some better way to contact him?


Yours,
Weyert de Boer
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] (no subject)

2006-01-03 Thread lieven.cardoen
Does anybody of you guys know if a replace like this is possible in
eclipse : 

 

I have a number of files all with names like "assessmentitem_15845.xml".
In each of these files, I have to replace a number (always 14772) with
15845 (comes from name of file).

 

thx

 

Vriendelijke groeten,

Lieven Cardoen

PointX Multimedia

Engelse Wandeling 2 K18

8500 Kortrijk

Tel. 056 35 23 89

Fax 056 35 26 48

www.pointx.be

 

 

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


Re: [Flashcoders] Caret position coords

2006-01-03 Thread Andreas Rønning

Except getTextExtent() is deprecated with no replacement since 8 O_o
Why is that?

- Andreas

Kalle Thyselius, inlovewith wrote:

i remember doing this a few years ago, using

— a loop (filling the textfield) and autoSize=true to determine if
there was a line break (you could determine this in other ways)
— and if _height > old_height in the loop, do
— letterCurrentY += LINE_HEIGHT

then use getTextExtent() to get _x.

i remember there was some margins and stuff inside the text field to
take into account, but it worked. the problem is it can be hard to
find out the constant LINE_HEIGHT.

good luck,

kalle


On 1/2/06, Michael Bedar <[EMAIL PROTECTED]> wrote:
  

To answer the original question - there is no direct way to do this,
although you can use the text-extent to get the x offset of the caret
fairly easily in a single line textfield.


On Jan 2, 2006, at 9:47 AM, Andreas Rønning wrote:



Is there a decent way of getting the _x / _y position of a caret in
a text box? Somehow compare the x/y of the textfield with the caret
index..?
Have a hard time getting an exact value from this.

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





--
inlovewith.com
inlovewith ltd.
kalle thyselius
linnégatan 76, stockholm, sweden
+ 46 707 602 600
inlovewith you
  



___
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