Re: [Flashcoders] ActionScript Cheatsheet Update (new URL)!

2006-01-29 Thread Chris Velevitch
Great work! Wouldn't be a good idea to include the AS2 operators? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/

Re: [Flashcoders] AS2 Method for Resizing Screen

2006-01-29 Thread Rich Rodecker
well..for one, the error message is telling you exactly what is wrong with your code. the Stage object doesnt haave an event named 'addEventListener'..it's just 'addListener'. And since you are trying to delagate to a class's function, I'd imagine there would be no reason for the creation of a lis

Re: [Flashcoders] XML Namespace Explanation in Simple Terms?

2006-01-29 Thread Claus Wahlers
> xmlns="mystate" xmlns:556="anotherstate" etc (not really accurate here > as i could use both 555-2345-6789 and 2345-6789 to call my neighbor, > which afaik isn't possible in xml actually it should be possible, not sure: xmlns="mystate" xmlns:555="mystate" xmlns:556="anotherstate" cheers, claus.

Re: [Flashcoders] XML Namespace Explanation in Simple Terms?

2006-01-29 Thread Claus Wahlers
> 555-1234-5678 (me) > 556-1234-5678 (somebody else) > > that code would be a namespace prefix in xml terms > > somewhere i'd have to define where and what 555 really is. that'd be > my namespace declaration. there's also a "default" namespace. if i call my neighbor i can omit the state code becau

Re: [Flashcoders] .attachMovie issue

2006-01-29 Thread Michael Bedar
He's typecasting, so no "new" operator is needed. As for the original question, your getNextHighestDepth is on the wrong MC for starters.. this.PointContainer.getNextHighestDepth() -not - this.getNextHighestDepth() On Jan 29, 2006, at 8:55 PM, Nathan Derksen wrote: If Record is a clas

Re: [Flashcoders] .attachMovie issue

2006-01-29 Thread Nathan Derksen
If Record is a class you created, then you are missing the "new" operator. var temprec:Record = new Record(this.PointContainer.attachMovie ("Record", "Record_" + String(count++), this.getNextHighestDepth())); Nathan http://www.nathanderksen.com On Jan 28, 2006, at 11:30 AM, Mark Ribau wrot

Re: [Flashcoders] XML Namespace Explanation in Simple Terms?

2006-01-29 Thread Claus Wahlers
> I need to explain XML namespaces to several marketing people think phone numbers my phone number is 1234-5678 in a different state though, this phone number may belong to somebody else so, i put a code in front of it to distinguish it from same numbers in other states 555-1234-5678 (me) 556-

Re: [Flashcoders] the tool used to make this presentation

2006-01-29 Thread Mick G
It's not very compelling, but it's audience is probably business/marketing/investor folk that like to sit back and listening to mindless blabber and not think too much ;) On 1/30/06, GregoryN <[EMAIL PROTECTED]> wrote: > > > I'd say "by hand"... Maybe you think it's too boring to be made > manual

Re: [Flashcoders] FLV Syncronisation with Alpha Heavy Animations

2006-01-29 Thread kris lane
Hey, So if the Animation is playing slower than the video, it will cut to the next animation to keep up with the video cues? I know the mac is often quite slower for the flash animations, but is the 10fps sort of performance typical of what the flash plugin achieves? cheers kris Hi,

Re: [Flashcoders] fscommand('exec', 'myprogram.exe') WITHOUT a projector?

2006-01-29 Thread John Grden
I think that's a good reminder - I wasn't thinking about the folks who don't have the IDE. However, I still think that if you create an extension for Flash using a SWF interface, that the swf/JSFL could have access to more operating system level functionality like a wrapper would give you. I thin

Re: [Flashcoders] Deleting a KeyListener

