Re: [Flashcoders] Function

2005-12-07 Thread CARABUS mobile+
Solve, A stupid syntax error 


Le 5/12/05 8:58, « CARABUS mobile+ » <[EMAIL PROTECTED]> a écrit :

> I done this action :
> 
> There is a dynamic textfield (var2), a button (erase_btn)
> 
> I want to erase a text, with the onPress action, it doesn¹t
> 
> erase_btn.onPress = function() {
> this.var2.text = "";
> };
> 
> And it doesnt work, have U got an idea ?
> 
> 
> 
> ___
> 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] AS3 and duplicateMovieClip

2005-12-07 Thread Troy Rollins


On Dec 7, 2005, at 10:53 PM, Sascha Balkau wrote:

I'm not very familiar with AS3 yet but is there no duplicateMovieClip 
anymore? At least I couldn't find anything about it on the AS3 
reference 
(http://livedocs.macromedia.com/labs/1/flex/langref/index.html). Or 
does some of these methods completely have been replaced by something 
else?
With Flash 8 AS2 nothing has been changed about duplicateMovieClip, so 
it's still not possible to duplicate a clip from one container into 
another. I was hoping it will be possible with AS3.

Anyone knows more about it?


duplicateMovieClip() ->
flash.display.MovieClip.MovieClip()

(Replaced by new MovieClip class constructor function.)


Found under the AS2 to AS3 migration section.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

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


[Flashcoders] AS3 and duplicateMovieClip

2005-12-07 Thread Sascha Balkau

Hi list,

I'm not very familiar with AS3 yet but is there no duplicateMovieClip 
anymore? At least I couldn't find anything about it on the AS3 reference 
(http://livedocs.macromedia.com/labs/1/flex/langref/index.html). Or does 
some of these methods completely have been replaced by something else?
With Flash 8 AS2 nothing has been changed about duplicateMovieClip, so it's 
still not possible to duplicate a clip from one container into another. I 
was hoping it will be possible with AS3.

Anyone knows more about it?

Thanks,
Sascha

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


Re: [Flashcoders] Who wants MIDI in the Flash Player?

2005-12-07 Thread hank williams
On 12/7/05, ryanm <[EMAIL PROTECTED]> wrote:
> > Honestly I cant imagine that it is not possible to create a buffer
> > that stores numbers that represent sound waves where the flash engine
> > routes those numbers to the audio out driver. This would be no
> > different than the way flash handles the display buffer using exactly
> > the same methodology. The audio and sound techniques would be 100%
> > analagous.
> >
> *Some* kind of API could and should be exposed for developers, for sure.
> But only the Flash player should be writing directly to the sound buffer.


You keep refering to *the* sound buffer like it is some magical thing.
It is not. There isnt even an "it". The chips that do this stuff can
read from anyplace and convert that data into sound. And the drivers
provide a whole other level of indirection. Then flash opens up a
whole other level of indirection.

So I am not talking about "some" kind of API. I am talking about a
memory area that allows you to create sound waves. It is a sound
buffer (which can be anywhere in memory including inside a flash
sandbox) which is no different than a buffer that holds strings, or
bitmaps or whatever. In fact just like a string buffer, one can have
lots of sound buffers. Its just a memory area that holds data in 16bit
(or whatever) wave amplitudes.

Regards
Hank

> Now, maybe what they should do is add a synth to the player, and shoot for
> something unique and interesting instead of just pushing midi through. For
> example, people are buying up old Commodore 64 computers to pull the SID
> synth chip out because it is unique and is capable of producing sounds that
> modern synths just can't match without the help of samplers. Building a
> "soft-SID" into Flash would open up a whole new use for Flash: the
> production of software sequencers and sequenced-synth playback tools. It
> would also allow great depth in your soundtracks without heavy wav or mp3
> files.
>
> Midi could be extremely useful if there were low-level interfaces for
> it, so that you could attach devices that use midi to it and use the midi
> commands to control Flash, and vice versa. For example, this is a bottom of
> the line midi light controller:
>
> http://www.behringer.com/LC2412/index.cfm?lang=ENG
>
> It only handles 24 channels, but they make some that handle up to 2048
> midi channels. I don't have any idea what kind of Flash content could put
> such controls to use, but the best way to find out would be to make it
> possible, and then sit back and see what people do.
>
> ryanm
>
> ___
> 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] _framesloaded and _totalframes

2005-12-07 Thread Chris Hill
Yeah, this is a problem in flash. A better loading method is to use the 
MovieClipLoader class:


var mcl = new MovieClipLoader();

mcl.loadClip("movie.swf",_root.clipToLoadIn);
mcl.addListener(this);

onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, 
bytesTotal:Number) {
trace("loaded="+bytesLoaded+", total="+bytesTotal);

};




David Cohn wrote:


Hey all,

After using loadMovie on a blank movieclip, I do:

onClipEvent(data) {
trace("loaded="+this._framesloaded+", total="+this._totalframes);
}

...which always gives:
loaded=16000, total=65535
(both values should be way smaller)

Yet _currentframe reports the correct value... is there something I'm  
missing?


Thanks in advance,
--Dave


p.s. is there a way to search the flashcoders archives?


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



--
_
<   __ __     >
<  |  |  \/ ___\  Chris Hill  >
<  |  |  / /_/  > [EMAIL PROTECTED]>
<  |/\___  /  http://ubergeek.tv  >
<   /_/   The Smell of Geek!  >
<->

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


[Flashcoders] _framesloaded and _totalframes

2005-12-07 Thread David Cohn

Hey all,

After using loadMovie on a blank movieclip, I do:

onClipEvent(data) {
trace("loaded="+this._framesloaded+", total="+this._totalframes);
}

...which always gives:
loaded=16000, total=65535
(both values should be way smaller)

Yet _currentframe reports the correct value... is there something I'm  
missing?


Thanks in advance,
--Dave


p.s. is there a way to search the flashcoders archives?


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


Re: [Flashcoders] Who wants MIDI in the Flash Player?

2005-12-07 Thread Judah Frangipane

+1

I've programmed a software sampler back in the day called Vision Sampler 
Software. It was one of the funnest projects I did and got me into 
programming. I would love to have more access to the soundbuffer and 
midi controller.


Judah

Tyler Wright wrote:


The Flash Player has evolved through the ages to provide the most needed
functionality.  Through each version there have always remained a few common
goals.  What I have found is that:

Flash is small -- from the player itself to the swf file format to the
assets it is optimized to load, focus has been placed on small file sizes
(this of course is not as apparent in many websites that are heavy in
multimedia)

Flash supports standards -- the player supports many web and multimedia
formats standard in the industry, such as jpg, mp3 and xml

Flash is interactive -- the players greatest strength is the dynamic
behavoir through ActionScript to allow user interactivity

MIDI, a music standard format that most computers support today, fits all of
these categories (like a glove).  In fact there's an opensource project
being developed to allow MIDI through Flash, though it requires an
additional download and install to the user apart from the Flash Player
itself (seen at osflash.org)

I'd like to take a poll.  Do you think MIDI should be included in the Flash
Player?  Why or why not?  I want both votes and opinions as I'll organize
the results and send them off to "Adobe, formerly known as
Macromedia".
Please respond with some sort of opinion whether it's pro or con.  I'll list
the pros/cons I can think of below (you don't have to read the rest of this
email if you already have your opinion).

A little more on MIDI:
MIDI is a standard music format (some will argue that it's the
onlystandard) that represents pitches and instruments to be played as
a song.
It's extremely small, being the vector of music, and has to be interpreted
by a users soundcard.  Almost all computers these days support standard
MIDI, though it sounds synthesized (especially on the voice and string
instruments).  Some soundcards or additional software transform the common
MIDI into amazing orchestrations, but most users don't have this advanced
playback.

MIDI pros:
can be generated dynamically and played through a sequencer to allow
complete on-the-fly customization of sound.
very small in filesize
supported by almost all soundcards
numerous applications for the creation of MIDI songs (many are free)
it's a standard that has been around for a long time (so there is a lot of
support for it)
a small implementation (wouldn't increase the Flash Player size by more than
50K)

MIDI cons:
most people will have a more synthesized sound
user experience isn't guarenteed to be consistant (for those with higher
quality soundcards)
as with all advancements, could make it really easy for developers to have
annoying sounds playing on their sites ;)

In short, if the Flash Player had a midi sequencer built in it would allow
developers to create lightweight interactive music applications, such as this
sheet music rendering application  or music
creation applications.  It could also allow users to experience a website
that contained sound effects or decent background music at very little
bandwidth cost.  Formerly know as Macromedia has always been good about
listening to the developer community and will surely make efforts to build
the features we need, if we tell them.  This is your forum.

Tyler
___
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: Re: Flash is a single-threaded app? Maybe it'sjusttheAVM? or...

2005-12-07 Thread David Rorex
You can always write some kind of wrapper, so you don't have to mess
around with empty
movieclips, and onEnterFrame, etc.

function caluculateStuff()
{
   // set up any data needed for calculation
   // ...

   TaskManager.forloop(loopFunction, 1, 10, finalFunction);

   function loopFunction(var i:Number)
   {
trace("calculating number: "+i); //traces out 1 thru 10
   }

   function finalFunction()
   {
trace("calculation complete!");
   }
}


Then internally in TaskManager, you only run 1 loop per frame, or you
could use getTimer() to measure how long it is taking, and do as many
per frame as you can, without slowing things down too much. It's
slightly more typing than a simple for loop, but it's not that bad.

I'll leave the implementation of TaskManager as an exercise for the reader :)

-David R

On 12/7/05, Chris Allen <[EMAIL PROTECTED]> wrote:
> Hahaha,
>
> Okay your point is well taken.  Especially since I am currently working on
> fixing a multi-threaded Java socket application at the moment.
> Multi-threaded programing isn't a walk in the park, that's for sure.  But,
> with that said, depending on how Scott implements his MovieClip approach it
> might be a lot cleaner than doing onEnterFrame() all over the place.  It
> certainly sounds like a legitimate approach to me.
>
> -Chris
>
> On 12/7/05, A.Cicak <[EMAIL PROTECTED]> wrote:
> >
> > Believe me multithreding is lot harder to debug, read and maintain in most
> > cases assuming that onEnterFrame is not made
> > in way that you put 20 loops all in one function (onEnterFrame) . You
> > could
> > make object (MultiLoop) which has method Update, some private counters,
> > etc.
> > and for each problematic loop you just make object MultiLoop, define its
> > Update method, add it to array, and in on enter frame loop through that
> > array and for each element call Update. In this way you could even do
> > stuff
> > like set priority to each loop, and for example call update in each pass
> > same number of times as is MultiLoop.Priority value. Code to process all
> > loops including priority support wouldnt be longer that 10-15 lines of
> > code,
> > and thats only thing you put in onEnterFrame. Although in real world
> > program
> > should be designed so there are not too much "problematic loops" anyway.
> >
> >
> > "Chris Allen" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > On 12/7/05, A.Cicak <[EMAIL PROTECTED]> wrote:
> > > I dont understand how your UI could lock in the first place? Sockets and
> > > sounds are already working in another thread and all other code which
> > > could
> > > lock the UI (like some long loops, etc.) can be made by "emulating" loop
> > > with onEnterFrame and few
> > > counters.
> >
> > Yeah, but onEnterFrame and counters make for some pretty nasty code
> > that is hard to read, debug, maintain, etc...
> >
> > >
> > > "Scott Hyndman" <[EMAIL PROTECTED]> wrote in message
> > > news:[EMAIL PROTECTED]
> > > Windows 3.1 was single threaded. As I understand it, programs would hook
> > > into the event loop and be given a handle. While they held the handle,
> > > they could run their own code, but they were supposed to release it when
> > > they were finished to allow other running programs to use it.
> > >
> > > I guess what I'm trying to say is quite a bit you can do without
> > > multiple threads.
> > >
> > > And just as a side note, I came up with an interesting idea today on how
> > > to emulate multiple threads in Flash. Just use more than one movie! Talk
> > > between the UI movie and the background worker movie with a
> > > LocalConnection object, and you're in business. No more UI lock.
> > >
> > > Scott
> > >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Boon
> > > Chew
> > > Sent: December 3, 2005 8:24 PM
> > > To: Flashcoders mailing list
> > > Subject: [Flashcoders] Flash is a single-threaded app? Maybe it's just
> > > theAVM? or...
> > >
> > >
> > >   I have read in this  forum that someone loosely coined the phrase
> > > "Flash is a single thread  app", it's hard to imagine something as high
> > > performance and intricate  as Flash to be a single-threaded app.
> > >
> > >   So I started to take the above statement to mean that the Actionscript
> > > VM executes all the code in a sequential fashion but that Flash player
> > > itself is multithreaded, is that a right assumption?
> > >
> > >   And what about code that are asynchronous in nature, such as sound
> > > playing ( new Sound(), onSoundComplete), server-side call  return (such
> > > as LoadVars, XML.onLoad)?  Are these all happening in the single thread
> > > of code execution?
> > >
> > >   Looks like a book on Flash and AVM Internal would be nice. :)
> > >
> > >   - boon
> > >
> > >
> > >
> > > -
> > >  Yahoo! Personals
> > >  Single? There's someone we'd like you to meet.
> > >  Lots of someones, actually. Try Yahoo! Pers

