Re: [Flashcoders] Can't remove loaded SWF AS3

2008-11-07 Thread Alistair Colling
amonn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Alistair Colling Sent: 07 November 2008 11:09 To: Flash Coders List Subject: [Flashcoders] Can't remove loaded SWF AS3 Hi there, I'm aware that if you load a SWF in AS3 it will still exist unles

[Flashcoders] Can't remove loaded SWF AS3

2008-11-07 Thread Alistair Colling
}else{ loadedSWF.x = -345; } } ------ Alistair Colling Interactive Developer FPP Brand Communications (Newcastle upon Tyne) The Courtyard Dinsdale Place Sandyford Newcastle upon Tyne NE2 1BD Telephone: +

[Flashcoders] (Another) quick Delegate question

2008-09-16 Thread Alistair Colling
on onInit():Void { trace(">>>>>>>>>onInit"); } } -- Alistair Colling Interactive Developer FPP Brand Communications (Newcastle upon Tyne) The Courtyard Dinsdale Place Sandyford Newcastle upon Tyne NE2 1BD Telephone: +44 (0)191 261

Re: [Flashcoders] Quick Date question, how to add 1 second to Date?

2008-08-22 Thread Alistair Colling
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ---------- Alistair Colling Interactive Developer FPP Brand Commu

Re: [Flashcoders] Buffer flv from midpoint?

