Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SJM - Flash Sent: Wednesday, August 13, 2008 1:47 PM To: Flash Coders List Subject: Re: [Flashcoders] AS3 accessing functions from other classes Hi Eduardo, thanks for your help! Ive implimented

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SJM - Flash Sent: Wednesday, August 13, 2008 1:47 PM

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
access the parent by using, parent. Kenneth Kawamoto http://www.materiaprima.co.uk/ SJM - Flash wrote: Hi guys, im having some trouble accessing a function from another class and I would like to know how its done. In my project i have 2 FLAs 'gallery.fla' and 'main_site.fla', each

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
);? Kenneth Kawamoto http://www.materiaprima.co.uk/ SJM - Flash wrote: Again another solution i tried but this too does not work! Thanks SJM - Original Message - *From:* Kenneth Kawamoto mailto:[EMAIL PROTECTED] *To:* Flash Coders List

[Flashcoders] AS3 - Applying a skin to loaded FLV

2008-08-14 Thread SJM - Flash
Hi guys, ive written some code to load FLVs into flash and then play them. The problem is that the skin does not seam to be working! Here is teh code to load teh FLV private function loadFLV (filename:String):void { connect = new NetConnection(); // builds new net connextion flash

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
On Thu, Aug 14, 2008 at 8:55 AM, SJM - Flash [EMAIL PROTECTED] wrote: Again another solution i tried but this too does not work! Thanks SJM - Original Message - From: Kenneth Kawamoto To: Flash Coders List Sent: Thursday, August 14, 2008 1:36 PM Subject

[Flashcoders] AS3 accessing functions from other classes

2008-08-13 Thread SJM - Flash
Hi guys, im having some trouble accessing a function from another class and I would like to know how its done. In my project i have 2 FLAs 'gallery.fla' and 'main_site.fla', each of the FLAs has its own document class 'gallery.as' and 'main_site.as'. When compiled the second SWF(main_site) is

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-13 Thread SJM - Flash
Hi Eduardo, thanks for your help! Ive implimented this into my code but still does not work, i now get a couple of errors... Desc: 1061: Call to a possibly undefined method addEventListener through a reference with static type Class. Src: main_site.addEventListener(bk2globe, bk2globeListener);

[Flashcoders] AS3/Papervision - rotating 3d object with 'hot' areas

2008-07-21 Thread SJM - Flash
Hi Guys im fishing for information on the best way to create a rotating 3d object with 'hot' areas what you can roll over to revel a description. Here is an example... http://www.danzer.ltd.uk/linkpakSpec.htm Instead of frame by frame (like the example) i want to create a fully dynamic 3d

Re: [Flashcoders] AS3/Papervision - rotating 3d object with 'hot'areas

2008-07-21 Thread SJM - Flash
on the Papervision list: http://osflash.org/mailman/listinfo/papervision3d_osflash.org HTH, Ian On Mon, Jul 21, 2008 at 1:55 AM, SJM - Flash [EMAIL PROTECTED] wrote: Hi Guys im fishing for information on the best way to create a rotating 3d object with 'hot' areas what you can roll over

[Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread SJM - Flash
Hi Guys im having a bit of a nightmare with the first item in an array! For some reason when the flash file is first loaded it will not display any information related to the first item in the array! When the flash its reloaded it works fine! Any ideas? SJM

Re: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread SJM - Flash
; And then initialize them in your mainClass() function containerX = (stage.stageWidth / 5); Otherwise you may get unpredictable results based on what's in memory at the time. -jonathan On Thu, Jul 17, 2008 at 7:08 PM, SJM - Flash [EMAIL PROTECTED] wrote: Hi Guys im having a bit

Re: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread SJM - Flash
DynamicImage look like? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SJM - Flash Sent: donderdag 17 juli 2008 19:08 To: Flash Coders List Subject: [Flashcoders] AS3 - Problem with first item in Array Hi Guys im having a bit of a nightmare

Re: [Flashcoders] AS3 - Problem with first item in Array

2008-07-17 Thread SJM - Flash
What's the real deal? Is there a reason it's better (or worse) to favor one practice over the other? Im new to AS3 so still learning from what ive been told you declare a static var here and any you want to update in the class body! - Original Message - From: Jim McIntyre

Re: [Flashcoders] AS3 - Displaying images from a directory

2008-07-15 Thread SJM - Flash
-defined list or filename structure, as suggested (although I'd add error handling for the final failure) On 7/8/08 9:54 AM, SJM - Flash [EMAIL PROTECTED] wrote: My problem is the flash file is going to be embeded into a templete page to be added to a CMS unfortunatly there is no option

[Flashcoders] AS3 - Displaying images from a directory

2008-07-08 Thread SJM - Flash
Hi Guys Is it possible to display a number of images in flash from a directory without the need for XML? SJM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] AS3 - Displaying images from a directory

2008-07-08 Thread SJM - Flash
know (assuming that without xml you mean without any kind of scripting) and that is a consistent naming pattern. Eg: image1.jpg,image2.jpg,image3.jpg, etc This way you just keep loading the images until the first one that fails. HTH JC On Tue, Jul 8, 2008 at 2:02 PM, SJM - Flash

Re: [Flashcoders] AS3 - Displaying images from a directory

2008-07-08 Thread SJM - Flash
, for example, can provide the contents of a directory in name-value pairs or straight text if you want to avoid XML. On 7/8/08 8:02 AM, SJM - Flash wrote: Is it possible to display a number of images in flash from a directory without the need for XML? Rich http

[Flashcoders] Really need your help guys! AS3

2008-06-26 Thread SJM - Flash
Hi Guys as you know im fairly new to AS3 and im having a massive problem with some code ive been writing, unfortunately there is loads of it so ive had to create a couple of examples of what i want, as i can get them to work separately but not together! 1 - Click the link -

Re: [Flashcoders] Focus problem

2008-06-24 Thread SJM - Flash
are not working here Cor The Netherlands -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SJM - Flash Sent: vrijdag 20 juni 2008 15:17 To: Flash Coders List Subject: Fw: [Flashcoders] Focus problem Guys? Anyone

Fw: [Flashcoders] Focus problem

2008-06-20 Thread SJM - Flash
Guys? Anyone? Hi Guys as you know im fairly new to AS3 and im having a massive problem with some code ive been writing, unfortunately there is loads of it so ive had to create a couple of examples of what i

[Flashcoders] Focus problem

2008-06-19 Thread SJM - Flash
Hi Guys as you know im fairly new to AS3 and im having a massive problem with some code ive been writing, unfortunately there is loads of it so ive had to create a couple of examples of what i want, as i can get them to work separately but not together! 1 - Click the link -

[Flashcoders] AS3 - A simple questions

2008-06-03 Thread SJM - Flash
Hi Guys a simple questions for you Basically I want to produce similar code that creates 3 TextFields and when clicked (or focused) they need to say Hi I'm TextField [num], I would like to avoid putting the TextFields in MovieClips if possible. // // Creates 3 new MovieClips and adds a

[Flashcoders] AS3 - Dynamic Variable?

2008-05-29 Thread SJM - Flash
Another one for you... I am having some trouble with dynamic variables, basically I expect this['xmlClass.xmlData.RecImageW' + 1] to mean xmlClass.xmlData.RecImageW1, but it seems it does not? // VALUES xmlClass.xmlData.RecImageW1 = 120; xmlClass.xmlData.RecImageW2 = 1220;

[Flashcoders] AS3 - Upload image problem

2008-05-20 Thread SJM - Flash
Hi guys im having problems with uploading an image, i cant seam to get it to work! Most of the code is from the help files but still no joy! Any ideas... public function uploadImage( ev:MouseEvent ):void { uploadURL = new URLRequest(); uploadURL.url = _mainClass._imgUploadURL;

Re: [Flashcoders] AS3 - Upload image problem

2008-05-20 Thread SJM - Flash
Glen is that not for AS2? - Original Message - From: Glen Pike To: Flash Coders List Sent: Tuesday, May 20, 2008 12:30 PM Subject: Re: [Flashcoders] AS3 - Upload image problem http://www.tink.ws/blog/a-round-trip-with-filereference/ SJM - Flash wrote: Hi guys im

Re: [Flashcoders] AS3 - Upload image problem

2008-05-20 Thread SJM - Flash
the Flash one if you are using CS3, but the class should be the same, so you may be okay. http://livedocs.adobe.com/flex/201/langref/flash/net/FileReference.html#includeExamplesSummary HTH Glen SJM - Flash wrote: Glen is that not for AS2? - Original Message - From

Re: [Flashcoders] AS3 - Upload image problem

2008-05-20 Thread SJM - Flash
- Flash wrote: Glen is that not for AS2? - Original Message - From: Glen Pike To: Flash Coders List Sent: Tuesday, May 20, 2008 12:30 PM Subject: Re: [Flashcoders] AS3 - Upload image problem http://www.tink.ws/blog/a-round-trip-with-filereference/ SJM

Re: [Flashcoders] Why do you compile with the Flash IDE?

2008-05-16 Thread SJM - Flash
The reason i am yet to move to Flex is because as it stands i don't have the time to start learning/using a new prog! Ive been using flash since version 4 so know the program quite well! Once ive had time to play with Flex i may well swap to using it! SJM - Original Message -

[Flashcoders] AS3 - Embeding Fonts

2008-05-15 Thread SJM - Flash
Hi Guys i know about embeding fonts using the 'embed' button in the textfields property inspector within in the ide. Can anyone point me to some definitive solutions for embeding fonts into flash using actionscript (v3),! Thanks SJM ___ Flashcoders

Re: [Flashcoders] Info mailing list

2008-05-15 Thread SJM - Flash
Try www.osflash.org SJM - Original Message - From: Romuald Quantin To: Flashcoders@chattyfig.figleaf.com Sent: Thursday, May 15, 2008 4:15 PM Subject: [Flashcoders] Info mailing list Hi again, still me. I'm following a lot of blogs and specific mailing list like

[Flashcoders] [AS3] Problem with For loop

2008-05-02 Thread SJM - Flash
This function should loop through 5 times creating 5 different MovieClips, each one with a mouse click event attached, which should trace the value of i either 1, 2, 3, 4 or 5. So the first movieclip should output 1, second should output 2 and so on... for (var i = 0; i

Re: [Flashcoders] [AS3] Problem with For loop

2008-05-02 Thread SJM - Flash
] Problem with For loop Try the change I've added below and see if it works for you. On 2-May-08, at 10:58 AM, SJM - Flash wrote: This function should loop through 5 times creating 5 different MovieClips, each one with a mouse click event attached, which should trace the value

[Flashcoders] Random incriments [AS3]

2008-05-01 Thread SJM - Flash
Hi Guys Im writing an application where you can manipulate images increse/decrease size rotate flip etc... but i need to keep the actual image size in memory for outputing (following on to my 'Reading position info X, Y, H W' question). Im trying to set the values for the actual image so

Re: [Flashcoders] Random incriments [AS3]

2008-05-01 Thread SJM - Flash
size, you should set the size of one using the size of the other... selectedImage.width *= 1.1; imgWidthVar = selectedImage.width; etc. Glen SJM - Flash wrote: Hi Guys Im writing an application where you can manipulate images increse/decrease size rotate

Re: [Flashcoders] Random incriments [AS3]

2008-05-01 Thread SJM - Flash
)); Look at Proof #4 on this page if you want to see what I mean. http://www.cut-the-knot.org/pythagoras/index.shtml HTH Glen SJM - Flash wrote: Hi Glen thanks for your reply, this is a continuation really from what you told me about Pythagoras to do this i

[Flashcoders] (AS3) Object to an Array

2008-04-29 Thread SJM - Flash
Hi Guys Im in need of finding out how or even if its possible to convert an object to an array? Basically I am trying to output some vars from flash to an PHP script, yet when PHP recieves the $_POST['textVars'] as [object Object] which is a string and not an array so I can't access it with

Re: [Flashcoders] (AS3) Object to an Array

2008-04-29 Thread SJM - Flash
Glen SJM - Flash wrote: Hi Guys Im in need of finding out how or even if its possible to convert an object to an array? Basically I am trying to output some vars from flash to an PHP script, yet when PHP recieves the $_POST['textVars'] as [object Object] which is a string

Re: [Flashcoders] (AS3) Object to an Array

2008-04-29 Thread SJM - Flash
to an Array use remoting: http://www.amfphp.org/ - Original Message - From: SJM - Flash [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 29, 2008 2:19 PM Subject: [Flashcoders] (AS3) Object to an Array Hi Guys Im in need

Re: [Flashcoders] (AS3) Object to an Array

2008-04-29 Thread SJM - Flash
://www.themidnightcoders.com/weborb/dotnet/ - Original Message - From: SJM - Flash [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 29, 2008 3:52 PM Subject: Re: [Flashcoders] (AS3) Object to an Array Unfortunalty we are only testing in PHP

Re: [Flashcoders] { AS3 } Reading position info X, Y, H W

2008-04-28 Thread SJM - Flash
Yeah i know what the rotastion is, but am not sure what to do with regards to pythagoras and working out the hypotenuse. Can you point me to any examples of how to use validateNow() as ive looked through Flash Help/Livedocs and cant seam to figure out how its used! SM - Original