Re: [Flashcoders] Who wants MIDI in the Flash Player?

2005-12-07 Thread Weyert de Boer
The availability of MIDI would be nice! It will avoid the use of a 
simple server/client system. Most of the time at school we use a old 
keyboard for it. For example, earlier this month some class mates used 
it to make a music painting canvas. This means you use a old wireless 
keyboard, and use a lot of buttons which are all associated with a 
unique key. Now if you press a button with your brush, the computer 
receives a specific letter. Because Flash doesn't have any problem with 
this -- you can associate a specific key range with a specific sound. It 
was really nice.

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


Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Count Schemula
Macromedia was a little more straight-up with their downloads though.
The only thing I really like on the surface of this merger is the fact
the Macromedia apps will get tabbed palettes back.

Anyhow, as an example. I had a client over and he needed to open a
PDF. I had a newly formatted laptop and said, sure, use this laptop,
just download the PDF viewer.

A couple of days later I use the laptop, and I had Yahoo! toolbar
going on. I had some sort of Photoshop Starter Something I don't even
know what going on. I'm sure he just went did whatever seemed like the
default download, but unfortunately, I ended up with a bunch of stuff
I did not want on my computer.

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


Re: [Flashcoders] Who wants MIDI in the Flash Player?

2005-12-07 Thread David Rorex
On 12/7/05, ryanm <[EMAIL PROTECTED]> wrote:
> > Raw sockets, are still restricted by the same cross-domain
> > restrictions as exist in flash 7 & 8, so sites have to specifically
> > allow flash clients to connect (opt-in)
> >
> Well, obviously, a virus author would allow connections from other
> domains, to allow his virus to spread. The cross-domain restrictions protect
> the *server* from your flash, not the client.
>
> > direct access to sound buffer? how could there be any security
> > problems with this? flash already can play sounds, so the most direct
> > access would let you do, is create very strange sounds that maybe you
> > couldn't compress in mp3? maybe you could write some kind of nerual
> > virus, that when people hear it, in infects their brain?
> >
> No, direct access would let you write *any* kind of binary data to the
> sound buffer, and when the sound buffer overflows, that data gets dumped
> into a predictable place (in memory or to disk, depending on the OS, etc).
> If they can find a way to execute that code they can install a virus on the
> client, bypassing both the virus scanner and the firewall. It's old school,
> I know, but it is still being used by viruses all the time. Add into the
> equation file system access and you've got a whole list of ways to
> compromise the client with an innocent-looking Flash x-mas card.
>
> ryanm

All the time? Can you provide any examples? I'm somewhat curious about this now.

Even if this were true, all MM would have to do to prevent this, is
just add some checks in the flash runtime so that it doesn't let you
write past the end of the buffer. Like:

// pseudo code of internal flash player logic
function SoundDevice.fillBuffer(data:ByteArray):Boolean {
   if(data.length > _internalSoundBuffer.length)
   return false;
   _internalSoundBuffer.copyData(data, data.length);
   return true;
}

Not exactly rocket science. Buffer overflows are preventable.

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


Re: [Flashcoders] Who wants MIDI in the Flash Player?

2005-12-07 Thread ryanm

Honestly I cant imagine that it is not possible to create a buffer
that stores numbers that represent sound waves where the flash engine
routes those numbers to the audio out driver. This would be no
different than the way flash handles the display buffer using exactly
the same methodology. The audio and sound techniques would be 100%
analagous.

   *Some* kind of API could and should be exposed for developers, for sure. 
But only the Flash player should be writing directly to the sound buffer. 
Now, maybe what they should do is add a synth to the player, and shoot for 
something unique and interesting instead of just pushing midi through. For 
example, people are buying up old Commodore 64 computers to pull the SID 
synth chip out because it is unique and is capable of producing sounds that 
modern synths just can't match without the help of samplers. Building a 
"soft-SID" into Flash would open up a whole new use for Flash: the 
production of software sequencers and sequenced-synth playback tools. It 
would also allow great depth in your soundtracks without heavy wav or mp3 
files.


   Midi could be extremely useful if there were low-level interfaces for 
it, so that you could attach devices that use midi to it and use the midi 
commands to control Flash, and vice versa. For example, this is a bottom of 
the line midi light controller:


http://www.behringer.com/LC2412/index.cfm?lang=ENG

   It only handles 24 channels, but they make some that handle up to 2048 
midi channels. I don't have any idea what kind of Flash content could put 
such controls to use, but the best way to find out would be to make it 
possible, and then sit back and see what people do.


ryanm 


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


Re: [Flashcoders] Who wants MIDI in the Flash Player?

2005-12-07 Thread ryanm

Raw sockets, are still restricted by the same cross-domain
restrictions as exist in flash 7 & 8, so sites have to specifically
allow flash clients to connect (opt-in)

   Well, obviously, a virus author would allow connections from other 
domains, to allow his virus to spread. The cross-domain restrictions protect 
the *server* from your flash, not the client.



direct access to sound buffer? how could there be any security
problems with this? flash already can play sounds, so the most direct
access would let you do, is create very strange sounds that maybe you
couldn't compress in mp3? maybe you could write some kind of nerual
virus, that when people hear it, in infects their brain?

   No, direct access would let you write *any* kind of binary data to the 
sound buffer, and when the sound buffer overflows, that data gets dumped 
into a predictable place (in memory or to disk, depending on the OS, etc). 
If they can find a way to execute that code they can install a virus on the 
client, bypassing both the virus scanner and the firewall. It's old school, 
I know, but it is still being used by viruses all the time. Add into the 
equation file system access and you've got a whole list of ways to 
compromise the client with an innocent-looking Flash x-mas card.


ryanm 


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


Re: [Flashcoders] Screen Capture with Flash

2005-12-07 Thread JesterXL
geek

Just stay limber, and the Flash will groove yer bones!

- Original Message - 
From: "Steven Sacks" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Wednesday, December 07, 2005 5:45 PM
Subject: RE: [Flashcoders] Screen Capture with Flash


> So, the Jessen Warden posted about a NSYNC card video to do that using
> screen capture. www.jessewarden.com

I prefer the BackstreetBoys card video.

___
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] Screen Capture with Flash

2005-12-07 Thread Steven Sacks
> So, the Jessen Warden posted about a NSYNC card video to do that using
> screen capture. www.jessewarden.com

I prefer the BackstreetBoys card video.

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


RE: [Flashcoders] How to make a class instance self-destructible?

2005-12-07 Thread Steven Sacks
> Is there a way to verify that the onLoad is indeed 
> orphaned in the VM memory pool?

Not directly in code.  The way we discovered it is that we were writing an
app that was designed to stay open for many hours and was loading XML data
regularly.  Flash's memory usage was going steadily up and up and up even
though we were deleting the XML object.  We discovered that deleting the
onLoad method we assigned did exactly what we expected it to do.  Flash's
memory usage would go up when the XML loaded, then go back down to where it
was before.

Best thing to do is open the Windows Task Manager and watch Flash's memory
usage to see if you're having memory waste issues.  If you're only calling a
potential memory wasting thread rarely, call it every five seconds or so
instead to speed up the process and see if the garbage collector is working
how you expect it to or if you need to review for memory wasting code.

HTH,
Steven

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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

Sweet that works. thanks for the update! ;)

Mike Boutin
Juicy Studios

Merrill, Jason wrote:


By the way Martin, I hope I didn't come across as being unappreciative -
thanks again for your help.  Mike too.  Mike, if it's any less painful,
while not pretty, I knocked it down to a single line and this works:

myText=XMLNode((XPath.selectNodes(myxml,"myNodePath/mynode()")[0])).node
Value;


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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Merrill, Jason
By the way Martin, I hope I didn't come across as being unappreciative -
thanks again for your help.  Mike too.  Mike, if it's any less painful,
while not pretty, I knocked it down to a single line and this works:

myText=XMLNode((XPath.selectNodes(myxml,"myNodePath/mynode()")[0])).node
Value;


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] Loading multiple XML files

2005-12-07 Thread Adrian Lynch
I've not had to do that for XML files, but I have done it with images, i.e.
load all images before continuing.

This was the part of the code that did that(ignore most of it as it's out of
context):


images[i] = createClassObject(mx.controls.Loader, "test" + i, i);
images[i].autoLoad = false;
images[i].scaleContent = false;
images[i].contentPath = a["path"];
images[i].move(OFF_SCREEN_X, OFF_SCREEN_Y); // Move off screen till needed

images[i].lo = new Object();
images[i].lo.complete = function(eventObject){

noLoaded++;

if ( noLoaded == noOfImages ) {
start();
}

};
images[i].addEventListener("complete", images[i].lo);

images[i].load();


With "noLoaded == noOfImages" being the check to see if all images had
loaded.

The same could be done for the XML files but I'm guessing you might want to
do more with them before continuing.

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Merrill,
Jason
Sent: 07 December 2005 21:52
To: Flashcoders mailing list
Subject: [Flashcoders] Loading multiple XML files


Anyone have a good function example or a class for loading several XML
files and delaying the playhead advance until all files are loaded?

I have tried writing my own, but Flash chokes eventually.

Thanks.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com

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


Re: [Flashcoders] Flash 8 security settings tool

2005-12-07 Thread Sebastian Porto
Maybe you are refering to this:
Flash Local Content Updater
http://www.macromedia.com/support/flashplayer/downloads.html


On 12/3/05, Mike Mountain <[EMAIL PROTECTED]> wrote:
> I may have been dreaming but I'm sure someone posted a link for a tool
> to disable the sandbox for flash 8 swfs running in embedded apps.
>
> Anyone repost?
>
> I know about the activeX settings,
>
> http://www.macromedia.com/devnet/flash/articles/fplayer8_security_08.htm
> l
>
> but if we had a tool which would just alter the swf it would be fab.
>
> Ta
>
> M
> ___
> 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] Problem with xml loading a second time

2005-12-07 Thread Paul Steven
Thanks a million Johannes, I had completely overlooked that.

Cheers

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Johannes
Nel
Sent: 07 December 2005 21:37
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Problem with xml loading a second time


u are recreating the xml object thus destroying the reference to the onLoad
function. try just doing another load call without all the other stuff

On 12/7/05, Paul Steven <[EMAIL PROTECTED]> wrote:
>
> Anyone have any idea about this one? I am still struggling to solve the
> problem:(
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Paul
> Steven
> Sent: 07 December 2005 09:01
> To: Flashcoders mailing list
> Subject: [Flashcoders] Problem with xml loading a second time
>
>
> Hi there
>
> I am loading in some xml to get the values for a Poll on my site. This
> works
> fine when the page first loads. However after someone has voted in the
> Poll
> I then want to read in the new values from the xml file.
>
> The code I have is as follows:
>
> pollData = new XML();
> pollData.ignoreWhite = true;
> pollData.load("xml/movies_poll.xml?uniqueID=" + getTimer());
>
>
>
> pollData.onLoad = function(success){
>
> trace("XML file loaded");
>
> if(success){
> // my code goes in here
> } else {
> trace("XML file could not be loaded");
> }
>
> }
>
> As I said, this works fine when I first load the page.
>
> After a vote I then call the following function
>
> Get_Poll_Data();
>
> i.e
>
> function Get_Poll_Data() {
>
> trace ("Get Poll Data");
>
> //load in XML
> pollData = new XML();
> pollData.ignoreWhite = true;
> pollData.load("xml/movies_poll.xml?uniqueID=" + getTimer());
>
>
> };
>
> However it is not reloading the xml file again and I have no idea why not.
> It does not appear to be calling the .onLoad function the second time
>
> Any help much appreciated.
>
> Thanks
>
> Paul
>
> ___
> 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
>



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


[Flashcoders] Loading multiple XML files

2005-12-07 Thread Merrill, Jason
Anyone have a good function example or a class for loading several XML
files and delaying the playhead advance until all files are loaded?

I have tried writing my own, but Flash chokes eventually. 

Thanks.

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] Problem with xml loading a second time

2005-12-07 Thread Johannes Nel
u are recreating the xml object thus destroying the reference to the onLoad
function. try just doing another load call without all the other stuff

