Re: [Flashcoders] Creating a button class entirely in 2.0 with no symbol association, possible?

2005-11-24 Thread Janis Radins
No thats no a problem, you can do like this: public function set _x(value:Number):Void { mc._x = value; } 2005/11/24, Boon Chew [EMAIL PROTECTED]: Thanks Janis. The problem with doing it below is that you cannot change _x, _y directly on the mc like you can with a regular movieclip.

Re: [Flashcoders] Creating a button class entirely in 2.0 with no symbol association, possible?

2005-11-24 Thread Ian Thomas
On 11/24/05, Boon Chew [EMAIL PROTECTED] wrote: Thanks Janis. The problem with doing it below is that you cannot change _x, _y directly on the mc like you can with a regular movieclip. var b = new myButton(); b._x = 200; -- won't work Boon, You're quite correct - however the

[Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)

2005-11-24 Thread Jay Lepore
Hello, I have a very complex form with many mc\childMc1\childMc2\childMc3\childMc4\childMc5... Type clips within it. I often have a need to line up the _x and _y of a deeply nested childMC with one of the other earlier childMC's For instance if the mc8 is the last child

Re: [Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)

2005-11-24 Thread Danny Kodicek
I have a very complex form with many mc\childMc1\childMc2\childMc3\childMc4\childMc5... Type clips within it. I often have a need to line up the _x and _y of a deeply nested childMC with one of the other earlier childMC's For instance if the mc8 is the last child

Re[2]: [Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)

2005-11-24 Thread iashido
senocular rules :) http://proto.layer51.com/d.aspx?f=630 Thursday, November 24, 2005, 11:53:54 AM, you wrote: I have a very complex form with many mc\childMc1\childMc2\childMc3\childMc4\childMc5... Type clips within it. I often have a need to line up the _x and _y of a deeply nested

Re: [Flashcoders] Distort bitmap in flash 8?

2005-11-24 Thread franto
try search google distortImage flash some french made DistordImage class... it can be done byt Matrix math... also DisplacementMapFilter as well if you will not find anything, i can send you my soruces for this, I have made this already (going on lunch now :) maybe try www.senocular.com there

Re: [Flashcoders] Distort bitmap in flash 8?

2005-11-24 Thread Mark Burvill
Brilliant! That's what I'm after. Thanks Franto. Here's the link for any others that are interested: http://dev.media-box.net/sandy/index.php/2005/11/01/7-distordimage-the-way-to-distord-bitmaps-by-code franto wrote: try search google distortImage flash some french made DistordImage

Re: [Flashcoders] Attaching combobox inside of class

2005-11-24 Thread Paul Evans
On 23 Nov 2005, at 22:11, Dan Wade wrote: It seems like the component is currupted in what way? If you are seeing the first item only, and it doesn't drop down, I'd suggest the problem may be that you are attempting to set the dataprovider before the combobox has initialised. (A

Re: [Flashcoders] Distort bitmap in flash 8?

2005-11-24 Thread franto
yes, this is the link I wanted to give you :) You're welcome. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Spinning wheel

2005-11-24 Thread Jim Berkey
Here's a google link you might find some useful info at: http://int.cysd.k12.pa.us/mummert/wof/wof.swf http://int.cysd.k12.pa.us/mummert/wof/wof.fla - Original Message - From: quinrou . [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday,

[Flashcoders] EVENT DISPATCHER BUG IN FLASH 8 - MACROMEDIA SHOULD FIX THIS

2005-11-24 Thread Matt Muller
I thought I better post this incase someone else is having similar issues, awhile ago I made a post that flash 8 was crashing on FLV events in Flash 8. Finally I tracked it down, its not the media crashing it, its event dispatcher, I'm listening for the same event in my super class, like this...

[Flashcoders] flow chart layout issue

2005-11-24 Thread Andreas Rønning
Ok, i'm tired and my head hurts, and this problem is making me itch horribly. I have a bit of xml in this format: node text plainText=First topic/ node text plainText=Subtopic/ node node text plainText=Subtopic/ node text plainText=SubSubtopic/

