Re: [flexcoders] Re: AMFPHP and Value Objects

2008-11-11 Thread Nik Derewianka
On 11/11/2008, at 2:03 PM, Amy wrote: --- In flexcoders@yahoogroups.com, Rich Rodecker [EMAIL PROTECTED] wrote: you definitely need the $_explicitType property in the php VOs. Yes, I'm trying to figure out ways to pry verification that that has been done out of the client ;-). That, and

Re: [flexcoders] Panel as an itemrenderer in List ?

2008-11-04 Thread Nik Derewianka
On 05/11/2008, at 1:02 AM, Jon Bradley wrote: On Nov 4, 2008, at 8:48 AM, Nik Derewianka wrote: 1) The Panel does not display it's title bar or drop shadow bordering, but seem to be displaying more as standard Box elements. 2) Trying to drag select text on a TextInput child in the panel

[flexcoders] Panel as an itemrenderer in List ?

2008-11-04 Thread Nik Derewianka
Hi, I am trying to create a list of re-orderable panels, I have set it up so that the Panel is the itemrenderer, but seem to be running into a few issues: 1) The Panel does not display it's title bar or drop shadow bordering, but seem to be displaying more as standard Box elements. 2)

Re: [flexcoders] Re: Panel as an itemrenderer in List ?

2008-11-04 Thread Nik Derewianka
On 05/11/2008, at 4:20 AM, Amy wrote: Try this: http://flexdiary.blogspot.com/2008/06/using-css-typeselector-with.html Heh, I don't care that my brain is slightly retarded from working on this most of the night - but there is no way I would have found that one any time soon. Many thanks

Re: [flexcoders] Sound issues in Player 10

2008-10-22 Thread Nik Derewianka
On 23/10/2008, at 9:59 AM, Matt Chotin wrote: Oh, and as a note to everyone. If you have a site that worked in FP9 and not in FP10, that's generally a bug (unless it's due to security changes) and should be filed in JIRA ASAP :-) If the url is public, that's good enough. Does the