On 12/7/05, Paul Steven <[EMAIL PROTECTED]> wrote:
>
> Anyone have any idea about this one? I am still struggling to solve the
> problem:(
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Paul
> Steven
> Sent: 07 December 2005 09:01
> To: Flashcoders mailing list
> Subject: [Flashcoders] Problem with xml loading a second time
>
>
> Hi there
>
> I am loading in some xml to get the values for a Poll on my site. This
> works
> fine when the page first loads. However after someone has voted in the
> Poll
> I then want to read in the new values from the xml file.
>
> The code I have is as follows:
>
> pollData = new XML();
> pollData.ignoreWhite = true;
> pollData.load("xml/movies_poll.xml?uniqueID=" + getTimer());
>
>
>
> pollData.onLoad = function(success){
>
> trace("XML file loaded");
>
> if(success){
> // my code goes in here
> } else {
> trace("XML file could not be loaded");
> }
>
> }
>
> As I said, this works fine when I first load the page.
>
> After a vote I then call the following function
>
> Get_Poll_Data();
>
> i.e
>
> function Get_Poll_Data() {
>
> trace ("Get Poll Data");
>
> //load in XML
> pollData = new XML();
> pollData.ignoreWhite = true;
> pollData.load("xml/movies_poll.xml?uniqueID=" + getTimer());
>
>
> };
>
> However it is not reloading the xml file again and I have no idea why not.
> It does not appear to be calling the .onLoad function the second time
>
> Any help much appreciated.
>
> Thanks
>
> Paul
>
> ___
> 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
>



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


RE: [Flashcoders] Problem with xml loading a second time

2005-12-07 Thread Paul Steven
Anyone have any idea about this one? I am still struggling to solve the
problem:(

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Steven
Sent: 07 December 2005 09:01
To: Flashcoders mailing list
Subject: [Flashcoders] Problem with xml loading a second time


Hi there

I am loading in some xml to get the values for a Poll on my site. This works
fine when the page first loads. However after someone has voted in the Poll
I then want to read in the new values from the xml file.

The code I have is as follows:

pollData = new XML();
pollData.ignoreWhite = true;
pollData.load("xml/movies_poll.xml?uniqueID=" + getTimer());



pollData.onLoad = function(success){

trace("XML file loaded");

if(success){
// my code goes in here
} else {
trace("XML file could not be loaded");
}

}

As I said, this works fine when I first load the page.

After a vote I then call the following function

Get_Poll_Data();

i.e

function Get_Poll_Data() {

trace ("Get Poll Data");

//load in XML
pollData = new XML();
pollData.ignoreWhite = true;
pollData.load("xml/movies_poll.xml?uniqueID=" + getTimer());


};

However it is not reloading the xml file again and I have no idea why not.
It does not appear to be calling the .onLoad function the second time

Any help much appreciated.

Thanks

Paul

___
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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin
Yes i agree it would be nice if it was a one liner :) since its kind of 
defeating the purpose of why I like using xpath in the first place.


Merrill, Jason wrote:


OK Martin, you win, that works, thanks. :) But it IS a pain in the ass
to have to use three lines of code to get a single string from an XML
file, don't you think?  It could be compacted into one or two lines, but
it would be even messier.

 


var nodes:Array = XPath.selectNodes(my_xml, "/pathto[1]/xml/text()");
var textnode:XMLNode = XMLNode(nodes[0]);
var text:String = textnode.nodeValue;
 



Thanks for the help.  I hope AS 3 will address some of these issues.
But I think its going to be the same thing  most likely.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










 


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Morten Barklund Shockwaved
Sent: Wednesday, December 07, 2005 4:02 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Xpath and HTML tags inside XML bug?

Mike Boutin wrote:
 


even in this case the result is undefined

string = XPath.selectNodes(my_xml, "/pathto[1]/xml").nodeValue;
   


I've just gotten the libraries, and it is exactly as I expected.
selectNodes returns an Array of XMLNode-objects. Even the notion of
/text() is just to get the node, which has no name, as it is a
 


textnode
 


- but it does not mean, that it will return the text. The function
 


will
 


still return an array of XMLNode-objects. So in order to actually get
the text, you need to select the corrent index in the array, and then
get the nodeValue from the XMLNode. given:

var nodes:Array = XPath.selectNodes(my_xml, "/pathto[1]/xml/text()");
var textnode:XMLNode = XMLNode(nodes[0]);
var text:String = textnode.nodeValue;

That would be the proper way to do this perfectly and correctly. And
rather OOP and nice too :)

--
Morten Barklund - Information Architect - Shockwaved
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Merrill, Jason
OK Martin, you win, that works, thanks. :) But it IS a pain in the ass
to have to use three lines of code to get a single string from an XML
file, don't you think?  It could be compacted into one or two lines, but
it would be even messier.

>>var nodes:Array = XPath.selectNodes(my_xml, "/pathto[1]/xml/text()");
>>var textnode:XMLNode = XMLNode(nodes[0]);
>>var text:String = textnode.nodeValue;

Thanks for the help.  I hope AS 3 will address some of these issues.
But I think its going to be the same thing  most likely.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Morten Barklund Shockwaved
>>Sent: Wednesday, December 07, 2005 4:02 PM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] Xpath and HTML tags inside XML bug?
>>
>>Mike Boutin wrote:
>>> even in this case the result is undefined
>>>
>>> string = XPath.selectNodes(my_xml, "/pathto[1]/xml").nodeValue;
>>
>>I've just gotten the libraries, and it is exactly as I expected.
>>selectNodes returns an Array of XMLNode-objects. Even the notion of
>>/text() is just to get the node, which has no name, as it is a
textnode
>>- but it does not mean, that it will return the text. The function
will
>>still return an array of XMLNode-objects. So in order to actually get
>>the text, you need to select the corrent index in the array, and then
>>get the nodeValue from the XMLNode. given:
>>
>>var nodes:Array = XPath.selectNodes(my_xml, "/pathto[1]/xml/text()");
>>var textnode:XMLNode = XMLNode(nodes[0]);
>>var text:String = textnode.nodeValue;
>>
>>That would be the proper way to do this perfectly and correctly. And
>>rather OOP and nice too :)
>>
>>--
>>Morten Barklund - Information Architect - Shockwaved
>>Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
>>Phone: +45 7027 2227 - Fax: +45 3369 1174
>>___
>>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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

Perfect, thanks for the help!



Morten Barklund Shockwaved wrote:


Mike Boutin wrote:


even in this case the result is undefined

string = XPath.selectNodes(my_xml, "/pathto[1]/xml").nodeValue;



I've just gotten the libraries, and it is exactly as I expected. 
selectNodes returns an Array of XMLNode-objects. Even the notion of 
/text() is just to get the node, which has no name, as it is a 
textnode - but it does not mean, that it will return the text. The 
function will still return an array of XMLNode-objects. So in order to 
actually get the text, you need to select the corrent index in the 
array, and then get the nodeValue from the XMLNode. given:


var nodes:Array = XPath.selectNodes(my_xml, "/pathto[1]/xml/text()");
var textnode:XMLNode = XMLNode(nodes[0]);
var text:String = textnode.nodeValue;

That would be the proper way to do this perfectly and correctly. And 
rather OOP and nice too :)




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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Morten Barklund Shockwaved

Mike Boutin wrote:

even in this case the result is undefined

string = XPath.selectNodes(my_xml, "/pathto[1]/xml").nodeValue;


I've just gotten the libraries, and it is exactly as I expected. 
selectNodes returns an Array of XMLNode-objects. Even the notion of 
/text() is just to get the node, which has no name, as it is a textnode 
- but it does not mean, that it will return the text. The function will 
still return an array of XMLNode-objects. So in order to actually get 
the text, you need to select the corrent index in the array, and then 
get the nodeValue from the XMLNode. given:


var nodes:Array = XPath.selectNodes(my_xml, "/pathto[1]/xml/text()");
var textnode:XMLNode = XMLNode(nodes[0]);
var text:String = textnode.nodeValue;

That would be the proper way to do this perfectly and correctly. And 
rather OOP and nice too :)


--
Morten Barklund - Information Architect - Shockwaved
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Mike Chambers
Based on the workflows shown by Kevin Lynch at the Spark Europe 
conference, I would think about it more as an app runtime than a browser.


mike chambers

Merrill, Jason wrote:


So Apollo will be a sort of web browser that has a flash and PDF
renderer built in?  


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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

Where is the documentation on selectSingleNode

It doesnt seem to be in flash 8 help files.

Johannes Nel wrote:


use the selectSingleNode method or use the array accessor

On 12/7/05, Mike Boutin <[EMAIL PROTECTED]> wrote:
 


even in this case the result is undefined

string = XPath.selectNodes(my_xml, "/pathto[1]/xml").nodeValue; 

Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Johannes Nel
use the selectSingleNode method or use the array accessor

On 12/7/05, Mike Boutin <[EMAIL PROTECTED]> wrote:
>
> even in this case the result is undefined
>
> string = XPath.selectNodes(my_xml, "/pathto[1]/xml").nodeValue;  >>j:pn
> >>
> >>
> >>
> >
> >
> >
> >--
> >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
>



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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

even in this case the result is undefined

string = XPath.selectNodes(my_xml, "/pathto[1]/xml").nodeValue; 

Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

string = XPath.selectNodes(my_xml, "/path/to/nodes").nodeValue;

This results in undefined.

Johannes Nel wrote:


try dropping the last slash in ur xpath statement

On 12/7/05, Merrill, Jason <[EMAIL PROTECTED]> wrote:
 


Why is it a workaround? Doesn't the XPath return the XMLNode?
I haven't used this XPath-extension, but maybe I should check i out.
   


Morten, I'm not sure it returns the actual node - it might convert it to
another object instead because I too cannot get your suggestions to
work.  Could you send an xfactorstudio Xpath Actionscript example of
what you mean?  If you haven't used those classes before, then its
interesting that you are giving advice about a product you don't seem to
know the details of.  I like Mike cannot get your suggestions to work,
which if I am interpreting correctly, would mean:

myString =
XPath.selectNodes(my_xml,"rootNode/myChildNodeNode/myChildNode/").nodeVa
lue;

That returns undefined when I try it.  Or are you suggesting something
else?



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

   





--
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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Merrill, Jason
>>I was able to use xpath to return some html then use
>>nodeValue on that.

Can you send me an actionscript example of how you did that? I'm not
even that far yet.

This returns "undefined":

myNode = XPath.selectNodes(config_xml,"config/welcome/introduction");

This works and returns the string (but with the unwanted gobbledegook):

myNode =
XPath.selectNodes(config_xml,"config/welcome/introduction/text()");



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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Johannes Nel
sorry no, u r doing a query which returns an array, try slectSingleNode, and
that will work

On 12/7/05, Johannes Nel <[EMAIL PROTECTED]> wrote:
>
> try dropping the last slash in ur xpath statement
>
> On 12/7/05, Merrill, Jason <[EMAIL PROTECTED] > wrote:
> >
> > >>Why is it a workaround? Doesn't the XPath return the XMLNode?
> > >>I haven't used this XPath-extension, but maybe I should check i out.
> >
> > Morten, I'm not sure it returns the actual node - it might convert it to
> > another object instead because I too cannot get your suggestions to
> > work.  Could you send an xfactorstudio Xpath Actionscript example of
> > what you mean?  If you haven't used those classes before, then its
> > interesting that you are giving advice about a product you don't seem to
> > know the details of.  I like Mike cannot get your suggestions to work,
> > which if I am interpreting correctly, would mean:
> >
> > myString =
> > XPath.selectNodes(my_xml,"rootNode/myChildNodeNode/myChildNode/").nodeVa
> > lue;
> >
> > That returns undefined when I try it.  Or are you suggesting something
> > else?
> >
> >
> >
> > 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
> >
>
>
>
> --
> j:pn
>



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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Johannes Nel
try dropping the last slash in ur xpath statement

On 12/7/05, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>
> >>Why is it a workaround? Doesn't the XPath return the XMLNode?
> >>I haven't used this XPath-extension, but maybe I should check i out.
>
> Morten, I'm not sure it returns the actual node - it might convert it to
> another object instead because I too cannot get your suggestions to
> work.  Could you send an xfactorstudio Xpath Actionscript example of
> what you mean?  If you haven't used those classes before, then its
> interesting that you are giving advice about a product you don't seem to
> know the details of.  I like Mike cannot get your suggestions to work,
> which if I am interpreting correctly, would mean:
>
> myString =
> XPath.selectNodes(my_xml,"rootNode/myChildNodeNode/myChildNode/").nodeVa
> lue;
>
> That returns undefined when I try it.  Or are you suggesting something
> else?
>
>
>
> 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
>



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


RE: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Merrill, Jason
>>Still wasnt able to get it working.  I had to resort to using
nodeValue
>>instead. pain in the ass

So basically, unless Martin's suggestions prove correct, you simply
cannot use the xfactorstudios' xPath classes to bring in HTML formatted
strings from XML, right?  That SUCKS.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com





