[flexcoders] Re:debug AMFPHP/flex -- beginner question

2007-03-07 Thread Hasan Otuome
amfphp returns an object to your onFault handler. so, you can either use something like mx.utils.ObjectUtil.toString(fault) for your trace to see all the properties of the fault object. or, i think description is the user-friendly prop so, you could just trace (fault.description) if

[flexcoders] Re: RESKINNING AN Alert

2007-02-11 Thread Hasan Otuome
CSS is the easiest way, IMO. For global Alert modifications, add this to your stylesheet: Alert { /*backgroundGradientColors: #ff,#ff; backgroundColor: #ff9933; borderColor: #ff9933;*/ color: #00; borderSkin: Embed(source=urlToSWFOrPNG);

Re: [flexcoders] Re: Calendar...visually show selection for related data?

2006-11-28 Thread Hasan Otuome
Something simple that also works is taking a months array, slicing out the meetings and using the left overs as the basis for your disabledRanges array. HTH...=) P E A C E Hasan On Nov 28, 2006, at 7:46 AM, qnotemedia wrote: Never really found an answer to this. Anyone know where I can

Re: [flexcoders] Flex 2 and Flash 9 swf integration

2006-11-07 Thread Hasan Otuome
Yes, it's possible. Check out SWFLoader. The 9 SWF will be accessible/programmable through the content property of the loader. A basic example:Flex---private function initSWF(event:Event):void{    someSWF.content.addEventListener("clicked",clickHandler);}public function

Re: [flexcoders] Accessing Flex components via external actionscript - N00b Question :)

2006-11-06 Thread Hasan Otuome
Hey John,Aral Balkan has some examples that might prove helpful in your quest...=)http://www.adobe.com/devnet/flex/?tab:quickstart=1P E A C EHasanOn Nov 6, 2006, at 6:18 AM, mts_link wrote:Ok, I'm making the move from Flash/PHP to Flex 2, but have run into a "n00b" question and I have been

Re: [flexcoders] Flex for mac public beta is out!

2006-10-25 Thread Hasan Otuome
Thanks guys!! Already importing-n-compiling...=) P E A C E Hasan hank williams wrote: Flexbuilder for the mac beta is out!!! http://labs.adobe.com/technologies/flexbuilder2/ __._,_.___ -- Flexcoders Mailing List FAQ:

Re: [flexcoders] A file found in a source-path must have the same package structure

2006-10-25 Thread Hasan Otuome
I always took that to mean that one of my files, myClass.as for example: class org.thesourcecode.utils.myClass{ public function myClass(){} } } wasn't converted to the new structure: package org.thesourcecode.utils { public class myClass{ public function myClass(){} } } P E A C E

Re: [flexcoders] Howto create View Source

2006-10-12 Thread Hasan Otuome
Hi Teguh, Are you using FlexBuilder? If so, there's a "publish source" button on the toolbar. It creates the following structure: - srcview (SourceTree, etc) ---source (HTML pages of everything published) HTH...=) P E A C E Hasan Teguh Mualim wrote: Hi, I know

Re: [flexcoders] Datagrid with a dropdown column!

2006-09-11 Thread Hasan Otuome
Hi Anurag, Yes, it's possible. What you want is an itemRenderer or itemEditor for that specific DataGrid column or columns. Here's a couple of links that should point you in the right direction: http://livedocs.macromedia.com/flex/2/langref/mx/controls/DataGrid.html

Re: [flexcoders] Why is import mandatory?

2006-09-07 Thread Hasan Otuome
IMO, without importing, the compiler has no way of knowing anything about our custom data types, etc (fully-qualified or not). That's how I look @ it anyway, plus its "best practice" (a/k/a less debugging). If you notice, Flex Builder will auto-insert import statements for you when you make

Re: [flexcoders] Accessing Component in the class

2006-09-04 Thread Hasan Otuome
Hi vijay, If you're saying you want to be able to get to a component that's located in the MXML file from your ActionScript Class, you could also do it like this: //some useful imports import mx.controls.TextArea; //import the component into the class import mx.core.Application; //for

Re: [flexcoders] deploying Flex App to the server

2006-09-02 Thread Hasan Otuome
Hey zhenya, You can upload the contents of your bin directory to your server and you should be good to go. HTH... P E A C E Hasan hasan.otuome.com www.marxmedia.net thesourcecode.org Adobe Certified Professional (Flash MX2004 Developer) janeminkovich wrote: Hello, I

Re: [flexcoders] Not finding import mx.remoting.*;

2006-08-30 Thread Hasan Otuome
Hey Louie, I don't believe that package exists. I've been using the attached file in my AMFPHP projects. Maybe it can benefit you too. After dropping it in your project root just add the following ActionScript to your app: import flash.net.Responder; public var gateway:RemotingConnection;

Re: [flexcoders] Not finding import mx.remoting.*;

2006-08-30 Thread Hasan Otuome
I just remembered I had some basic AMFPHP/Flex 2 tutorials that you could check out. Here's (2) that deal with the PHP side and the Flex side of things. Hopefully they can be of help... http://hasan.otuome.com/?vid=11 http://hasan.otuome.com/?vid=12 P E A C E Hasan hasan.otuome.com

Re: [flexcoders] How to bring a combo box component inside the dataGrid Component

2006-08-23 Thread Hasan Otuome
Here's another link that might also shed some light on the subject. HTH... http://thesourcecode.org/?p=15 P E A C E Hasan Marx Media www.marxmedia.net hasan.otuome.com thesourcecode.org Adobe Certified Professional (Flash MX2004 Developer) __._,_.___ -- Flexcoders Mailing List

[flexcoders] AS3 :: SoundChannel for NetStream?

2006-07-03 Thread Hasan Otuome
In AS2 we had... someMovieClip.attachAudio(someNetStream); var sound:Sound = new Sound(someMovieClip); but that's not an option anymore because attachAudio() was removed. The docs mention using DisplayList via addChild() but weren't explicit about it. Searching has turned up similiar

Re: [flexcoders] Adobe Developer Week recordings

2006-06-28 Thread Hasan Otuome
Thanks to Ted Patrick =) http://www.onflex.org/ted/2006/06/adobe-developer-week-sessions.php __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com