Re: [Flashcoders] accessing event dispatchers in a loosely-coupled, modular design

2010-02-23 Thread Allandt Bik-Elliott (Receptacle)
aside from the advice that i got on this message list, i found this article from adobe really useful http://www.adobe.com/devnet/flex/articles/blueprint.html might help here too best a On 23 Feb 2010, at 17:19, Merrill, Jason wrote: Sort of - but I wouldn't have the controller dispatch

Re: [Flashcoders] as3 to iphone app

2009-10-28 Thread Allandt Bik-Elliott (Receptacle)
don't swfs compiled from c run faster in the plugin than ones compiled in actionscript? i thought i read that if so - the potential also exists here doesn't it? a On 9 Oct 2009, at 01:13, Eric E. Dolecki wrote: Yes, it is an assumption not based on any fact. My opinion right now as I

Re: [Flashcoders] strange error when removing sprite from parents display list

2009-09-28 Thread Allandt Bik-Elliott (Receptacle)
Pablo Califano califa010.flashcod...@gmail.com The stack dump looks like .NET, indeed, so it's probably a bug to be fixed in FlashDevelop. Have you considereded sending a bug report with a mininal sample to reproduce the problem? Cheers Juan Pablo Califano 2009/8/22 Allandt Bik-Elliott

Re: [Flashcoders] Testing

2009-09-16 Thread Allandt Bik-Elliott (Receptacle)
i always use this is a test do not adjust your set a On 11 Sep 2009, at 23:57, Glen Pike wrote: 8,16,32 Karl DeSaulniers wrote: Aaap ya missed 3 ;) Karl On Sep 11, 2009, at 5:45 PM, Glen Pike wrote: 1,2,4 -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk

[Flashcoders] Extra information in classes