>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Mike Boutin
>>Sent: Wednesday, December 07, 2005 2:46 PM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] Xpath and HTML tags inside XML bug?
>>
>>Still wasnt able to get it working.  I had to resort to using
nodeValue
>>instead. pain in the ass
>>
>>Mike Boutin
>>Juicy Studios
>>
>>Merrill, Jason wrote:
>>
>Quote: http://www.w3.org/TR/xpath#section-Expressions
>
>
>>>
>>>I can never seem to make heads or tails of the w3.org documentation -
>>>maybe I'm just dumb, but it's always information overload to me.
>>>
>>>Mike, since we seem to be having the exact same problem, did you get
it
>>>working?  If so, can you send a code snippet of what works?
>>>
>>>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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Merrill, Jason
>>Why is it a workaround? Doesn't the XPath return the XMLNode?
>>I haven't used this XPath-extension, but maybe I should check i out.

Morten, I'm not sure it returns the actual node - it might convert it to
another object instead because I too cannot get your suggestions to
work.  Could you send an xfactorstudio Xpath Actionscript example of
what you mean?  If you haven't used those classes before, then its
interesting that you are giving advice about a product you don't seem to
know the details of.  I like Mike cannot get your suggestions to work,
which if I am interpreting correctly, would mean:

myString =
XPath.selectNodes(my_xml,"rootNode/myChildNodeNode/myChildNode/").nodeVa
lue;

That returns undefined when I try it.  Or are you suggesting something
else?



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] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Theodore E Patrick
Apollo Recipe

Embed Mozilla with native optimized Flash and PDF support.
Add shell skinning
Add one click local app installation via XML
Add rich fileIO
Add hardware acceleration via OpenGL
Add ass kicking speed for Flash, 200fps or bust
Add offline data
We are 80% there


The browser wars are back! 

This is going to be allot of fun!

Go Apollo! Go Adobe!

Ted ;)

 
> > Our long-term plan is to develop a "universal client" by
> > combining PDF, Flash and HTML in a single, integrated
> > runtime.
> 
> How does this differ from a browser?
> 
> M
> ___
> 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.362 / Virus Database: 267.13.12/192 - Release Date: 12/5/2005
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 12/5/2005
 

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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin
I was able to use xpath to return some html then use 
nodeValue on that.


but I *wish* i could just do /xmlnode/xmlnode/text() and cut nodeValue 
out but i dont think its possible.




Morten Barklund Shockwaved wrote:


Mike Boutin wrote:

Still wasnt able to get it working.  I had to resort to using 
nodeValue instead. pain in the ass



Why is it a workaround? Doesn't the XPath return the XMLNode? You 
can't just use the regular toString-method of the XMLNode-object - 
that'll return the wrong encoding. The nodeValue *is* the only proper 
way to fetch the correct textdata without encoding.


If the XPath-method, that you use, is supposed to return the string 
value of a text element, then using nodeValue is a hack. But if you 
"only" use an XPath-method which is supposed to return an XMLNode, 
then it is *not* a hack, but doing exactly, what you are supposed to 
do. I haven't used this XPath-extension, but maybe I should check i out.




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


Re: [Flashcoders] flash and ASP.NET

2005-12-07 Thread hank williams
www.flashORB.com  has a free .NET remoting product.

Regards
Hank

On 12/7/05, Michael Appelmans <[EMAIL PROTECTED]> wrote:
> I need to create a Flash application for a small non-profit can't afford the
> $999 price tag of MM's Flash Remoting gateway. Is there a third party
> remoting solution like AMFPHP that I could use? Essentially I need to read
> and write to an Access database on a Windows web host.
>
> Thanks for any suggestions and pointers to examples for this.
>
> Michael
> ___
> 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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Morten Barklund Shockwaved

Mike Boutin wrote:
Still wasnt able to get it working.  I had to resort to using nodeValue 
instead. pain in the ass


Why is it a workaround? Doesn't the XPath return the XMLNode? You can't 
just use the regular toString-method of the XMLNode-object - that'll 
return the wrong encoding. The nodeValue *is* the only proper way to 
fetch the correct textdata without encoding.


If the XPath-method, that you use, is supposed to return the string 
value of a text element, then using nodeValue is a hack. But if you 
"only" use an XPath-method which is supposed to return an XMLNode, then 
it is *not* a hack, but doing exactly, what you are supposed to do. I 
haven't used this XPath-extension, but maybe I should check i out.


--
Morten Barklund - Information Architect - Shockwaved
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] fyi : AS3 Info on String /StringBuilderinFlashPlayer 8.5

2005-12-07 Thread JesterXL
I did, that response is to my question about what was faster, string += or 
StringBuilder since my tests a month ago yeiled no difference, and as you 
know it's challenging to do memory tests in Flash.

- Original Message - 
From: "Scott Hyndman" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, December 07, 2005 2:57 PM
Subject: RE: [Flashcoders] fyi : AS3 Info on String 
/StringBuilderinFlashPlayer 8.5


Of course. The same goes for every language, except for Flash it seems.

You should probably read the article.

Scott

-Original Message-
From: [EMAIL PROTECTED] on behalf of JesterXL
Sent: Wed 12/7/2005 2:42 PM
To: Flashcoders mailing list
Cc:
Subject: Re: [Flashcoders] fyi : AS3 Info on String / 
StringBuilderinFlashPlayer 8.5

All I know is, in .NET, if you are concatenating a lot of strings, if you
use .NET's StringBuilder class instead, it'll greatly improve resource
usage, so I expect the same will hold true in Flash Player 8.5.

- Original Message - 
From: "Scott Hyndman" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, December 07, 2005 2:34 PM
Subject: RE: [Flashcoders] fyi : AS3 Info on String / StringBuilder
inFlashPlayer 8.5


Very cool Mike. I've never heard of this capability in any language (by
which I mean string prefix support). Can anyone support this?

Scott

-Original Message-
From: [EMAIL PROTECTED] on behalf of Mike Chambers
Sent: Wed 12/7/2005 12:31 PM
To: Flashcoders mailing list
Cc:
Subject: [Flashcoders] fyi : AS3 Info on String / StringBuilder in
FlashPlayer 8.5

fyi

http://labs.macromedia.com/wiki/index.php/ActionScript_3:articles:string_stringbuilder

mike chambers

[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

___
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] fyi : AS3 Info on String / StringBuilderinFlashPlayer 8.5

2005-12-07 Thread Scott Hyndman
Of course. The same goes for every language, except for Flash it seems.

You should probably read the article.

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of JesterXL
Sent:   Wed 12/7/2005 2:42 PM
To: Flashcoders mailing list
Cc: 
Subject:Re: [Flashcoders] fyi : AS3 Info on String / 
StringBuilderinFlashPlayer 8.5

All I know is, in .NET, if you are concatenating a lot of strings, if you 
use .NET's StringBuilder class instead, it'll greatly improve resource 
usage, so I expect the same will hold true in Flash Player 8.5.

- Original Message - 
From: "Scott Hyndman" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, December 07, 2005 2:34 PM
Subject: RE: [Flashcoders] fyi : AS3 Info on String / StringBuilder 
inFlashPlayer 8.5


Very cool Mike. I've never heard of this capability in any language (by 
which I mean string prefix support). Can anyone support this?

Scott

-Original Message-
From: [EMAIL PROTECTED] on behalf of Mike Chambers
Sent: Wed 12/7/2005 12:31 PM
To: Flashcoders mailing list
Cc:
Subject: [Flashcoders] fyi : AS3 Info on String / StringBuilder in 
FlashPlayer 8.5

fyi

http://labs.macromedia.com/wiki/index.php/ActionScript_3:articles:string_stringbuilder

mike chambers

[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

___
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] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Merrill, Jason
>>Again, the FAQ items refers to Apollo, and not the web based plugins /
>>players.

So Apollo will be a sort of web browser that has a flash and PDF
renderer built in?  I mean, I know Adobe won't likely market it as "a
browser", but that sounds basically like what it will be. What about our
clients who want to continue using IE or Netscape instead of Apollo?
There is no intent to integrate the Flash runtime with the Adobe reader?
The FAQ is worded as, "What are Adobe's plans for Flash Player and Adobe
Reader?" - so the other part of the answer to the question should
address Flash on other browsers as well as this "Apollo" I would think.

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] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Frederic v. Bochmann
If they ever integrate a pdf reader in the flash player(plug-in) *(or
vice-versa) I just want them to watch out with the loading time of the
plug-in, since starting Acrobat Reader really hurts compared to loading the
Flash Player.

Just my 2 cents.
Fredz./


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Chambers
Sent: 07 December 2005 19:41
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

Again, the FAQ items refers to Apollo, and not the web based plugins / 
players.

mike chambers

[EMAIL PROTECTED]


Merrill, Jason wrote:
>>>Flash Player X = Flash Player 8 + Adobe Reader
> 
> 
> I think Flash player 8.5 will be out before PDF is integrated in the
> player though.  At least, that's the way it appears to be as things are
> right now.  I would say it would be more like Flash Player 9 or 10 +
> Adobe Reader
> 
> 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] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Chad Mefferd

Thanks for the "straight dope" on the topic Mike.

Chad Mefferd

On Dec 7, 2005, at 1:40 PM, Mike Chambers wrote:

Again, the FAQ items refers to Apollo, and not the web based plugins / 
players.


mike chambers

[EMAIL PROTECTED]


Merrill, Jason wrote:

Flash Player X = Flash Player 8 + Adobe Reader

I think Flash player 8.5 will be out before PDF is integrated in the
player though.  At least, that's the way it appears to be as things 
are

right now.  I would say it would be more like Flash Player 9 or 10 +
Adobe Reader
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] removemovieclip failure

2005-12-07 Thread Merrill, Jason
RemoveMovieClip can be buggy.  Are you using v2 components as well or have any 
in your library?  If so, there is a depth conflict with them. 

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

I worked around it using unloadMovie instead. The swapDepths approach never 
seemed to work for me.


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com




>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Andreas Rønning
>>Sent: Monday, December 05, 2005 9:16 AM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] removemovieclip failure
>>
>>Ok this is the first time i've had this issue with removemovieclip so
>>bear with my amazement.
>>I have an application with popup windows created with attachMovie. These
>>windows have the following script on frame 1 of their movieclip:
>>
>>closer.onPress = function() {
>>this.gotoAndStop(2);
>>};
>>closer.onReleaseOutside = function() {
>>this.gotoAndStop(1);
>>};
>>closer.onDragOut = function() {
>>this.gotoAndStop(1);
>>};
>>closer.onRelease = function() {
>>this.gotoAndStop(1);
>>this._parent.closeMe();
>>};
>>function closeMe() {
>>removeMovieClip(this);
>>}
>>
>>closer being the close button instance name.
>>The closeMe function is called, but removeMovieClip does nothing. I did
>>a trace(this); removeMovieClip(this); trace(this); and both traces show
>>up, showing the correct path, but nothing is removed.
>>Is there a good reason for this? What am i missing.
>>
>>- Andreas
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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin
Still wasnt able to get it working.  I had to resort to using nodeValue 
instead. pain in the ass


Mike Boutin
Juicy Studios

Merrill, Jason wrote:


Quote: http://www.w3.org/TR/xpath#section-Expressions
 



I can never seem to make heads or tails of the w3.org documentation -
maybe I'm just dumb, but it's always information overload to me. 


Mike, since we seem to be having the exact same problem, did you get it
working?  If so, can you send a code snippet of what works?  


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] Who wants MIDI in the Flash Player?

2005-12-07 Thread David Rorex
I agree...bytearrays aren't anything bad, its just another way to
manipulate data. The only way it could cause problems, is if there are
any exploits in the flash runtime, it would make it slightly (only
slightly) easier to take advantage of them.

Raw sockets, are still restricted by the same cross-domain
restrictions as exist in flash 7 & 8, so sites have to specifically
allow flash clients to connect (opt-in)

direct access to sound buffer? how could there be any security
problems with this? flash already can play sounds, so the most direct
access would let you do, is create very strange sounds that maybe you
couldn't compress in mp3? maybe you could write some kind of nerual
virus, that when people hear it, in infects their brain?

I don't see any security issues with these features. But I understand
the position, I don't want flash to become another attack vector, like
signed java applets. Right now, the worst a flash movie can do is pop
up lots of browser windows. The worst a signed java applet can do is
ANYTHING (if the user presses Yes in the "accept applet?" dialog). I
could for example write a java applet that deletes all your files.

-David R

