[Flashcoders] SharedObjects read / write crash

2010-03-01 Thread Glen Pike
Hi Guys, I am having a problem using SharedObjects on Gentoo - kernel 2.6.29 that does not seem to appear in 2.6.30, but I want to make sure it is not because of some setting on my machine. We run FlashPlayer from the command line, but still seem to be governed by the FlashPlayer

Re: [Flashcoders] SharedObjects read / write crash

2010-03-01 Thread Ivan Dembicki
Hello Glen, works fine for me: [SWF] C:\FDT\AS\Tests\Main.swf - 2 947 bytes after decompression [object Main] loading persisted value [object Main] loaded value is 123 [object Main] saving value 123 result true 2010/3/1 Glen Pike g...@engineeredarts.co.uk: Hi Guys,   I am having a problem

Re: [Flashcoders] SharedObjects read / write crash

2010-03-01 Thread Glen Pike
Hi, What OS / Kernel are you using? Thanks Glen Ivan Dembicki wrote: Hello Glen, works fine for me: [SWF] C:\FDT\AS\Tests\Main.swf - 2 947 bytes after decompression [object Main] loading persisted value [object Main] loaded value is 123 [object Main] saving value 123 result true

Re: [Flashcoders] Preloader, Pt. 2

2010-03-01 Thread Victor Subervi
On Sat, Feb 27, 2010 at 1:56 PM, Kenneth Kawamoto kennethkawam...@gmail.com wrote: Loader is used to load SWF or images. loader3.load(new URLRequest(index.py)); Is your Python script meant to return SWF/image? If you want to load a data, use URLLoader instead. But I think what you want

Re: [Flashcoders] Little direction please

2010-03-01 Thread David Benman
I can't really vouch for it all that much, but I recently posted a question to http://www.jsworkshop.com/bb/ and got a decent response. On Feb 27, 2010, at 12:48 AM, Karl DeSaulniers wrote: Hello, I am not sure if this is a cross post, if it is, I do apologize. Does anyone know of a list

Re: [Flashcoders] Preloader, Pt. 2

2010-03-01 Thread Henrik Andersson
Victor Subervi wrote: Is there any way to stop that, mask it, reduce the images to 1 pixel * 1 pixel? The most obvious solution would to not addChild them or their loaders to the wrong object. ___ Flashcoders mailing list

[Flashcoders] DoubleClick AS2 swc/library

2010-03-01 Thread allandt bik-elliott (thefieldcomic.com)
hey guys does anyone know if DoubleClick have an AS2 library so that I can use it to write a class in flashdevelop? thanks a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] SharedObjects read / write crash

2010-03-01 Thread Glen Pike
Yep, it was a permissions issue with the .macromedia folders - made FlashPlayer segfault when it tries to save to disk. The valgrind log for FlashPlayer is full of nasties though ;) Ivan Dembicki wrote: Hello Glen, works fine for me: [SWF] C:\FDT\AS\Tests\Main.swf - 2 947 bytes after

Re: [Flashcoders] (no subject)

2010-03-01 Thread Geografiek
Thanks Paul, Sorry for forgetting the subject line. Won't happen again ;-) You're right about the Object as an Array I guess I can just create an associative array instead of an object, althoug Moock states that both approaches are common practice. I solved (or rather circumvented) my problem

RE: [Flashcoders] (no subject)

2010-03-01 Thread Merrill, Jason
You're just on the verge of breaking into a coding architecture question here, which is good. My suggestion to avoid this issue is to get away from generic objects as you are doing here and define everything as a class. class MySpecialClass extends MovieClip So you'll never ever use new

[Flashcoders] Extra White Space in Flash Movie

2010-03-01 Thread beno -
Hi; I guess you all think I'm a pariah because nobody responded to my last post weeks ago, but I sure hope you're willing to help me one last time then I'll go away and leave you all alone. Please go here: http://globalsolutionsgroup.vi/index.py I've had to do all sorts of bizarre css stuff to

[Flashcoders] Re: Extra White Space in Flash Movie

2010-03-01 Thread beno -
Never mind. I figured it out. beno On Mon, Mar 1, 2010 at 12:40 PM, beno - flashmeb...@gmail.com wrote: Hi; I guess you all think I'm a pariah because nobody responded to my last post weeks ago, but I sure hope you're willing to help me one last time then I'll go away and leave you all

[Flashcoders] Masking w/ AS3