2009-09-08 Thread Allandt Bik-Elliott (Receptacle)
hi guys Something I've been thinking about for the last couple of days - what extra information do you add to a class when you're writing it? My headers always include /** * @filename: Main.as * @version : Actionscript 3.0

Re: [Flashcoders] strange error when removing sprite from parents display list

2009-08-22 Thread Allandt Bik-Elliott (Receptacle)
FYI This compiles correctly with flexbuilder so it seems it's a problem with flashdevelop (and not the flex sdk or my code) pity really, - i was really enjoying a flash ide-less workflow (could use flexbuilder - it's awful) a On 19 Aug 2009, at 11:42, allandt bik-elliott

Re: [Flashcoders] How to compare two audio files with actionscript?

2009-08-10 Thread Allandt Bik-Elliott (Receptacle)
have you seen anything like this? http://www.communitymx.com/content/article.cfm?cid=8E9A0 just trying to get a feel for what you are trying to do a On 10 Aug 2009, at 09:35, johnny lee wrote: Where are the Actionscript Sages when you need them :( On Mon, Aug 10, 2009 at 10:25 AM, johnny

Re: [Flashcoders] button overlay appearing under textfield?

2009-08-10 Thread Allandt Bik-Elliott (Receptacle)
= false on a container to switch off inputs for all the child sprites. Glen Allandt Bik-Elliott (Receptacle) wrote: hey guys this is probably a silly bug but i've got a very strange occurance i've got a method that is supposed to create a textfield with an invisible button on top but, even tho

[Flashcoders] mac vs pc

2009-08-10 Thread Allandt Bik-Elliott (Receptacle)
i'd completely understand if nobody wanted to touch this one but i thought i'd throw it out there a bit of background: I've been developing on mac for 7 or 8 years, the first 5 were as an enthusiastic amateur but more recently i've gone full time flash developing. As time has progressed,

[Flashcoders] button overlay appearing under textfield?

2009-08-07 Thread Allandt Bik-Elliott (Receptacle)
hey guys this is probably a silly bug but i've got a very strange occurance i've got a method that is supposed to create a textfield with an invisible button on top but, even tho the traces come out correctly, i can't seem to stop the textfield obscuring the button if they're added to the

Re: [Flashcoders] button overlay appearing under textfield?

2009-08-07 Thread Allandt Bik-Elliott (Receptacle)
i've taken to putting the button overlay into a separate sprite but i would be interested if anyone has any insights as to why this happened as it seemed a bit random to me ta a On 7 Aug 2009, at 17:32, Allandt Bik-Elliott (Receptacle) wrote: hey guys this is probably a silly bug

Re: [Flashcoders] RE: Flash full screen examples

2009-08-07 Thread Allandt Bik-Elliott (Receptacle)
wow that site is the cows udders - you might say it was moo-velous a On 7 Aug 2009, at 17:57, Paul Andrews wrote: Merrill, Jason wrote: Those California Milk Processors are loaded. :) Fortunately they didn't go for a cheesy website.. Jason Merrill Bank of America Global Learning

Re: [Flashcoders] RE: Flash full screen examples

2009-08-07 Thread Allandt Bik-Elliott (Receptacle)
the milk of human kindness is running thin with these puns :D On 7 Aug 2009, at 19:21, Kerry Thompson wrote: was it the cream of the crop? It was until they started skimming the profits. ___ Flashcoders mailing list

Re: [Flashcoders] [JOB] Flash/Flex Developer, San Mateo, CA | 75-120k

2009-08-03 Thread Allandt Bik-Elliott (Receptacle)
~noses through portfolio whassat? On 31 Jul 2009, at 16:41, Matt Gitchell wrote: Jeez. Sorry about that, folks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] separating MouseEvent.MOUSE_UP from MouseEvent.CLICK

2009-07-12 Thread Allandt Bik-Elliott (Receptacle)
hi guys quick question - is it possible to separate a MOUSE_UP event from a CLICK event? i have a mouse listener function that does the following: [code] private function grabListener(e:MouseEvent):void { switch(e.type)

[Flashcoders] CDATA whitespace issue

2008-10-16 Thread Allandt Bik-Elliott (Receptacle)
hi folks i'm writing some xml for my site to load in content and, because i want to use html, i'm using cdata in my description nodes. The problem is that if i do the following: [xml] ?xml version=1.0 encoding=UTF-8? site blog /blog portfolio carousel

Re: [Flashcoders] CDATA whitespace issue

2008-10-16 Thread Allandt Bik-Elliott (Receptacle)
hey cedric - thanks for your response the linebreaks are purely aesthetic, to make it easier to write directly in the xml doc but, as you say, they could be stripped (i'm using p tags already but the net result is the same). I'm really just seeing how far i can go in my xml - the first

Re: [Flashcoders] CDATA whitespace issue

2008-10-16 Thread Allandt Bik-Elliott (Receptacle)
:D thanks mate On 16 Oct 2008, at 14:44, Cedric Muller wrote: :) yes I know, I am facing the exact same problem. I love best-case scenarios, but with xml I couldn't achieve the first option, unless rendering the xml from a cms. cedric hey cedric - thanks for your response the

Re: [Flashcoders] AS3 flash is treating static function call as property?

2008-10-14 Thread Allandt Bik-Elliott (Receptacle)
awesome - knew it was something stupid - i've been doing wy to much as2 recently :) thanks guys a On 14 Oct 2008, at 15:24, Cédric Tabin wrote: Hello, Didn't you forget the 'public' before class ? :) Regards, Cedric On Tue, Oct 14, 2008 at 4:05 PM, Allandt Bik-Elliott (Receptacle

[Flashcoders] AS3 flash is treating static function call as property?

2008-10-14 Thread Allandt Bik-Elliott (Receptacle)
hey guys quick question for you as3 coders: i have an old as2 class which i've converted to as3 that checks to see where the movie is being played (browser or IDE test movie player) and adjusts the url of the loading swf to make sure that i don't have to keep the main loader swf outside

Re: [Flashcoders] streaming mp3s not consistent

2008-10-09 Thread Allandt Bik-Elliott (Receptacle)
what would be the netstream method to do this please? On 6 Oct 2008, at 12:40, Allandt Bik-Elliott (Receptacle) wrote: hi guys i have a quick question regarding streaming mp3s. I have several (hundred) dynamically loaded mp3s that i've been streaming into flash using the following code

[Flashcoders] streaming mp3s not consistent

2008-10-06 Thread Allandt Bik-Elliott (Receptacle)
hi guys i have a quick question regarding streaming mp3s. I have several (hundred) dynamically loaded mp3s that i've been streaming into flash using the following code: NOTE: AS2 [code] private function startMouth():Void { var avatarSound:Sound = new Sound();

[Flashcoders] [Solved] flushing memory

2008-10-06 Thread Allandt Bik-Elliott (Receptacle)
populated) but that didn't cut it On Fri, Oct 3, 2008 at 7:27 PM, eric e. dolecki [EMAIL PROTECTED] wrote: Handle it without using a timeline at all and use code straight instead? On Fri, Oct 3, 2008 at 2:11 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: hi folks is there any way

[Flashcoders] AS2 - problems calling a movieclip class

2008-10-03 Thread Allandt Bik-Elliott (Receptacle)
hi guys - really hope you can help with this one i've got the following class assigned to a movieclip (using linkage) [code] import com.receptacledesign.events.EventClip import mx.utils.Delegate; class com.avatar extends EventClip // adds events to the movieclip { var

Re: [Flashcoders] AS2 - problems calling a movieclip class

2008-10-03 Thread Allandt Bik-Elliott (Receptacle)
ah never mind again - i got it i was referencing the holding clip, not the clip with the class on sorry alz On 3 Oct 2008, at 12:07, Allandt Bik-Elliott (Receptacle) wrote: hi guys - really hope you can help with this one i've got the following class assigned to a movieclip (using linkage

[Flashcoders] flushing memory

2008-10-03 Thread Allandt Bik-Elliott (Receptacle)
hi folks is there any way i can completely flush the memory for the flash plugin? i have a spelling game that uses classes on symbols placed on the timeline and when i hit a replay button at the end of my game, the playhead is moved to the start of the timeline (so none of the symbols are

[Flashcoders] AS2 EventDispatcher problem

2008-10-02 Thread Allandt Bik-Elliott (Receptacle)
hi guys - i could really use some help here I have a swf, 'swf', that has a movieclip called 'clip' placed on stage that uses the following class in it's linkage all of this is loaded into another swf with moviecliploader [code] import com.receptacledesign.events.EventClip class com.Clip

[Flashcoders] favourite programming environment

2008-09-26 Thread Allandt Bik-Elliott (Receptacle)
I'm sure it's been asked before but as these things change over time, i thought it worth rehashing now what's your favourite coding environment? I really like FlashDevelop but because I'm on a mac, I've been looking into other options (although FD with parallels is a pretty good setup).

Re: [Flashcoders] TweenMax help needed

2008-08-25 Thread Allandt Bik-Elliott (Receptacle)
sweet i actually found a workaround for my issue - i used the TweenMax.delayedCall to run my functions instead of running delay: and delayIncrement: and that seemed to fix the problem i had. On a side note - i was using a setInterval to add pauses in between firing the different tweens i

Re: [Flashcoders] ...Friday, 5:38 pm

2008-07-26 Thread Allandt Bik-Elliott (Receptacle)
heh :) if flash died tomorrow, what would you do instead? On 25 Jul 2008, at 22:20, Steven Sacks wrote: I'm still here. ;) allandt bik-elliott (thefieldcomic.com) wrote: it brings up a serious point tho - can flash survive with the amount of animosity there is towards it?

Re: [Flashcoders] ...Friday, 5:38 pm

2008-07-26 Thread Allandt Bik-Elliott (Receptacle)
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: zaterdag 26 juli 2008 13:02 To: Flash Coders List Subject: Re: [Flashcoders] ...Friday, 5:38 pm heh :) if flash died tomorrow, what would you do instead? On 25 Jul 2008, at 22:20, Steven Sacks wrote: I'm still

Re: [Flashcoders] regexp question

2008-07-04 Thread Allandt Bik-Elliott (Receptacle)
wow - i have no idea what that means at all time to hit the books - thanks :) On 4 Jul 2008, at 01:09, Claudius Ceteras wrote: Hi, is there a way of counting back from the end of the number and inserting the comma (even without a regular expression)? if i use the g modifier in the regexp

Re: [Flashcoders] regexp question

2008-07-04 Thread Allandt Bik-Elliott (Receptacle)
hi again i've been trying different things and it seems that the [^0] or [^\d] is stopping it working. (I needed to use $1 rather than \1 to reference the first group in the String.replace statement) here is what i've got so far var sYear:String = 1234567; var pattern:RegExp =

Re: [Flashcoders] regexp question

2008-07-04 Thread Allandt Bik-Elliott (Receptacle)
on RegEx on www.ilovejackdaniels.com and there is ofcourse alot on whttp://www.regular-expressions.info/ quickstart.html and http://www.regular-expressions.info/tutorial.html Hope this will get you started, Sid On Jul 4, 2008, at 11:32 AM, Allandt Bik-Elliott (Receptacle) wrote: hi again i've

Re: [Flashcoders] regexp question

2008-07-04 Thread Allandt Bik-Elliott (Receptacle)
the \b boundary worked a treat - i'm just researching why it worked now thanks for all your help guys a On 4 Jul 2008, at 13:17, Claudius Ceteras wrote: To get this to also work with just the year you may replace [^\d] with (?:[^\d]|$) which expects a non-digit or the end of the string

Re: [Flashcoders] regexp question

2008-07-04 Thread Allandt Bik-Elliott (Receptacle)
wow - that's really helpful - thanks a lot for your time claudius best a On 4 Jul 2008, at 14:56, Claudius Ceteras wrote: the \b boundary worked a treat - i'm just researching why it worked now /(\d\d\d)(?=(?:\d\d\d)*\b)/g Find all groups of three digits (\d\d\d) , which are

Re: [Flashcoders] Strange Masking Bug in Flash

2008-07-03 Thread Allandt Bik-Elliott (Receptacle)
are the masks rendered as bitmaps? On 3 Jul 2008, at 16:40, peter ginsberg wrote: Hoping to get some help with a bizarre bug that has been haunting development of the current game we're working on. The situation is this: We have character animations where we swap in dynamic clothing. We

[Flashcoders] regexp question

2008-07-02 Thread Allandt Bik-Elliott (Receptacle)
hey i am using regexp to inject commas into my years by searching for 000 and replacing with ,000 like this var pattern:RegExp = /000/; sYear = sYear.replace(pattern, ,000); however, this approach will bug every multiple of 10,000 as there are more zeros than the pattern expects. is

Re: [Flashcoders] as3 textfield scroll problem

2008-07-02 Thread Allandt Bik-Elliott (Receptacle)
Would be really interested in an opinion on this - there's 3 lines of code (commented) that are relavent in the block below thanks a lot, guys a On 30 Jun 2008, at 18:33, Allandt Bik-Elliott (Receptacle) wrote: Hi - i found a way around this (by adding a body format as a setTextFormat even

Re: [Flashcoders] regexp question

2008-07-02 Thread Allandt Bik-Elliott (Receptacle)
formatNumber method you can find in many other libraries will help you too, except for some reason you want to roll your own. Cheers Juan Pablo Califano 2008/7/2, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED]: hey i am using regexp to inject commas into my years by searching

Re: [Flashcoders] Warning: 3596: Duplicate variable definition.

2008-07-01 Thread Allandt Bik-Elliott (Receptacle)
should that be:? var clip:* = e.target; var buttons:Array = _menuButtons; (e.target.buttonType == 1) ? buttons = _subMenuButtons : buttons = _menuButtons; On 1 Jul 2008, at 00:03, Steven Sacks wrote: Even better, 3 lines. var clip:* = e.target; var buttons:Array = _menuButtons; if

Re: [Flashcoders] Warning: 3596: Duplicate variable definition.

2008-07-01 Thread Allandt Bik-Elliott (Receptacle)
, by reusing clip and a ternary in the var declaration, like so: var clip:* = e.target; var buttons:Array = (clip.buttonType == 1) ? _subMenuButtons: _menuButtons; :) Allandt Bik-Elliott (Receptacle) wrote: should that be:? var clip:* = e.target; var buttons:Array = _menuButtons

Re: [Flashcoders] scrollbar for pure AS3 project

2008-07-01 Thread Allandt Bik-Elliott (Receptacle)
take a look at http://www.kirupa.com/forum/showthread.php?t=245468 might help - it did me (i'm overbyte in the thread) On 1 Jul 2008, at 08:55, Gregory N wrote: Hello all, I'm wokring on a project in FlashDevelop 3 ans Flex 2 SDK, with pure AS3 project type. And when it came to a

[Flashcoders] urgent as3 textfield scroll problem

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
i really hope someone can help me here i have a textfield that is set up with a defaultTextFormat and has several setTextFormats applied to type within it but when i try to overflow it and add a scrollbar, i get no scroll result. I've looked into it and it seems that no matter how much

Re: [Flashcoders] urgent as3 textfield scroll problem

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
i should probably mention that the same object is used for several instances but it's just the one that doesn't use the elCreditFormat TextFormat that fails to scroll thanks a On 30 Jun 2008, at 15:10, Allandt Bik-Elliott (Receptacle) wrote: i really hope someone can help me here i have

Re: [Flashcoders] urgent as3 textfield scroll problem

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
a On 30 Jun 2008, at 15:38, Allandt Bik-Elliott (Receptacle) wrote: i should probably mention that the same object is used for several instances but it's just the one that doesn't use the elCreditFormat TextFormat that fails to scroll thanks a On 30 Jun 2008, at 15:10, Allandt Bik-Elliott

Re: [Flashcoders] Drag and Snapping

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
without any context it's a little difficult to answer - could you post your code? On 30 Jun 2008, at 17:57, Lehr, Theodore M (N-SGIS) wrote: I have a mc that I am dragging... when I click on it - it snaps to 0,0 of the movie... I do not remember running into this before How can I make

Re: [Flashcoders] Saffron Modeler - what happened to it

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
do these frameworks use any particular design patterns or are they set up differently? a On 30 Jun 2008, at 17:11, Sidney de Koning wrote: there is loads of activity on sam's twitter account http:// twitter.com/SamuelAgesilas S. On Jun 30, 2008, at 6:05 PM, Jiri Heitlager wrote: Does

[Flashcoders] question re: path for nested movies

2008-06-27 Thread Allandt Bik-Elliott (Receptacle)
Hi folks i have a quick question regarding pathing for a streaming flv. i have a banner swf that streams an flv which is loaded into another swf that rotates several banners randomly - so my total structure is: html page | banner player swf | banner swf | netstream flv

Re: [Flashcoders] question re: path for nested movies

2008-06-27 Thread Allandt Bik-Elliott (Receptacle)
thanks for the advice, guys alz On 27 Jun 2008, at 10:50, Kenneth Kawamoto wrote: Use loaderInfo.url as the base and create paths relative to that. Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: Hi folks i have a quick question regarding pathing

[Flashcoders] switch statement more efficient than if...else?

2008-06-25 Thread Allandt Bik-Elliott (Receptacle)
Hi guys quick question that came up in a conversation I had the other day - are switch statements more or less efficient than a series of if...else statements in either AS2 or AS3? I'd always thought that the most efficient was the switch al.z

Re: [Flashcoders] switch statement more efficient than if...else?

2008-06-25 Thread Allandt Bik-Elliott (Receptacle)
2008/6/25, eric e. dolecki [EMAIL PROTECTED]: Switch/case is a bit quicker. On Wed, Jun 25, 2008 at 10:12 AM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: Hi guys quick question that came up in a conversation I had the other day - are switch statements more or less efficient

[Flashcoders] expanding pages with flash and javascript

2008-06-01 Thread Allandt Bik-Elliott (Receptacle)
has anyone used or know of any really good page expanders for flash/ javascript - i guess it would use an external interface call - either as2 or as3 - i'd like to have a textfield that extends the html page it's in to it's total height but i'm not really good with javascript thanks al

Re: [Flashcoders] StageDisplayState.FULL_SCREEN

2008-05-18 Thread Allandt Bik-Elliott (Receptacle)
wow - i'll get my coat must have been a late one thanks zeh On 18 May 2008, at 00:38, Zeh Fernando wrote: screenResX:Number = Capabilities.screenResolutionX; Are you really doing this? Does it have a var in front of the code? Zeh

Re: [Flashcoders] StageDisplayState.FULL_SCREEN

2008-05-18 Thread Allandt Bik-Elliott (Receptacle)
okay, in spite of my typo, i'm still getting strange behaviour If I do this: stage.displayState = StageDisplayState.FULL_SCREEN; stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; var screenScaleX:Number =

Re: [Flashcoders] StageDisplayState.FULL_SCREEN

2008-05-18 Thread Allandt Bik-Elliott (Receptacle)
handler. http://livedocs.adobe.com/flash/9.0/main/0150.html - Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Sunday, May 18, 2008 11:55 AM Subject: Re: [Flashcoders] StageDisplayState.FULL_SCREEN

Re: [Flashcoders] StageDisplayState.FULL_SCREEN

2008-05-17 Thread Allandt Bik-Elliott (Receptacle)
anyone have any ideas about this please? is it maybe throwing up an issue with the get method? On 16 May 2008, at 18:48, Allandt Bik-Elliott (Receptacle) wrote: okay - i'm trying to get this to work but Capabilities.screenResolutionX is a strange beast when i run the following traces, i

[Flashcoders] StageDisplayState.FULL_SCREEN

2008-05-16 Thread Allandt Bik-Elliott (Receptacle)
is it possible to set a projector to show in fullscreen but reduce the actual movie to, say, 80% of the total screen size? Basically I have a projector that I've been working on but the client has asked that rather than have the window not scale within the screen (which I was using

Re: [Flashcoders] StageDisplayState.FULL_SCREEN

2008-05-16 Thread Allandt Bik-Elliott (Receptacle)
, better trying to be sure. Let us know. Romu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: 16 May 2008 15:52 To: flashcoders Subject: [Flashcoders] StageDisplayState.FULL_SCREEN is it possible to set a projector

Re: [Flashcoders] StageDisplayState.FULL_SCREEN

2008-05-16 Thread Allandt Bik-Elliott (Receptacle)
would the resize event fire if the stage is set to NO_SCALE? it doesn't seem to be working for me On 16 May 2008, at 17:11, Glen Pike wrote: stage.addEventListener(Event.RESIZE, redraw); ___ Flashcoders mailing list

Re: [Flashcoders] StageDisplayState.FULL_SCREEN

2008-05-16 Thread Allandt Bik-Elliott (Receptacle)
] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: 16 May 2008 16:42 To: Flash Coders List Subject: Re: [Flashcoders] StageDisplayState.FULL_SCREEN The movie was originally supposed to be fixed but the client has asked for me to make it scale I'd like the movie to scale to about 80% of the screen size

[Flashcoders] alpha not working on mc with textfield

2008-05-13 Thread Allandt Bik-Elliott (Receptacle)
Hi guys - this is probably something really obvious but it's got me a bit stumped (sorry it's a little OT but i can't find any answers) I have several movieclips containing a static textfield with text in using a font that I've already embedded for actionscript use (it has a * after it's

Re: [Flashcoders] alpha not working on mc with textfield

2008-05-13 Thread Allandt Bik-Elliott (Receptacle)
the font from the system version to the embedded version. Because you mentioned several clips, you can do this globally (if desired) using Find and Replace. On 5/13/08 10:51 AM, Allandt Bik-Elliott (Receptacle) wrote: Hi guys - this is probably something really obvious but it's got me a bit

Re: [Flashcoders] Why is good to extend an Event Class

2008-05-06 Thread Allandt Bik-Elliott (Receptacle)
i used a scrollbar class from the kirupa forum that extended the event class to accept the amount (in percent) that the bar was scrolling by - this allowed both the scrollbar and the scrolling object to receive the percent by listening to the event On 6 May 2008, at 17:21, Dwayne Neckles

Re: [Flashcoders] component skinning issue

2008-04-11 Thread Allandt Bik-Elliott (Receptacle)
, Allandt Bik-Elliott (Receptacle) wrote: hi - just a quickie here if i change the size of a button in a component skin in my library (UIScrollBar in this case) and then test the movie, the button is stretched back to it's original size - can someone tell me what i should be looking

Re: [Flashcoders] embedded fonts

2008-04-04 Thread Allandt Bik-Elliott (Receptacle)
use the actual font name (as you have discovered it already), or YourFontClass.fontName Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: wotcha i have a quick query about embedded fonts. I thought that when you used them in the movie, that you should

[Flashcoders] is there a maximum filename length for pc?

2008-04-04 Thread Allandt Bik-Elliott (Receptacle)
i am creating a hybrid cd for mac and pc and, while the mac can take ridiculously long filenames, will the pc be able to see them or will they be truncated to 25 characters? I don't want some of my images to become unreadable on one side or the other thanks al Allandt Bik-Elliott

Re: [Flashcoders] is there a maximum filename length for pc?

2008-04-04 Thread Allandt Bik-Elliott (Receptacle)
ah cool - thanks for the heads up On 4 Apr 2008, at 18:07, Ibrahim Y wrote: this article may help you http://labnol.blogspot.com/2006/10/limitations-with-long-file-names- on.html Ibrahim On Fri, Apr 4, 2008 at 7:32 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: i am

Re: [Flashcoders] maximum length of an xml document?

2008-04-04 Thread Allandt Bik-Elliott (Receptacle)
with it. AS3 expoentially faster if you have a choice. On Thu, Apr 3, 2008 at 3:09 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: can anyone tell me what the maximum length i can go to is for an xml file to load into flash? i'm working on a biggie ta

[Flashcoders] embedded fonts

2008-04-03 Thread Allandt Bik-Elliott (Receptacle)
wotcha i have a quick query about embedded fonts. I thought that when you used them in the movie, that you should call them by the Class name in the linkage identifier however when I try to do this, my text disappears (i have embedFonts set to true and I've triple checked the names),

Re: [Flashcoders] embedded fonts

2008-04-03 Thread Allandt Bik-Elliott (Receptacle)
embededFont = true; it removes the text! :o( - Original Message - From: Allandt Bik-Elliott (Receptacle) To: flashcoders Sent: Thursday, April 03, 2008 4:50 PM Subject: [Flashcoders] embedded fonts wotcha i have a quick query about embedded fonts. I thought that when you

[Flashcoders] maximum length of an xml document?

2008-04-03 Thread Allandt Bik-Elliott (Receptacle)
can anyone tell me what the maximum length i can go to is for an xml file to load into flash? i'm working on a biggie ta a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Access

2008-04-02 Thread Allandt Bik-Elliott (Receptacle)
have you tried without the line public var mc_one:MovieClip;? it's my understanding that instantiating it by physically dragging it out of the library and giving it an instance name is the declaration - the way you're doing it would give a local variable the name with no value, hence

[Flashcoders] how to check if child exists

2008-04-02 Thread Allandt Bik-Elliott (Receptacle)
hmmm - i'm a little stuck on this i'm trying to create a pop-up (will tween but i want to get it working first) but i want it to kill any previous one that's up - how would i go about this please? here's my current code: CODE private function

Re: [Flashcoders] how to check if child exists

2008-04-02 Thread Allandt Bik-Elliott (Receptacle)
/ Allandt Bik-Elliott (Receptacle) wrote: hmmm - i'm a little stuck on this i'm trying to create a pop-up (will tween but i want to get it working first) but i want it to kill any previous one that's up - how would i go about this please? here's my current code: CODE private function

Re: [Flashcoders] how to check if child exists

2008-04-02 Thread Allandt Bik-Elliott (Receptacle)
that said, i'd still like to know how to determine if a display object is in the current display list? thanks a On 2 Apr 2008, at 16:35, Kenneth Kawamoto wrote: Place outside of the function - private var eventList:Sprite; Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik

Re: [Flashcoders] AS3 MouseEvent target?

2008-04-01 Thread Allandt Bik-Elliott (Receptacle)
ah yes - i couldn't get the mouseChildren to work before when i had drawn in the movieclip but now i've separated the container movieclip from the drawn-in shape, it' s working thanks for your help guys here's a copy of my code in case anyone else is interested: CODE // on

Re: [Flashcoders] AS3 MouseEvent target?

2008-04-01 Thread Allandt Bik-Elliott (Receptacle)
thanks Jiri i've just got the design patterns book so i'll be digging into that at some point in the near future a On 1 Apr 2008, at 10:40, Jiri Heitlager wrote: I think the best way to learn about Event Bubbling is understanding the Composite desing pattern. This is the pattern the

Re: [Flashcoders] TextField.bottomScroll

2008-03-31 Thread Allandt Bik-Elliott (Receptacle)
yeh - put a bunch of br /'s in at the end because of this - i thought it was only html dynamic text that did this but i guess not. Never found a solution a On 31 Mar 2008, at 14:05, Mendelsohn, Michael wrote: Hi list... I'm encountering a weird scenario where a TextField's bottom scroll

[Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Allandt Bik-Elliott (Receptacle)
hi guys in actionscript 3, if i put a mouse event on a movieclip object containing a textfield, should the mouse event be on the movieclip or the textfield? here's my code (comments added to see where the problem is occurring) CODE private function createPeriodBar(dateStart:int,

[Flashcoders] AS3 MouseEvent target?

2008-03-31 Thread Allandt Bik-Elliott (Receptacle)
hi guys in actionscript 3, if i put a mouse event on a movieclip object containing a textfield, should the mouse event be on the movieclip or the textfield? here's my code (comments added to see where the problem is occurring) CODE private function createPeriodBar(dateStart:int,

Re: [Flashcoders] using a class to load data

2008-03-28 Thread Allandt Bik-Elliott (Receptacle)
PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: Thursday, March 27, 2008 4:30 PM To: Flash Coders List Subject: Re: [Flashcoders] using a class to load data thanks jason - i've done this and it's working, i just wanted you to take a look to make sure i've not done it stupidly CODE package

Re: [Flashcoders] multiple skins for V2 scrollbar

2008-03-28 Thread Allandt Bik-Elliott (Receptacle)
grab this pdf http://livedocs.adobe.com/flash/9.0/main/flash_as2_components_help.pdf and go to the section called Creating new component skins QUOTE If you want to use a particular skin for one instance of a component, but another skin for another instance of the component, you must open a

Re: [Flashcoders] Outsourcing (was: Tweening Engines for AS3)

2008-03-28 Thread Allandt Bik-Elliott (Receptacle)
i worked at The Online Studio where a lot of their actionscript gets outsourced to india and like you said, it's a little bit behind but overall very good AS2 code On 28 Mar 2008, at 15:03, Merrill, Jason wrote: I'm assisting with an Actionscript outsourcing project right now with some

Re: [Flashcoders] Krugle?

2008-03-28 Thread Allandt Bik-Elliott (Receptacle)
looks like a good organisation tool as well as a useful search tool On 28 Mar 2008, at 15:26, eric e. dolecki wrote: Anyone ever use Krugle.org to search for AS source code? I just ran into the site, and I am not sure what to think yet. For other languages it might be better, but I'm

[Flashcoders] using a class to load data

2008-03-27 Thread Allandt Bik-Elliott (Receptacle)
hi guys i am trying to set up a class to handle my xml (will be instantiated for each xml file) but i'm running into a slight problem here is the class so far: CODE package { //package imports import flash.events.*; import flash.net.*; internal class

Re: [Flashcoders] using a class to load data

2008-03-27 Thread Allandt Bik-Elliott (Receptacle)
Of Allandt Bik-Elliott (Receptacle) Sent: Thursday, March 27, 2008 2:51 PM To: flashcoders Subject: [Flashcoders] using a class to load data hi guys i am trying to set up a class to handle my xml (will be instantiated for each xml file) but i'm running into a slight problem here is the class so far

Re: [Flashcoders] Tweening Engines for AS3

2008-03-27 Thread Allandt Bik-Elliott (Receptacle)
i couldn't afford to pay my bills on those prices On 27 Mar 2008, at 16:15, Dwayne Neckles wrote: Yea guys I I know we are off the issue topic. but its disgusting... i could be wrong but I feel getacoder and elance all i feel cheapen us as coders and flashers.. but this is a digression..

Re: [Flashcoders] Outsourcing (was: Tweening Engines for AS3)

2008-03-27 Thread Allandt Bik-Elliott (Receptacle)
it's bad enough to try to understand someone elses code when you speak the same language - it must be damn near impossible if everything's in chinese On 27 Mar 2008, at 16:45, Kerry Thompson wrote: Laurent wrote: sick. If you want to know for how little money projects are proposed and

Re: [Flashcoders] Custom DrawRectangle Question

2008-03-26 Thread Allandt Bik-Elliott (Receptacle)
It seems to me that that would work as a Sprite too - less memory overheads (not by much, mind, but it'll help if there's a lot of them) also, would you be better off making your class variables protected or private? Those variables are being set by the constructor, anyway, and if you use

Re: [Flashcoders] Tweening Engines for AS3

2008-03-26 Thread Allandt Bik-Elliott (Receptacle)
i've never used tweenlite but i have used tweener and one of the things that blew me away was the ability to tween properties and variables rather than just clips/sprites example from current project: [CODE] // read/write percentage value relates directly to the slider public function get

Re: [Flashcoders] Tweening Engines for AS3

2008-03-26 Thread Allandt Bik-Elliott (Receptacle)
no total it only really matters with flash banners where you have to keep below a ridiculously low filesize (usually 20-30k for expanding ones) to not delay the content on the site on sites / media it doesn't really add up to that much On 26 Mar 2008, at 13:11, Matt S. wrote: One thing

[Flashcoders] referencing a public method gives unexpected result

2008-03-25 Thread Allandt Bik-Elliott (Receptacle)
Hi guys quick question really. I have a Scrollbar class with a public method, arrowPressed (e:MouseEvent), that i'm trying to call from another class, TimelineArea(), using objects with the same name with the lines: left_arrow.addEventListener( MouseEvent.MOUSE_DOWN,

Re: [Flashcoders] referencing a public method gives unexpected result

2008-03-25 Thread Allandt Bik-Elliott (Receptacle)
+ (dir * scrollSpeed); Tweener.addTween(slider,{percent:total, time:0.5}); // Tweener tween added to add friction to arrow presses - God bless Zeh and chums! } [/CODE] a On 25 Mar 2008, at 12:29, Allandt Bik-Elliott (Receptacle) wrote: Hi guys quick question really. I have

Re: [Flashcoders] referencing a public method gives unexpected result

2008-03-25 Thread Allandt Bik-Elliott (Receptacle)
of the left_arrow and right_arrows .names of left_arrow and right_arrow a On 25 Mar 2008, at 14:15, Allandt Bik-Elliott (Receptacle) wrote: replaced the Scrollbar method with this [CODE] // executes when the up arrow is pressed protected function arrowPressed( e:MouseEvent

Re: [Flashcoders] referencing a public method gives unexpected result

2008-03-25 Thread Allandt Bik-Elliott (Receptacle)
in opinions on this, too... Is that comparison (e.target == left_arrow) the best way to find out what your target object is? ... and would strict equality make a difference? -jonathan On Tue, Mar 25, 2008 at 10:15 AM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: replaced

Re: [Flashcoders] reparent child to halt scroll

2008-03-24 Thread Allandt Bik-Elliott (Receptacle)
i guess this one's not something you guys want to touch eh? never mind then a On 21 Mar 2008, at 10:16, Allandt Bik-Elliott (Receptacle) wrote: noone have the time to look at this one? On 20 Mar 2008, at 15:25, Allandt Bik-Elliott (Receptacle) wrote: hi guys i'm a bit stuck

Re: [Flashcoders] books for flash programming

2008-03-24 Thread Allandt Bik-Elliott (Receptacle)
gotoandlearn.com learnflash.com flashkit.com essential actionscript 3.0 (colin moock) i'd start at these a On 24 Mar 2008, at 07:21, Naveen Bhaskar wrote: I am a flash designer and I am in intermediate in programming.(AS2). anybody pls tellme what are the good books I can refer. or is

Re: [Flashcoders] reparent child to halt scroll

2008-03-21 Thread Allandt Bik-Elliott (Receptacle)
noone have the time to look at this one? On 20 Mar 2008, at 15:25, Allandt Bik-Elliott (Receptacle) wrote: hi guys i'm a bit stuck with a project i'm working on. I have a timeline which all runs off a scrollbar similar to the one in the kirupa forum (http://www.kirupa.com/forum

[Flashcoders] reparent child to halt scroll

2008-03-20 Thread Allandt Bik-Elliott (Receptacle)
hi guys i'm a bit stuck with a project i'm working on. I have a timeline which all runs off a scrollbar similar to the one in the kirupa forum (http://www.kirupa.com/forum/showthread.php?t=245468 - amended to go horizontal and us Tweener to act a bit more smoothly) at the moment, i have

  1   2   3   >