On 12/7/05, hank williams <[EMAIL PROTECTED]> wrote:
> I dont understand. Are you saying that raw sockets is a security
> nightmare? or bytearrays?  or the sound buffer access? Raw sockets and
> bytearrays are already in flash 8 so are you saying there is already a
> security nightmare? Or are you saying that sound buffer access would
> somehow tip the scales into a security nightmare? If so, how? It seems
> to me that that is no more dangerous than giving developers direct
> access to the screen display buffer which they now do already in flash
> 8.
>
> Regards
> Hank
>
> On 12/7/05, ryanm <[EMAIL PROTECTED]> wrote:
> > > Personally i would rather see a more open, low level approach to sound in
> > > the player upon which MIDI and other implementations could be developed.
> > >
> > Normally, I am all about giving flexibility to the developer, but raw
> > sockets + byteArray + laccess to the sound buffer would be a security
> > nightmare. It's like a big welcome mat for viruses. I wouldn't hold my
> > breath.
> >
> > ryanm
> >
> > ___
> > 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] FlexBuilder 2

2005-12-07 Thread Mike Chambers

Yes. Next build.

mike chambers

[EMAIL PROTECTED]

Martin Wood wrote:

apparently its coming in the next build.

Ralph Caraveo wrote:


Does anyone know if you can get the collapsable function window in Flex
Builder 2?  In Eclipse you have access to a window where you can see a
birds eye view of all your class properties and functions and expand and
collapse each one...but has this feature been removed from Flex Builder
2?  If so, I'm gonna get mad.

-Ralph


___
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] fyi : AS3 Info on String / StringBuilder inFlashPlayer 8.5

2005-12-07 Thread JesterXL
All I know is, in .NET, if you are concatenating a lot of strings, if you 
use .NET's StringBuilder class instead, it'll greatly improve resource 
usage, so I expect the same will hold true in Flash Player 8.5.

- Original Message - 
From: "Scott Hyndman" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, December 07, 2005 2:34 PM
Subject: RE: [Flashcoders] fyi : AS3 Info on String / StringBuilder 
inFlashPlayer 8.5


Very cool Mike. I've never heard of this capability in any language (by 
which I mean string prefix support). Can anyone support this?

Scott

-Original Message-
From: [EMAIL PROTECTED] on behalf of Mike Chambers
Sent: Wed 12/7/2005 12:31 PM
To: Flashcoders mailing list
Cc:
Subject: [Flashcoders] fyi : AS3 Info on String / StringBuilder in 
FlashPlayer 8.5

fyi

http://labs.macromedia.com/wiki/index.php/ActionScript_3:articles:string_stringbuilder

mike chambers

[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

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


Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Mike Chambers
Again, the FAQ items refers to Apollo, and not the web based plugins / 
players.


mike chambers

[EMAIL PROTECTED]


Merrill, Jason wrote:

Flash Player X = Flash Player 8 + Adobe Reader



I think Flash player 8.5 will be out before PDF is integrated in the
player though.  At least, that's the way it appears to be as things are
right now.  I would say it would be more like Flash Player 9 or 10 +
Adobe Reader

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] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Mike Chambers
Yes. That is correct. It is referring to Apollo, and not the web based 
plugins.


mike chambers

[EMAIL PROTECTED]

hank williams wrote:

Yex, it is apollo. I just didnt use the code word. But that is what I
am referring to.

Regards
Hank

On 12/7/05, Mark Winterhalder <[EMAIL PROTECTED]> wrote:


On 12/7/05, hank williams <[EMAIL PROTECTED]> wrote:


This new client is not in place of the current lightweight player. It
is a separate thing, like central. So there will always be separate
browser plugins for pdf and swf.


it might be "apollo", of which i know almost nothing about, but which
apparently is swf+html and now possibly + pdf?

mark

--
http://snafoo.org/
jabber: [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



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


RE: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Merrill, Jason
>>Quote: http://www.w3.org/TR/xpath#section-Expressions

I can never seem to make heads or tails of the w3.org documentation -
maybe I'm just dumb, but it's always information overload to me. 

Mike, since we seem to be having the exact same problem, did you get it
working?  If so, can you send a code snippet of what works?  

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] fyi : AS3 Info on String / StringBuilder in FlashPlayer 8.5

2005-12-07 Thread Scott Hyndman
Very cool Mike. I've never heard of this capability in any language (by which I 
mean string prefix support). Can anyone support this?

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Mike Chambers
Sent:   Wed 12/7/2005 12:31 PM
To: Flashcoders mailing list
Cc: 
Subject:[Flashcoders] fyi : AS3 Info on String / StringBuilder in 
FlashPlayer 8.5

fyi

http://labs.macromedia.com/wiki/index.php/ActionScript_3:articles:string_stringbuilder

mike chambers

[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] Who wants MIDI in the Flash Player?

2005-12-07 Thread hank williams
How exactly does this audio buffer virus stuff work?

Honestly I cant imagine that it is not possible to create a buffer
that stores numbers that represent sound waves where the flash engine
routes those numbers to the audio out driver. This would be no
different than the way flash handles the display buffer using exactly
the same methodology. The audio and sound techniques would be 100%
analagous.

Regards
Hank

On 12/7/05, ryanm <[EMAIL PROTECTED]> wrote:
> > I dont understand. Are you saying that raw sockets is a security
> > nightmare? or bytearrays?  or the sound buffer access? Raw sockets and
> > bytearrays are already in flash 8 so are you saying there is already a
> > security nightmare? Or are you saying that sound buffer access would
> > somehow tip the scales into a security nightmare? If so, how? It seems
> > to me that that is no more dangerous than giving developers direct
> > access to the screen display buffer which they now do already in flash
> > 8.
> >
> It is the combination. With all 3 of those, you would have unrestricted
> access to download and execute code on the client machine without any way
> for the VM (flash player) to determine if the code was malicous or not.
> Pushing malicous code into the sound buffer is an old and well known way to
> get virus code onto a client machine, because audio streams can't be virus
> checked without causing latency, which is an unacceptable cost in fields
> like gaming and other types of distributed interactive media.
>
> The screen buffer access you have is only for the Flash renderer, it
> doesn't give you direct access to the system-level screen buffer (no
> hardware or even OS level access). Audio goes directly to the systel-level
> sound buffer to minimize latency, making it a prime target for a virus entry
> point.
>
> ryanm
>
> ___
> 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] FLV playback from network shares always fails

2005-12-07 Thread Flash guru
ya i'm getting the same thing. seems theres nothing you can do.

On 12/7/05, Brooks Andrus <[EMAIL PROTECTED]> wrote:
>
> In Flash Player 8 flv files always fail to load when launched from a
> network
> share ( the html, swf, and flv all reside in the network share ). Anyone
> found a resolution to this bug, or can someone from Adobe give an
> explanation for why this is the case? Really pulling my hair out over this
> one.
>
>
>
> Regards,
>
>
>
> Brooks
>
> ___
> 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] License rules when distributing Flash exe files?

2005-12-07 Thread Merrill, Jason
Probably haven't found anything because if you mean an .exe created from
Flash (not THE Flash.exe), then there are no restrictions (of course, as
long as you own a legit license of the Flash authoring tool. i.e., not a
demo or educational version)  

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com


>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of brian groth
>>Sent: Wednesday, December 07, 2005 3:01 AM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] License rules when distributing Flash exe
files?
>>
>>Hi
>>
>>I have tried to search for info on the license rules when distributing
Flash
>>exe files.
>>I have had no luck.
>>Can someone point me in the right direction?
>>
>>Thanks
>>
>>Brian
>>___
>>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] Who wants MIDI in the Flash Player?

2005-12-07 Thread ryanm

I dont understand. Are you saying that raw sockets is a security
nightmare? or bytearrays?  or the sound buffer access? Raw sockets and
bytearrays are already in flash 8 so are you saying there is already a
security nightmare? Or are you saying that sound buffer access would
somehow tip the scales into a security nightmare? If so, how? It seems
to me that that is no more dangerous than giving developers direct
access to the screen display buffer which they now do already in flash
8.

   It is the combination. With all 3 of those, you would have unrestricted 
access to download and execute code on the client machine without any way 
for the VM (flash player) to determine if the code was malicous or not. 
Pushing malicous code into the sound buffer is an old and well known way to 
get virus code onto a client machine, because audio streams can't be virus 
checked without causing latency, which is an unacceptable cost in fields 
like gaming and other types of distributed interactive media.


   The screen buffer access you have is only for the Flash renderer, it 
doesn't give you direct access to the system-level screen buffer (no 
hardware or even OS level access). Audio goes directly to the systel-level 
sound buffer to minimize latency, making it a prime target for a virus entry 
point.


ryanm 


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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin

Quote: http://www.w3.org/TR/xpath#section-Expressions


Each character within a CDATA section is treated as character data. 
Thus, || in the source document will treated the same as 
|<|. Both will result in a single |<| character in a text node in the 
tree. Thus, a CDATA section is treated as if the || 
were removed and every occurrence of |<| and |&| were replaced by |<| 
and |&| respectively.


   *NOTE: *When a text node that contains a |<| character is written
   out as XML, the |<| character must be escaped by, for example, using
   |<|, or including it in a CDATA section.




Morten Barklund Shockwaved wrote:


Merrill, Jason wrote:


[...]

Problem overview: using Xpath, HTML tags inside of XML does not render,
even with CDATA tags applied.

[...]

Does the same thing with a regular dynamic text field.  If I hard code
the same string directly in the .fla, it renders properly in the text
field and/or component. The string from XPath returns, interestingly
enough, looks like this:

   Welcome to the Center for Devices of
Radiological Health. More text...

Not sure why Xpath is changing the string from "". to "",
but Flash doesn't like it obviously.  Anyone come across this before and
have a solution?



If you used the regular XML and XMLNode-classes in Flash, you'd come 
to the same "problem" if you tried to insert the node directly - and 
didn't use the nodeValue-property of the XMLNode-object.


If your XPath implementation returns XMLNode-object, just use the 
my_xmlnode.nodeValue-property and insert this in the textfield.


If the XPath implementation returns a string and this string is the 
toString-value of the XMLNode (which the above is) and *not* the 
nodeValue-property, then the writer of the XPath implementation should 
read his manual once again :)


Hope that helps. :)



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


[Flashcoders] FLV playback from network shares always fails

2005-12-07 Thread Brooks Andrus
In Flash Player 8 flv files always fail to load when launched from a network
share ( the html, swf, and flv all reside in the network share ). Anyone
found a resolution to this bug, or can someone from Adobe give an
explanation for why this is the case? Really pulling my hair out over this
one.

 

Regards, 

 

Brooks

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


RE: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Merrill, Jason
>>Flash Player X = Flash Player 8 + Adobe Reader

I think Flash player 8.5 will be out before PDF is integrated in the
player though.  At least, that's the way it appears to be as things are
right now.  I would say it would be more like Flash Player 9 or 10 +
Adobe Reader

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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin
Yes this is how I have been fixing the problem.  Seems like a pain to 
have to use both methods, rather than just using the xpath.



Morten Barklund Shockwaved wrote:


Merrill, Jason wrote:


[...]

Problem overview: using Xpath, HTML tags inside of XML does not render,
even with CDATA tags applied.

[...]

Does the same thing with a regular dynamic text field.  If I hard code
the same string directly in the .fla, it renders properly in the text
field and/or component. The string from XPath returns, interestingly
enough, looks like this:

   Welcome to the Center for Devices of
Radiological Health. More text...

Not sure why Xpath is changing the string from "". to "",
but Flash doesn't like it obviously.  Anyone come across this before and
have a solution?



If you used the regular XML and XMLNode-classes in Flash, you'd come 
to the same "problem" if you tried to insert the node directly - and 
didn't use the nodeValue-property of the XMLNode-object.


If your XPath implementation returns XMLNode-object, just use the 
my_xmlnode.nodeValue-property and insert this in the textfield.


If the XPath implementation returns a string and this string is the 
toString-value of the XMLNode (which the above is) and *not* the 
nodeValue-property, then the writer of the XPath implementation should 
read his manual once again :)


Hope that helps. :)



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


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Morten Barklund Shockwaved

Merrill, Jason wrote:

[...]

Problem overview: using Xpath, HTML tags inside of XML does not render,
even with CDATA tags applied.

[...]

Does the same thing with a regular dynamic text field.  If I hard code
the same string directly in the .fla, it renders properly in the text
field and/or component. The string from XPath returns, interestingly
enough, looks like this:

   Welcome to the Center for Devices of
Radiological Health. More text...

Not sure why Xpath is changing the string from "". to "",
but Flash doesn't like it obviously.  Anyone come across this before and
have a solution?


If you used the regular XML and XMLNode-classes in Flash, you'd come to 
the same "problem" if you tried to insert the node directly - and didn't 
use the nodeValue-property of the XMLNode-object.


If your XPath implementation returns XMLNode-object, just use the 
my_xmlnode.nodeValue-property and insert this in the textfield.


If the XPath implementation returns a string and this string is the 
toString-value of the XMLNode (which the above is) and *not* the 
nodeValue-property, then the writer of the XPath implementation should 
read his manual once again :)


