RE: [Flashcoders] problem creating multiple instances

2007-05-23 Thread David Ngo
Yeah, you're using the same MovieClip name reference. I do believe you can't have two objects share the same name. You'll get concurrency issues with that on this line: _mcLibrary = _scope.attachMovie(libraryLink,mcLibrary, _scope.getNextHighestDepth()); You'll need to create a unique ID for

[Flashcoders] Can we control the quality of the web cam

2007-05-23 Thread Amandeep Singh
Hi, Can any one let me know that how can we control the quality of the web cam publishing on the FMS. What I am doing is scaling the size of the video component, which also causes the quality of the cam to reduce down. As per my project requirement I have to scale the size of the video player.

Re: [Flashcoders] problem creating multiple instances

2007-05-23 Thread Bill Mackin
After reading your first e-mail I did go through and make a change here, but it did not resolve the issue. _mcLibrary = _scope.attachMovie(libraryLink, mcLibrary+myName, _scope.getNextHighestDepth()); The line you mention is not the MovieClip reference for the plane, but a MovieClip

[Flashcoders] dispatchEvent within another event handler

2007-05-23 Thread Sam
I'm trying to do what i think should be pretty simple. I want to dispatch an event when my xml has completed lodaing. For the life of me i can't figure out why event does not get dispatched from handleXML, I know the listner works because I've tested it by dispatching the same event from a

Re: [Flashcoders] problem creating multiple instances

2007-05-23 Thread Muzak
I suggest you start placing some trace()'s in your code so you can track what happens. And get XRay.. http://osflash.org/xray regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] problem creating multiple instances

2007-05-23 Thread David Ngo
Where are you getting 'myName'? Is that a unique name per instance? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Mackin Sent: Wednesday, May 23, 2007 6:33 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] problem creating

RE: [Flashcoders] dispatchEvent within another event handler

2007-05-23 Thread David Ngo
You're listening for an event from your view class that's being fired from your service class, that's why. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Sent: Wednesday, May 23, 2007 7:46 AM To: Flashcoders mailing list Subject: [Flashcoders]

RE: [Flashcoders] dispatchEvent within another event handler

2007-05-23 Thread Adrian Ionut Beschea
yeah. maybe it should be _service = new MyService(); _service.addEventListener(xmlLoaded, doSomething); David Ngo [EMAIL PROTECTED] wrote: You're listening for an event from your view class that's being fired from your service class, that's why. -Original Message- From:

RE: [Flashcoders] Indesign to xml

2007-05-23 Thread Merrill, Jason
I want to convert an Indesign document to xml how do I do it? Regards, Unfortunately for you, you've asked the wrong list. This list is about Actionscript. Maybe someone knows, but you should probably try elsewhere. Jason Merrill Bank of America GTO Learning Leadership Development eTools

Re: [Flashcoders] dispatchEvent within another event handler

2007-05-23 Thread Sam
good god I'm a moron. thanks guys On May 23, 2007, at 8:31 AM, Adrian Ionut Beschea wrote: yeah. maybe it should be _service = new MyService(); _service.addEventListener(xmlLoaded, doSomething); ___ Flashcoders@chattyfig.figleaf.com To

Re: [Flashcoders] dispatchEvent within another event handler

