Re: [Flashcoders] need:: Flex 3 AS3 // tutorials, links, book recs.

2008-03-19 Thread Allandt Bik-Elliott (Receptacle)
someone pointed out the website, gotoandlearn.com on the flashnewbie board which has been brilliant for me (even blogged it - link in my sig if you want it) a Allandt Bik-Elliott thefieldcomic.com e [EMAIL PROTECTED] On 18 Mar 2008, at 09:41, Sidney de Koning wrote: You can check out the

Re: [Flashcoders] TextField motion

2008-03-18 Thread Allandt Bik-Elliott (Receptacle)
you could put it into a sprite and apply alpha / transformations to that code: import flash.text.TextField; import flash.text.TextFormat; import flash.display.Sprite; var myTextField:TextField = new TextField(); myTextField.text = Križev pot;

Re: [Flashcoders] TextField motion

2008-03-18 Thread Allandt Bik-Elliott (Receptacle)
you should import the Timer and TimerEvent classes On 18 Mar 2008, at 14:04, Pedro Kostelec wrote: Yep you are right. myTextField.x++ should work, but when i put it on a timer i get an error : access of undefined property myTextField Here's the code import flash.text.TextField;

[Flashcoders] classpath issues

2008-03-17 Thread Allandt Bik-Elliott (Receptacle)
hi guys i hope you can help me with this: i am trying to set up a library of classes that i can re-use in my actionscript but i keep getting the following errors: 1046: Type was not found or was not a compile-time constant: SimpleRectangle. 1180: Call to a possibly undefined method

Re: [Flashcoders] classpath issues