Hope that helps. :)

--
Morten Barklund - Information Architect - Shockwaved
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Mike Boutin
Yes im still having this problem as we speak.  A previous post said to 
use unicode and just use xhtml straight in the tags without even using 
CDATA but I am still unable to get it working correctly.


Mike Boutin
Juicy Studios

Merrill, Jason wrote:


Searched Google, no dice, when the chattyfig servers were down again, I
turned to Flexcoders, no luck either.  Anyone who has experience with
Xpath, I hope you can help.

Problem overview: using Xpath, HTML tags inside of XML does not render,
even with CDATA tags applied.

Problem detail: I am using xfactorstudios' Xpath classes to bring in XML
node data which contains text and HTML tags to display in a Flash text
area component in the Flash 7 player.  Here is a snippet of the XML:

  
   


  

The text area component IS set to HTML=true, but when it renders, it
shows the text plus the HTML:

  Welcome to the Center for Devices
of Radiological Health. More text...

Does the same thing with a regular dynamic text field.  If I hard code
the same string directly in the .fla, it renders properly in the text
field and/or component. The string from XPath returns, interestingly
enough, looks like this:

  Welcome to the Center for Devices of
Radiological Health. More text...

Not sure why Xpath is changing the string from "". to "",
but Flash doesn't like it obviously.  Anyone come across this before and
have a solution?

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] Xpath and HTML tags inside XML bug?

2005-12-07 Thread Merrill, Jason
Searched Google, no dice, when the chattyfig servers were down again, I
turned to Flexcoders, no luck either.  Anyone who has experience with
Xpath, I hope you can help.

Problem overview: using Xpath, HTML tags inside of XML does not render,
even with CDATA tags applied.

Problem detail: I am using xfactorstudios' Xpath classes to bring in XML
node data which contains text and HTML tags to display in a Flash text
area component in the Flash 7 player.  Here is a snippet of the XML:

   



   

The text area component IS set to HTML=true, but when it renders, it
shows the text plus the HTML:

   Welcome to the Center for Devices
of Radiological Health. More text...

Does the same thing with a regular dynamic text field.  If I hard code
the same string directly in the .fla, it renders properly in the text
field and/or component. The string from XPath returns, interestingly
enough, looks like this:

   Welcome to the Center for Devices of
Radiological Health. More text...

Not sure why Xpath is changing the string from "". to "",
but Flash doesn't like it obviously.  Anyone come across this before and
have a solution?

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] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Chad Mefferd

Nevermind. I'm slow.

On Dec 7, 2005, at 12:36 PM, Chad Mefferd wrote:


Good. Wasn't it being referred to as Apollo or something like that?

On Dec 7, 2005, at 10:15 AM, hank williams wrote:


This new client is not in place of the current lightweight player. It
is a separate thing, like central. So there will always be separate
browser plugins for pdf and swf.

Regards
Hank

On 12/7/05, Chad Mefferd <[EMAIL PROTECTED]> wrote:

Gone are the days of a lightweight flash player.

On Dec 7, 2005, at 10:07 AM, Mike Mountain wrote:


Our long-term plan is to develop a "universal client" by
combining PDF, Flash and HTML in a single, integrated
runtime.


How does this differ from a browser?

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



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


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



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



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


Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Chad Mefferd

Good. Wasn't it being referred to as Apollo or something like that?

On Dec 7, 2005, at 10:15 AM, hank williams wrote:


This new client is not in place of the current lightweight player. It
is a separate thing, like central. So there will always be separate
browser plugins for pdf and swf.

Regards
Hank

On 12/7/05, Chad Mefferd <[EMAIL PROTECTED]> wrote:

Gone are the days of a lightweight flash player.

On Dec 7, 2005, at 10:07 AM, Mike Mountain wrote:


Our long-term plan is to develop a "universal client" by
combining PDF, Flash and HTML in a single, integrated
runtime.


How does this differ from a browser?

M
___
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] Who wants MIDI in the Flash Player?

2005-12-07 Thread hank williams
I dont understand. Are you saying that raw sockets is a security
nightmare? or bytearrays?  or the sound buffer access? Raw sockets and
bytearrays are already in flash 8 so are you saying there is already a
security nightmare? Or are you saying that sound buffer access would
somehow tip the scales into a security nightmare? If so, how? It seems
to me that that is no more dangerous than giving developers direct
access to the screen display buffer which they now do already in flash
8.

Regards
Hank

On 12/7/05, ryanm <[EMAIL PROTECTED]> wrote:
> > Personally i would rather see a more open, low level approach to sound in
> > the player upon which MIDI and other implementations could be developed.
> >
> Normally, I am all about giving flexibility to the developer, but raw
> sockets + byteArray + laccess to the sound buffer would be a security
> nightmare. It's like a big welcome mat for viruses. I wouldn't hold my
> breath.
>
> ryanm
>
> ___
> 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] Garbage collecting Sounds and NetStreams

2005-12-07 Thread hank williams
I have implemented a media player that plays a series of either sounds
or NetStreams.

I do not reuse sound or netStream objects  when I play a new one. Each
time a new piece of media is played a new corresponding NetStream or
Sound is created.

The problem is that it seems that even when there are no more
references to it, the sounds or NetStreams are not released. I say
this because every time a new piece of media is played, my memory
usage gets bigger. It doesnt ever seem to shrink.

So I am wondering if anyone is aware of any issues with releasing a
NetStreams or Sounds from memory.

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


[Flashcoders] Printing at higher than screen resolution?

2005-12-07 Thread bryan.rice

Hi All,

Is there anyway to print (using PrintJob specifically) from Flash at  
a higher DPI than screen resolution?  I always thought the definitive  
answer was "NO", but this technote clouds the issue for me slightly:
http://www.macromedia.com/support/documentation/en/flashplayer/8/ 
releasenotes.html


Under Know Issues > Printing:
"Flash Player does not support printer resolutions higher than 300  
dpi in this release. If you see printing artifacts, ensure your  
printer resolution is set to 300 dpi. (111216)"


To what is this technote related?  How would one print from Flash  
Player (in any scenario) at a resolution higher than screen  
resolution in the context of this technote?


On a related note, I have noticed much better quality when printing  
bitmaps from Flash player, it I load images that are twice the height  
and width that I want, and set the xscale and yscale = 50.  It looks  
worse on the SCREEN than images that are the not scaled, but prints  
MUCH better.   I was surprised to see this, and in fact lost an  
argument.  I thought that the scaled down images would look as crappy  
as the do on the screen, but it is the opposite.


(To clarify, I want to print an image that is 300 by 300 pixels.  I  
load it in to Flash and print it using PrintJob.  If I load a 600 by  
600 pixel image in, and then scale it by 50% the resulting print out  
is MUCH better looking (though it is opposite when displayed on the  
screen.)


 Why is this the case?

I am targeting the Flash 8 player.

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


Re: [Flashcoders] Who wants MIDI in the Flash Player?

2005-12-07 Thread ryanm
Personally i would rather see a more open, low level approach to sound in 
the player upon which MIDI and other implementations could be developed.


   Normally, I am all about giving flexibility to the developer, but raw 
sockets + byteArray + laccess to the sound buffer would be a security 
nightmare. It's like a big welcome mat for viruses. I wouldn't hold my 
breath.


ryanm 


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


[Flashcoders] Streaming MP3 issue

2005-12-07 Thread bob

I have a small movie clip that appears on a page multiple times- the code is 
written dynamically so it can appear n times on a page. The filename is passed 
in through the FlashVariables attribute on the embed tag. I have noticed 
recently that I am having trouble getting sound files to play in Firefox on 
Windows. I'm not sure how to troubleshoot this issue- is there an issue with 
some of the clips? Since I'm not sure how they were created and there doesn't 
seem to be a pattern? Or is there an issue with multiple instances of .swfs on 
a page?

Does anyone have any thoughts? Any comments are appreciated. CC me, I'm in 
digest mode.

Thanks.

Bob

--
Need Web Hosting or Internet Services? Visit http://www.jaguNET.com/

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


Re: [Flashcoders] FlexBuilder 2

2005-12-07 Thread Martin Wood

http://www.andersblog.com/archives/2005/11/flex_friday_dem.html

'...then showed off the new outline view, which will please a lot of 
people who've tried the Alpha and missed it'


:)


Ralph Caraveo wrote:

Does anyone know if you can get the collapsable function window in Flex
Builder 2?  In Eclipse you have access to a window where you can see a
birds eye view of all your class properties and functions and expand and
collapse each one...but has this feature been removed from Flex Builder
2?  If so, I'm gonna get mad.



--
Martin Wood

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


RE: [Flashcoders] Can FCS detect player version?

2005-12-07 Thread jleo


  Actually all i need is to check for versions 6 plus. Thanks again.


At 12:06 PM 12/7/2005, you wrote:

I don't know if it would be classed as recommended, though I do not believe
there is any specific way to check for version numbers prior to flash 5.

I have seen this method used in javaScript i.e. to check for support of a
feature before trying to use it.

Sorry can't be any more help

Regards

Ali

-Original Message-
From: jleo [mailto:[EMAIL PROTECTED]
Sent: 07 December 2005 16:46
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Can FCS detect player version?


Appreciate it. Is this considered the "correct way" to do this?
Meaning that checking for unsupported code, etc?

At 10:49 AM 12/7/2005, you wrote:

>If you are just looking to perform different actions per flash version...
>
>Using a flash 7 movie (have not checked 8 but assume it would work on that
>as well) you can check what version of flash the client is being used.
>
>Then code specific actions for that version of flash to execute. In one
>project I used the following  (it's a bit of a bodge but works :o) )
>
>//On frame 1 I checked for to see if flash 5 sytax was supported.
>
> var checkFlash5 = true;
>
> // as flash 4 player does not support _root this condition will
>return  false
> // as 4 is no good displayed anim asking them to upgrade :o)
> if (_root.checkFlash5)
> {
> gotoAndPlay (4);
> }
> else
> {
> play();
> }
>
>
>// on frame 2
>
> // contain any actions you wish to perform for a flash 4 player
and
> stop();
>
>// on frame 4
>
> // contains code to check flash player versions
>
> o = new Object ();
> o.version = getVersion().split(",");
> o.majorVersion = int(substring(o.version[0],o.version[0].length,
>1));
> o.minorVersion = int(o.version[2]);
>
> // you can then perform any actions you wish to depending on
version
>
>
>Hope that this is maybe of some help
>
>Ali

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

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Dyson -- the cleaner that doesn't lose suction.

http://www.dyson.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

___
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] FlexBuilder 2

2005-12-07 Thread Martin Wood

apparently its coming in the next build.

Ralph Caraveo wrote:

Does anyone know if you can get the collapsable function window in Flex
Builder 2?  In Eclipse you have access to a window where you can see a
birds eye view of all your class properties and functions and expand and
collapse each one...but has this feature been removed from Flex Builder
2?  If so, I'm gonna get mad.

-Ralph


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


Re: [Flashcoders] zooming application

2005-12-07 Thread Matus Laco


Another freee one zooming aplication:


http://yofla.com/flash/zoomer/


--
Matus



On Fri, 02 Dec 2005 16:05:08 +0100, Merrill, Jason  
<[EMAIL PROTECTED]> wrote:



Or, if you want a free one:

http://www.marcosweskamp.com/components/tokcomponents/zoompane_demo.html


Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com











-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Mike Britton
Sent: Friday, December 02, 2005 9:37 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] zooming application

If it were me, rather than reinvent the wheel (this is a common need)
and if I had a budget, I'd go for Zoomify Enterprise:

http://www.zoomify.com/enterprise/

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

__ Informacia od NOD32 1.1310 (20051201) __

Tato sprava bola preverena antivirusovym systemom NOD32.
http://www.eset.sk





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


Re: [Flashcoders] flash and ASP.NET

2005-12-07 Thread ryanm
I need to create a Flash application for a small non-profit can't afford 
the

$999 price tag of MM's Flash Remoting gateway. Is there a third party
remoting solution like AMFPHP that I could use? Essentially I need to read
and write to an Access database on a Windows web host.

   Don't use remoting, just post your data to aspx files and let them write 
to the database.


ryanm 


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


[Flashcoders] FlexBuilder 2

2005-12-07 Thread Ralph Caraveo
Does anyone know if you can get the collapsable function window in Flex
Builder 2?  In Eclipse you have access to a window where you can see a
birds eye view of all your class properties and functions and expand and
collapse each one...but has this feature been removed from Flex Builder
2?  If so, I'm gonna get mad.

-Ralph


Choice Internet Home Page 
Choice Internet
17785 Center Court Dr. Suite 280  
Cerritos, CA 90703  
Tel: 562 865 6886 x112   Fax: 562.865.6889
 www.choiceinternet.com
 

  Ralph Caraveo, Senior Programmer [EMAIL PROTECTED]
  

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