2007-05-23 Thread Muzak
You're listening for an event on the view, which doesn't dispatch that event. The event is dispatched from the service, to which you never subscribe. regards, Muzak - Original Message - From: Sam [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent:

Re: [Flashcoders] dispatchEvent within another event handler

2007-05-23 Thread Muzak
That's not how bubbling works. Bubbling only occurs for objects that are on the display list. http://livedocs.adobe.com/flash/9.0/main/0137.html regards, Muzak - Original Message - From: Sam [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 23, 2007 2:31

Re: [Flashcoders] Indesign to xml

2007-05-23 Thread Muzak
- Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 23, 2007 2:56 PM Subject: RE: [Flashcoders] Indesign to xml I want to convert an Indesign document to xml how do I do it? Regards, Unfortunately for you, you've

RE: [Flashcoders] Q:Create and animate diagonal slices from Bitmap

2007-05-23 Thread Jesse Graupmann
Any suggestions eh...? This is not perfect at all but I think works fine as a quick test and only using a 45 degree rotation. To see it working, put any image in a MovieClip and call it 'mc' and then this code on the same frame.

Re: [Flashcoders] Fwd: Timeline label question

2007-05-23 Thread Andy Herrman
I haven't seen the book so this is completely a guess, but is it possible he wants the actions in frame 1 to happen before the loading display (maybe some pre-loading initialization) but the actions in frame 5 need to happen after the loading display has been shown? -Andy On 5/22/07, Jeff

[Flashcoders] Detect Flash version in AS3

2007-05-23 Thread Joe Cutting
Hello, I'm building a web project in AS3 using Flash CS3. Originally my idea was that the swf would do a version check at the start of the program and if the user wasn't running Flash 9 they would be redirected to download the upgrade. Now, I've done some thinking about this and realised that

RE: [Flashcoders] Fwd: Timeline label question

2007-05-23 Thread Jesse Graupmann
Colin Moock's book Essential ActionScript 2.0 - page 288 - set2/#6 6. At frames 4 and 15 of the labels layer, add a new keyframe. Colin Moock's book Essential ActionScript 2.0 - page 288 - set3/#12 1. At frame 5 of the scripts layer, add a new keyframe 2. With frame 5 of the scripts layer

[Flashcoders] limits to EI and Local Connection calls

2007-05-23 Thread Matthew Ganz
Is there a KB limit to passing data via an External Interface call? and for that matter, what about a local connection call? i couldn't find anything about external interface. thanks for any helpful tips. -- matt. ___

Re: [Flashcoders] limits to EI and Local Connection calls

2007-05-23 Thread Johannes Nel
yes, not sure about how much it is (we tested this and i forgot again i think LC is 30kb or something) On 5/23/07, Matthew Ganz [EMAIL PROTECTED] wrote: Is there a KB limit to passing data via an External Interface call? and for that matter, what about a local connection call? i couldn't find

[Flashcoders] [OT] How to capture swf to .avi?

2007-05-23 Thread Marc Hoffman
What software are you using to capture a swf (including audio) and save as .avi? Note: I'm not talking about exporting from the .fla -- this .swf uses scripted tweens and other scripting, so I need to capture the entire animation sequence, including audio, from the .swf in either the browser

[Flashcoders] ActionScript coder needed for pay

2007-05-23 Thread temp
My apologies if you are receiving this when you would have preferred not to, but I have a fairly urgent need to find an ActionScript coder, IN THE USA, who would like to take on either some part-time work over the next 8 to 10 weeks, or full time for several weeks. I have a client who has a Flash

[Flashcoders] Need help creating an old-skool arc or circular scrollbar

2007-05-23 Thread Ash Warren
A lng time ago it seems these things were all over flashkit etc. and now well not so much ;) Anyway, I wanted to create a scroller on an arc or radius like this example: http://s12987.gridserver.com/arc_scroller_example.jpg Can anyone point me in the right direction to create something like

[Flashcoders] Need help creating an old-skool arc or circular scrollbar

2007-05-23 Thread Ash Warren
A lng time ago it seems these things were all over flashkit etc. and now well not so much ;) Anyway, I wanted to create a scroller on an arc or radius like this example: http://s12987.gridserver.com/arc_scroller_example.jpg Can anyone point me in the right direction to create something like

Re: [Flashcoders] [OT] How to capture swf to .avi?

2007-05-23 Thread Zeh Fernando
What software are you using to capture a swf (including audio) and save as .avi? Note: I'm not talking about exporting from the .fla -- this .swf uses scripted tweens and other scripting, so I need to capture the entire animation sequence, including audio, from the .swf in either the browser