2008-03-17 Thread Allandt Bik-Elliott (Receptacle)
learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: Monday, March 17, 2008 1:14 PM To: flashcoders Subject: [Flashcoders

Re: [Flashcoders] ScrollBar Class issues

2008-03-16 Thread Allandt Bik-Elliott (Receptacle)
never encountered a situation ScrollBar on its own is required...! Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: hi all i'm trying to implement a scrollbar using the built-in fl.controls.ScrollBar class but i'm not having much luck i can get

[Flashcoders] ScrollBar Class issues

2008-03-15 Thread Allandt Bik-Elliott (Receptacle)
hi all i'm trying to implement a scrollbar using the built-in fl.controls.ScrollBar class but i'm not having much luck i can get the scrollbar to react to a sprite but there's no built in method that will let the sprite react to the scrollbar (i've tried scrollTarget and scrollTargetName

Re: [Flashcoders] ScrollBar Class issues

2008-03-15 Thread Allandt Bik-Elliott (Receptacle)
encountered a situation ScrollBar on its own is required...! Kenneth Kawamoto http://www.materiaprima.co.uk/ Allandt Bik-Elliott (Receptacle) wrote: hi all i'm trying to implement a scrollbar using the built-in fl.controls.ScrollBar class but i'm not having much luck i can get the scrollbar to react

Re: [Flashcoders] transition

2008-03-14 Thread Allandt Bik-Elliott (Receptacle)
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/ wwhelp.htm?context=LiveDocs_Partsfile=0983.html this should help (note actionscript 2) On 14 Mar 2008, at 14:10, Helmut Granda wrote: any specific kind of transition? the transition i noticed was a simple fade in

[Flashcoders] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
hi guys could you take a look at this please, i can't see what the problem is? I think maybe this is a syntax thing that i'm not aware of thanks a CODE: package com.receptacle.timeline { //package imports import fl.controls.ScrollBar; import

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
oh - i'm using flash cs3 On 12 Mar 2008, at 15:14, Glen Pike wrote: What are you coding in - Flash, Flex or Flash Dev - it maybe because you are doing a Flex project, but trying to use a Flash control bar, or similar. Allandt Bik-Elliott (Receptacle) wrote: hi guys could you take

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
, Flex or Flash Dev - it maybe because you are doing a Flex project, but trying to use a Flash control bar, or similar. Allandt Bik-Elliott (Receptacle) wrote: hi guys could you take a look at this please, i can't see what the problem is? I think maybe this is a syntax thing that i'm

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
are you coding in - Flash, Flex or Flash Dev - it maybe because you are doing a Flex project, but trying to use a Flash control bar, or similar. Allandt Bik-Elliott (Receptacle) wrote: hi guys could you take a look at this please, i can't see what the problem is? I think maybe

Re: [Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
as far as i know, there is no way of dumping the garbage manually - you have to wait for the flash plugin to dump it once it has been marked you can check chapter 14 of essential actionscript 3.0 (moock) for more info about that On 12 Mar 2008, at 15:54, Henry Cooke wrote: Hey all, I'm

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
menu option. On 3/12/08, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: oh - i'm using flash cs3 On 12 Mar 2008, at 15:14, Glen Pike wrote: What are you coding in - Flash, Flex or Flash Dev - it maybe because you are doing a Flex project, but trying to use a Flash control bar

Re: [Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
if you use updateAfterEvent() in your mouseMove event, you will get it as quick as the flash player will allow, irrespective of the framerate but you still won't get even close to every 10th pixel if the user gives it some welly as3 does execute about 10 times faster (so they say - i'm

Re: [Flashcoders] mouse x and y

2008-03-11 Thread Allandt Bik-Elliott (Receptacle)
http://www.adobe.com/support/flash/action_scripts/ actionscript_dictionary/actionscript_dictionary584.html questions like this are better sent to the flashnewbie board - they're very helpful there http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie On 11 Mar 2008, at 11:49, Lehr,

Re: [Flashcoders] calculating distance between two points

2008-03-11 Thread Allandt Bik-Elliott (Receptacle)
aargh that pun made me bleed On 11 Mar 2008, at 14:24, Piers Cowburn wrote: Good point On 11 Mar 2008, at 13:53, Merrill, Jason wrote: Why not skip the math lessons and use the Point class? var dist:Number = Point.distance(p1, p2); Jason Merrill Bank of America GTO LLD

[Flashcoders] clean scripting

2008-03-11 Thread Allandt Bik-Elliott (Receptacle)
hi just a semantic question really when writing your classes, would you only declare variables in the class and assign variables later or would you assign values straight away if you had them? so for instance, would you...: package com.receptacle.timeline { //package imports

Re: [Flashcoders] clean scripting

2008-03-11 Thread Allandt Bik-Elliott (Receptacle)
lazy instantiation. That is, instantiating objects only right before you need them. Thus, in your first example, the bulk of instantiation occurs up- front. Lazy instantiation http://www.javaworld.com/javaworld/javatips/ jw-javatip67.html -mL Allandt Bik-Elliott (Receptacle) wrote

Re: [Flashcoders] clean scripting

2008-03-11 Thread Allandt Bik-Elliott (Receptacle)
limited. HTH C -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Allandt Bik-Elliott (Receptacle) Verzonden: dinsdag 11 maart 2008 18:41 Aan: flashcoders Onderwerp: [Flashcoders] clean scripting hi just a semantic question really when writing your

Re: [Flashcoders] Repeated action on mouse down

2008-03-10 Thread Allandt Bik-Elliott (Receptacle)
i had a similar problem with a gallery i was doing and someone pointed out on the flashnewbie list that if you have any v2 components in the movie, they will steal the focus after the first use of a button the way around it was to turn off focusmanager to stop the component doing this on

Re: [Flashcoders] Repeated action on mouse down

2008-03-10 Thread Allandt Bik-Elliott (Receptacle)
naturally i let a typo get in all instances of gallery_prev_btn are just prev_btn but the theory is sound should be var prev_btn:MovieClip = itemOverlay_mc.largeFormatImage_mc.attachMovie (gallery_prev_btn,gallery_prev_btn,11,{_x:905, _y:36}); On 10 Mar 2008, at 16:25, Allandt Bik

[Flashcoders] fullscreen keyboard functionality

2008-03-10 Thread Allandt Bik-Elliott (Receptacle)
hi i'm making a cs3 projector which uses stage.displayState = StageDisplayState.FULL_SCREEN to go full screen. However when i checked in the help file, it said All keyboard-related ActionScript, such as keyboard events and text entry in TextField instances, is disabled in full-screen mode.

Re: [Flashcoders] fullscreen keyboard functionality

2008-03-10 Thread Allandt Bik-Elliott (Receptacle)
ah that's good news for me thanks On 10 Mar 2008, at 17:39, Cedric Muller wrote: Maybe it is only disabled when in browser mode ? http://www.adobe.com/devnet/flashplayer/articles/ full_screen_mode.html These restrictions apply to the Flash plug-in and ActiveX control but not to the Flash

Re: [Flashcoders] ASDocDesktop - Easy documentation generation

2008-03-06 Thread Allandt Bik-Elliott (Receptacle)
is there a version of asdt that works with as3 yet? On 6 Mar 2008, at 12:37, Muzak wrote: Read again: FlexBuilder/Eclipse. Eclipse = open source. http://www.eclipse.org/ But if you're currently not using Eclipse for your Flash/Flex/ whatever development, it's not really worth installing

[Flashcoders] wierd easter egg?

2008-03-05 Thread Allandt Bik-Elliott (Receptacle)
hey this is odd i'm testing my movie at http://qsworld.co.uk/index.php? extcategory=Designextdesigner=Darkest%20Starextproduct=Jacket and when i tried right clicking the top right corner and selecting zoom in, i got linked to http://whatisthematrix.warnerbros.com/ i'm on osx 10.4, firefox

Re: [Flashcoders] wierd easter egg?

2008-03-05 Thread Allandt Bik-Elliott (Receptacle)
wierd - it doesn't happen on my main screen (i'm using a monitor as the main screen with the laptop being my second screen) On 5 Mar 2008, at 14:31, Allandt Bik-Elliott (Receptacle) wrote: hey this is odd i'm testing my movie at http://qsworld.co.uk/index.php? extcategory

Re: [Flashcoders] wierd easter egg?

2008-03-05 Thread Allandt Bik-Elliott (Receptacle)
especially as i wanted to zoom in lol xD On 5 Mar 2008, at 15:22, Jon Bradley wrote: On Mar 5, 2008, at 9:31 AM, Allandt Bik-Elliott (Receptacle) wrote: hey this is odd i'm testing my movie at http://qsworld.co.uk/index.php? extcategory=Designextdesigner=Darkest%20Starextproduct=Jacket

Re: [Flashcoders] wierd easter egg?

2008-03-05 Thread Allandt Bik-Elliott (Receptacle)
i'd love it to be the latter but it's all my flash still - would be fun to do in the future... On 5 Mar 2008, at 16:16, Andrew Sinning wrote: Do you think this is an Adobe egg or a gsworld egg? Allandt Bik-Elliott (Receptacle) wrote: hey this is odd i'm testing my movie at http

[Flashcoders] quick scoping question

2008-02-27 Thread Allandt Bik-Elliott (Receptacle)
hi guys i'm playing with some as3 to get my head around it and i've come across a little wierdness in the drawing api that i hope you can shed some light on here is my script - it's an amended version of one from Essential Actionscript: CODE package com.receptacle.drawingtest {

Re: [Flashcoders] quick scoping question

2008-02-27 Thread Allandt Bik-Elliott (Receptacle)
Allandt Bik-Elliott (Receptacle) Verzonden: woensdag 27 februari 2008 15:58 Aan: flashcoders Onderwerp: [Flashcoders] quick scoping question hi guys i'm playing with some as3 to get my head around it and i've come across a little wierdness in the drawing api that i hope you can shed some light

Re: [Flashcoders] quick scoping question

2008-02-27 Thread Allandt Bik-Elliott (Receptacle)
; addChild(greeting_txt); } } } /CODE COR -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Allandt Bik-Elliott (Receptacle) Verzonden: woensdag 27 februari 2008 15:58 Aan: flashcoders Onderwerp: [Flashcoders] quick scoping

Re: [Flashcoders] quick scoping question

2008-02-27 Thread Allandt Bik-Elliott (Receptacle)
thankyou :) On 27 Feb 2008, at 16:12, Cor wrote: That was what I basicly meant -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Allandt Bik-Elliott (Receptacle) Verzonden: woensdag 27 februari 2008 17:03 Aan: Flash Coders List Onderwerp: Re