RE: [Flashcoders] flash and ASP.NET

2005-12-07 Thread Zoltan Csibi

Well fluorine started as another projector extender library written in c#.
The communication between the host application and the flash player uses
flash remoting (the host application becomes a "mini webserver" by using
.net remoting channel sinks)  http://fluorine.thesilentgroup.com

Now a big part of the library was actually an AMF implementation.
So we split it, there is an old version of the remoting gateway
(http://fluorine.thesilentgroup.com/download.htm) called "Remoting for .NET
Test"...but that version was experimental and the first step only

Since then the remoting gateway was further developed to cover all the
functionality needed and we are in testing phase, hope to release it soon

-Original Message-
From: Paul Hart [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 6:04 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] flash and ASP.NET

That sounds interesting.  Any more details?

On 07/12/05, Zoltan Csibi <[EMAIL PROTECTED]> wrote:
> Hi Michael
>
> Don't know if this is in your timeframe but we are preparing the alpha 
> release of the Fluorine .NET remoting gateway. This works like the MM 
> one for .NET and additionally supports pageable recordsets and .NET 
> custom authentication (Fluorine is open source)
>
> Zoli
>
> -Original Message-
> From: Michael Appelmans [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 07, 2005 12:15 PM
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] flash and ASP.NET
>
> I need to create a Flash application for a small non-profit can't 
> afford the
> $999 price tag of MM's Flash Remoting gateway. Is there a third party 
> remoting solution like AMFPHP that I could use? Essentially I need to 
> read and write to an Access database on a Windows web host.
>
> Thanks for any suggestions and pointers to examples for this.
>
> Michael
>
>
> ___
> 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] FWD-> code completion ASDT

2005-12-07 Thread Latcho


it's like my messages don't come through on osflash
bet my chances here are as high ?

 Original Message 
Subject:code completion ASDT
Date:   Wed, 07 Dec 2005 06:24:33 +0100
From:   Latcho <[EMAIL PROTECTED]>
Reply-To:   [EMAIL PROTECTED]
To: Open Source Flash Mailing List 
References: 
 
<[EMAIL PROTECTED]>




Hi their,
pretty a newbee but trying hard to go FAMES on 'NIX
have ANT working, even executing flash8player via wine and ASDT installed.
Ignoring flashout for the time beign till player 8(.5 ) becomes 
available and a good opportunity to learn to

work with ant (am i wright?).

The only thing I miss is the code completion like in SEPY, where
I can get to (the methods of) the standard mx classes via CTRL+space.
Now I only get asdt to display the predefined snippets or newly declared 
classes'n stuff.
I can't get the std(8) folder defined in the eclipse projects classpath 
nor doing it via the
the declarations of paths in eclipse-preferences-AS2 & MTASC submenu's 
gives me

predefined mx class code hinting.
Is their a way?
What I noticed is that it works perfect if I hard-import the std folder 
in my project's src folder.

But that's not the way, wright?
Hard to find info on this, and some advice about a good workflow setup 
and code-hinting setup

would do me great pleasure!

Thanks in advance,
Latcho




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


[Flashcoders] fyi : AS3 Info on String / StringBuilder in Flash Player 8.5

2005-12-07 Thread Mike Chambers

fyi

http://labs.macromedia.com/wiki/index.php/ActionScript_3:articles:string_stringbuilder

mike chambers

[EMAIL PROTECTED]

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


[Flashcoders] Tabbing

2005-12-07 Thread Mike Boutin
I a user login but the input fields do not all sit in the same 
movieclip.  The structure is as such: 
userMovie.user_input.inputText.text, passMovie.pass_input.inputText.text


How do I set the fields so I can tab through them?  And also will doing 
this cause the onFocus function for each textfield to be called?


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


Re: [Flashcoders] flash and ASP.NET

2005-12-07 Thread Jeff Small
Why can't the little flash file just *sit* someplace that has Flash
Remoting? You don't have to buy it, and if they have their own PC that
they're hosting from, just get a little account someplace or piggyback
it someplace else where it *can* get to a database? Maybe that's a
cheap little solution?

On 12/7/05, Gabe Varela <[EMAIL PROTECTED]> wrote:
> Haven't used it but found this a few months back.
> http://www.flash-db.com/Board/index.php?PHPSESSID=981459153bf8a6cdfd83dc
> 77b35ce3b3&topic=11259.msg47191
>
> -Original Message-
> From: Michael Appelmans [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 07, 2005 3:15 AM
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] flash and ASP.NET
>
> I need to create a Flash application for a small non-profit can't afford
> the
> $999 price tag of MM's Flash Remoting gateway. Is there a third party
> remoting solution like AMFPHP that I could use? Essentially I need to
> read and write to an Access database on a Windows web host.
>
> Thanks for any suggestions and pointers to examples for this.
>
> Michael
>
> ___
> 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 and ASP.NET

2005-12-07 Thread Gabe Varela
Haven't used it but found this a few months back.
http://www.flash-db.com/Board/index.php?PHPSESSID=981459153bf8a6cdfd83dc
77b35ce3b3&topic=11259.msg47191 

-Original Message-
From: Michael Appelmans [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 3:15 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] flash and ASP.NET

I need to create a Flash application for a small non-profit can't afford
the
$999 price tag of MM's Flash Remoting gateway. Is there a third party
remoting solution like AMFPHP that I could use? Essentially I need to
read and write to an Access database on a Windows web host.

Thanks for any suggestions and pointers to examples for this.

Michael

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


Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread hank williams
> I wouldn't call it a central tho. Hopefully the file size will remain
> small or only marginally increase.
>

The new client is called apollo. As far as I know it *is* the new
unified client that they are talking about that does flash + html +
pdf.

Apollo *is*, among other things, the follow on to central. This is not
a browser plug in but a stand alone environment.

Regards
hank



> Judah
>
> hank williams wrote:
>
> >This new client is not in place of the current lightweight player. It
> >is a separate thing, like central. So there will always be separate
> >browser plugins for pdf and swf.
> >
> >Regards
> >Hank
> >
> >On 12/7/05, Chad Mefferd <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Gone are the days of a lightweight flash player.
> >>
> >>On Dec 7, 2005, at 10:07 AM, Mike Mountain wrote:
> >>
> >>
> >>
> Our long-term plan is to develop a "universal client" by
> combining PDF, Flash and HTML in a single, integrated
> runtime.
> 
> 
> >>>How does this differ from a browser?
> >>>
> >>>M
> >>>___
> >>>Flashcoders mailing list
> >>>Flashcoders@chattyfig.figleaf.com
> >>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>>
> >>>
> >>>
> >>___
> >>Flashcoders mailing list
> >>Flashcoders@chattyfig.figleaf.com
> >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >>
> >>
> >___
> >Flashcoders mailing list
> >Flashcoders@chattyfig.figleaf.com
> >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
> >
> >
> >
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Can FCS detect player version?

2005-12-07 Thread Alistair Miller
I don't know if it would be classed as recommended, though I do not believe
there is any specific way to check for version numbers prior to flash 5. 

I have seen this method used in javaScript i.e. to check for support of a
feature before trying to use it.

Sorry can't be any more help

Regards 

Ali

-Original Message-
From: jleo [mailto:[EMAIL PROTECTED] 
Sent: 07 December 2005 16:46
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Can FCS detect player version?


Appreciate it. Is this considered the "correct way" to do this? 
Meaning that checking for unsupported code, etc?

At 10:49 AM 12/7/2005, you wrote:

>If you are just looking to perform different actions per flash version...
>
>Using a flash 7 movie (have not checked 8 but assume it would work on that
>as well) you can check what version of flash the client is being used.
>
>Then code specific actions for that version of flash to execute. In one
>project I used the following  (it's a bit of a bodge but works :o) )
>
>//On frame 1 I checked for to see if flash 5 sytax was supported.
>
> var checkFlash5 = true;
>
> // as flash 4 player does not support _root this condition will
>return  false
> // as 4 is no good displayed anim asking them to upgrade :o)
> if (_root.checkFlash5)
> {
> gotoAndPlay (4);
> }
> else
> {
> play();
> }
>
>
>// on frame 2
>
> // contain any actions you wish to perform for a flash 4 player
and
> stop();
>
>// on frame 4
>
> // contains code to check flash player versions
>
> o = new Object ();
> o.version = getVersion().split(",");
> o.majorVersion = int(substring(o.version[0],o.version[0].length,
>1));
> o.minorVersion = int(o.version[2]);
>
> // you can then perform any actions you wish to depending on
version
>
>
>Hope that this is maybe of some help
>
>Ali

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

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Dyson -- the cleaner that doesn't lose suction.

http://www.dyson.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

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


[Flashcoders] Import in superclass

2005-12-07 Thread Nikolaj Selvik
Hi all,

I've been aware of the fact that i can't use import statements in a
superclass and then use the imported class in the subclass, however, I
always thought of it as being an issue with the compiler not knowing it
should import the class when an instance of the imported class was not
defined in the superclass.

Now, when encountering this problem again I thought I could solve it by
simply defining a "dummy" instance in the superclass, but with no
success. The compiler still cant find the class... Is this really the
way it "should" work? Shouldn't you be able to use import statements in
superclasses this way?

Short example:


///

class a.as:


///

class package.a
{
var somevar:Number = 11;
}


///

class b.as:


///

import package.a;

class b
{
var myA:a;

function b()
{
myA = new a();
trace(myA.somevar); //OK (ofcourse)
}
}


///

class c.as:


///

class c extends b
{

var myA:a;

function c()
{
myA = new a();
trace(myA.somevar); //NOT OK (why?)
}

}

Thanks,

Nick


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


RE: [Flashcoders] Can FCS detect player version?

2005-12-07 Thread jleo


Appreciate it. Is this considered the "correct way" to do this? 
Meaning that checking for unsupported code, etc?


At 10:49 AM 12/7/2005, you wrote:


If you are just looking to perform different actions per flash version...

Using a flash 7 movie (have not checked 8 but assume it would work on that
as well) you can check what version of flash the client is being used.

Then code specific actions for that version of flash to execute. In one
project I used the following  (it's a bit of a bodge but works :o) )

//On frame 1 I checked for to see if flash 5 sytax was supported.

var checkFlash5 = true;

// as flash 4 player does not support _root this condition will
return  false
// as 4 is no good displayed anim asking them to upgrade :o)
if (_root.checkFlash5)
{
gotoAndPlay (4);
}
else
{
play();
}


// on frame 2

// contain any actions you wish to perform for a flash 4 player and
stop();

// on frame 4

// contains code to check flash player versions

o = new Object ();
o.version = getVersion().split(",");
o.majorVersion = int(substring(o.version[0],o.version[0].length,
1));
o.minorVersion = int(o.version[2]);

// you can then perform any actions you wish to depending on version


Hope that this is maybe of some help

Ali


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


RE: [Flashcoders] Re: Slightly OT: Jaws

2005-12-07 Thread Andrew Kirkpatrick
> nvm, thanks - the bugger just started working in IE.

Good.  Developers often have difficulties with JAWS, sometimes because
it is a foreign interface, sometimes because things have gone wrong.
Here's what I recommend if JAWS isn't reading Flash in your page:

0) Make sure you are using JAWS correctly.  A few key shortcuts to know:
a) ctrl = stop speaking
b) ctrl+home = go to the top of the page
c) arrow up/down = read previous/next line
d) tab = move to next focusable element (buttons, form controls)
e) O (letter 'O') = next object on page (newer versions of JAWS
only, 6.0+ I think).
1) Load the page, hit ctrl+home, then ctrl to stop speech.  Use  the
arrows or the 'O' to locate the flash object (reads "Macromedia Flash
movie start". Don't expect it to read "Adobe Flash movie start" yet. :)
). Arrow through the Flash movie, use the tab keys to move between
controls.  To enter text you'll need to enter forms mode, which can be
done by hitting the enter key when JAWS annouces that it is on a
control. When in forms mode, you can only tab between controls, no
arrowing around the document allowed. 
2) Still nothing? Open a new IE window and load a simple HTML page.
Verify that it reads that.
3) JAWS not speaking at all?  Reboot.  Did it ever speak?  I've never
had problems installing JAWS, but I know people who have and it is
occasionally ugly.

Don't expect the Flash to read with JAWS and FF, Flash content is only
read in IE at this time.

Hope this helps,
AWK

Andrew Kirkpatrick
Accessibility Engineer
Adobe Systems
[EMAIL PROTECTED]
 