RE: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-23 Thread Jesse Graupmann
Trigonometry http://www.codylindley.com/Tutorials/trigonometry/ Trig Tutorial http://www.albinoblacksheep.com/flash/trig -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ash Warren Sent: Wednesday, May 23, 2007 9:58 AM To:

Re: [Flashcoders] Need help creating an old-skool arc or circular scrollbar

2007-05-23 Thread Matthias Dittgen
link seems broken here. 2007/5/23, Ash Warren [EMAIL PROTECTED]: A lng time ago it seems these things were all over flashkit etc. and now well not so much ;) Anyway, I wanted to create a scroller on an arc or radius like this example: http://s12987.gridserver.com/arc_scroller_example.jpg

[Flashcoders] How to check if a URL is invalid?

2007-05-23 Thread Bruce Drummond
Hi, I have a Video Player application using the FLVPlayback component. I've already built the entire thing so building a custom video player component is out of the question. I want to build in an error handling capability, that will check a URL's validity before setting it as the

[Flashcoders] A class that uses LoadVars to return XML

2007-05-23 Thread eric e. dolecki
I can't test this yet (stub code really for now), but I am writing a class to handle all kinds of requests of an HTTP XML service. My question is mainly in having the .onLoad fired properly and generally the setup being adequate to dispatch the resulting XML to a listener in my application. Below

Re: [Flashcoders] Detect Flash version in AS3

2007-05-23 Thread Muzak
http://www.google.com/search?hl=enq=flash+version+detectionmeta= have a look at: http://blog.deconcept.com/swfobject/ - Original Message - From: Joe Cutting [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 23, 2007 4:48 PM Subject: [Flashcoders] Detect

Re: [Flashcoders] How to check if a URL is invalid?

2007-05-23 Thread Bob Wohl
Hi Bruce, So you're getting a path to the flv file via xml, correct? you could create a video object, connect a netstream of the flv and on success kill the stream telling your function handler to load up the component with the path to the url. With proper use of buffer time, this route would

Re: [Flashcoders] limits to EI and Local Connection calls

2007-05-23 Thread Muzak
LC limit is said to be around 40k. Not sure about EI. A quick google turns up nothing useful in regards to size limit. Only thing I found is that performance seriously degrades with larger data chunks. http://weblogs.macromedia.com/jd/archives/2006/02/neuberg_on_exte.cfm Which is a response

Re: SPAM-LOW: [Flashcoders] Detect Flash version in AS3

2007-05-23 Thread Derek Vadneau
If you load a Flash 9 SWF into _level0 the SWF won't be contained in the Flash 8 (or previous) SWF, it will be the main movie. So, technically you could use a SWF published for a previous version and detect the version of Flash Player installed, then display a message or load the Flash 9 SWF

[Flashcoders] External Interface: Empty Strings Return as null

2007-05-23 Thread Jer Brand
Hey folks, Working on a problem I'm betting there's no solution for. I've got an .swf embedded in a page which exposes several methods using ExternalInterface.addCallback(...), all of which return values. The problem comes in when I return an empty string . Empty strings are converted to the

Fwd: [Flashcoders] limits to EI and Local Connection calls

2007-05-23 Thread Johannes Nel
my gut instinct on EL would be 1024 bytes as it would call getURL and a url can only be 1024 bytes On 5/23/07, Matthew Ganz [EMAIL PROTECTED] wrote: thanks johannes. i couldn't find anything on EI limits but our tests on LC show the same as you, approximately 40kb. - Original Message

Re: [Flashcoders] limits to EI and Local Connection calls

