RE: [flexcoders] Getting Started with AMFPHP and PureMVC

2010-07-10 Thread Scott
I've done a couple of projects with this.  Post your questions, I'll see
if I (or someone else on here) can answer them.

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jeremy Mitchell
Sent: Friday, July 09, 2010 11:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Getting Started with AMFPHP and PureMVC

 

  

Is anyone else using PureMVC with AMFPHP?  I'm have a few questions to
clarify my understanding of the framework that maybe one could
answer...thank you!!!

 

jeremy m.
 




-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 


RE: [flexcoders] DateTimeAxis - day + hour:minute

2010-07-10 Thread Scott
You need to use a dateformatter.  I haven't done this before but it's
probably just like the other components that I've done similar things
with.

 

Check out the viewer comments on this page; it may help you.
http://blog.sunild.com/2008/05/creating-line-charts-in-flex-3_12.html

 

 

  sj

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Richard Rodseth
Sent: Friday, July 09, 2010 6:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DateTimeAxis - day + hour:minute

 

  

I have a Flex 3 LineChart which displays data for one day or one week,
in 15-minute increments. In the week version I need the axis labels to
include day name (not specific date) + hour:minute, or perhaps someway
to indicate the day only on the 0:00 hour:minute label.

Thanks for any suggestions.




-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 


[flexcoders] getting microphone to work air2 on mac

2010-07-10 Thread jack_freud
Hi,
I'm trying to get the example air 2 apps I've found that will record audio to 
the hard drive, to work on 2 macs, without success. The apps give internal 
microphone as a possible audio source, but there is no sound perceived by the 
apps.

I'm probably forgetting something simple - but poking around the Audio Midi 
didn't help. Has anyone had this problem and solved it?

Thanks -



[flexcoders] Capturing ENTER key in a Numeric Stepper

2010-07-10 Thread Nick Middleweek
Hello,

I've got a form with a few fields on, one being a numeric stepper. On the
TextInput, I can test the enter key being pressed using the enter event
but there doesn't appear to be an equivalent for the numericstepper...

Has anyone managed to acheive this and how did you do it please?

On enter, I want to dispatch a submitSearch event but can't seem to detect
this for the NS control..


Any ideas will be great..


Cheers,
Nick


[flexcoders] Re: Adding an new child to an accordion changes selected panes

2010-07-10 Thread dorkie dork from dorktown
Actually I'm using addChildAt(0, new Canvas()). It may only be an
issue with the HAccordion but still I need a way to stop it animating
to the next pane.

On Sat, Jul 10, 2010 at 2:32 PM, dorkie dork from dorktown
dorkiedorkfromdorkt...@gmail.com wrote:
 When I add a new child to an accordion it is moving the selection item
 or selected index one position over. Is there something I'm doing
 wrong or a way to prevent this?



Re: [flexcoders] Capturing ENTER key in a Numeric Stepper

2010-07-10 Thread dorkie dork from dorktown
the canvas tag has a defaultButton property that will dispatch a click event
on your submitSearch button. i'm not sure what the eq would be in flex 4.

On Sat, Jul 10, 2010 at 7:08 PM, Nick Middleweek n...@middleweek.co.ukwrote:



 Hello,

 I've got a form with a few fields on, one being a numeric stepper. On the
 TextInput, I can test the enter key being pressed using the enter event
 but there doesn't appear to be an equivalent for the numericstepper...

 Has anyone managed to acheive this and how did you do it please?

 On enter, I want to dispatch a submitSearch event but can't seem to detect
 this for the NS control..


 Any ideas will be great..


 Cheers,
 Nick

  



[flexcoders] Problems serializing and saving out IOLAPCube object.

2010-07-10 Thread MicC
flash.net.registerClassAlias(components.cube.olap.ASDimension, 
ASDimension);
flash.net.registerClassAlias(components.cube.olap.ASCube,  ASCube);
var byteArray:ByteArray = new ByteArray();
byteArray.writeObject( cube );
byteArray.compress();
var encoder:Base64Encoder = new Base64Encoder();
encoder.encodeBytes(byteArray);
var byteString:String = encoder.toString();

var decoder:Base64Decoder = new Base64Decoder();
decoder.decode(byteString);
var ba:ByteArray = decoder.toByteArray();
ba.uncompress();
var testCube:ASCube = new ASCube;
testCube = ba.readObject();

ASCube implements IOLAPCube and has a property dimensions : IList. My
problem is that when I look at testCube it has lost the data in
dimensions and is now null. The top level stuff like name, dataSource,
catalog, url etc are there.

byteArray.writeObject( cube );  produces a byteArray of length 131 which
is not long enough for the long list of dimensions in the dimension
property, so I think the problem starts here. Does byteArray.writeObject
only write the top level? Any help much appreciated. TIA,

Mic.




[flexcoders] Re: Capturing ENTER key in a Numeric Stepper

2010-07-10 Thread Andrew
In my applications I use the change event to fire events( like 
change='doThisThing()'). Seems to work for the number stepper just fine.

--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote:

 Hello,
 
 I've got a form with a few fields on, one being a numeric stepper. On the 
 TextInput, I can test the enter key being pressed using the enter event but 
 there doesn't appear to be an equivalent for the numericstepper...




[flexcoders] Dispatch an event from a non visual non IEventDispatcher class

2010-07-10 Thread dorkie dork from dorktown
Is there a way to dispatch an event from a class that doesn't extend
EventDispatcher? For example, lets say you have 30 different value
object classes. You want to have one method called invalidateData()
that dispatches an event to get the latest content from the server.
Since  I want to keep the data separate from the view I may need to
call this in several different places. Any help would be appreciated.