Re: [Flashcoders] local swf access to network

2005-11-24 Thread franto
As far as I know, you should be able to read data from network, if y ou run it locally. But this I've never tried. I have opposite problem. Load local file from network. Best luck Franto ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] flow chart layout issue

2005-11-24 Thread Mark Winterhalder
hi Andreas, recursion is your friend. this isn't tested, so let me know if there are any problems: var countSubNodes = function ( node:XMLNode ):Number { var children:Array = node.childNodes; var numSubNodes:Number = 0; for( var i:String in children ) { if( children[ i ].nodeName ==

RE: [Flashcoders] local swf access to network

2005-11-24 Thread James
Brilliant it works, thanks so very much James At 12:51 24/11/2005, you wrote: You shouldn't have a problem if you're setting the SWF as network-only. The key, as you've pointed out is the crossdomain.xml file. Here's the file you would need: ?xml version=1.0? !DOCTYPE cross-domain-policy

[Flashcoders] Better flash to Learn

2005-11-24 Thread knly browne
Am a flex developer..started back using 1.0 when it first came out beautiful framework verywell done. But alot of things are abstracted.. i don't really have an idea of the lower workings of Flash.. So i took it upon myself to start learning flash... Which should i learn flash 8 or Flash mx2004

[Flashcoders] localtoglobal/globaltolocal and getBounds

2005-11-24 Thread Martin Klasson
Hi Coders. As you see in the subject.. that is what I want to learn more about. I have been in the help and read about it, but it is still very confusing how they work. Are there any great pages that you have spotted somewhere, online, in which really can describe them and how they can be used

Re: [Flashcoders] flow chart layout issue

2005-11-24 Thread Mark Winterhalder
hi again, thinking about it some more, it wouldn't work that way. first of all, i forgot to increment numSubNodes in the loop (so it always will be 0). but that's not really the problem, because it's the number of leaf nodes (nodes without children) that interests you. you could get that

Re: [Flashcoders] _x and _y repositioning for child, child, child mc (Flash MX 6.0)

2005-11-24 Thread [EMAIL PROTECTED]
I usually use something like this: function getY(mc:MovieClip):Number { var y:Number = mc._y; if (mc._parent != undefined) y += this.getY(mc._parent); return y; } but of course that takes it all the way back to _root. shouldn't be too hard to check against another movie clip

[Flashcoders] Flash jobs in london

2005-11-24 Thread Aaron Haines
Atticmedia requires a good Actionscript 2 developer for cutting edge work on new BBC projects. Atticmedia is one of the leading new media suppliers to the BBC and has a number of large, high profile interactive BBC projects in progress. You will be working on cutting edge multimedia alongside

[Flashcoders] Swfs embedded in an email

2005-11-24 Thread Danny Kodicek
A friend of mine is trying to send a Flash christmas card in an email and is finding that everyone's Outlook is blocking it for security reasons. I know this is generally considered a no-no anyway, but his company want to do it and it's for internal emails anyway, so can anyone recommend a

RE: [Flashcoders] Swfs embedded in an email

2005-11-24 Thread Nick Weekes
Bad idea whichever way you look at it. Flash on PC = ActiveX = disabled by default, and there aint nuthin you can do about it. Standard practice is to put a link in the email pointing to the swf. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny

Re: [Flashcoders] Swfs embedded in an email

2005-11-24 Thread Daniel Cascais
The most reliable way to have the recipient actually view the Christmas card (only if he/she wants to) is to have a link to it. I had to do it like so last Christmas, and I believe most companies that use flash for their email greeting cards do it this way. Daniel On 11/24/05, Danny Kodicek

Re: [Flashcoders] Swfs embedded in an email

2005-11-24 Thread Danny Kodicek
Bad idea whichever way you look at it. Flash on PC = ActiveX = disabled by default, and there aint nuthin you can do about it. Thought so, but I had to ask. Standard practice is to put a link in the email pointing to the swf. Except that in my experience, no one ever clicks on them.