2008-07-24 Thread Alistair Colling
Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ------ Alistair Colling Interactive Developer FPP Brand Communications (Newc

Re: [Flashcoders] Game source code / classes? I need to make a gamequick!

2008-07-17 Thread Alistair Colling
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ---------- Alistair Colling Interactive Developer FPP Brand Communications (Newcastle upon Tyne

Re: [Flashcoders] What's happened to my var?

2008-07-08 Thread Alistair Colling
eaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ------

Re: [Flashcoders] How to add bitmaps from my library to the stage AS3?

2008-06-20 Thread Alistair Colling
oders -- Alistair Colling Interactive Developer FPP Brand Communications (Newcastle upon Tyne) The Courtyard Dinsdale Place Sandyford Newcastle upon Tyne NE2 1BD Telephone: +44 (0)191 261 6662 Fax: +44 (0)191 233 2511 This transmissi

Re: [Flashcoders] Insert breakpoints and run debugger withoutFlashCS3?

2008-06-16 Thread Alistair Colling
oders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Alistair Colling Interactive Developer FPP Brand Communications (Newcastle upon Tyne) The Courtyard Dinsdale

Re: [Flashcoders] Insert breakpoints and run debugger withoutFlashCS3?

2008-06-16 Thread Alistair Colling
ttyfig.figleaf.com/mailman/listinfo/flashcoders ------ Alistair Colling Interactive Developer FPP Brand Communications (Newcastle upon Tyne) The Courtyard Dinsdale Place Sandyford Newcastle upon Tyne NE2 1BD Telephone: +44 (0)191 261 6662

[Flashcoders] Insert breakpoints and run debugger without Flash CS3?

2008-06-13 Thread Alistair Colling
Hiya, is there a way I can add breakpoints to my code and execute it block by block now I am not using the Flash IDE? Thanks, Alistair -- Alistair Colling Interactive Developer FPP Brand Communications (Newcastle upon

Re: [Flashcoders] AS3: How can I target an object fromadot-sytaxstring?

2008-06-12 Thread Alistair Colling
_ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Alistair Colling Interactive Developer FPP Brand Communications (Newcastle upon Tyne) The Courtyar

Re: [Flashcoders] Why is my method not firing?

2008-05-22 Thread Alistair Colling
ke.co.uk <http://www.glenpike.co.uk> ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Alistair Colling Interac

Re: [Flashcoders] Linked sounds in library have to be in root SWF? AS2

2008-05-12 Thread Alistair Colling
Cheers Rich, I had to get this project finished for a deadline so I've gone through and converted my aifs to mp3s and am loading these in at the start. Thanks for your reply though, I'll remember this next time (or maybe try and use all external resources so everyhthing is more flexible).

[Flashcoders] Linked sounds in library have to be in root SWF? AS2

2008-05-12 Thread Alistair Colling
Hi there thanks for reading my post. I've been working on a project that has a bunch of sounds in the library that have linkage identifiers. I have classes that target these sounds and these are instantiated in the main movie clip. Now I have made a loader for the main movie clip the sounds

Re: [Flashcoders] Why isn't my TextField multiline? AS2

2008-05-08 Thread Alistair Colling
hmm, the string that is being targeted is held in a variable that is set from an xml file so should just be a regular string, i'll look into this tho. Thanks Rich On 8 May 2008, at 13:38, Rich Shupe wrote: I think the problem is that you're pulling your string from another text field. In

Re: [Flashcoders] Why isn't my TextField multiline? AS2

2008-05-08 Thread Alistair Colling
ultiline = true; tmpField.wordWrap = true; tmpField.text = Q.monkeyStr; tmpField.setTextFormat(myM); Any suggestions flashers? On 8 May 2008, at 10:06, Christoffer Enedahl wrote: Try "\n" or "\r\n" HTH/Christ

Re: [Flashcoders] Why isn't my TextField multiline? AS2

2008-05-08 Thread Alistair Colling
ultiline = true; tmpField.wordWrap = true; tmpField.text = Q.monkeyStr; tmpField.setTextFormat(myM); Any suggestions flashers? On 8 May 2008, at 10:06, Christoffer Enedahl wrote: Try "\n" or "\r\n" HTH/C

Re: [Flashcoders] Why isn't my TextField multiline? AS2

2008-05-08 Thread Alistair Colling
wordWrap = true; Hth, Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Colling Sent: Wednesday, May 07, 2008 10:03 AM To: Flash Coders List Subject: [Flashcoders] Why isn't my TextField multiline? AS2 Hi there, thanks for checking thi

[Flashcoders] Why isn't my TextField multiline? AS2

2008-05-07 Thread Alistair Colling
Hi there, thanks for checking this. I'm generating a textfield from within a custom class but I can't seem to make it multiline, I can see the border of the textfield is the right size my text only appears on the first line and also my carriage returns "\r" are having no effect. I've tried

Re: [Flashcoders] How do I remove methods of superclass in AS2?

2008-05-01 Thread Alistair Colling
} } Hope this helps... Karim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Colling Sent: 01 May 2008 12:21 To: Flash Coders List Subject: [Flashcoders] How do I remove methods of superclass in AS2? Hiya, thanks for checking this. I hav

Re: [Flashcoders] How do I remove methods of superclass in AS2?

2008-05-01 Thread Alistair Colling
rride -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Alistair Colling Verzonden: donderdag 1 mei 2008 13:21 Aan: Flash Coders List Onderwerp: [Flashcoders] How do I remove methods of superclass in AS2? Hiya, thanks for checking this. I have a custom class

[Flashcoders] How do I remove methods of superclass in AS2?

2008-05-01 Thread Alistair Colling
Hiya, thanks for checking this. I have a custom class that I am using as kind of button. The thing is I now want to remove the onPress and onRelease methods as there is a nested movieclip I want to attach these events to. What I would like to know is can I remove or nullify the methods of

[Flashcoders] How does 'Compress movie' publish setting work?

2008-04-24 Thread Alistair Colling
Just out of interest really :) And why would you switch it off? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Variables can only be seen from outside of class

2008-04-10 Thread Alistair Colling
Hi there, this is a weird problem that I am sure has a really simple solution. I have written a custom class that is instantiated by another custom class. I pass a few variables to the class and I can trace them going in and check that they are set but when I go to use them again they are

[Flashcoders] Image colorization / contrast adjusting

2008-03-27 Thread Alistair Colling
Hello, I would like to know if it is possible for flash to process a regular photograph to produce a pop-arty image like this: http://www.popartuk.com/g/l/lgpo7028+pop-art-andy-warhol-1962-che- guevara-poster.jpg The user would upload their photograph, I guess I would then need flash to co

[Flashcoders] How to delegate function call in Boostyworthy AS2

2008-03-06 Thread Alistair Colling
Hiya, I'm sure you guessed from the title this query is specific to the Boostworthy AS2 animation system. I've been on with this for a little while, if someone could give me a quick heads-up that would be great. I want to call a function at a certain point in my virtual timeline, I'm gues

[Flashcoders] Solved- Re: Dynamically created gradient fill doesn't mask like a gradient