2010-03-01 Thread Susan Day
Hi; I have the following code: function roundNavRect() { var roundRect:Sprite = new Sprite(); roundRect.graphics.beginFill(0x33030b); roundRect.graphics.drawRoundRect(20, 20, 300, 660, 20, 20); roundRect.graphics.endFill(); addChild(roundRect); var rect:Sprite = new Sprite();

Re: [Flashcoders] Masking w/ AS3

2010-03-01 Thread Beatrix Krümmer-Frau
Hi Susan, when scripting a masc, you need to define it as a masc: roundRect.mask = rect; addChild(rect); Beatrix Susan Day schrieb: Hi; I have the following code: function roundNavRect() { var roundRect:Sprite = new Sprite(); roundRect.graphics.beginFill(0x33030b);

Re: [Flashcoders] Masking w/ AS3

2010-03-01 Thread Susan Day
2010/3/1 Beatrix Krümmer-Frau birik...@hotmail.de Hi Susan, when scripting a masc, you need to define it as a masc: roundRect.mask = rect; addChild(rect); Thanks! Susan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] (no subject)

2010-03-01 Thread Henrik Andersson
Geografiek wrote: The theoretical problem remains: myArray knows it contains item1 but does item1 have a way of knowing it is part of myArray? The thing is, it is not. The array only holds a reference to the object. ___ Flashcoders mailing list

[Flashcoders] addEventListener Problem

2010-03-01 Thread Susan Day
Hi; I have the following code: function DisplayPicLoaded(evt:Event):void { var container:Sprite = new Sprite(); var myXArray:Array = new Array(10,176,342,508,674,840); var loaderInfo:LoaderInfo = evt.target as LoaderInfo; var displayObject:DisplayObject = loaderInfo.content; displayObject.width =

RE: [Flashcoders] addEventListener Problem

2010-03-01 Thread Merrill, Jason
1120: Access to undefined property NavToURL Today's show was brought to you by the capital letter N vs. the lower-case letter n. Jason Merrill Bank of America Global Learning Learning Performance Solutions Join the Bank of America Flash Platform Community and visit our Instructional

RE: [Flashcoders] addEventListener Problem

2010-03-01 Thread Cor
You made a typo: container.addEventListener(MouseEvent.CLICK, NavToURL); must be: container.addEventListener(MouseEvent.CLICK, navToURL); //lowercase nav -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf

Re: [Flashcoders] addEventListener Problem

2010-03-01 Thread Todd Kerpelman
Flash is case-sensitive. Looks like your NavToURL in your addEventListener call should really be navToURL --T On Mon, Mar 1, 2010 at 10:50 AM, Susan Day suzieprogram...@gmail.comwrote: Hi; I have the following code: function DisplayPicLoaded(evt:Event):void { var container:Sprite = new

Re: [Flashcoders] addEventListener Problem

2010-03-01 Thread Beatrix Krümmer-Frau
Did you check the spelling? 1120: Access to undefined property NavToURL - navToURL() Susan Day schrieb: Hi; I have the following code: function DisplayPicLoaded(evt:Event):void { var container:Sprite = new Sprite(); var myXArray:Array = new Array(10,176,342,508,674,840); var

Re: [Flashcoders] addEventListener Problem

2010-03-01 Thread Nathan Mynarcik
Change your function to this: function navToURL(e:Event):void { trace(e.currentTarget); trace('hi'); } --Original Message-- From: Susan Day Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] addEventListener Problem

[Flashcoders] Local Storage Flash Player Settings alert

2010-03-01 Thread Andrew Sinning
On his Mac under Safari, my boss is getting an Adobe Flash Player Settings alert regarding Local Storage whenever my application tries to access a SharedObject.getLocal(). I've never seen this in my own testing, and I'm using the same code that I've used in other projects and he's never

RE: [Flashcoders] Local Storage Flash Player Settings alert

2010-03-01 Thread Merrill, Jason
Has the data grown excessively large? Jason Merrill Bank of America Global Learning Learning Performance Solutions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original

Re: [Flashcoders] Local Storage Flash Player Settings alert

2010-03-01 Thread jonathan howe
It's possible to have your player configured so that NO local storage is allowed. Have him right click, choose settings... click on third tab and see what the settings for local storage permissions slider is set to. Within your own app, iIt may be possible to test for permission before calling

Re: [Flashcoders] DoubleClick AS2 swc/library

2010-03-01 Thread Jim Lafser
If you have a SWC, you should have the file. Open the SWC using something that can look at pkzip format files. Extract the .ASI file that is the class you are interfacing. Assume you know where the file needs to be located for use by FlashDevelop. Jim --- On Mon, 3/1/10, allandt bik-elliott

Re: [Flashcoders] Local Storage Flash Player Settings alert

2010-03-01 Thread Henrik Andersson
jonathan howe wrote: Within your own app, iIt may be possible to test for permission before calling your function, and then instruct the user from there... but I don't remember specifics. There is no way to check for this prior to flushing the object to disk. You have to actually try to do

[Flashcoders] FlashLite, NetConnection and AMF

2010-03-01 Thread Mindaugas Vinkelis
Hi, I'm having problem using AMF0 with Flashlite 3.0. I have webserver from which I take serialized AMF with NetConnection, and it works (not perfectly though...) The main problem is that, when i get result object with flash lite, it shows that it is undefined, but the object have all properties