2007-05-23 Thread Matthew Ganz
informative articles...thanks muzak. - Original Message - From: Muzak [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 23, 2007 2:39 PM Subject: Re: [Flashcoders] limits to EI and Local Connection calls LC limit is said to be around 40k. Not sure about

Re: [Flashcoders] Indesign to xml

2007-05-23 Thread Gustavo Duenas
try the export to xml the indesign has in the file tab. Regards Gustavo Duenas On May 23, 2007, at 8:56 AM, Merrill, Jason wrote: I want to convert an Indesign document to xml how do I do it? Regards, Unfortunately for you, you've asked the wrong list. This list is about Actionscript.

[Flashcoders] Q:Dynamically change blend mode

2007-05-23 Thread moveup
This has come up fairly often and I haven't found a solution. Is there a way to change the blend mode on a Movieclip that is created at runtime? [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search

RE: [Flashcoders] Q:Dynamically change blend mode

2007-05-23 Thread Holth, Daniel C.
movieClip.blendMode = [mode] blendMode (MovieClip.blendMode property) http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp .htm?context=LiveDocs_Partsfile=2444.html Daniel Holth I.S. Programmer x5217 || J401 -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] Q:Dynamically change blend mode

2007-05-23 Thread Jeremy Sachs
Certainly! I use it all the time. DisplayObjects have a property called blendMode. If you know the name of the blendMode you want, assign its name in lowercase to the property of your MovieClip like so: myClip.blendMode = blendmodename; Note that the erase and alpha blendModes require

[Flashcoders] Q:Blend mode bug

2007-05-23 Thread moveup
I have a container mc (lets call it parent) which in turn contains several nested mc's (lets call these the children) Each 'child' has an attached Bitmap slice. The container or parent mc is in a layer above another mc . Essentially I'm animating the 'children' mc's on to the stage to create

[flashcoders] Q: binary data (JPG) in XML