Re: [Flashcoders] quick scoping question

2008-02-27 Thread Allandt Bik-Elliott (Receptacle)
() { } protected function m(evt:MouseEvent):void{ } not public function GreetingApp() { function m(evt:MouseEvent):void{ } } regards, Muzak - Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent

Re: [Flashcoders] quick scoping question

2008-02-27 Thread Allandt Bik-Elliott (Receptacle)
- From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 27, 2008 6:29 PM Subject: Re: [Flashcoders] quick scoping question ah yeh - thanks - i'm still getting used to access-control just out of interest

Re: [Flashcoders] cd rom project

2008-02-24 Thread Allandt Bik-Elliott (Receptacle)
you will be best served looking into POSTing the information from flash to a php script that includes the POST information in an html template and sends it via email to the user a quick squizz on google will net you a bunch of suggestions for doing this

Re: [Flashcoders] Graphic design universities

2008-02-24 Thread Allandt Bik-Elliott (Receptacle)
have you looked at game design courses? they probably won't be involved directly with actionscript but as3 is so close to c++ and java that you won't have much trouble adapting what you know On 24 Feb 2008, at 12:51, Pedro Kostelec wrote: Well. All those uniceersities you recommended to

Re: [Flashcoders] over-ride trace()

2008-02-21 Thread Allandt Bik-Elliott (Receptacle)
could you extend trace to output to your textfield as well? On 21 Feb 2008, at 17:46, Cédric Tabin wrote: Hi Andrew, We already tried that on Mediabox, but it seems there is no way to override this function :( You should just use a Debug class that uses a TextField for the output...

[Flashcoders] using Tween / Easing classes okay for multiple clips?

2008-02-20 Thread Allandt Bik-Elliott (Receptacle)
Hi all I'm going to be doing a zooming timeline (similar to the frankly stunning one at http://www.bbc.co.uk/history/british/ launch_tl_british.shtml) from scratch and I was hoping someone would be able to answer a question for me if i wanted to do the zoom with the actionscript tween and

Re: [Flashcoders] using Tween / Easing classes okay for multiple clips?

2008-02-20 Thread Allandt Bik-Elliott (Receptacle)
will help you make it faster because the bottleneck will be on rendering and not on the code. Zeh Allandt Bik-Elliott (Receptacle) wrote: Hi all I'm going to be doing a zooming timeline (similar to the frankly stunning one at http://www.bbc.co.uk/history/british/ launch_tl_british.shtml) from

Re: [Flashcoders] using Tween / Easing classes okay for multiple clips?

2008-02-20 Thread Allandt Bik-Elliott (Receptacle)
make it faster. Zeh Allandt Bik-Elliott (Receptacle) wrote: would making items offstage _visible = false help with this? the clips won't be complicated to be honest but they will be plentiful - when zooming (1 level of zoom - i'm not a masochist) i will have 100 points plus the tick marks

