[Flashcoders] Flickr- style components/libraries?

2008-06-26 Thread Ali Drongo
Hey there, I need to build a photo-sharing app that has photosets and allows each image to have a comment/title much like Flickr (as well as upload capabilities). Is anyone aware of anything already out there that might help me? Thanks in advance:) Ali

[Flashcoders] Calling super.apply

2008-06-26 Thread Sidney de Koning
Hi List, I've created a dynamic class that extends Array. What i want to do is pass through items in the constructor just like i do with array ( var blah:Array = new Array(one, two, three); ) What happens now; is that every item i have to push in my self, like so: blah.push(one). If i push

[Flashcoders] Document viewer

2008-06-26 Thread Stuart Campbell
Hi, I have a project where I need the client to be able to view documents in the browser (PDF, Word, RTF and Excel). However, the requirement is that the person viewing the document can never save the file and can never get their hands on it in order to email it to someone etc. It seems to me

Re: [Flashcoders] Document viewer

2008-06-26 Thread eric e. dolecki
You might want to check this out: http://www.adobe.com/products/flashpaper/ On Thu, Jun 26, 2008 at 8:22 AM, Stuart Campbell [EMAIL PROTECTED] wrote: Hi, I have a project where I need the client to be able to view documents in the browser (PDF, Word, RTF and Excel). However, the

RE: [Flashcoders] Document viewer

2008-06-26 Thread Paul Venton
I take it they're not worried about the user taking screen grabs and email those off? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Campbell Sent: 26 June 2008 13:23 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Document viewer

RE: [Flashcoders] switch statement more efficient than if...else?

2008-06-26 Thread Merrill, Jason
One thing that nobody who writes switch statements seemed to know (me included) is you can (and, apparently, should) write them like this: I knew that. I guess you missed this in my post. After I showed the switch statement, I said, (or the same thing above but with brackets) Jason Merrill

Re: [Flashcoders] Calling super.apply

2008-06-26 Thread Jer Brand
I'm probably wrong (and mostly want to know as well), but I didn't think you could extend the Array class. Not that AS won't let you do it, but it doesn't actually work. I know this is the case with AS2, but am only guessing that it's the case with AS3 from the behavior you describe. My

[Flashcoders] michjeanty wants to keep up with you on Twitter

2008-06-26 Thread michjeanty
To find out more about Twitter, visit the link below: http://twitter.com/i/4dc30f999f59b76f32c637b5ebcc32c22b184839 Thanks, -The Twitter Team About Twitter Twitter is a unique approach to communication and networking based on the simple concept of status. What are you doing? What are your

[Flashcoders] Live streaming with FLVplayback AS2.0. Event stateChange not always triggering.

2008-06-26 Thread jonas magnusson
I am making a FLV player that should take download, on-demand-streaming and live-streaming input. I have chosen to work with the FLVplayback component in ActionScript2.0. To be able to show/hide a preloader animation (like youtube-loading) i listen for stateChange events broadcast by the

Re: [Flashcoders] Calling super.apply

2008-06-26 Thread Sidney de Koning
He Jer, In the docs it says: public dynamic class Array So you can extend it. My problem is that now i have to use push() to get items in and i want to use the constructor to pass through items, like so var blah:ArrayInterator = new ArrayIterator(1, 2,3); My constructor uses ..rest so with

[Flashcoders] MP4 not displaying video (just playing audio)

2008-06-26 Thread Michael Trim
I have created a Flex app that has the Flash CS3 FLVPlayer component packaged to swc. The player plays a number of movies that have all been encoded to mp4 from Premiere CS3 from a variety of sources, most ripped from DVDs to avi (tourist info dvds supplied to me). I am having problems with one

RE: [Flashcoders] Calling super.apply

2008-06-26 Thread Morten Barklund
Hi Sidney, You have of course tried the obvious: super.apply(this, args) How did it fail, compiler error or? Regards, Morten Barklund -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: Thursday, June 26, 2008 4:30 PM To: Flash

Re: [Flashcoders] Calling super.apply

2008-06-26 Thread Hans Wichman
Hi, not going to work I think. Ran into this some time ago, the Array class is a beastie in its own right. The only around it that I found was adding a static createFromArray method to my subclass (which is slow). greetz JC On Thu, Jun 26, 2008 at 5:02 PM, Morten Barklund [EMAIL PROTECTED]