2007-05-23 Thread eric e. dolecki
I have been asked if its possible to have Flash display a JPG thats stored in XML as a binary object (ie. I don't get a path to the JPG, I get the JPG). I have NO idea what this XML looks like yet, but perhaps someone has done this already? I am not very good with BitmapData, etc. yet and unsure

Re: [flashcoders] Q: binary data (JPG) in XML

2007-05-23 Thread T. Michael Keesey
On 5/23/07, eric e. dolecki [EMAIL PROTECTED] wrote: I have been asked if its possible to have Flash display a JPG thats stored in XML as a binary object (ie. I don't get a path to the JPG, I get the JPG). I have NO idea what this XML looks like yet, but perhaps someone has done this already? I

Re: [Flashcoders] Need help creating an old-skool arc or circular scrollbar

2007-05-23 Thread Matthias Dittgen
yes, Trigonometry! :-) would this one help you: http://lizu.net/circle.swf Mail to me offlist for the source! hth, Matthias 2007/5/23, Ash Warren [EMAIL PROTECTED]: A lng time ago it seems these things were all over flashkit etc. and now well not so much ;) Anyway, I wanted to create a

Re: [Flashcoders] problem creating multiple instances

2007-05-23 Thread Bill Mackin
Yes it is. It is the name the person designates to the plane at runtime. On May 23, 2007, at 9:58 PM, David Ngo wrote: Where are you getting 'myName'? Is that a unique name per instance? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill

Re: [Flashcoders] problem creating multiple instances

2007-05-23 Thread Bill Mackin
Muzak, Thanks for your suggestion, I will look into XRay for future projects. I have of course placed several trace commands throughout my code, but I am still unable to find the problem. Cheers, - Bill On May 23, 2007, at 9:46 PM, Muzak wrote: I suggest you start placing some trace()'s

Re: [Flashcoders] Detect Flash version in AS3

2007-05-23 Thread Bill Mackin
Joe, In my experience, using some kind of javascript like SWFObject or UFO is the best way to go. There is a project named SWFFix that looks promising, but it appears that no work has been done on it since Feb. http://www.swffix.org/devblog/ As for using AS3 to detect for the version of

Re: [flashcoders] Q: binary data (JPG) in XML

2007-05-23 Thread eric e. dolecki
I found this: http://board.flashkit.com/board/archive/index.php/t-720498.html which makes it seem like it might be impossible to parse. I would be getting 200x200 px images base64 encoded in XML. Not sure what to do here yet... perhaps I should try to get a path instead, although being able to

Re: [Flashcoders] How to check if a URL is invalid?

2007-05-23 Thread Bruce Drummond
Hey Bob, Thanks, that totally makes sense! I tried it out and it works great! I'm having a strange issue where Flash crashes every second time I publish the fla (this happens with some other files too). Could it be because there's many POSTs to server scripts and some browser specific

Re: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-23 Thread Mark Winterhalder
On 5/23/07, Jesse Graupmann [EMAIL PROTECTED] wrote: Trigonometry No need, apart from Math.atan2() to get the result -- assuming the anchor point of the container is in the middle, just normalize the vector from the centre to the mouse and then scale it to the desired radius, that's the

Re: [Flashcoders] Q:Create and animate diagonal slices from Bitmap

2007-05-23 Thread Bill Mackin
Jesse, Pretty cool! H... Would be great if the you were able to add filters to the image below just within the bounds of that slice. Cheers, - Bill On May 24, 2007, at 12:15 AM, Jesse Graupmann wrote: Stage.scaleMode = 'noScale' import flash.display.* import flash.geom.*

Re: [Flashcoders] How to check if a URL is invalid?

2007-05-23 Thread Johannes Nel
as a side note. killing the stream (or calling stop) does not halt the progressive download. you have to pass it a url that def does not exist. On 5/23/07, Bob Wohl [EMAIL PROTECTED] wrote: Hi Bruce, So you're getting a path to the flv file via xml, correct? you could create a video object,

[Flashcoders] HELP!! cannot seem to embed fonts

2007-05-23 Thread a
mx:Style @font-face{ src: url(./assets/ARIAL.TTF); fontFamily: aArial; fontStyle: regular; } .mystyle1 { fontFamily:aArial; fontSize: 12pt; } /mx:Style mx:Panel x=40.5 y=22 width=325.5

Re: [flashcoders] Q: binary data (JPG) in XML

2007-05-23 Thread Muzak
A quick google turned up the following: http://fever.customactions.net/doc/fever/data/encoder/Base64.html And there's plenty more out there: http://www.google.com/search?q=base64+ActionScript+2.0 ActionScript 3 http://www.dynamicflash.com/goodies/base64 regards, Muzak - Original Message

Re: [Flashcoders] sendandload method fails inside a frameset.

2007-05-23 Thread Glen Pike
Hi, With LoadVars.sendAndLoad() the second parameter is the name of an object not a frame that will receive data, e.g. mSendVars = new LoadVars(); mLoadVars = new LoadVars(); mSendVars.sendAndLoad(mPostURL, mLoadVars, POST); The onload event should be fired for the target, so.

Re: [Flashcoders] problem creating multiple instances

2007-05-23 Thread Bill Mackin
Finally found the problem!! In the end it was very simple. I did not define _myMouseListener:Object in the correct place, and it was being overwritten. Thanks for the help! Cheers, - Bill On May 24, 2007, at 6:41 AM, Bill Mackin wrote: Yes it is. It is the name the person designates

Re: [Flashcoders] help with a menu in xml : solved

2007-05-23 Thread Gustavo Duenas
Thanks man, it works... Regards Gustavo Duenas On May 22, 2007, at 5:32 PM, Jesse Graupmann wrote: Your problem might be that your buttons are sharing the same scope when attempting to access individual variables. When you do something like:

Re: [Flashcoders] splitting the list?

2007-05-23 Thread Count Schemula
Consider using a Yahoo! or gmail account specifically for this list. Helps a lot by threading e-mails with the same header and isolates it from your normal or work e-mail account. On 5/16/07, Nimrod Huberman [EMAIL PROTECTED] wrote: This list include very interesting and helpful subjects, but