2008-02-19 Thread Alistair Colling
I have it, hope this is helpful to someone, you need to publish to FP 8 and enable the cacheAsBitmap property of the masker and maskee. http://www.whatdoiknow.org/archives/002407.shtml Thanks, Ali On 19 Feb 2008, at 11:44, Alistair Colling wrote: Hiya, I think the title sums this up

[Flashcoders] Dynamically created gradient fill doesn't mask like a gradient

2008-02-19 Thread Alistair Colling
Hiya, I think the title sums this up pretty well. I have dynamically created a box that is filled with a gradient where one of the colour's alphas is 100 and the other is 0, I have made the ratios 0, 255 and have made sure the matrix box is the same dimensions and xy placement as the box I a

Re: [Flashcoders] Anyone know of music sequencer source code?

2008-02-13 Thread Alistair Colling
ramming/ These guys have done lots of audio programming for Flash, so read around those articles. Alex Issac wrote a MIDI plugin for Flash that you can install as an optional extra, think there are some sequencing classes in here. http://www.alexisisaac.net/products/flashMidi/ HTH Glen

Re: [Flashcoders] Multiple moviecliploaders

2008-02-13 Thread Alistair Colling
ecker // this class is passed am array and calls a function when all of the objects in the array are loaded // // Created by Alistair Colling on 2008-01-30. // // pass mcs to load and start loading // FLA CODE // import mc.LoadObj // // import mc.LoadCh

[Flashcoders] Anyone know of music sequencer source code?

2008-02-13 Thread Alistair Colling
Hiya, I'm looking into working on a project where a simple music sequencer is created. Does anyone know of any pre-existing classes or FLAs that do this, I have come across popforge, are there any others? Thanks Ali ___ Flashcoders mailing list Flash

Re: [Flashcoders] Control speed by how fast mouse moving

2008-02-13 Thread Alistair Colling
Hiya, how about logging the _root._xmouse properties (AS2) or log the localX/ stageX properties of the MouseEvent class in AS3. The timer can be triggered by moving over a movieclip or by whatever then set the parameters of where your 'moving area' is to be on the stage or let the user use

Re: [Flashcoders] Dynamically animating writing effect

2008-02-12 Thread Alistair Colling
Thanks for the suggestion Erik, I've done a bit of research into these classes and they are very interesting but it seems I am still left with the same problem of figuring out how each character would appear when written as this information isn't in the font data. I'm not sure there is a lo

Re: [Flashcoders] Anyone know of good mac app that will trace outside of Flash

2008-02-08 Thread Alistair Colling
use XRAY from Blitz (http://osflash.org/xray) its is a very good debug / logger tool. and it just uses a SWF that you run. Cheers, Sid Alistair Colling wrote: Oops, sorry pressed send too quick on that one, here's the complete message Hiya, I have been using XTrace (http://mabblog.com/x

[Flashcoders] Anyone know of good mac app that will trace outside of Flash

2008-02-07 Thread Alistair Colling
Oops, sorry pressed send too quick on that one, here's the complete message Hiya, I have been using XTrace (http://mabblog.com/xtrace.html) and it is a great application as it allows me to view my trace messages with different colours outside of the Flash IDE. My problem is that after

Re: [Flashcoders] AS2 Delegate event won't fire in my multi swf loadclass

2008-01-31 Thread Alistair Colling
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Colling Sent: 31 January 2008 11:16 To: Flash Coders List Subject: Re: [Flashcoders] AS2 Delegate event won't fire in my multi swf loadclass Thanks for your quick reply Glen, thing is, I want to allow the class to trigger differ

Re: [Flashcoders] AS2 Delegate event won't fire in my multi swf load class

2008-01-31 Thread Alistair Colling
ownloaded the passed function won't fire. If anyone could help me figure this that would be really helpful.Cheers, Ali // // LoadChecker // this class is passed am array and calls a function when all of the objects in the array are loaded // // Created by Alistair Colling on 2008-01-30

[Flashcoders] Problems loading AS2 into AS2 then into AS3 holder

2008-01-08 Thread Alistair Colling
Hi there, I have an AS3 movie in to which I load as AS2 movie, this works great. My problem starts when I then load another AS2 movie into the first AS2 movie. I am using MovieClipLoader and although the swf I am loading loads (I have put a trace on its timeline so I know it's there), the o

[Flashcoders] Short syntax for accessing nested display objects? (AS3)

2007-10-19 Thread Alistair Colling
Hiya everyone, good to see the list back up and running. I'm trying to access a sprite that is inside of 2 other sprites and I have 2 questions about this: 1) It seems that the syntax for targeting this sprite once it is created is quite long winded (2 temporary vars have to be created):

[Flashcoders] How to share class library across a network?

2007-09-12 Thread Alistair Colling
Hi there, I would like to share my class library with other developers on my local network. We are soon to be using Version Cue or something similar but in the meantime it would be good if we could al be working from the same class library (there are only 2 of us). Almost every time we exch

Re: [Flashcoders] Class to loop sound objects in order

2007-08-15 Thread Alistair Colling
Thanks Muzak for your solution I think it will be the simplest to implement I'll check out your class also Alan, I guess I could create the array dynamically quite easily rather than having to hard-code the values. Thanks for your super-quick responses guys :) Dan On 15 Aug 2007, at 12:52,

Re: [Flashcoders] How do I get rid of enhanced stroke?

2007-06-13 Thread Alistair Colling
se the enhanced stroke effects and the swf will work fine. Giles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Colling Sent: 13 June 2007 16:02 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] How do I get rid of enhanced stroke?

[Flashcoders] How do I get rid of enhanced stroke?

2007-06-13 Thread Alistair Colling
Hi there, I've received some graphics in an FLA from a designer and they use enhanced stroke. I need to get rid of this as I'm publishing to Flash Player 6 and I am getting compiler errors because of this. I've tried doing this by breaking the images apart but the enhanced stroke still rema

Re: [Flashcoders] Can't set selectionColor property of List fromwithinclass

2007-06-01 Thread Alistair Colling
Muzak! thanks so much this is a massive help :) Have a great weekend! On 1 Jun 2007, at 17:25, Muzak wrote: _list.drawFocus = null; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.fig