Re: [Flashcoders] Swfs embedded in an email

2005-11-24 Thread [EMAIL PROTECTED]
include a gif in the e-mail. design it right and perhaps you can get a few more clicks than from a regular text link. andreas Danny Kodicek wrote: Bad idea whichever way you look at it. Flash on PC = ActiveX = disabled by default, and there aint nuthin you can do about it. Thought so,

Re: [Flashcoders] Swfs embedded in an email

2005-11-24 Thread Danny Kodicek
Same as folks... Put a link. But if you're friends can abolutly not do that, try to embed the swf publish in flash 5 format. Cunning. I'll suggest it to him, thanks. Danny ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] emoticons in a chat component

2005-11-24 Thread Toon Van de Putte
On 11/22/05, Karina Steffens [EMAIL PROTECTED] wrote: 1. Unembedded, it looks nice and crispy, but embedded there's a fuzziness to it, even with anti-aliasing switched off (in fact that looks even worse). Verdana didn't produce any better results. Should I use a different font, perhaps? I

Re: [Flashcoders] Swfs embedded in an email

2005-11-24 Thread Flapflap
Cunning. I'll suggest it to him, thanks. Not sure its work... You know it some kind of Somebody say to me that somebody say to him that it try that -- Flapflap[at]sans-facon.net -- DevBlog : http://www.kilooctet.net ___ Flashcoders mailing

Re: [Flashcoders] Swfs embedded in an email

2005-11-24 Thread Toon Van de Putte
On 11/24/05, Danny Kodicek [EMAIL PROTECTED] wrote: Standard practice is to put a link in the email pointing to the swf. Except that in my experience, no one ever clicks on them. Hey ho, thanks anyway. That depends entirely on the rest of the copy of the e-mail. If you can incorporate a

[Flashcoders] Flvs fail to stream on an older pc

2005-11-24 Thread Karina Steffens
Hi List, I'm on the last stages of development of an educational CD-Rom in FlashMX 2004. The application uses a v2 media component loads flvs from the CD-Rom. It's been developed on a pc (XP) and then zipped over and burned on the Mac (OSX) and set to the client. The client has an old mac and

[Flashcoders] AS 3.0 - stage.focus and keyboard event scopes

2005-11-24 Thread John Mark Hawley
What's the 'right' way to handle keyboard input in AS 3? I can see how one class at a time can handle keyboard events as long as stage.focus is set to it, but what happens when that object loses focus? Is there a way to ensure all keyboard events are going to make it to an object? An Object

Re: [Flashcoders] Cutting an image up into tiles using masks

2005-11-24 Thread Hans Wichman
duplicateMovie will not duplicate any loaded images or stuffd drawn throuh the api. basically you'd have to load the image lots of times as well. At 04:58 PM 11/24/2005, Paul Steven wrote: I am trying to make a Slider Puzzle (game whereby an image is cut up into tiles and one tile is removed

RE: [Flashcoders] emoticons in a chat component

2005-11-24 Thread Karina Steffens
Hi Toon, Thanks for the advice. I tried to move everything to integer pixels, but there was no change. It's probably because I'm using TextArea instead of a TextField, and it's possible that the component itself is not very well aligned. Thanks, Karina -Original Message- From: Toon

RE: [Flashcoders] localtoglobal/globaltolocal and scale issue

2005-11-24 Thread Martin Klasson
I got my thing to work now with localToGLobal/globalToLocal. As long as the clip is at 100% in _yscale and _xscale, then it all works. But when those values are modified, the localToGlobal will not be accurate any longer. Is there an easy fix for this? / martin -Original Message-

RE: [Flashcoders] Cutting an image up into tiles using masks

2005-11-24 Thread Paul Steven
Thanks for the reply Hans You say that duplicateMovie will not duplicate stuff drawn through the API However the following code appears to do just that. Tile_Size = 55; Number_Of_Rows = 4; Number_Of_Columns = 4; // -- // Create Tile and fill it in with

