RE: [Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe's Flash-to-iPhone Compiler

2010-04-12 Thread Barry Hannah
That such a notable, respected and high quality mac developer has come out publically against this ridiculous decision is great news. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Carl Welch Sent: Tuesday

RE: [Flashcoders] What good is a Controller?

2010-03-30 Thread Barry Hannah
If you work on a PC I can highly recommend FlashDevelop. It comes with a really nice AS3 Preloader preset. Coupled with the Flex compiler you're straight into "flaless" Flash. Btw my opinion, I reckon you really need to take the plunge into AS3, asap. Barry. -Original Message- From: fla

RE: [Flashcoders] bubbling listening

2010-03-17 Thread Barry Hannah
What he said - events only bubble up the display list. EventDispatcher doesn't extend DisplayObject (rather the other way round) - so even if your Sprite is an instance inside an EventDispatcher it can't be on the EventDispatcher's stage (EventDispatcher doesn't have a stage). Instead of subclassi

RE: [Flashcoders] Tween Issues

2010-03-04 Thread Barry Hannah
What Tween engine are you using? The built in Adobe Tween class? Are your tween instances declared within a class? I used to get a lot of issues with Tweens doing random things. I discovered that any tween instances needed to be declared as class vars as opposed to locally scoped. i.e., rather th

RE: [Flashcoders] Using MVC for a site framework

2010-01-19 Thread Barry Hannah
Cor, I've found it the other way - trying to find complex examples of MVC are hard - there are heaps of overly simple ones that don't really tell me a lot about wiring complicated applications together. Also, I recommend you take any advice/examples objectively. There are many ways to skin an MVC

RE: [Flashcoders] Exporting a movie file

2010-01-18 Thread Barry Hannah
This is much more complicated than you might imagine. To export video from dynamic elements (such as your textfield) Flash has to export the entire movie as a bitmap sequence frame by frame. Then you stitch those bitmaps (pngs or whatever) together server side using something like FFMPEG. There is

RE: [Flashcoders] Still Infinitely Looping

2009-11-25 Thread Barry Hannah
Bingo - use this. Nice Henrik. > Use addFrameScript and you get both code in one place and the speed of a > framescript instead of a listener that is executed needlessly. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.fi

RE: [Flashcoders] Still Infinitely Looping