Re: [Flashcoders] Can't set selectionColor property of List from withinclass

2007-06-01 Thread Alistair Colling
seRollOver", false); userList.setStyle("selectionColor", 0xFF); } regards, Muzak ----- Original Message - From: "Alistair Colling" <[EMAIL PROTECTED]> To: Sent: Friday, June 01, 2007 12:27 PM Subject: [Flashcoders] Can't set selectionColor property

[Flashcoders] Can't set selectionColor property of List from within class

2007-06-01 Thread Alistair Colling
Hi there, I'm working on a class that is passed instances of components so that nearly all of the code is inside the class. I want to set the colour of selected items to white so the list always looks the same. I am trying to set the selectionColor property from within my class but I get th

Re: [Flashcoders] How do i get rid of the green halo glow on listbox?

2007-05-31 Thread Alistair Colling
riginal Message - From: "Alistair Colling" <[EMAIL PROTECTED]> To: Sent: Thursday, May 31, 2007 3:42 PM Subject: [Flashcoders] How do i get rid of the green halo glow on listbox? Hi there, I want to remove the green glow that appears when you rollOver items in a list box. I kn

Re: [Flashcoders] How do i get rid of the green halo glow on listbox?

2007-05-31 Thread Alistair Colling
mc.lineTo( this._width, 0 ); mc.lineTo( this._width, 21); mc.lineTo( 0, 21); mc.lineTo( 0, 0 ); } }; On 5/31/07, Alistair Colling <[EMAIL PROTECTED]> wrote: Hi there, I want to remove the green glow that appears when you rollO

[Flashcoders] How do i get rid of the green halo glow on listbox?

2007-05-31 Thread Alistair Colling
Hi there, I want to remove the green glow that appears when you rollOver items in a list box. I know how to set the colour of the theme and how to edit the graphical elements of the component from the StandardComponents.fla but I can't find the rollOver highlight MC. If someone could let me

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

2007-05-25 Thread Alistair Colling
or do you wish to make an outline for items? - eric On 5/25/07, Alistair Colling <[EMAIL PROTECTED]> wrote: Hey there, I'm customizing the v2 list component but can't find the assets in the sampletheme.fla library. I have customized the scrollbar but I also want to change the

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

2007-05-25 Thread Alistair Colling
Hey there, I'm customizing the v2 list component but can't find the assets in the sampletheme.fla library. I have customized the scrollbar but I also want to change the outline of the list and I can't find this. Could someone point me in the right direction please? Thanks guys , have a good