[Flashcoders] rectangle (not square) based mousefollower?

2008-02-18 Thread Allandt Bik-Elliott (Receptacle)
hey guys - i have a question that i really hope someone can answer i have a flash banner that i'm working on that is 300px wide x 250px deep i have done a mouse follower that tracks the where the mouse is and then chooses a frame of animation to show so that the people are always

[Flashcoders] SOLVED :: rectangle (not square) based mousefollower?

2008-02-18 Thread Allandt Bik-Elliott (Receptacle)
i've amended my code as follows - seems to have sorted the problem out in a nutshell, i multiplied the y axis by 83.333 percent (or the actual rectangle height / square height) and sorted out the way the last frame is chosen (which turned out to be a lot simpler than i originally did it)

Re: [Flashcoders] rectangle (not square) based mousefollower?

2008-02-18 Thread Allandt Bik-Elliott (Receptacle)
/quote What exactly is the issue you're seeing? I think you may be over-complicating it. If the angles that your people look are in 45 degree increments then that's how your angles should be calculated - i.e. using the square. Adrian On Feb 18, 2008 1:09 PM, Allandt Bik-Elliott (Receptacle

[Flashcoders] solved :: tangozebra enhanced call function option

2008-02-15 Thread Allandt Bik-Elliott (Receptacle)
didn't get a reply on this from the board but found the answer you have to add the function you are calling with the component to _global - it'll work then On 8 Feb 2008, at 17:13, Allandt Bik-Elliott (Receptacle) wrote: i don't know if you guys have worked with tangozebra before

Re: [Flashcoders] PHP and Flash weirdness...

2008-02-15 Thread Allandt Bik-Elliott (Receptacle)
while working on a flash / php job recently, i was told to use charles which tells you exactly what is happening between flash and the php scripts don't know if it will help if php isn't working at all tho - have you tried a simple echo 'hello world' type deal to make sure it's working?

Re: [Flashcoders] Multiple moviecliploaders

2008-02-13 Thread Allandt Bik-Elliott (Receptacle)
is there a good way of queueing the loading in flash? my first guess would be to run some kind of while/for loop using movieClipLoader.onLoadInit to recursively call the function to load the next clip from an array but i don't know if that's a hack On 13 Feb 2008, at 11:28, Muzak wrote:

Re: [Flashcoders] getBytesLoaded() and actions execution

2008-02-09 Thread Allandt Bik-Elliott (Receptacle)
aye - a moviecliploader object is the way in as2 as an aside, if you're loading multiple movies, can you use the same moviecliploader object or should you use different objects? On 9 Feb 2008, at 16:13, Hans Wichman wrote: Hi, no i don't think so, check out moviecliploader. greetz JC

Re: [Flashcoders] is there a way of detecting whether or not the mouse is in a movie at all?

2008-02-09 Thread Allandt Bik-Elliott (Receptacle)
is down, versus when its not). Another thing you can do is look at how long the mouse hasnt moved. greetz JC On Feb 8, 2008 1:40 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: hi guys just a quickie i've got an expandable flash banner that has a transparent movie clip (called

