[flexcoders] Re: flexcommon library 1.0 released

2009-04-29 Thread smitade
Here's the fix: http://stuffthathappens.com/blog/2007/11/09/howto-publish-javadoc-on-google-code/

[flexcoders] Re: flexcommon library 1.0 released

2009-04-29 Thread smitade
better yet: http://code.google.com/p/flexlib/wiki/HowToBuild

[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
http://livedocs.adobe.com/flex/3/html/help.html?content=10_Lists_of_data_7.html discusses extending the Array class as a subclass using the dynamic attribute.

[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
The option to create the matrix layout in a fixed manner is the crux. Most of the available matrix algebra algos (Transpose,Gauss-Jordan,etc) are coded with this 2D layout with exceptions of course.

[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
Never tried the Vector class - can one get FB3 to recognize it?

[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
This class works: public dynamic class Matrix2D extends Array { public function Matrix2D(nRows:int=0,nCols:int=0) { for (var k:int=0;knRows;k++) { this[k]=new

[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
Bookmarked - thanks!

[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
class: /** * A collection of 2D matrix functions for AS3. **/ public dynamic class Matrix2D extends Array { public function Matrix2D(nRows:int=0,nCols:int=0) { for (var k:int=0;knRows;k++)

[flexcoders] Re: flexcommon library 1.0 released

2009-04-28 Thread smitade
Documentation link doesn't work for me - opens as html text in browser.

[flexcoders] Extend Array

2009-04-28 Thread smitade
I'm trying to extend an Array into a 2D matrix. Any suggestions? The following code fails but I don't understand why. public class MatRix extends Array { public function MatRix(numRows:int=0,numCols:int=0) { super(numRows);

[flexcoders] Re: flexcommon library 1.0 released

2009-04-28 Thread smitade
Interesting. Yep, I tried using Firefox.

[flexcoders] Re: Extend Array

2009-04-28 Thread smitade
This compiles OK but fails at this point in the class: this[i]=new Array(numCols); with the error: Cannot create property 0 on [the class] i.e i being 0 on the first for loop when calling: var a:MatRix = new MatRix(3,3);

[flexcoders] Re: Extend Array

2009-04-28 Thread smitade
Thanks - you guys rock! Good point about the geom matrix class. I'm coding some matrix algebra algorithms. Actually I hadn't given it much thought just considered the possibility of using the sorting function in the Array class.

[flexcoders] Re: anyone know of a good (free) flex component for playing video/swfs?

2009-04-14 Thread smitade
Tried this - not sure if it plays swf? http://www.fxcomponents.com/flex-video-player/ --- In flexcoders@yahoogroups.com, gmoniey22 gmonie...@... wrote: I'm looking for a simply (and reliable) flex component which can play a flv or a swf and has the basic controls (Play/Pause/Progress bar)

[flexcoders] Re: How to put a well-formatted SQL statement in a string?

2009-04-13 Thread smitade
Calling mssql procs through flex can be done using pyamf. Here's some code using pyamf: http://freevryheid.x10hosting.com/drupal/?q=node/15 --- In flexcoders@yahoogroups.com, Mic chigwel...@... wrote: I have to embed my SQL within Flex until I can work out how to call a SQLServer proc from

[flexcoders] flexiBoard - Crafty chess frontend

2009-04-06 Thread smitade
I've developed a frontend to the Crafty chess engine. A win32 alpha version is available for download at: http://flexiboard.riaforge.org/ The zip contains everything you need to play chess. Check the INSTALL.TXT file for instructions. The source code is also available via subversion at

[flexcoders] Re: Recommended MVC for Flex/AS?

2009-03-09 Thread smitade
ActionJack isn't mentioned: http://www.beamjive.com/weblog/?p=38 --- In flexcoders@yahoogroups.com, Alex Ninan fle...@... wrote: Take a look at the attached link http://www.summa-tech.com/blog/2009/01/14/selecting-the-right-flex-application-framework/ On Tue, Mar 3, 2009 at 11:38 AM,

[flexcoders] Compressed swf

2009-03-02 Thread smitade
swf files appear to be compressed - headers start with PK. I was comparing the swf filesizes of different flex frameworks Cairngorm, Mate, PureMVC, etc and found significant differences. Cairngorm, for example, was down to 11 KB. How does one compress your swf down to this size.

[flexcoders] Re: Define repeaters at runtime

2009-02-27 Thread smitade
[mailto:flexcod...@yahoogroups.com] On Behalf Of smitade Sent: Thursday, February 26, 2009 9:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Define repeaters at runtime It works - please ignore the previous post. Wow, the ability to push components into arrays like this opens up so many

[flexcoders] Define repeaters at runtime

2009-02-26 Thread smitade
Is it possible to define repeaters at runtime? I've scanned the web and didn't find anything. I would like an Image array defined within a repeater but WITHOUT using the mxml mx:Repeater id=myRepeater dataProvider=... mx:Image id=myImage/ /mx:Repeater . . . . so that I can access it later in the

[flexcoders] Re: Define repeaters at runtime

2009-02-26 Thread smitade
Thanks Pedro So is it possible to define an Image Array without a repeater? I'd like to run through 64 Images using: for each (var img:Image in ImageArray) { ... etc } Back to google.

[flexcoders] Re: Define repeaters at runtime

2009-02-26 Thread smitade
Tried this but it failed: In Model.as public var a_red:Array=new Array(); then later: Model.getInstance().a_red[1].source=Model.getInstance().red_source; where red_source is a png image. for (var i:int=0;i64;i++) { Model.getInstance().a_red.push(Model.getInstance().red); } then: trace(Red

[flexcoders] Re: Define repeaters at runtime

2009-02-26 Thread smitade
It works - please ignore the previous post. Wow, the ability to push components into arrays like this opens up so many possibilities - especially when working with flex frameworks. I find it strange the documentation doesn't highlight this feature - otherwise I missed it. Thanks again!

[flexcoders] pair

2009-02-25 Thread smitade
Is pair (http://pair.collab.eu/) dead? Pair is an Actionscript3 implementation of the Python standard library. It's been a while since the site was updated. Any alternatives out there?

[flexcoders] Re: [silvafug] Calling C++ app or service from flex on Mac

2009-02-24 Thread smitade
--- In flexcoders@yahoogroups.com, Shailesh Mangal shailesh.man...@... wrote: Have you looked at Merapi? You can either use JNI with Merapi to call you dll or write similar socket based bridge in C++ -Shailesh On Feb 22, 2009, at 7:50 AM, Priya Shah wrote: Hi everyone, I am

[flexcoders] Re: Mouse click drop

2009-02-10 Thread smitade
Ok - let me provide some code. First define one of many images. That's what ChessPiece is. ns:ChessPiece id=img_bqr x={Number(ary.getItemAt(0))} y={Number(ary.getItemAt(0))} source={png_br} color=black rank=rook pos=a8 mouseDown=movePiece(event)/ Then in the movePiece function create the event

[flexcoders] Mouse click drop

2009-02-09 Thread smitade
I'm developing an app with click and drop as opposed to drag and drop. I have a bunch of images on a canvas. When I click an image it adds a MOUSE_MOVE event listener to the canvas. I then relocate the image based on the canvas mouseX and mouseY movement. This event is removed when I click the

[flexcoders] proxy.php

2008-09-22 Thread smitade
I'm connecting my Flex 3 app to a web service that doesn't have a crossdomain.xml file. I've set up a proxy (php file I got off the web) to read the WSDL from the web service and this works when I connect to the service through Flex Builder. When I upload the flex app to my server, however, the