Re: [Flashcoders] How to set button event listeners within a class

2007-05-18 Thread Alistair Colling
Thanks Merril and Rakos for yr quick responses that is brilliant :) I'll have a shot of this on Monday. Have a great weekend :) Ali On 18 May 2007, at 16:57, Rákos Attila wrote: Use some kind of delegation (e.g. mx.utils.Delegate). (off: using this is not required in AS2 classes) sendBtn.o

[Flashcoders] How to set button event listeners within a class

2007-05-18 Thread Alistair Colling
Hey, thanks for checking this. I am writing a class where the onRelease event of the button is handled within the class. This is so I can make a class that can be reused across re-skinned FLAs just by passing the button instance to the class (so I don't need to assign a method of the class

Re: [Flashcoders] Can I read XML before it is loaded?

2007-05-18 Thread Alistair Colling
Thanks Danny, I think you're right, the XML Object is pretty fast and if it is going to take a while to load then storing the ID somewhere else and checking that file is probably the best way to approach this. Cheers everyone! Ali On 15 May 2007, at 15:45, Danny Kodicek wrote: Hi there, I am

[Flashcoders] Can I read XML before it is loaded?

2007-05-15 Thread Alistair Colling
Hi there, I am sure I remember coming across a way of reading an XML file before it is fully loaded though I can't find it. What I would like to do is load all the information from an XML file but only if an attribute in the first node has changed (this is like an ID that the Flash app can

Re: [Flashcoders] Quick syntax q: how to write a function that canreceive an undefined number of parameters

2007-05-11 Thread Alistair Colling
bit more clear. The only caveat is that, depending on the rest of your code, if you have to pass an unknown number of movie clips, there's a chance your original function might actually make more sense... Cheers, Karina -Original Message----- From: Alistair Colling [mailto:[EMAI

[Flashcoders] Quick syntax q: how to write a function that can receive an undefined number of parameters

2007-05-11 Thread Alistair Colling
Hi there, just a quick syntax question, I want to receive a function that will centre the position of all objects passed to that of the first object passed but the number of objects passed may vary. This is the syntax I am currently using, is this the best way to do it? Thanks for any commen

Re: [Flashcoders] Syntax for dynamically calling a function

2007-05-04 Thread Alistair Colling
Wow, thanks for all your suggestions guys, Lists, I really appreciate the time you took to write your detailed response, I like your third option the best. David thanks for your suggestion I am going to do some further experimentation. I'll also have a look into the Event Dispatcher class a

Re: [Flashcoders] Syntax for dynamically calling a function

2007-05-03 Thread Alistair Colling
ke this: class Something { method1(); method2(a_number:Number); } Somewhere else: var method_str:String = "method1"; var sm:Something = new Something(); sm[method_str](); // Will call method1 class method sm["method2"](0x09F911029D74E35BD84156C5635688C0); // Also works ;-)

[Flashcoders] Syntax for dynamically calling a function

2007-05-03 Thread Alistair Colling
Hi there, I want to call a function but want to able to call it dynamically so a string that is passed will determine which function is called. My reason for this is I have an interface with a number of buttons that have different labels but that look the same and need to call different fun

Re: [Flashcoders] RE: The best way to monitor load progress of multiple swfs?

2007-05-02 Thread Alistair Colling
& examples are on the site. I think you'll find it pretty easy to implement. Enjoy. Jack Doyle -Original Message- Date: Wed, 2 May 2007 10:09:43 +0100 From: Alistair Colling <[EMAIL PROTECTED]> Subject: [Flashcoders] The best way to monitor load progress of multi

[Flashcoders] The best way to monitor load progress of multiple swfs?

2007-05-02 Thread Alistair Colling
Hi there, I am trying to figure out the best way to monitor the load progress of swfs that are loading into each other. There are 20 swfs (of different sizes) that load into my main movie and I plan on loading my main movie into a holder so I can monitor the progress of it's download using

[Flashcoders] Problems extending the WebServiceConnector Class

2007-04-17 Thread Alistair Colling
Hi there, this is my first post so hi everyone:) I am trying to extend the WSC Class into a class that will call a web service at a set interval so i can just create an instance of it in any of my movies and a listener and it will just keep sending info to the web service or trying to retrie