Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
the document class level... H 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 Coder

[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 me

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
arent);"? 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 PROT

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

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
edia > > Join the Bank of America Flash Platform Developer Community > > Are you a Bank of America associate interested in innovative learning > ideas and technologies? > Check out our internal GT&O Innovative Learning Blog & subscribe. > > > >

Re: [Flashcoders] AS3 accessing functions from other classes

2008-08-14 Thread SJM - Flash
t our internal GT&O 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 >>To: Flash Coders List &g

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 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 l

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

2008-07-21 Thread SJM - Flash
gest you ask 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 '

[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 versi

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 To:

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

2008-07-17 Thread SJM - Flash
] AS3 - Problem with first item in Array What does your class 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 - Probl

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

2008-07-17 Thread SJM - Flash
erX:Number; 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

[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 - 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 C

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

2008-07-08 Thread SJM - Flash
. PHP, 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 ne

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

[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

[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 - http://flashdev.dnsa

Re: [Flashcoders] Focus problem

2008-06-24 Thread SJM - Flash
Link 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 Gu

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 want,

[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 - http://flashdev.dnsa

[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 cu

[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; xmlClass.xmlData.RecI

Re: [Flashcoders] AS3 - Upload image problem

2008-05-20 Thread SJM - Flash
at 12:44 PM SJM - 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-filerefe

Re: [Flashcoders] AS3 - Upload image problem

2008-05-20 Thread SJM - Flash
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 - &g

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

[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] 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 - From

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 P

[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] [AS3] Problem with For loop

2008-05-02 Thread SJM - Flash
bject: Re: [Flashcoders] [AS3] 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 atta

[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 < itemList.length

Re: [Flashcoders] Random incriments [AS3]

2008-05-01 Thread SJM - Flash
t(Y * Y + (HEIGHT - X2) * (HEIGHT - X2)); 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

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/decre

[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 whe

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" Sent: Tuesday, April 29, 2008 3:52 PM Subject: Re: [Flashcoders] (AS3) Object to an Array Unfortunalty we are only testing in PHP, the applic

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" 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
//then send your data... SWXFormat handles this sort of thing quite nicely, but they were still working on AS3 when I last looked. HTH Glen SJM - Flash wrote: > Hi Guys > > Im in need of finding out how or even if its possible to convert an object to an

[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 } 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 Message