Re: [Flashcoders] How did they do it?? A particular flash site.

2008-02-08 Thread Allandt Bik-Elliott (Receptacle)
yeh that's an import from a bitmap 3d render with flash overlayed very nicely done tho swift 3d is more for doing vector-based 3d work like this http:// 64.207.133.120/Erain/extreme/02/visions.asp although it does have limited bitmap mapping a On 8 Feb 2008, at 08:07, Cedric Muller

[Flashcoders] tangozebra enhanced call function option

2008-02-08 Thread Allandt Bik-Elliott (Receptacle)
i don't know if you guys have worked with tangozebra before but if so can you explain how the enhanced component works? there's an option to call a function which i assume is called after the webpage that the banner sits on is loaded but it doesn't seem to work for me i have the

[Flashcoders] is there a way of detecting whether or not the mouse is in a movie at all?

2008-02-08 Thread Allandt Bik-Elliott (Receptacle)
hi guys just a quickie i've got an expandable flash banner that has a transparent movie clip (called roll_mc) over the top of it to detect whether to expand or not but because i can't seem to get an accurate false from my hittest if the mouse goes out of the banner, i was wondering if

[Flashcoders] urgent angle problem

2008-02-05 Thread Allandt Bik-Elliott (Receptacle)
._y, _root._xmouse, _root._ymouse); } }; Mouse.addListener(mouseListener); hope you can help alz Allandt Bik-Elliott Receptacle t 01920 413 947 | m 07970 718 545 e [EMAIL PROTECTED] This e-mail is confidential and may be privileged. It is for the use of the named recipient(s

[Flashcoders] quick moviecliploader question

2007-06-29 Thread Allandt Bik-Elliott (Receptacle)
hi folks just a quickie about the movieClipLoader class i'm doing the following //this is in a function to initialise the layout createEmptyMovieClip(bgImage_mc, 1); //this is in a function to load the layout (including a jpg image) function changeLayout(image:MovieClip):Void

Re: [Flashcoders] quick moviecliploader question

2007-06-29 Thread Allandt Bik-Elliott (Receptacle)
now this is really wierd - it is only not working the first time it's called - the rest of the time it works fine - ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] quick moviecliploader question

2007-06-29 Thread Allandt Bik-Elliott (Receptacle)
Developer MotivatEd web: www.MotivatEd.ltd.uk email: [EMAIL PROTECTED] switch: +44 (0)1223 265 624 mobile: +44 (0)7762 627 687 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: 29 June 2007 13:05

[Flashcoders] [SOLVED] quick moviecliploader question

2007-06-29 Thread Allandt Bik-Elliott (Receptacle)
i was trying to pass an array with a single item to the function (wierd it didn't give a type mismatch), instead of part of the array thanks guys :) On 29 Jun 2007, at 13:53, Allandt Bik-Elliott (Receptacle) wrote: now this is really wierd - it is only not working the first time it's

[Flashcoders] [SOLVED] combobox class object not showing starting value

2007-05-28 Thread Allandt Bik-Elliott (Receptacle)
, at 23:11, Allandt Bik-Elliott (Receptacle) wrote: please help - On 25 May 2007, at 23:03, Muzak wrote: - Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, May 25, 2007 8:36 PM Subject: Re: [Flashcoders

Re: [Flashcoders] loadVars not initialising first

2007-05-28 Thread Allandt Bik-Elliott (Receptacle)
i've found that the best way of dealing with this kind of thing is to push it onto an array (either on _root or _global) in the onLoad and manipulate that but if you need to set up buttons etc using the variables at start, you'll need to add it all to the onLoad (create a function for that

Re: [Flashcoders] loadVars not initialising first

2007-05-28 Thread Allandt Bik-Elliott (Receptacle)
or wherever you store your app variables - i really meant that they shouldn't be stored local to the function, otherwise they would die with it On 28 May 2007, at 11:42, Muzak wrote: - Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: [EMAIL

Re: [Flashcoders] loadVars not initialising first

2007-05-28 Thread Allandt Bik-Elliott (Receptacle)
mybad On 28 May 2007, at 15:30, Muzak wrote: - Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Monday, May 28, 2007 2:00 PM Subject: Re: [Flashcoders] loadVars not initialising first or wherever you store your

Re: [Flashcoders] combobox class object not showing starting value

2007-05-26 Thread Allandt Bik-Elliott (Receptacle)
please help - On 25 May 2007, at 23:03, Muzak wrote: - Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, May 25, 2007 8:36 PM Subject: Re: [Flashcoders] combobox class object not showing starting value

[Flashcoders] asfunction passing a Number as x,x ??

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
this is a strange one for asfunction i'm constructing my a function call like this productVariations += pa href='asfunction:_parent.itemOverlay,+product+,+i+'I'd like to view this/a/p; to pass 2 dynamic variables - product and i - to the itemOverlay function but if i run function

Re: [Flashcoders] asfunction passing a Number as x,x ??

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
, as in: 'asfunction:itemOverlay,value1|value2|value3|value4' And use arguments[0].split(|) to get the values. regards, Muzak - Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: flashcoders flashcoders@chattyfig.figleaf.com Sent: Friday, May 25, 2007 3:01 PM Subject: [Flashcoders

[Flashcoders] [solved] please ignore my disappearing variable

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
bah - don't worry, i see it - i hadn't said which element of the productArray i wanted to see the variations from so i'd actually traced like this trace (productArray.variations.length); sorry ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] variable dissappears from one function to another

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
on another note (so grateful for your help) i seem to be losing part of my array from one function to another var productArray:Array = []; //--contains 8 items, each of which has a variations parameter with 4 items in function createVariationColumn(product:Number) { var

Re: [Flashcoders] Where can I find the list component assets?

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
all single day holidays are called bank holidays in the uk so a bank holiday could be mayday, boxing day, easter monday/good friday etc On 25 May 2007, at 16:29, eric e. dolecki wrote: Here in the United States, this coming Monday (last Monday in May) we celebrate Memorial Day :) Look

[Flashcoders] combobox class object not showing starting value

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
thanks for all your help today guys last question (for today :D ) i've loaded an array (including a starting value) into a combo box that was made using createClassObject in actionscript and it works fine (drop down has the full list of values, including the starting one) except that

Re: [Flashcoders] combobox class object not showing starting value

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
i've also tried var combo:ComboBox = createClassObject(ComboBox, variationCombo, 5004); combo._y = 450; combo._x = 500; combo.labelField = thisSize; combo.dataProvider = sizes; On 25 May 2007, at 17:30, Allandt Bik-Elliott (Receptacle) wrote: thanks

Re: [Flashcoders] problem loading dynamically created menus

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
i would guess you need to pass the current iteration (i) to the button so that it can access it otherwise you'll iterate through your entire loop and only pass the final number to all of the buttons before you set your onRelease function, try passing a copy of the names variable to the

Re: [Flashcoders] combobox class object not showing starting value

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
crikey - i've posted this in 4 places and i've not had a single response On 25 May 2007, at 18:19, Allandt Bik-Elliott (Receptacle) wrote: i've also tried var combo:ComboBox = createClassObject(ComboBox, variationCombo, 5004); combo._y = 450; combo._x = 500

Re: [Flashcoders] combobox class object not showing starting value

2007-05-25 Thread Allandt Bik-Elliott (Receptacle)
; combo._x = 530; with the same result On 25 May 2007, at 19:36, Allandt Bik-Elliott (Receptacle) wrote: crikey - i've posted this in 4 places and i've not had a single response On 25 May 2007, at 18:19, Allandt Bik-Elliott (Receptacle) wrote: i've also tried var combo:ComboBox

Re: [Flashcoders] splitting the list?

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
/agree also the mac mail client has an option to show messages by thread On 24 May 2007, at 09:47, Mikko Törmälä wrote: The method I use is to assign a message filter to automatically move all messages with flashcoders in the subject field to another folder. This separates the important

[Flashcoders] removeMovieClip scoped incorrectly?

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
hi folks i'm trying to get a function to remove a movieclip (actually a textArea class object) but i've having a bit of trouble - i think it may be a scope issue but i can't see why the function is function changeLayout(layout:Number, textContent:String, image:String,

Re: [Flashcoders] removeMovieClip scoped incorrectly?

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
just corrected a typo in the removeMovieClip statement but the problem still stands hi folks i'm trying to get a function to remove a movieclip (actually a textArea class object) but i've having a bit of trouble - i think it may be a scope issue but i can't see why the function is

Re: [Flashcoders] removeMovieClip scoped incorrectly?

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: Thursday, May 24, 2007 11:22 AM To: flashcoders Subject: [Flashcoders] removeMovieClip scoped incorrectly? hi folks i'm trying to get a function to remove a movieclip (actually a textArea class object) but i've having a bit

[Flashcoders] Re: [solved - bug] removeMovieClip scoped incorrectly?

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
/common/ html/wwhelp.htm?context=Flash_MX_2004file=1647.html On 24 May 2007, at 16:52, Allandt Bik-Elliott (Receptacle) wrote: yeh i correct that - still gives me the same jyp On 24 May 2007, at 16:39, Jason Law wrote: Make sure your closing your dynamic var. removeMovieClip(_root

Re: SPAM-LOW: Re: [Flashcoders] removeMovieClip scoped incorrectly?

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
that the movieclip no longer exists. removeMovieClip is being scoped to the class itself, not the Global function removeMovieClip. Just use: _root[thisColumn_txt].removeMovieClip(); Derek Vadneau - Original Message - From: Allandt Bik-Elliott (Receptacle) To: flashcoders

[Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
gah - not my day today i've got my textArea loading up a bunch of text from a string, from an array loaded from an xml file (erk), but the scrollbars for the component don't scroll far enough (either the bar or the arrows) - i've dragged down the text with my cursor and the extra lines are

Re: [Flashcoders] removeMovieClip scoped incorrectly?

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
- Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: flashcoders flashcoders@chattyfig.figleaf.com Sent: Thursday, May 24, 2007 5:21 PM Subject: [Flashcoders] removeMovieClip scoped incorrectly? hi folks i'm trying to get a function to remove a movieclip (actually

Re: [Flashcoders] Re: [solved - bug] removeMovieClip scoped incorrectly?

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
()) mx.managers.DepthManager Components Language Reference DepthManager class regards, Muzak - Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, May 24, 2007 6:06 PM Subject: [Flashcoders] Re: [solved - bug

Re: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
then and there so -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: Thursday, May 24, 2007 12:30 PM To: flashcoders Subject: [Flashcoders] textArea doesn't scroll far enough gah - not my day today i've got my

[Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
hi guys i'm looking for a way of removing duplicate items in an array i've done this so far //sort array so all items of the same content are grouped together myArray.sort(); //loop through items, removing any sitting next to a duplicate for (var i:Number = 0; i myArray.length; i++) {

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
yeh - i started trying to do that but just got myself into a moody bluddle - i'll prolly go back and try to rewrite it a bit cleaner when i'm happy i'll hit deadline here's what i ended up with - var myTempArray:Array = [];

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
8o thankyou On 22 May 2007, at 18:56, Steven Sacks wrote: From my XArray mixin class (all 3 are needed). /** * Returns a new array by removing duplicate values in Array. */ Array.prototype.uniq = function() { var r = []; var l = this.length; for (var a = 0; a l;

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
You could rewrite a prototype as a regular function that takes the array as an argument. - eric On 5/22/07, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: hi guys i'm looking for a way of removing duplicate items in an array i've done this so far //sort array so all items

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
i had to order it from the states - it was great On 22 May 2007, at 19:58, eric e. dolecki wrote: holy wow - super samurai ;) I didn't know many even saw that one... On 5/22/07, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: i could barely read that - it looks ammmaaazing :D

Re: [Flashcoders] help about buttons from xml file.

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
are the rest of them dissappearing off the top of the movie (this.buttonsMenu._y=-10*i;)? try using a positive number just to see if they appear On 22 May 2007, at 19:41, Gustavo Duenas wrote: Hi, I'm creating buttons dinamycally using a xml file, this is my code: stop(); menus

Re: [Flashcoders] using a function twice

2007-05-18 Thread Allandt Bik-Elliott (Receptacle)
aha - thanks for seeing the wood for the trees :D On 17 May 2007, at 22:26, [EMAIL PROTECTED] wrote: On 17/05/2007 22:07, Allandt Bik-Elliott (Receptacle) wrote: because the thisBackground function isn't picking up the correct values (but keeping the older ones), it is overwriting

[Flashcoders] can you use antiAliasType in a global setStyle?

2007-05-18 Thread Allandt Bik-Elliott (Receptacle)
like _global.styles.TextArea.setStyle(embedFonts,true); _global.styles.TextArea.setStyle(antiAliasType, normal); doesn't seem to be working for me also, i don't think it is possible but i'll ask anyway - is it possible to have anti-alias'd type in a text area with non-alias'd type? cheers

[Flashcoders] vertical scrollbars on TextArea component

2007-05-18 Thread Allandt Bik-Elliott (Receptacle)
also, when i bring my type into my TextArea, the scrollbars (which are set to vScrollPolicy = auto) flash on for a second before disappearing when they're not needed is there any way of stopping this? thanks in advance a On 18 May 2007, at 16:28, Allandt Bik-Elliott (Receptacle) wrote

Re: [Flashcoders][solved]can you use antiAliasType in a global setStyle?

2007-05-18 Thread Allandt Bik-Elliott (Receptacle)
thought so - thanks for the confirmation i've found out that i wasn't getting anti-aliased text because i'd aliased it when i'd created the font so that's sorted too ;) On 18 May 2007, at 16:44, Merrill, Jason wrote: also, i don't think it is possible but i'll ask anyway - is it

[Flashcoders] using a function twice

2007-05-17 Thread Allandt Bik-Elliott (Receptacle)
hi all i'm trying to cut down on code by putting it into a function with several arguements and calling it with different arguements but i don't seem to be able to get a different result with the second version it may be easier to understand with the code: //import the tween class import

Re: [Flashcoders] inline graphics with text

2007-05-04 Thread Allandt Bik-Elliott (Receptacle)
sorry to repost but i thought this might have got lost because of the time i posted On 3 May 2007, at 19:13, Allandt Bik-Elliott (Receptacle) wrote: i've had a quick squizz through the archives but not luck i'm looking to produce an xml driven site but one of the things that would make

Re: [Flashcoders] inline graphics with text

2007-05-04 Thread Allandt Bik-Elliott (Receptacle)
ah you can just use img ~hangs head in shame and goes back to kindergarten On 4 May 2007, at 13:41, Merrill, Jason wrote: i'm looking to produce an xml driven site but one of the things that would make it a WHOLE lot easier is putting graphics inline with the text (to show links within

[Flashcoders] inline graphics with text

2007-05-03 Thread Allandt Bik-Elliott (Receptacle)
i've had a quick squizz through the archives but not luck i'm looking to produce an xml driven site but one of the things that would make it a WHOLE lot easier is putting graphics inline with the text (to show links within the document) - is there any way of doing this or should i attach

Re: [Flashcoders] Flash CS3 Announced

2007-03-29 Thread Allandt Bik-Elliott (Receptacle)
i only ever really liked freehands non-spazzy page layout options but apart from that i preferred illustrator On 29 Mar 2007, at 04:56, Pedro Taranto wrote: April 20th --Pedro Taranto Omar Fouad escreveu: but when the Flash CS3 Full version (not update) will be available?? On

[Flashcoders] passing variables around problem

2005-11-09 Thread allandt bik-elliott (Receptacle)
hi guys it's been a while since i last posted but i really hope you guys can help i'm using the flash 6 player and actionscript 1.0 i am trying to pass a value from a loadVars object to a variable elsewhere in the movie but it doesn't seem to want to go the whole menu is set up using an

[Flashcoders] Re: passing variables around problem

2005-11-09 Thread allandt bik-elliott (Receptacle)
okay i know what the problem is but i don't know how to get around it the loadVars object's onLoad function is firing after the for loop finishes so it's grabbing the description_txt from the last xml item (which doesn't have any description_txt as it will behave slightly differently) so

<    1   2   3   >