2009-11-25 Thread Barry Hannah
Try: public function myLeftHand(e:Event=null):void { // } The myLeftHand method is being called when an event fires, so the event must be passed in as a method parameter. "Event=null" allows the event to be optional - so you could also call it without dispatching an event. Whomever told

RE: [Flashcoders] ComboBox troubles

2009-11-18 Thread Barry Hannah
Hey Karl. The issue you are facing is that the function on the comboListen object (comboListen.change) steals your scope - so you don't have any access to all the things you need: "picturesArry", "thumbHolder" etc. So, you can either, forget creating an object to handle events and just put your "c

RE: [Flashcoders] Problem with First Flash Movie

2009-11-16 Thread Barry Hannah
OK, I'm lost. You need a function "mcHatAndFace" so you can "call" an asset from the library? Does var myHatAndFaceInstance:mcHatAndFace = new mcHatAndFace(); not work? I suspect classes and subclasses might be beyond your level of ability right now, may I respectfully suggest you learn a bit m

RE: [Flashcoders] Flicker feed doesn't seem to load

2009-11-15 Thread Barry Hannah
Put this code before your parsing routine: var atom:Namespace = new Namespace("http://www.w3.org/2005/Atom";); var dc:Namespace = new Namespace("http://purl.org/dc/elements/1.1/";); var flickr:Namespace = new Namespace("urn:flickr:"); var media:Namespace = new Namespace("http://search.yahoo.com/mr

RE: [Flashcoders] Access shared object from other class

2009-10-14 Thread Barry Hannah
You're declaring it as a public variable, so if your other class has a relationship with your main instance you should have direct access: yourMainInstance._sharedBoardObject; I suspect what you're missing is a relationship with the instance of Main. Barry -Original Message- From: flas

RE: [Flashcoders] just target children of particular node

2009-08-30 Thread Barry Hannah
Another approach that mitigates the risk posed by the xml structure changing (quite possible with a dynamic menu I reckon): siteNav.section.(@name=="theirs").subsection bjh -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.co

RE: [Flashcoders] Seek bar not working with FLVPlayback Component?

2009-07-30 Thread Barry Hannah
Fwiw, you can set Actionscript cue points that trigger when your flv reaches a frame. That wouldn't increase flv file size. This works irrespective of keyframes in the video file. However it has less accuracy (+/- 500ms apparently) than a metadata cue point and associated keyframe. var cue1:Obj

RE: [Flashcoders] ExternalInterface.call not working on desktop...??

2009-07-30 Thread Barry Hannah
AFAIK ExternalInterface doesn't work in the standalone player, only in the browser. You should be getting error messages to that effect. You can test whether or not it's available to use with the Boolean ExternalInterface.available property. BH -Original Message- From: flashcoders-

RE: [Flashcoders] To Void or not to void?? That is my question..

2009-07-13 Thread Barry Hannah
Karl, a function "returns" something if you include a line "return value" at the end of the function... For example, if you had a function that returned a random number below 100: function giveMeARandomNumberBelow100():Number { var myRandomNumberBelow100:Number = Math.random() * 100;

RE: [Flashcoders] styled text disappears when clicked or animated

2009-07-09 Thread Barry Hannah
Joel, wondering (seeing as cacheBitmap alone doesn't seem to want to work for me) if adding a subtle filter to text might encourage it to stay put? I'm going to give it a try. Barry. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig

RE: [Flashcoders] styled text disappears when clicked or animated

2009-07-09 Thread Barry Hannah
I have a similar issue, runtime created Textfields in a scrolling list. If the mouse is within the bounds of the list and I use the scrollwheel to scroll, when the text goes under the cursor it vanishes. I've tried cache as bitmap, didn't work. Any ideas to overcome this annoying little bit of Fla

RE: [Flashcoders] assigning variable to a movie clip and a MOUSE_DOWNevent

2009-06-18 Thread Barry Hannah
Set the parent movieclip's "mouseChildren" property to false. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kurt Dommermuth Sent: Friday, 19 June 2009 9:27 a.m. To: 'Flash Coders List' Subject: [Flashcod

RE: [Flashcoders] adding child movie clips in a loop

2008-12-14 Thread Barry Hannah
Put them in an array. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of php_mysql_ as_ dev Sent: Monday, 15 December 2008 9:00 a.m. To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] adding child mo

RE: [Flashcoders] What heck is up with "parent" in actionscript 3?

2008-12-10 Thread Barry Hannah
Seriously, consider dispatching an event from the child, listened to by the parent. > There has to be a way to make a call to a MC's parent... isn't there? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mai

RE: [Flashcoders] What heck is up with "parent" in actionscript 3?

2008-12-10 Thread Barry Hannah
"...no free flash player..." I don't recall ever having to pay for the Flash player. I can't believe I'm asking this, but what _are_ you on about? *opens can of worms, stands back* > Don't use it ! > Running after latest and greatest thing isn't necessarely > a good thing. Beside, no free flash

RE: [Flashcoders] Re: Flex vs. Flash

2008-11-20 Thread Barry Hannah
I wouldn't have thought there were too many AS3 developers still using code within the .fla? It's so easy to set up FlashDevelop to compile with the Flex SDK and build every bit of your project through it. Of course you can then add visual assets, timeline animations, skin your components etc in Fl

RE: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-16 Thread Barry Hannah
I agree with you to a point Steven, but speaking for myself if I may. I used to be a "child" as you put it - to the extent that all Flash developers/designers were back in the day. Keeping up with the code side of things as they have developed - beyond the expectations of everyone - has been intere

RE: [Flashcoders] Netstream fails to close

2008-07-08 Thread Barry Hannah
FYI, When I post to this list I'm openly and honestly explaining my situation. I would never suggest that someone with as much experience as yourself 'pulled code out of their ass'. I have a fair bit of experience myself and it wasn't working for me. The links I included were simply to illustrate

RE: [Flashcoders] Netstream fails to close

2008-07-06 Thread Barry Hannah
It's mentioned by plenty of people here: http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/ht ml/wwhelp.htm?context=Flash_MX_2004&file=1594.html here: http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Ma cromedia_Flash/Q_23515050.html here: http://forum

RE: [Flashcoders] Netstream fails to close

2008-07-05 Thread Barry Hannah
ent: Sun 6/07/2008 6:00 a.m. To: Flash Coders List Subject: Re: [Flashcoders] Netstream fails to close You have to pause() before you close(). Jason Van Cleave wrote: > sounds like a scope issue where you have multiple netstream objects > > On Thu, Jul 3, 2008 at 9:54 PM, Barry Hanna

[Flashcoders] Netstream fails to close

2008-07-03 Thread Barry Hannah
I'm trying to fix a bug in a video player. Selecting a new video to play from a playlist, plays correctly but the first clip's audio doesn't die. I'm using NetStream.close(), it doesn't appear to work. It works if I wait for the first clip to download fully, just not if I select a new clip when t

RE: [Flashcoders] Effective Cursor Switching

2008-06-12 Thread Barry Hannah
As with buttons forcing the OS pointer/hand cursor, selectable textfields should also change the standard arrow cursor into an I-beam one? I thought this was default behavior when the Textfield.selectable property was set to true? Flash went part way there with including a "useHandCursor" property

RE: [Flashcoders] Is Adobe fixing this big FP9 problem?

2008-04-14 Thread Barry Hannah
Can you please refrain from your personal tirade on this list? I'm sick of your potty mouth, it's completely unprofessional and unnecessary. If you have an axe to grind with Steven, email him directly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of laur

RE: [Flashcoders] Is Adobe fixing this big FP9 problem?

2008-04-14 Thread Barry Hannah
1) Are flv's affected? 2) Does it ruin Adobe media player? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Scanned by Bizo Email Filter _

RE: [Flashcoders] RE: Date Object for MySQL Database

2008-03-19 Thread Barry Hannah
I suspect the database requires it in ISO date format. The application layer should be able to convert a correctly formatted string to an ISO date, I have a class that (for better or worse) extends the Date class adding two methods: getIsoFromDate() and getDateFromIso(). Sent to your gmail. -

RE: [Flashcoders] dictionary vs array

2008-03-11 Thread Barry Hannah
The best use for them is to be able to find something you've stored by its key - as opposed to having to loop through an entire array to find it. Pretty damn handy, but sorting them can be complicated. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patric

[Flashcoders] Streaming video (RTMP / Flash Media Server 3) load progress bar

2008-02-24 Thread Barry Hannah
Is there any way to show load progress with streaming video? NetStream.bytesLoaded and NetStream.bytesTotal return 0, NetStream.bufferLength shows merely how many seconds are left to load to reach your previously set NetStream.bufferTime property. I even found an undocumented "decodedFrames" prop