[Flashcoders] AS3: public override function set x

2008-06-26 Thread Jason Van Cleave
I have a class that extends Sprite. When the x value of the Class is changed I want to know so I can change another value. So I tried override public function set x(n:Number) { super.x=n; //added functionality would happen here } but I get Incompatible override So I could build a setX

Re: [Flashcoders] Calling super.apply

2008-06-26 Thread ekameleon
Hello :) In AS3 the apply method don't exist over the constructor.. the constructor in AS3 isn't a Function but a Class object and the Class object don't implément the apply or call methods ! It's a big problem for me For the moment the solutions are : 1 - In your case... use composition

Re: [Flashcoders] Document viewer

2008-06-26 Thread Stuart Campbell
@Eric: Thanks. Downloading the trial now. @Paul - yeah screengrabs aren't considered a problem (the documents are so huge that nobody is likely to bother). On Thu, Jun 26, 2008 at 2:07 PM, Paul Venton [EMAIL PROTECTED] wrote: I take it they're not worried about the user taking screen grabs and

[Flashcoders] Re: AS3: public override function set x

2008-06-26 Thread Jason Van Cleave
figured it out - i just needed to declare the return type as :void on the set public override function set x(n:Number):void { super.x=n; //works } On Thu, Jun 26, 2008 at 11:32 AM, Jason Van Cleave [EMAIL PROTECTED] wrote: I have a class that extends

[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] AS3: public override function set x

2008-06-26 Thread ekameleon
hello :) In the playerglobal.swc you can find the DisplayObject.x declaration : public function set x(value:Number):void; You must keep the same argument name and the same return type in your override : public override function set x(value:Number):void { super.x = value ; // custom

Re: [Flashcoders] Calling super.apply

2008-06-26 Thread Juan Pablo Califano
Hi, check this out: http://livedocs.adobe.com/flex/3/html/help.html?content=10_Lists_of_data_7.html Cheers Juan Pablo Califano 2008/6/26, ekameleon [EMAIL PROTECTED]: Hello :) In AS3 the apply method don't exist over the constructor.. the constructor in AS3 isn't a Function but a Class

Re: [Flashcoders] Calling super.apply [SOLVED]

2008-06-26 Thread Sidney de Koning
He eKameleon, I used your advise to pass it an array and a extra argument to, when it hits the end of the array it starts at the beginning or just stops at the end. I also used some of your functions which i hadn't thought of, like hasNext and hasPrevious. (and also a rewind and forward

Re: [Flashcoders] Document viewer

2008-06-26 Thread Stuart Campbell
Thanks Eric! FlashPaper looks like it could be very useful for us. We're probably going to need some kind of wrapper swf, which then pulls down the flashpaper swfs. The only problem is how to stop the flashpaper swf's from being cached on the client machine. I'm not sure we can rely simply on the

Re: [Flashcoders] AS3: public override function set x

2008-06-26 Thread Jason Van Cleave
i did forget the :void and that solved it - thanks for looking On Thu, Jun 26, 2008 at 11:49 AM, ekameleon [EMAIL PROTECTED] wrote: hello :) In the playerglobal.swc you can find the DisplayObject.x declaration : public function set x(value:Number):void; You must keep the same argument

[Flashcoders] trace all properties of a class recursively

2008-06-26 Thread Patrick Matte | BLITZ
Is it possible to trace all the properties of a class with AS3? I kwow it works on dynamic properties on Object or Array... My class is like a tree and I want to see if the tree is built correctly. ___ Flashcoders mailing list

Re: [Flashcoders] trace all properties of a class recursively

2008-06-26 Thread Wagner Amaral
You may want to take a look at flash.utils.describeType() http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/package.html#describeType() On Thu, Jun 26, 2008 at 3:43 PM, Patrick Matte | BLITZ [EMAIL PROTECTED] wrote: Is it possible to trace all the properties of a class

RE: [Flashcoders] trace all properties of a class recursively

2008-06-26 Thread Patrick Matte | BLITZ
Yeah but describe type won't loop through the tree in a recursive manner. So I ended up writing a typed recursive function that will recursively trace each object in the tree. It works fine. public static function recurse(page:Page, level:Number = 0):void {