> >
> >I'm trying to test the accessibility of my SWF, but for 
> the life of 
> > me, I can't get Jaws [1] to read anything in *any* SWF - be 
> it mine or 
> > any of the accessibility example SWFs on MM and elsewhere. 
> I've tested 
> > the app on XP + IE6 and XP + FF 1.5 on two different boxes. 
> I've also 
> > tried testing this on F7 and F8, and also compiling for 6, 7 and 8 
> > with no luck. The SWF are completely skipped everytime. 
> This is Jaws 
> > 7.00.135U.
> >
> >   I'm sure I'm probably doing something silly. The question is ..
> > what? Configuration settings in JAWS?
> >
> > Any ideas?
> > Cheers
> > -K
> > [1] http://freedomscientific.com/fs_products/software_jaws.asp
> >
> ___
> 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] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Judah Frangipane
It sounds like they will have for download Flash Player 8 and Adobe 
Reader for download for a while and eventually create a Flash Player X.


Flash Player X = Flash Player 8 + Adobe Reader

I wouldn't call it a central tho. Hopefully the file size will remain 
small or only marginally increase.


Judah

hank williams wrote:


This new client is not in place of the current lightweight player. It
is a separate thing, like central. So there will always be separate
browser plugins for pdf and swf.

Regards
Hank

On 12/7/05, Chad Mefferd <[EMAIL PROTECTED]> wrote:
 


Gone are the days of a lightweight flash player.

On Dec 7, 2005, at 10:07 AM, Mike Mountain wrote:

   


Our long-term plan is to develop a "universal client" by
combining PDF, Flash and HTML in a single, integrated
runtime.
   


How does this differ from a browser?

M
___
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] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Mike Mountain
So is this to target the 'Konfabulator' widget style market - or will my
bank build me a custom app to do my online banking?

The security and sandbox issues will be interesting here - the browser
developers already have their hands full plugging holes - it'll be
interesting to see Adobe tackles such problems - wouldn't a top down
solution be easier - ie. Modify mozilla?

M

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of hank williams
> Sent: 07 December 2005 16:29
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] FAQ Adobe acquisition of Macromedia
> 
> Yex, it is apollo. I just didnt use the code word. But that 
> is what I am referring to.
> 
> Regards
> Hank
> 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] flash and ASP.NET

2005-12-07 Thread Judah Frangipane

Hi Zoli,

Can you send links?

Judah

Zoltan Csibi wrote:


Hi Michael

Don't know if this is in your timeframe but we are preparing the alpha
release of the Fluorine .NET remoting gateway. This works like the MM one
for .NET and additionally supports pageable recordsets and .NET custom
authentication
(Fluorine is open source)

Zoli

-Original Message-
From: Michael Appelmans [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 12:15 PM

To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] flash and ASP.NET

I need to create a Flash application for a small non-profit can't afford the
$999 price tag of MM's Flash Remoting gateway. Is there a third party
remoting solution like AMFPHP that I could use? Essentially I need to read
and write to an Access database on a Windows web host.

Thanks for any suggestions and pointers to examples for this.

Michael


___
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] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread hank williams
Yex, it is apollo. I just didnt use the code word. But that is what I
am referring to.

Regards
Hank

On 12/7/05, Mark Winterhalder <[EMAIL PROTECTED]> wrote:
> On 12/7/05, hank williams <[EMAIL PROTECTED]> wrote:
> > This new client is not in place of the current lightweight player. It
> > is a separate thing, like central. So there will always be separate
> > browser plugins for pdf and swf.
>
> it might be "apollo", of which i know almost nothing about, but which
> apparently is swf+html and now possibly + pdf?
>
> mark
>
> --
> http://snafoo.org/
> jabber: [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] Re: Re: Flash is a single-threaded app? Maybe it'sjusttheAVM? or...

2005-12-07 Thread Chris Allen
Hahaha,

Okay your point is well taken.  Especially since I am currently working on
fixing a multi-threaded Java socket application at the moment.
Multi-threaded programing isn't a walk in the park, that's for sure.  But,
with that said, depending on how Scott implements his MovieClip approach it
might be a lot cleaner than doing onEnterFrame() all over the place.  It
certainly sounds like a legitimate approach to me.

-Chris

On 12/7/05, A.Cicak <[EMAIL PROTECTED]> wrote:
>
> Believe me multithreding is lot harder to debug, read and maintain in most
> cases assuming that onEnterFrame is not made
> in way that you put 20 loops all in one function (onEnterFrame) . You
> could
> make object (MultiLoop) which has method Update, some private counters,
> etc.
> and for each problematic loop you just make object MultiLoop, define its
> Update method, add it to array, and in on enter frame loop through that
> array and for each element call Update. In this way you could even do
> stuff
> like set priority to each loop, and for example call update in each pass
> same number of times as is MultiLoop.Priority value. Code to process all
> loops including priority support wouldnt be longer that 10-15 lines of
> code,
> and thats only thing you put in onEnterFrame. Although in real world
> program
> should be designed so there are not too much "problematic loops" anyway.
>
>
> "Chris Allen" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> On 12/7/05, A.Cicak <[EMAIL PROTECTED]> wrote:
> > I dont understand how your UI could lock in the first place? Sockets and
> > sounds are already working in another thread and all other code which
> > could
> > lock the UI (like some long loops, etc.) can be made by "emulating" loop
> > with onEnterFrame and few
> > counters.
>
> Yeah, but onEnterFrame and counters make for some pretty nasty code
> that is hard to read, debug, maintain, etc...
>
> >
> > "Scott Hyndman" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > Windows 3.1 was single threaded. As I understand it, programs would hook
> > into the event loop and be given a handle. While they held the handle,
> > they could run their own code, but they were supposed to release it when
> > they were finished to allow other running programs to use it.
> >
> > I guess what I'm trying to say is quite a bit you can do without
> > multiple threads.
> >
> > And just as a side note, I came up with an interesting idea today on how
> > to emulate multiple threads in Flash. Just use more than one movie! Talk
> > between the UI movie and the background worker movie with a
> > LocalConnection object, and you're in business. No more UI lock.
> >
> > Scott
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Boon
> > Chew
> > Sent: December 3, 2005 8:24 PM
> > To: Flashcoders mailing list
> > Subject: [Flashcoders] Flash is a single-threaded app? Maybe it's just
> > theAVM? or...
> >
> >
> >   I have read in this  forum that someone loosely coined the phrase
> > "Flash is a single thread  app", it's hard to imagine something as high
> > performance and intricate  as Flash to be a single-threaded app.
> >
> >   So I started to take the above statement to mean that the Actionscript
> > VM executes all the code in a sequential fashion but that Flash player
> > itself is multithreaded, is that a right assumption?
> >
> >   And what about code that are asynchronous in nature, such as sound
> > playing ( new Sound(), onSoundComplete), server-side call  return (such
> > as LoadVars, XML.onLoad)?  Are these all happening in the single thread
> > of code execution?
> >
> >   Looks like a book on Flash and AVM Internal would be nice. :)
> >
> >   - boon
> >
> >
> >
> > -
> >  Yahoo! Personals
> >  Single? There's someone we'd like you to meet.
> >  Lots of someones, actually. Try Yahoo! Personals
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listi

RE: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Geoffrey Williams
Think of it as Central or Breeze. It will allow a bunch of new functionality
above the Player. It's not a replacement; it's a 'plug-in'...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad Mefferd
Sent: Wednesday, December 07, 2005 11:10 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

Gone are the days of a lightweight flash player.

On Dec 7, 2005, at 10:07 AM, Mike Mountain wrote:

>> Our long-term plan is to develop a "universal client" by
>> combining PDF, Flash and HTML in a single, integrated
>> runtime.
>
> How does this differ from a browser?
>
> M
> ___
> 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] Re: Slightly OT: Jaws

2005-12-07 Thread Robert A. Colvin
Has anyone with response.write in .net and Jaws?  How is it possible to
get jaws to see the flash Object if it is written to the page???

cheers

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Naveen
Sent: Wednesday, December 07, 2005 5:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Re: Slightly OT: Jaws

Hi Karthik,

One thing you would need to remember is that large
text are not completely read out. I think it stops at
256 characters in Flash.

Select the text at run-time in your flash text field,
and it should read out.

Regards,


Message: 6
Date: Tue, 6 Dec 2005 06:40:12 +0530
From: Karthik <[EMAIL PROTECTED]>
Subject: [Flashcoders] Re: Slightly OT: Jaws
To: Flashcoders mailing list

Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

nvm, thanks - the bugger just started working in IE.

Cheers
-K

On 06/12/05, Karthik <[EMAIL PROTECTED]> wrote:
> Hi,
>
>I'm trying to test the accessibility of my SWF,
but for the life 
of
> me, I can't get Jaws [1] to read anything in *any*
SWF - be it mine 
or
> any of the accessibility example SWFs on MM and
elsewhere. I've 
tested
> the app on XP + IE6 and XP + FF 1.5 on two different
boxes. I've also
> tried testing this on F7 and F8, and also compiling
for 6, 7 and 8
> with no luck. The SWF are completely skipped
everytime. This is Jaws
> 7.00.135U.
>
>   I'm sure I'm probably doing something silly. The
question is ..
> what? Configuration settings in JAWS?
>
> Any ideas?
> Cheers
> -K
> [1]
http://freedomscientific.com/fs_products/software_jaws.asp




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

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


Re: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Mark Winterhalder
On 12/7/05, hank williams <[EMAIL PROTECTED]> wrote:
> This new client is not in place of the current lightweight player. It
> is a separate thing, like central. So there will always be separate
> browser plugins for pdf and swf.

it might be "apollo", of which i know almost nothing about, but which
apparently is swf+html and now possibly + pdf?

mark

--
http://snafoo.org/
jabber: [EMAIL PROTECTED]
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: Re: Flash is a single-threaded app? Maybe it'sjusttheAVM? or...

2005-12-07 Thread Meinte van't Kruis
define its
Update method, add it to array, and in on enter frame loop through that
array and for each element call Update

^^
sounds like a job for
AsBroadCaster!

hooray

On 12/7/05, A.Cicak <[EMAIL PROTECTED]> wrote:
>
> Believe me multithreding is lot harder to debug, read and maintain in most
> cases assuming that onEnterFrame is not made
> in way that you put 20 loops all in one function (onEnterFrame) . You
> could
> make object (MultiLoop) which has method Update, some private counters,
> etc.
> and for each problematic loop you just make object MultiLoop, define its
> Update method, add it to array, and in on enter frame loop through that
> array and for each element call Update. In this way you could even do
> stuff
> like set priority to each loop, and for example call update in each pass
> same number of times as is MultiLoop.Priority value. Code to process all
> loops including priority support wouldnt be longer that 10-15 lines of
> code,
> and thats only thing you put in onEnterFrame. Although in real world
> program
> should be designed so there are not too much "problematic loops" anyway.
>
>
> "Chris Allen" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> On 12/7/05, A.Cicak <[EMAIL PROTECTED]> wrote:
> > I dont understand how your UI could lock in the first place? Sockets and
> > sounds are already working in another thread and all other code which
> > could
> > lock the UI (like some long loops, etc.) can be made by "emulating" loop
> > with onEnterFrame and few
> > counters.
>
> Yeah, but onEnterFrame and counters make for some pretty nasty code
> that is hard to read, debug, maintain, etc...
>
> >
> > "Scott Hyndman" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > Windows 3.1 was single threaded. As I understand it, programs would hook
> > into the event loop and be given a handle. While they held the handle,
> > they could run their own code, but they were supposed to release it when
> > they were finished to allow other running programs to use it.
> >
> > I guess what I'm trying to say is quite a bit you can do without
> > multiple threads.
> >
> > And just as a side note, I came up with an interesting idea today on how
> > to emulate multiple threads in Flash. Just use more than one movie! Talk
> > between the UI movie and the background worker movie with a
> > LocalConnection object, and you're in business. No more UI lock.
> >
> > Scott
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Boon
> > Chew
> > Sent: December 3, 2005 8:24 PM
> > To: Flashcoders mailing list
> > Subject: [Flashcoders] Flash is a single-threaded app? Maybe it's just
> > theAVM? or...
> >
> >
> >   I have read in this  forum that someone loosely coined the phrase
> > "Flash is a single thread  app", it's hard to imagine something as high
> > performance and intricate  as Flash to be a single-threaded app.
> >
> >   So I started to take the above statement to mean that the Actionscript
> > VM executes all the code in a sequential fashion but that Flash player
> > itself is multithreaded, is that a right assumption?
> >
> >   And what about code that are asynchronous in nature, such as sound
> > playing ( new Sound(), onSoundComplete), server-side call  return (such
> > as LoadVars, XML.onLoad)?  Are these all happening in the single thread
> > of code execution?
> >
> >   Looks like a book on Flash and AVM Internal would be nice. :)
> >
> >   - boon
> >
> >
> >
> > -
> >  Yahoo! Personals
> >  Single? There's someone we'd like you to meet.
> >  Lots of someones, actually. Try Yahoo! Personals
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  1   2   3   >