RE: [Flashcoders] Flvs fail to stream on an older pc

2005-11-24 Thread Nick Weekes
Hmm...Windows 98 is a bit scary, but it depends if a) you want to play the 'minimum specs' card, or b) try and do a bit of handholding to get to the bottom of the problem. If A), then show her this: http://www.macromedia.com/software/flashplayer/productinfo/systemreqs/ If B) do you dispose of

RE: [Flashcoders] Cutting an image up into tiles using masks

2005-11-24 Thread Paul Steven
Sorry I missed a couple of lines of code But if you cut and paste this into a new flash movie, it will create a 4 by 4 grid of tiles. Each tile being drawn using the drawing API Tile_Size = 55; Number_Of_Rows = 4; Number_Of_Columns = 4; // -- // Create

RE: [Flashcoders] [structure] Automatic callback

2005-11-24 Thread Scott Hyndman
You could have modules aware of their peers (like a graph or linked list structure) and eliminate TestSequence entirely...but it would be kind of odd. Otherwise you could have modules dispatch a notification when complete, and have TestSequence observing the modules. This would make the most

Re: [Flashcoders] [structure] Automatic callback

2005-11-24 Thread erixtekila
Le 24 nov. 05, à 19:39, Scott Hyndman a écrit : You could have modules aware of their peers (like a graph or linked list structure) and eliminate TestSequence entirely...but it would be kind of odd. Otherwise you could have modules dispatch a notification when complete, and have

RE: [Flashcoders] Cutting an image up into tiles using masks

2005-11-24 Thread Hans Wichman
Sorry paul, i was wrong, apparently duplicating clips with drawn code is possible. Somehow i tried this in a project sometime ago and it failed, but still... loaded images wont.. im sure.. really ;)) And you are right the mask cant be shared as well, so you have to duplicate the mask as well.

Re: [Flashcoders] AS3 - parse file

2005-11-24 Thread old9
how to parse? would you mind sharing that? 2005/11/24, franto [EMAIL PROTECTED]: yes I know Jesse, but there is no source :) I've already ask Andre about sharing sources.. but I've already know how to parse file (ByteArray), now the only problem is 3ds file format :)) On 11/23/05,

Re: [Flashcoders] [structure] Automatic callback

2005-11-24 Thread erixtekila
and have TestSequence observing the modules. I don't like to use an observing scheme since I must validate a sequence of tests. Observer make a 1 to many relation but asynchronisaly (…!) BTW it was a good point. Thanks. --- erixtekila http://blog.v-i-a.net/

[Flashcoders] dynamic accordion header text

2005-11-24 Thread Nick Appelmans
How do I allow a user to dynamically change the label in the header of an accordion component? I've used the labelPath.text property but this does not allow me to adjust for text width so the number of characters in the new label has to be = to the old label or it will get truncated in the header

[Flashcoders] flash settings JSFL ?

2005-11-24 Thread Patrick Matte
Hi, is there a way to make all my graphics symbols to play once instead of the loop default. Maybe with JSFL ? Where can I learn about this? Also, I'd really like to make all my bitmap images to automatically not smooth on stage. That smooth option is so useless... What's it for anyway? Ive never

Re: [Flashcoders] [structure] Automatic callback

2005-11-24 Thread erixtekila
Le 24 nov. 05, à 20:27, Ian Thomas a écrit : Why not just pass each module a callback function to call when it's done? Then TestSequence can do all the work. For example: class TestModule { public function runTest(callback:Function) { // Do some testing... // When done...

RE: [Flashcoders] flash settings JSFL ?

2005-11-24 Thread Julian Dolce
Hi, is there a way to make all my graphics symbols to play once instead of the loop default. Maybe with JSFL ? Where can I learn about this? Yes here is the sample from the help documentation under symbolInstance.loop fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].loop =

Re: [Flashcoders] Flvs fail to stream on an older pc