Re: [flexcoders] Re: Every second time I debug my app, Flex closes Safari :(

2008-10-15 Thread Nik Derewianka
Yep or close the window with the app before re-launching the debug session also works as well. FB on OSX has a lot of drawbacks - on win, the help gets its own window (so it doesn't get killed by the debugging), syntax colouring works better, images actually appear in design mode all the

[flexcoders] FP10 final released

2008-10-15 Thread Nik Derewianka
And it crashes IE7 and safari when closing the window on my main site. Fun. Nik

Re: [flexcoders] Changing the Default Colour and Preloader

2008-10-15 Thread Nik Derewianka
On 16/10/2008, at 1:03 AM, John wrote: I would like to change the preloader and the default colour that a Flex application has when it is downloading into the browser. Where is the best place to find out more about this? The Application object in the docs, namely the backgroundColor and

[flexcoders] Tilelist scrolling issues

2008-10-09 Thread Nik Derewianka
Hi, I have a 1 row, 6 column tilelist that i want to scroll left and right via two buttons, but not via the skin (its not appropriate for a bunch of reasons). What should I be calling from the buttons to scroll the tilelist forward and backwards through the dataprovider items ?? I have

[flexcoders] Production inefficiency

2008-09-11 Thread Nik Derewianka
Hi All, For those of you that are using lots of flash CS3 swf's, what is your folder organisation and publishing process ?? Right now we have everything including project folder ~/Documents/Flex Builder 3/Proj/ under subversion control. Everything that we want to publish (to localhost

Re: [flexcoders] Flex Builder Help on Mac falls a bit short

2008-09-11 Thread Nik Derewianka
On 12/09/2008, at 3:08 AM, Troy Gilbert wrote: Now, I'm using FB on Mac (v3). The help is far less useful. When I hit F2, the help goes to the class's page, but doesn't jump to the function/property/style. Worse, the help uses my default web browser, so if I'm in the middle of debugging (a

[flexcoders] Profiler

2008-09-10 Thread Nik Derewianka
Hi, Does the profiler only report memory usage for the swf it is profiling and not the total memory for all swfs that my app loads in ?? Right now it is profiling myapp.swf which is loading in other media etc and it seemed to be flatlining on the memory report whereas a

Re: [flexcoders] AMFPHP and date/datetime data from MySQL

2008-09-04 Thread Nik Derewianka
Sajid, Still under a tight deadline atm, but this is what i have working for me so far: To write it to DB: public function create($obj) { $query = INSERT INTO Event ( DateStart, )

[flexcoders] AMFPHP and date/datetime data from MySQL

2008-09-03 Thread Nik Derewianka
Hi All, Could anyone enlighten me as to how i should send and retrieve date and datetime data for inserting into MySQL via amfphp (1.9) with value objects ? If i edit the data directly in MySQL and then retrieve a vo with a Date datatype i get the following message: TypeError: Error

Re: [flexcoders] Re: Bindable Classes

2008-09-03 Thread Nik Derewianka
On 03/09/2008, at 9:30 PM, Johannes Nel wrote: it does depend on the scale of your application. first off, to use custom events you do not need getters and setters, but it does depend on how you want to use it. my personal feeling around models are that they should always be generated,

Re: [flexcoders] AMFPHP and date/datetime data from MySQL

2008-09-03 Thread Nik Derewianka
On 04/09/2008, at 12:01 AM, Jason Reynolds wrote: Adobe has some date parsing methods in the as3corelib library -- http://code.google.com/p/as3corelib/ I suppose it depends on the format your storing the date, the way I've been handling it is using as3 to parse the date string that AMF

Re: [flexcoders] Where are the Scroll Bars on the Web Page At ?

2008-08-29 Thread Nik Derewianka
In the html-template/index.template.html file change line ~77 to read body scroll=auto instead of the default which turns it off explicitly. And if someone tries to tell me again that he never creates a Flex application with the Application tag as the main container, then I encourage him

[flexcoders] Scrolling in a TileList

2008-08-28 Thread Nik Derewianka
TileList scrolling isn't making any sense to me. I have a TileList with an explicit height, row height and the itemRenderer also has an explicit height, yet when adding more items than can fit in the tilelist, it doesn't auto scroll (despite verticalScrollPolicy being auto or true). The

[flexcoders] Get all class definitions in a loaded swf ?

2008-08-26 Thread Nik Derewianka
Hi, Is there a way to load all the class definitions in a swf that load into my flex app ?? On a sample swf with 4 mc's named mc1,mc2,mc3,mc4, i have got it to: private function onSWFLoaded(event:Event):void{ var col:ArrayCollection = new ArrayCollection(); for (var i:Number

Re: [flexcoders] Re: No Scroll Bar in Browser

2008-08-26 Thread Nik Derewianka
Out of the box Flex defaults to content being unviewable if the content is larger than the content window. There is no use case where this is desirable. If you have figured out how to turn on scrollbars for your flex app, have managed to style them, then you should be able to figure out

[flexcoders] Stop Flex closing whole browser

2008-08-26 Thread Nik Derewianka
Hi, So you have a whole bunch of pages open for your docs and samples, you compile your app, it launches and then hits an error and throws you back into debug mode in Flex. Sometimes when you press interrupt it will close the browser window instead of your flex app tab and you lose all

Re: [flexcoders] Help with binding (flex 3)

2008-08-25 Thread Nik Derewianka
I have run into the same issue. My RemoteObject calls are already set to makeObjectsBindable so that doesn't seem to be the issue. Basically, if i have a view that is already displaying the bound object, then do a remoteobject call that replaces the existing bound object with a new one,

[flexcoders] Intriguing AMFPHP sample

2008-08-20 Thread Nik Derewianka
Hi, Was just looking through some blogs on AMFPHP and came across a php snippet that showed: function getSwf() { return new ByteArray(file_get_contents(my.swf)); } But no sample of what to do on the Flex side to turn it back into something useable. How would you convert that ByteArray

Re: [flexcoders] Problem with Subclipse...

2008-08-18 Thread Nik Derewianka
The ignore option operates on a file/folder level in your working copy. Right click on an item in the Flex Navigator pane, go down to the Team menu and then select Add to svn:ignore. With regards to why something should be excluded - mainly because there is no point. When you commit a

Re: [flexcoders] getChildByName using it to get the value of a textbox

2008-08-18 Thread Nik Derewianka
You need to cast it to the type of object you want to operate on: var test:TextBox = this.getChildByName(inputtext + 1) as TextBox; or var test:TextBox = TextBox(this.getChildByName(inputtext + 1)); The first form will return null if it cannot cast the displayObject to that type as opposed

Re: [flexcoders] Re: getChildByName using it to get the value of a textbox

2008-08-18 Thread Nik Derewianka
That #1009 error means that it returned a null from the first line because it couldn't find the child with that name. getChildByName is not recursive so you need to be mindful of the nesting of your requested object. The following app has the functionality working as you need it, but it

[flexcoders] Project Clean/Build All

2008-08-13 Thread Nik Derewianka
Ok, someone let me in on the secret. I do a project clean, verify that yes it empties out the directory except for the folders. Build All... for some reason it doesn't copy across ALL of the swf's. It used to. There is only one option on the Flex Compiler properties page to 'Copy all

Re: [flexcoders] Re: How long to build a Flex app....

2008-07-29 Thread Nik Derewianka
On 30/07/2008, at 12:52 AM, Jason B wrote: It really depends on the flex coder since each coder could take longer depending on thier understanding of the project and database functions etc...and whether or not they are building the middleware code too? We have an app with about 30 tabs and

[flexcoders] Importing lots of symbols from swf for TileList

2008-06-12 Thread Nik Derewianka
Hi All, I have a swf file that has 150+ symbols defined in it that i need to use in various TileLists in flex 3, so far all of the intro samples suggest that i use something like the following: [Embed(source='../swf/my.swf#mysymbol')] private var icon0:Class; Obviously there has to be a

[flexcoders] FMS3 sys reqs

2008-05-19 Thread Nik Derewianka
that the kernel be downgraded to 2.6.9-22. What i want to know is - what about subsequent versions of the kernel, does the problem still exist ? Is anyone else here running FMS3 on RHEL 5 with no upper connection limitations ?? Thanks, Nik Derewianka

[flexcoders] Searching for a component

2008-03-27 Thread Nik Derewianka
Hi All, Anyone have/seen a component w/ source that implements the functionality of OS X's finder column view ?? Cheers, Nik

Re: [flexcoders] Re: AIR vs DLL vs. External code?

2007-08-28 Thread Nik Derewianka
On 8/28/07, dorkie dork from dorktown [EMAIL PROTECTED] wrote: this is just my opinion but i don't think adobe wants you to code outside of the box. i don't think they'll give you that much more access to the system. for one, security. any security issues would slow down adoption. two, cross