2006-01-29 Thread Latcho
var KP:Object=new Object() Key.addListener(KP); KP.onKeyDown = function(){ if(Key.isDown(Key.SPACE)){ Key.removeListener(KP); delete KP // not necesarry I guess } } Stephen Hueners wrote: I'm setting up a listener for the Enter key in a login portion of my movie and need to delete it

Re: [Flashcoders] Regex in JSFL?

2006-01-29 Thread Ryan Matsikas
yes. On 1/29/06, keith <[EMAIL PROTECTED]> wrote: > > Does JSFL let you use Regular Expressions like you can in Javascript? > > -- Keith H -- > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/list

Re: [Flashcoders] XML Namespace Explanation in Simple Terms?

2006-01-29 Thread bryan.rice
On Jan 29, 2006, at 12:20 PM, JesterXL wrote: Hope that helps. Word. Helps a bunch. Thanx. blue skies, bryan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Regex in JSFL?

2006-01-29 Thread keith
Does JSFL let you use Regular Expressions like you can in Javascript? -- Keith H -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Standalone Flash EXE and PHP

2006-01-29 Thread Robert Sandie
Had the need to call a Flash Standalone EXE via PHP. Is it possible to pass it command line variables without integrating into an application like Screenweaver? -Rob ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig

Re: [Flashcoders] XML Namespace Explanation in Simple Terms?

2006-01-29 Thread JesterXL
AS3? No. The docs have gotten fubarred over the weekend. XML? Sure. http://www.w3schools.com/xml/xml_namespaces.asp In short, namespaces provide a way to avoid element naming conflicts. For XML to valid (not well formed, 2 different things), all elements must have a common meaning. Namesp

Re: [Flashcoders] fscommand('exec', 'myprogram.exe') WITHOUT a projector?

2006-01-29 Thread g.wygonik
hey john Something to remember is that when folks install the Flash Player via the MM web site, that doesn't install the _standalone_ Player... Just the browser component. Folks normally can't double click a SWF file and have it launch. Unless you install the Flash IDE or get the specific standalo

[Flashcoders] XML Namespace Explanation in Simple Terms?

2006-01-29 Thread bryan.rice
Hi All, I need to explain XML namespaces to several marketing people and I having trouble coming up with a layman's definition that is not too technical. I realize that it has to be at least a little technical, but it was challenging to get them to literally understand what XML was and t

Re: [Flashcoders] Flash and Midi

2006-01-29 Thread fla coder
Hi Roy There was a huge dicussion on the list not so long ago. Try doing a search for "Who wants MIDI in the Flash Player?" in the archives. Parts of the discussion were posted here: http://codext.xtyler.com/code/2 The discussion drew some interest from the Adobe listeners.. Sadly, there hasn't be

[Flashcoders] Flash and Midi

2006-01-29 Thread Roy Pardi
Anyone know of a cross-platform solution for receiving and sending midi events from within Flash? I've seen a few projects out there but they mostly seem beta/proof of concept or PC only. I'm looking at options for converting a music education program done in Director using the Sequence Xtra to Fl

[Flashcoders] BitmapData.loadBitmap in external SWF

2006-01-29 Thread Sönke Rohde
Hi, I have got a problem with BitmapData.loadBitmap used in an external loaded swf. When I run my external SWF all works as expected but when I load the SWF from my main movie the BitmapData fails to load. The bitmapdata is exported with a linkageId in my external SWF. It seems like my main movie h

Re: [Flashcoders] the tool used to make this presentation

2006-01-29 Thread GregoryN
I'd say "by hand"... Maybe you think it's too boring to be made manually? ;-) Making me download over 20mb (!) to see some "speaking heads". Here's another link: "Talking-Head Video Is Boring Online" http://www.useit.com/alertbox/video.html I'm curious if any of you have patience to listen the w

Re: [Flashcoders] Deleting a KeyListener

2006-01-29 Thread Dimitrios Bendilas
Hi Stephen, A reference to the listener is stored inside the Key class. So you have to remove it with Key.removeListener(keyForm); Regards, Dimitrios Bendilas www.total-eclipse.gr - Original Message - From: "Stephen Hueners" <[EMAIL PROTECTED]> To: "'Flashcoders mailing list'" Sent:

RE: [Flashcoders] Deleting a KeyListener

2006-01-29 Thread Adrian Lynch
removeListener()? Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stephen Hueners Sent: 29 January 2006 13:09 To: 'Flashcoders mailing list' Subject: [Flashcoders] Deleting a KeyListener I'm setting up a listener for the Enter key in a login portion of

[Flashcoders] Deleting a KeyListener

2006-01-29 Thread Stephen Hueners
I'm setting up a listener for the Enter key in a login portion of my movie and need to delete it after it runs so that if the user hits ENTER later in the original function is not called. I _thought this was the correct way to do this but testing proves me wrong: var keyForm = new Object(); keyFo

[Flashcoders] MovieClipLoader class problems, getPRogress, getBytesLoaded/Total and FLash 8 player trouble

2006-01-29 Thread Martin Weiser
Hello 1) in flash 7 and 8, myLoader.getProgress(targetMC) return undefined...why? when var loadPorgress=myLoader.getProgress(targetMC) and loadProgress.totalBytes returns number of bytes.??? 2) in flash player 8, in stand alone and in browser, i cannot access MovieClip getBytesTotal and ge

Re: [Flashcoders] Constructing XML

2006-01-29 Thread Sam Wootton
Cheers Ian, will give that a go :] Much appreciated. Regards, Sam On 29/01/06, Ian Thomas <[EMAIL PROTECTED]> wrote: > > Hi Sam, > Just run it through the PHP function stripslashes() before parsing it. > > Cheers, > Ian > > On 1/29/06, Sam Wootton <[EMAIL PROTECTED]> wrote: > > > > Hi, > >

Re: [Flashcoders] Constructing XML

2006-01-29 Thread Ian Thomas
Hi Sam, Just run it through the PHP function stripslashes() before parsing it. Cheers, Ian On 1/29/06, Sam Wootton <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks in advance for any help. > > I am constructing an XML file in Actionscript, here is a little bit that > cycles through an array, pro

RE: [Flashcoders] getting the html page

2006-01-29 Thread Adrian Lynch
There might be an in-built way to do this, but if not, and you have access to the html pages, pass in the page name using flashVars. Or see if running some JavaScript will work: window.location will return what's in the URL bar. So: a = theReturnedURL.split("/"); trace(a[a.length - 1]); should

RE: [Flashcoders] Fuzzy preloader

2006-01-29 Thread Adrian Lynch
Place the loader off stage, if the movie is still loading, you move the load on stage and the use sees it's still not there yet. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marco Sent: 19 September 2005 17:56 To: Flashcoders mailing list Subject: [Fl

[Flashcoders] Constructing XML

2006-01-29 Thread Sam Wootton
Hi, Thanks in advance for any help. I am constructing an XML file in Actionscript, here is a little bit that cycles through an array, producing nodes. ActionScript Code: strXML += "\n" for( var i:Number = 0; i < allSquares.length; i++ ) { strXML += "\n'; }

Re: OT THANK YOU: Re: [Flashcoders] How to call functions in sequence

2006-01-29 Thread Sander
If your functions are motion-based, have a look at "Fuse". It's a set of Tween classes that lets you execute a lot of tweens in sequence. 2 can fire off when 1 finished if you want. You can tween position, alpha, rotation and many more. http://www.mosessupposes.com/fuse/ Sample code from M