2005-11-24 Thread Søren Christensen
Hi Karina I have had similar problems like you. My cd-rom in question had 2 videos (both external flvs to profit f7's smaller memory footprint advantage over f6 regarding videos) Both videos was rather big in pixel size and approx 3 mins length (about 30 megabytes each). So i knew they would

[Flashcoders] how to access Print from flash context menu?

2005-11-24 Thread iashido
any way to access Print from flash contextual menu without to right click on flash and choose print from there? www.iashido.com www.itseveryday.ro ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Dynamic variables in as3

2005-11-24 Thread Phil Douglas
Does anybody know of a way to create and reference dynamic variables in as3. Specifically movie clips, but if there's a difference between them and any other type of variables, that'd be good to know. In as2 this would be for(var i:Number =0; i acRate; i++){

Re: [Flashcoders] Dynamic variables in as3

2005-11-24 Thread Johannes Nel
push it into an array. myArr.push(new MovieClip()); On 11/24/05, Phil Douglas [EMAIL PROTECTED] wrote: Does anybody know of a way to create and reference dynamic variables in as3. Specifically movie clips, but if there's a difference between them and any other type of variables, that'd be

[Flashcoders] OOP newbie question

2005-11-24 Thread hbruyere
Hi, Here is a OOP newbie question. I have a class (see below).. Everything works fine. but the method handleIncoming can not access () or maybe even find) the method parseMessages. If I give the complete path to the instance of the OSC class (made in my fla - for example

Re: [Flashcoders] OOP newbie question

2005-11-24 Thread Andy Johnston
import mx.utils.Delegate; class OSC { var mySocket : XMLSocket; public function OSC () { connect (); } function connect () { mySocket = new XMLSocket (); mySocket.onXML =

RE: [Flashcoders] OOP newbie question

2005-11-24 Thread Robin Burrer
Just create reference to your class. You will need that a lot ... function connect () { mySocket = new XMLSocket (); var _obj = this; mySocket.onXML = function () {

RE: [Flashcoders] OOP newbie question

2005-11-24 Thread hbruyere
Thanks for all your helps. The Delegate class makes it works like a charm... On the other hand the self referencing is not working. Would it work that way (The Delegate class solution) is an other OOP language like Java or C++ ? //h -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] OOP newbie question

2005-11-24 Thread Andy Johnston
http://www.javaworld.com/javaworld/javaqa/2001-09/01-qa-0914-delegate.html Thanks for all your helps. The Delegate class makes it works like a charm... On the other hand the self referencing is not working. Would it work that way (The Delegate class solution) is an other OOP language like

Re: [Flashcoders] OOP newbie question

2005-11-24 Thread Andy Johnston
Nothing is wrong with it. Just seems an ugly way to deal with differences in scope. Why what's wrong about it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Johnston Sent: Friday, 25 November 2005 2:41 PM To: Flashcoders mailing list Subject:

[Flashcoders] Loading multiple images inside dynamic text field

2005-11-24 Thread Sajid Saiyed
Hi, I was surprised to see this result. I have a Dynamic text field on stage. I am loading some XML data which contains HTML formatted text inside CDATA tag. The content of CDATA is something like: img alt=kp.jpg src=http://www.ssdesigninteractive.com/blog/archives/kp.jpg; width=450 height=348

[Flashcoders] browsing Flashcoders archives on local PC

2005-11-24 Thread Gregory_GOusable
Hello Flashcoders, I'm preparing for MM certification and would like to refresh my Flash MX 2004 knowledge by reading Flashcoders archives (2003-2005). They are downloadable as huge (4-5mb per month) text files. Does someone have experience/tricks/ideas of how to browse them on local PC (or

Re: [Flashcoders] browsing Flashcoders archives on local PC

2005-11-24 Thread Sajid Saiyed
Download Google Desktop search. Its the best way to search your PC as far as I know. --Sajid On 11/25/05, Gregory_GOusable [EMAIL PROTECTED] wrote: Hello Flashcoders, I'm preparing for MM certification and would like to refresh my Flash MX 2004 knowledge by reading Flashcoders archives