[flexcoders] Re: SWF Object?

2008-07-04 Thread fuad_kamal
public methods and properties in your swf are completely accessible to
flex just as if you defined them withing flex - you even get code
introspection.  So define some public methods that trigger the animations.



Fuad Kamal
Anaara Media LLC
blog.anaara.com


--- In flexcoders@yahoogroups.com, "odiel_leon" <[EMAIL PROTECTED]> wrote:
>
> Hi.
> 
> I want to make some characters on Flash an latter use in a Flex 
> project. The chacarters have some animations (Movie clips).
> 
> I know how to import a swf using swfloader.
> 
> The problem is that i want to know how to tell the character to play 
> some animations.
> 
> Can help me?
>




[flexcoders] Re: dumb: eclipse on dual monitor?

2007-12-11 Thread fuad_kamal
lex 3 Beta on Mac solves the multi-display issue; in Flex 2.01 it
wasn't possible to break the various panels in flex apart across
multiple displays like you could easily do in the Windows version. 
They said it was due to some limitation of Eclipse on Mac.  In Flex 3,
right-click on the tab of any panel and select "detached" from the
context menu.  Now drag anywhere to your heart's content!

Fuad Kamal
blog.anaara.com

--- In flexcoders@yahoogroups.com, "fuad_kamal" <[EMAIL PROTECTED]> wrote:
>
> Are you guys all on Windows platform?  I can split flexbuilder across
> monitors in Windows, but on Mac it seems limited to a single screen -
> none of the panes detach.  The split-screen view does work though -
> thanks for the tip!
> 
> --- In flexcoders@yahoogroups.com, "Michael Schmalle"
>  wrote:
> >
> > No,
> > 
> > Seems like the mxml code/design module is one piece.
> > 
> > Although you could open notepad. hahah ;-)
> > 
> > Peace, Mike
> > 
> > On 9/11/07, candysmate  wrote:
> > >
> > >   --- In flexcoders@yahoogroups.com ,
> > > "Michael Schmalle"
> > >  wrote:
> > > >
> > > > Same here, I am running multiple monitors and the main panel I
want
> > > detached
> > > > won't, the code view.
> > > >
> > > > Mike
> > > >
> > >
> > > I hear ya! It's the same here for me. Also, is it possible to view
> > > both the code and the design at the same time?
> > >
> > >  
> > >
> > 
> > 
> > 
> > -- 
> > Teoti Graphix
> > http://www.teotigraphix.com
> > 
> > Blog - Flex2Components
> > http://www.flex2components.com
> > 
> > You can find more by solving the problem then by 'asking the
question'.
> >
>




[flexcoders] Re: Are you going to MAX?

2007-09-21 Thread fuad_kamal
I will be there...

Fuad Kamal
Anaara Media LLC
www.anaara.com

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> Just curious how many people from the list will be in Chicago.
> 
> Ben
>




[flexcoders] Re: dumb: eclipse on dual monitor?

2007-09-11 Thread fuad_kamal
Are you guys all on Windows platform?  I can split flexbuilder across
monitors in Windows, but on Mac it seems limited to a single screen -
none of the panes detach.  The split-screen view does work though -
thanks for the tip!

--- In flexcoders@yahoogroups.com, "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> No,
> 
> Seems like the mxml code/design module is one piece.
> 
> Although you could open notepad. hahah ;-)
> 
> Peace, Mike
> 
> On 9/11/07, candysmate <[EMAIL PROTECTED]> wrote:
> >
> >   --- In flexcoders@yahoogroups.com ,
> > "Michael Schmalle"
> >  wrote:
> > >
> > > Same here, I am running multiple monitors and the main panel I want
> > detached
> > > won't, the code view.
> > >
> > > Mike
> > >
> >
> > I hear ya! It's the same here for me. Also, is it possible to view
> > both the code and the design at the same time?
> >
> >  
> >
> 
> 
> 
> -- 
> Teoti Graphix
> http://www.teotigraphix.com
> 
> Blog - Flex2Components
> http://www.flex2components.com
> 
> You can find more by solving the problem then by 'asking the question'.
>




{Disarmed} Re: [flexcoders] Flex on Mac

2007-05-29 Thread fuad_kamal
I guess we must be running on diferent platforms, versions, or
something.  In flexbuilder (not the eclipse plug-in) on Mac, there is
no "new window" option under File, and File->New pulls up a secondary
menu (new MXML, etc.), of which new window is not an option.


--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Friday 25 May 2007, fuad_kamal wrote:
> > Interesting...on Windows platform Eclipse will throw a warning if you
> > try to open a second instance.  How do you open a new Eclipse window
> > on Mac?  Hitting command-N opens the 'new' wizard.  Are you running
> 
> File->New window on 'nix.
> 
> -- 
> Tom Chiverton
> Helping to enormously disseminate high-yield market-growth
> on: http://thefalken.livejournal.com
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




{Disarmed} Re: [flexcoders] Flex on Mac

2007-05-25 Thread fuad_kamal
Interesting...on Windows platform Eclipse will throw a warning if you
try to open a second instance.  How do you open a new Eclipse window
on Mac?  Hitting command-N opens the 'new' wizard.  Are you running
Flex Builder natively or the Eclipse plug-in?

thanks
 
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Thursday 17 May 2007, fuad_kamal wrote:
> > main window.  Sure, you could size the main eclipse window across all
> > three of your monitors, but that's not what we're talking about, here.
> 
> Open a new Eclipse window, you can then drag the tabs to that one.
> 
> -- 
> Tom Chiverton
> Helping to appropriately incubate intuitive interfaces
> on: http://thefalken.livejournal.com
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




[flexcoders] flex charting style guide: missing manual

2007-05-25 Thread fuad_kamal
Hey I recently had a flex charting project, and found charting to be
quite a powerful tool.  It's great that the charts can be customized
pretty much anyway you need.  Charting components save a lot of
development time - or they would, if there were some better reference
docs.  Where can I find a list of every style that can possibly be
applied?  For example, here's an excerpt from the Flex Developer's guide:

ColumnChart {
horizontalAxisStyleName:myAxisStyles;
verticalAxisStyleName:myAxisStyles;
}
.myAxisStyles {
tickPlacement:none;
}


how would I possibly know there is a property named tickPlacement if
it weren't in that particular example?  What value can it take besides
'none'?  It doesn't seem to be in the language reference, either.  How
do I move the position of the y axis labels by a certain number of
pixels horizontally?  How do I specify a minimum amount of space
between columns in a column chart?  How do I add a bevel to the
columns? etc...a Flex Charting Style guide would be a real time-saver.



{Disarmed} Re: [flexcoders] Flex on Mac

2007-05-17 Thread fuad_kamal
In the Windows version of eclipse, you can break out panels from the
main eclipse window and float them in your other monitors, just as you
can in Photoshop, Flash, and many other applications.  As far as I
know there is no way to break windows out of the main eclipse
interface on Mac platform - you can only drag them around within the
main window.  Sure, you could size the main eclipse window across all
three of your monitors, but that's not what we're talking about, here.  

--- In flexcoders@yahoogroups.com, Paul J DeCoursey <[EMAIL PROTECTED]> wrote:
>
> What are you talking about... I have a second monitor hooked up to my 
> MacBook Pro right now, and my Mac Pro has 3 monitors.  I've had no
issues.
> 
> Paul
> 
> 
> fuad_kamal wrote:
> > you can't (multiple monitors).  It's an issue w/Eclipse on Mac. 
> > Solution:  cinema display :P
> >
> > --- In flexcoders@yahoogroups.com, Jurgen Beck  wrote:
> >   
> >> Same here. I actually switched from Windows XP Professional running 
> >> stand-alone Flex Builder to a Mac Pro and MacBook Pro. Works
great. In 
> >> fact, I seem to have less memory issues with Flex Builder on the Mac 
> >> than I had with running it on Windows XP.
> >>
> >> The only thing I wish it would do on the Mac is allowing me to
use two 
> >> monitors. On the Windows side this is no problem. Can't seem to
figure 
> >> out how to do that on the Mac.
> >>
> >> Jurgen
> >
>




{Disarmed} Re: [flexcoders] Flex on Mac

2007-05-16 Thread fuad_kamal
you can't (multiple monitors).  It's an issue w/Eclipse on Mac. 
Solution:  cinema display :P

--- In flexcoders@yahoogroups.com, Jurgen Beck <[EMAIL PROTECTED]> wrote:
>
> Same here. I actually switched from Windows XP Professional running 
> stand-alone Flex Builder to a Mac Pro and MacBook Pro. Works great. In 
> fact, I seem to have less memory issues with Flex Builder on the Mac 
> than I had with running it on Windows XP.
> 
> The only thing I wish it would do on the Mac is allowing me to use two 
> monitors. On the Windows side this is no problem. Can't seem to figure 
> out how to do that on the Mac.
> 
> Jurgen
> 
> Mark McCray wrote:
> >
> > runs just fine for me. intel mac here.
> >
> > I use flex via plugin to eclipse, because i use other langs like PHP 
> > and Java.
> > Mark
> >
> > On May 11, 2007, at 1:06 PM, Arleston Lueders wrote:
> >
> >> Hello everybody!
> >>
> >> I'm thinking in buy a MacBook. Does anyone have a Mac here? What do 
> >> you think about it?
> >> And the Flex will run normal on Mac, right?
> >>
> >> Thanks,
> >> Arleston
> >>
> >
> >
>




[flexcoders] Re: Flex on Mac

2007-05-16 Thread fuad_kamal
Since switching to mac I won't ever look back...

good deal?  There is no comparison...it's like comparing a formula one
race car to a family sedanapples to oranges...totally different
engineering & performance.  Mac is a Unix OS while Windows is a memory
hogging monstrosity...the OS itself takes up half your system
resources.  So your comparison of what you can get for the money is
way off...you need a lot more RAM, bigger hard drive, faster
processor, just to support the Windows OS.  For example, I got a Mac
mini with only 512 MB of RAM and it still runs faster than Windows
machines in our household with double the RAM.

For my current contract I have to run Windows due to some requirements
from the client (has nothing to do with what mac can or can't run), so
I am running XP on Parallels on my MacBook pro.  I have to admit,
having 3 Gig of ram is nice b/c I can dedicate a full 1.5 gig to
Windows.  Windows XP on my macbook pro actually runs FASTER than on my
Windows laptop, which I am now donating to my kids b/c w/the Macbook
pro I no longer have any need to have a windows box on my desk. 
Honestly when I am not working on this contract I shut down parallels
and never use it for any other purpose - Mac more than fullfills all
my needs.  I run Flex builder on both platforms, only difference is
that you can't break the panels apart onto mutliple monitors on Mac,
that's due to a limitation in Eclipse on Mac.

I also run all the CS3 apps on my mac, they run even better than the
CS2, which seemed plenty fast; the fact that CS2 was running through
Rosetta wasn't noticeable at all, but then again, my machine does have
3 gig of RAM...

btw you can get a discount on your mac (10-15%) by going through the
AppleStore rather than getting it online, if you open a business
account, otherwise if you're a student or instructor you can get an
academic discount.

--- In flexcoders@yahoogroups.com, "Celikdemir, Oguz"
<[EMAIL PROTECTED]> wrote:
>
> I have both ( PC and MAC )
> 
>  
> 
> My MyBook 1.86 Ghz Core Duo, 2 GB ram and standard Harddisk. I used Flex
> and Flash on MyBook, PC as well. I didn't see any differences, worked
> well. But there ise one advantage if you buy MyBook, you can use 2
> different operating system at the same time ( OSX and XP ). But I have
> got one suggestion for you. If you want to buy MyBook, choose big
> harddisk that 60 GB it's not enough for me.
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Arleston Lueders
> Sent: Monday, May 14, 2007 7:14 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Flex on Mac
> 
>  
> 
> Thanks guys. At this moment I can affoard a MacBook 2.0GHz, 1gb RAM (up
> to 2), 80gb HD.
> Is it a good deal get a Mac? because with the same price you can get a
> better PC (with non-board video, more ram and hd,...).
> My main goal is using Adobe tools (Flash, Flex, Fireworks, ColdFusion...
> ), and if the machine supports... will run some games like counter
> strike, winning eleven.
> Its a big question... pc or apple. :)
> 
> Thanks again! 
> (sorry about my english)
> 
> 2007/5/11, Johannes Nel <[EMAIL PROTECTED]>:
> 
> runs fine.
> 
> On 5/11/07, Arleston Lueders < [EMAIL PROTECTED]
>  > wrote:
> 
>   Hello everybody!
>   
>   I'm thinking in buy a MacBook. Does anyone have a Mac here? What
> do you think about it?
>   And the Flex will run normal on Mac, right?
>   
>   Thanks,
>   Arleston 
> 
> 
> 
> 
> -- 
> j:pn 
> http://www.lennel.org
>




[flexcoders] KeyBoardEvents - Flex can't hide control key sequences from Internet Explorer

2007-04-26 Thread fuad_kamal
If anyone has a solution that doesn't involve JavaScript in the html
wrapper I'd love to hear it...


The problem is, Internet Explorer interprets control-key sequences
(such as ctrl-r which reloads the browser window) regardless of
whether your flex app captures the keystrokes or not, regardless of
whether you setFocus() or not.  The keystrokes still bubble to the
browser.  I have tested this both in Firefox and IE7, in Firefox the
swf captures the control sequences without disturbing the browser, in
IE7 the swf also captures the control sequences, but the browser also
reacts to them which can be disastrous from the perspective of the
application.

This note from Adobe makes me think they have not come up with a
simple fix for this yet:
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=events_054_21.html

The only solution right now seems to be using JS in the wrapper to
modify the browser behavior.  Here are the related leads I've found so
far:

http://santrajan.blogspot.com/2007/03/cross-browser-keyboard-handler.html

http://www.colettas.org/?p=69

I'd be happy to hear if anyone else has a better solution.

--- In flexcoders@yahoogroups.com, "Michael Klishin" <[EMAIL PROTECTED]> wrote:
>
> From my experience setFocus helps in your case, just use it in
> creationComplete handler of parent container (whatever it is) or
component
> root tag (which happens to be parent container as well)
> 
> On 11/01/07, Lieven Cardoen <[EMAIL PROTECTED]> wrote:
> >
> >  In Application is seems to work once with this.setFocus(), but
then it
> > doesn't work anymore. Is there a way to catch the keys at all time???
> >
> >
> >
> > I think I'm missing something here. I have an application with some
> > layoutContainers and in one of the containers a user can draw a
groundPlan.
> >
> > When rubberBand is enabled, I want a user to be able to press CTRL and
> > click with mouse so that rubberband disappears.
> >
> >
> >
> > This Container where the drawing happens is called GroundPlan.as
(extends
> > Container).
> >
> >
> >
> > In here I create sprites, … and in here I should be able to catch
> > KeyEvents…
> >
> >
> >
> > Thx, Lieven Cardoen, IndieGroup
> >
> >
> >  --
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Lieven Cardoen
> > *Sent:* donderdag 11 januari 2007 12:32
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* RE: [flexcoders] KeyBoardEvents
> >
> >
> >
> > Strange, because I click with mouse in the Container...
> >
> >
> >  --
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Jason Hawryluk
> > *Sent:* donderdag 11 januari 2007 11:08
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* RE: [flexcoders] KeyBoardEvents
> >
> >
> >
> > You need to make sure your container has the focus
> >
> >
> >
> > //from the parent of the container
> >
> > GroundPlan.setFocus();
> >
> >
> >
> >
> >
> > //or try this after you have set the listeners.
> >
> > setFocus();
> >
> >
> >
> >
> >
> >
> >
> > jason
> >
> >
> >
> >
> >
> > -Message d'origine-
> > *De :* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
> > la part de* Lieven Cardoen
> > *Envoy� :* jeudi 11 janvier 2007 10:58
> > *� :* flexcoders@yahoogroups.com
> > *Objet :* [flexcoders] KeyBoardEvents
> >
> > Why are my KeyboardEvents not working?
> >
> > GroundPlan is a chilc of a Canvas…
> >
> > I also tried catching keyboard events in my
Application.application but it
> > doesn't work neither…
> >
> > I'm testing in Internet Explorer and my application has focus…  thx.
> >
> > *public* *class* GroundPlan *extends* Container
> >
> > {...
> >
> > *public* *function* addEventListeners():*void*{
> >
> >   *this*.addEventListener(MouseEvent.MOUSE_MOVE,
mouseMoveHandler);
> >
> >   *this*.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
> >
> >   *this*.addEventListener(KeyboardEvent.KEY_DOWN,
myKeyDownHandler);
> >
> >   *this*.addEventListener(KeyboardEvent.KEY_UP, myKeyUpHandler);
> >
> > }
> >
> > /**
> >
> > *
> >
> >  */
> >
> > *private* *function* myKeyDownHandler(event:KeyboardEvent):*void* {
> >
> >   *trace*(*"myKeyDownHandler("* + event + *")"*);
> >
> >   *if*(event.keyCode == Keyboard.CONTROL){
> >
> > *this*.controlKeyDown = *true*;
> >
> >   }
> >
> > }
> >
> > /**
> >
> >  *
> >
> >  */
> >
> > *private* *function* myKeyUpHandler(event:KeyboardEvent):*void*{
> >
> >   *trace*(*"myKeyUpHandler("* + event + *")"*);
> >
> >   *if*(event.keyCode == Keyboard.CONTROL){
> >
> > *this*.controlKeyDown = *false*;
> >
> >   }
> >
> > }
> >
> > *Lieven Cardoen
> > **Application developer
> > **
> > **indie**group**
> > **interactive digital experience**
> > **engelse wandeling 2 k18
> > b8500 kortrijk *
> >
> >
> >
> 
> 
> 
> -- 
> This was freedom. Losing all hope was freedom.
> 

[flexcoders] seeking half-way point between view helper (Cairngorm) and re-usable components

2007-04-08 Thread fuad_kamal
Cairngorm viewhelpers are a great way to keep you mxml components neat
and clean by keeping most of the AS code out of them, they give a
meaningul and easy to follow way to refer to a component from anywhere
in the application, rather than crazy references like
parent.parent.parent.etc... or
Application.application.blahblah...which also break as soon as you
move your component around.

Each viewhelper must be registered by the mxml component to which it
is a reference to using a unique id.  This has its reasons and its
strengths.

The problem occurs, though, when you want to create a self-contained
component that can be used repeatedly throughout the application.  If
this component uses a viewhelper rather than keeping all its AS code
internal to itself, as soon as two instances of it appear within your
application you get an error because you're actually trying to
register two view helpers with the same name.

I realize that the ViewHelpers aren't really meant to be used simply
for convenience, they are used to give that unique handle to a command
class, but still, the convenience part is really nice.

I suppose you could still keep most of your AS code external to the
mxml by just using an include to an AS file, but you still lose the
benefit of the easy references.

Has anyone thought about this much?  Is there a simple solution to this?



[flexcoders] mac platform, flash plug-in bug?

2007-02-13 Thread fuad_kamal
I've noticed a strange behavior on Intel Mac, and only with some
swf's, e.g. the examples in the live docs:

All or part of the swf in the web page will dissapear.  It's usually
associated with scrolling; sometimes if you scroll the page up, the
swf will reappear, but when you mouse over, it will dissapear.  For
example, in the example in LiveDocs for the SoundEffect class, the
phone appears at first, clicking on it causes the entire swf to
dissapear, but then the sound plays.  The swf remains invisible after
that, but clicking in the area where the phone is supposed to be does
still play the sound.

Has anyone else seen this quirky behavior?  I updated to 2.0.1 on Mac,
and I don't see this behavior on Windows.



[flexcoders] Re: Cairngorm 2.1 exmples.

2007-01-09 Thread fuad_kamal
You might check out the 2.1 version of Flex store (Renaun Erickson),
full source is available:

http://renaun.com/blog/2006/10/31/142/

--- In flexcoders@yahoogroups.com, Kevin <[EMAIL PROTECTED]> wrote:
>
> are there any other Cairngorm 2.1 examples out there? All the code I  
> seem to be looking at is for 2.0 and thus is a little confusing for a  
> newbie like me who is trying to build (& understand) apps using 2.1.
> 
> Thanks, Kevin
>




[flexcoders] Re: which fds to use on Max OSX?

2007-01-09 Thread fuad_kamal
Thanks, until now I had been copying the .WAR files from a windows
box, which is also behaving just fine.

--- In flexcoders@yahoogroups.com, "jrunrandy" <[EMAIL PROTECTED]> wrote:
>
> I have to point out that OS X isn't a supported platform for FDS, but 
> it's a well-behaved J2EE app, so you shouldn't have much trouble for 
> development purposes.
> 
> I downloaded the AIX installer, which is a ZIP file, renamed it to 
> have a .JAR extension and followed the java -jar instructions. It 
> beats me why it has a ZIP extension; I'll look into it and change the 
> installation instructions, if necessary.
> 
> HTH
> Randy Nielsen
> Flex Documentation Manager
> Adobe Systems, Inc.
>




[flexcoders] Re: flex 2.0.1 feedback from the trenches

2007-01-08 Thread fuad_kamal
I'm NOT running CF but I did have this strange error after migrating
to 2.0.1:

"The services configuration includes a channel-definition
'my-polling-amf' that has an endpoint with a context_root token but a
context root has not been defined..."

and the solution by tomlane for a similiar error for CF users resolved
that,

http://weblogs.macromedia.com/flexteam/archives/2007/01/migrating_to_20.cfm

so that now I'm also able to see the incompatible override errors. 
Now I understand what's meant by 'incompatible workspace'...need to
re-create the projects in the workspace from scratch...after removing
the below mentioned Flex Builder 2 folder from the Documents folder.

--- In flexcoders@yahoogroups.com, Paul Evans <[EMAIL PROTECTED]> wrote:
>
> 
> On 5 Jan 2007, at 21:05, fuad_kamal wrote:
> > -installed without uninstalling the beta, still worked fine, and my
> > flex projects were preserved although in the known issues it said they
> > wouldn't
> I suspect it is the workspace that is incompatible rather than the  
> project files?
> 
> On 5 Jan 2007, at 22:01, John Kirby wrote:
> > Not very clear messages in debugging when taking a 2.0 project and  
> > recompiling with 2.0.1.  I have two types of errors:
> > 1023: Incompatible override.
> 
> I had this one - even if creating a new Flex Application with just  
> the Application tag. Basically it was because Flex 2.0.1 is picking  
> up the Flex 2 Beta workspace which is incompatible.
> 
> The way I solved it was to rename the existing "Flex Builder 2"  
> folder to "Flex Builder 2 Beta" to accurately reflect the builder  
> that created it. On the Mac:
> 
> /Users/username/Documents/Flex Builder 2
> 
> becomes
> 
> /Users/username/Documents/Flex Builder 2 Beta
> 
> (Note: for Flex Builder 2 Beta to pick up it's workspace again, you  
> need to choose "File>Switch workspace..." from the menu. Not that  
> you'll want to go back to the beta, once you have 2.0.1 running  
> properly.)
> 
> Then when launching the 2.0.1 version, the "Flex Builder 2" folder  
> will be re-created but this time containing a 2.0.1 compatible  
> workspace. You can then start creating projects, porting your old  
> source files as you see fit.
> 
> hth
> 
> 
> Paul
> -- 
> [ http://www.creative-cognition.co.uk/ ]
> [ http://creacog.wordpress.com/ ]
>




[flexcoders] Re: flex 2.0.1 feedback from the trenches

2007-01-08 Thread fuad_kamal
btw every time I start Flex Builder 2.0.1 (mac) it opens a popup
saying "New updates are availalbe. Do you want to review and install
them now?"

the update is Eclipse Project Updates, after running the installer
there's a propmt to restart, after the restart again the popup appears
for the same update - endless loop.

--- In flexcoders@yahoogroups.com, Paul Evans <[EMAIL PROTECTED]> wrote:
>
> 
> On 5 Jan 2007, at 21:05, fuad_kamal wrote:
> > -installed without uninstalling the beta, still worked fine, and my
> > flex projects were preserved although in the known issues it said they
> > wouldn't
> I suspect it is the workspace that is incompatible rather than the  
> project files?
> 
> On 5 Jan 2007, at 22:01, John Kirby wrote:
> > Not very clear messages in debugging when taking a 2.0 project and  
> > recompiling with 2.0.1.  I have two types of errors:
> > 1023: Incompatible override.
> 
> I had this one - even if creating a new Flex Application with just  
> the Application tag. Basically it was because Flex 2.0.1 is picking  
> up the Flex 2 Beta workspace which is incompatible.
> 
> The way I solved it was to rename the existing "Flex Builder 2"  
> folder to "Flex Builder 2 Beta" to accurately reflect the builder  
> that created it. On the Mac:
> 
> /Users/username/Documents/Flex Builder 2
> 
> becomes
> 
> /Users/username/Documents/Flex Builder 2 Beta
> 
> (Note: for Flex Builder 2 Beta to pick up it's workspace again, you  
> need to choose "File>Switch workspace..." from the menu. Not that  
> you'll want to go back to the beta, once you have 2.0.1 running  
> properly.)
> 
> Then when launching the 2.0.1 version, the "Flex Builder 2" folder  
> will be re-created but this time containing a 2.0.1 compatible  
> workspace. You can then start creating projects, porting your old  
> source files as you see fit.
> 
> hth
> 
> 
> Paul
> -- 
> [ http://www.creative-cognition.co.uk/ ]
> [ http://creacog.wordpress.com/ ]
>




[flexcoders] which fds to use on Max OSX?

2007-01-08 Thread fuad_kamal
sorry if this sounds like a dumb question, but really I'm still a
newbie on Mac platform -

the install docs for fds 2.0.1 says there's a java installer (cross
platform) for fds - but on the downloads page the options are AIX,
HP_UX, Linux, & Solaris.  Which version should we be trying to run on
Mac OSX (BSD Unix)?

thanks



[flexcoders] Re: flex 2.0.1 feedback from the trenches

2007-01-06 Thread fuad_kamal
Thanks, that path was exactly what I needed...

--- In flexcoders@yahoogroups.com, "Mike Morearty" <[EMAIL PROTECTED]>
wrote:
>
> --- In flexcoders@yahoogroups.com, "fuad_kamal"  wrote:
> > -How do I optimize memory usage for FB on the Mac?  There isn't any
> > FlexBuilder.ini file on my Macbook Pro!
> 
> In the Mac version, you can find that file inside the "Flex Builder"
> package:
> 
> /Applications/Adobe Flex Builder 2/Flex
> Builder.app/Contents/MacOS/FlexBuilder.ini
>




[flexcoders] flex 2.0.1 feedback from the trenches

2007-01-05 Thread fuad_kamal
Today I switched from the Mac beta to the 2.0.1 release version of
Flex Builder, here's my initial feedback, be glad to see others':

-installed without uninstalling the beta, still worked fine, and my
flex projects were preserved although in the known issues it said they
wouldn't

-typing '//' in the code editor doesn't crash FB like it did in the
Beta.  Yay

-Is flash type turned on by default as it is in Flash 8?  Otherwise
how do we implement it?

-The launch application link in the Flex Store example is gone...I
assume b/c they're still getting it ready, right guys?

-My hibernate started throwing exceptions when I started tomcat,
particularly that the port was already in use...I already had FB open.
 This was right after the install.  I rebooted, started my tomcat
first, and then FB, and there were no problems.  Oops...noticed later
that FDS has been updated, too.  Guess I should replace the WAR files
in WebApps...

-How do I optimize memory usage for FB on the Mac?  There isn't any
FlexBuilder.ini file on my Macbook Pro!

thanks Flex team for a great product!



[flexcoders] datefield formatString bug

2007-01-02 Thread fuad_kamal
I assume this is just another of the bugs specific to the Mac beta, right?



the format prints as, for example for Jan 2, 2007:

0102022007

when it should be
01Jan2007



[flexcoders] flash 8 vs flash 9 player datagrid benchmarks?

2006-12-29 Thread fuad_kamal
has anyone seen any kind of benchmarks comparing the flash 8 player
vs. flash 9 player?  especially w/regard to datagrid performance?



[flexcoders] Re: strange security sanbox error

2006-12-26 Thread fuad_kamal
My socket handler class uses public variables for the host and port,
set from the outside.  hence,

public var port : Number;

Remember this was a 1.5 -> 2.0 port; I hadn't changed the type
declaration to int, but probably since port in the socket class is an
int it defaulted to that anyway (shouldn't it throw a warning without
an explicit cast, though?)

since the default in AS3 for int is zero, not 'null', failing to pass
in the port number would probably result in the Localhost:0 error




--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Do you have more of a stack trace on the error?  You're using sockets
> separately or you're using sockets to reach the RemoteObject?  Best to
> isolate the networking and see what's failing.  Maybe there's a config
> error somewhere?  Localhost:0 looks like some concatenation of domain
> and port, where port wasn't assigned and it instead 0.
> 
>  
> 
> ____
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of fuad_kamal
> Sent: Wednesday, November 15, 2006 2:05 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] strange security sanbox error
> 
>  
> 
> anyone ever see anything like this before:
> 
> *** Security Sandbox Violation ***
> Connection to localhost:0 halted - not permitted from
> http://localhost:8080/flex/ces-webMigration01/channel1-debug.swf
> <http://localhost:8080/flex/ces-webMigration01/channel1-debug.swf> 
> securityErrorHandler: [SecurityErrorEvent type="securityError"
> bubbles=false cancelable=false eventPhase=2 text="Error #2048:
> Security sandbox violation:
> http://localhost:8080/flex/ces-webMigration01/channel1-debug.swf
> <http://localhost:8080/flex/ces-webMigration01/channel1-debug.swf> 
> cannot load data from localhost:0."]
> 
> I have no clue what "localhost:0." is or why my app would be trying to
> connect to it. My environment is:
> 
> -FDS2
> -Tomcat 5.5 (that's localhost:8080)
> -JRE 1.4.2
> 
> While we are using Hibernate and Spring on the back-end, actually
> currently I'm connecting to plain-old java (delegate) classes using
> Remote Object; I'm not connecting to Spring Beans directly. Also I'm
> using Sockets.
> 
> Also, my swf still loads, and I am getting at least some of the data
> out of the back-end. So I'm not really sure what this sandbox error
> means...
>




[flexcoders] Re: Flex 2 Beta Mac Performance

2006-12-26 Thread fuad_kamal
I'm running flexbuilder 2 on an Intel Mac and it's been crashing a lot
today, usually when I type '//' in the code editor for a comment. 
It's pretty inconsistent.  Anyway I didn't find either eclipse.ini or
FlexBuilder.ini on my machine anywhere.  Is there another file that
can be touched to tweak the memory?  I did find FlexSDKShellScript.sh
but that doesn't make any memory settings by default, so I wonder if
setting it there would make any difference.

I haven't seen any refs to a bug list for the beta...is there one
available to the public?



--- In flexcoders@yahoogroups.com, Stefan Ernst <[EMAIL PROTECTED]> wrote:
>
> Would that also be possible with the standalone installer?
> 
> (in the basically same directory of the FlexBuilder.app I found a  
> FlexBuilder.ini containing, amongst others, these lines:
> 
> -Xms128m
> -Xmx512m
> 
> Would those be memory settings for the Adobe hacked Eclipse?)
> 
> S.
> 
> 
> 
> 
> > Go in the /Eclipse.app/Contents/MacOS/ directory,  
> > and edit the file 'eclipse.ini'. There is a setting for initial  
> > memory and max memory, I believe the defaults are 40mb and 256mb  
> > respectively. Your best bet is to set it to 512mb and 1024mb (if  
> > you have that kind of RAM available).
>




[flexcoders] Re: Debug Flash Player 9 for Intel Mac

2006-12-22 Thread fuad_kamal
ah, maybe that's why my custom panel titlebar buttons aren't appearing
on the mac...

--- In flexcoders@yahoogroups.com, "Brian Dunphy" <[EMAIL PROTECTED]> wrote:
>
> The Flex Builder 2 for Mac actually has a newer version of the Flex 2
> SDK that requires you to explicitly import things instead of calling
> them by their classpath. There are a number of other changes as well,
> I can't remember where I saw a list of them but there is one out
> there.
> 
> Hopefully Adobe will release the latest Intel Mac debug player soon, I
> find the one that came with the Mac beta extremely buggy (freezes
> Safari, Firefox, often ignores keystrokes, etc).
> 
> Cheers,
> 
> Brian
> 
> On 12/22/06, fuad_kamal <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> > I just finished switching my development environment from PC to a new
> >  Intel Mac. I also had the issue with the debug player not playing,
> >  and I also didn't find any separate download for the Intel debug
> >  player on Adobe's site...so I followed their alternative suggestion
> >  and re-installed Flex Builder (beta). The Flex Builder installer runs
> >  a Flash Debug player installation at the end of the flex install, and
> >  that worked. They really ought to release a stand-alone installer for
> >  Intel Macs, though. I followed the link from the error thrown in the
> >  Power-PC installer but it lead to the non-debugger (release) version
> >  of the flash player for intel mac.
> >
> >  Also, another note, I noticed this time during the flex builder
> >  install that it failed when trying to write a file to my home
> >  directory. I suspect this might be a similar problem to the Photoshop
> >  CS3 Beta install issue - my home directory is encrypted using
> >  FileVault, and the CS3 beta install workaround was to disable
FileVault...
> >
> >  Two things I noticed immediately when starting development in the new
> >  Mac environment:
> >
> >  a) I can't seem to break my panels across multiple displays, as I
> >  could in the Windows PC environment. Anyone know how to do this
on Mac?
> >
> >  b) The Mac version seems smarter! It picked up an error in my project
> >  that wasn't getting picked up in the PC environment (missing import
> >  statement). I suspect the reason is that the project is huge...maybe
> >  it's a memory or buffer issue or something (my PC is quite old while
> >  the Mac is really souped up).
> >
> >
> >  --- In flexcoders@yahoogroups.com, "aspentreemedia"  wrote:
> >  >
> >  > I gave it another try on the download page but I get the error that
> >  > I'm trying to install the PPC version and not the universal
binary for
> >  > Intel Macs. I guess I'll try and download Flex Builder and see if I
> >  > can get the new version that way.
> >  >
> >  > Mike
> >  > -
> >  > Mike Weiland
> >  > Aspen Tree Media
> >  > (877)659-1652 | FAX: (512)828-7105
> >  > http://www.AspenTreeMedia.com
> >  > http://www.CertificateCreator.com - Create & Print Awards and
> >  Certificates
> >  >
> >  >
> >  > --- In flexcoders@yahoogroups.com, "Brian Dunphy"
 wrote:
> >  > >
> >  > > Greg,
> >  > >
> >  > > Do you have the Universal binary of Firefox? I remember when
we were
> >  > > waiting for the first Intel Mac player to come out, we had to
run the
> >  > > PowerPC binary of Firefox through emulation, and the player
worked
> >  > > (but slow).
> >  > >
> >  > > I'm just curious because I have tried installing the one on
that page
> >  > > about 10 times over the past few weeks and it always says
it's PPC
> >  > > only... I've seen many other reports of the same issue.
> >  > >
> >  > > Thanks,
> >  > >
> >  > > Brian
> >  > >
> >  > > On 12/12/06, Greg Newman  wrote:
> >  > > >
> >  > > >
> >  > > >
> >  > > >
> >  > > >
> >  > > >
> >  > > > They're available on Adobe's site here:
> >  > > > http://www.adobe.com/support/flashplayer/downloads.html
> >  > > > It's working fine on my OSX MBP.
> >  > > >
> >  > > >
> >  > > >
> >  > > >
> >  > > >
> >  

[flexcoders] panel titleBar customizations dissapear on mac

2006-12-22 Thread fuad_kamal
I have a class which extends Panel and adds buttons to the titlebar of
the panel.  When I moved my environment from my PC to my Mac the
buttons in the titlebar no longer appear, although its the same code
getting compiled.  I'm not sure if it's a difference in the
compilation or in the Flash player - haven't been able to hit my
apache on the mac from a Windows machine.  Any clues?



[flexcoders] flash tracer breaks on intel mac?

2006-12-22 Thread fuad_kamal
I've seen a post about this on the flash tracer page, anyone find a fix?
Flash tracer plugin for firefox creates a log file but shows no output
from the debugger...seems like it can't find the debug player
(although output is fine in flex console panel).



[flexcoders] Re: Debug Flash Player 9 for Intel Mac

2006-12-22 Thread fuad_kamal
I just finished switching my development environment from PC to a new
Intel Mac.  I also had the issue with the debug player not playing,
and I also didn't find any separate download for the Intel debug
player on Adobe's site...so I followed their alternative suggestion
and re-installed Flex Builder (beta).  The Flex Builder installer runs
a Flash Debug player installation at the end of the flex install, and
that worked.  They really ought to release a stand-alone installer for
Intel Macs, though.  I followed the link from the error thrown in the
Power-PC installer but it lead to the non-debugger (release) version
of the flash player for intel mac.

Also, another note, I noticed this time during the flex builder
install that it failed when trying to write a file to my home
directory.  I suspect this might be a similar problem to the Photoshop
CS3 Beta install issue - my home directory is encrypted using
FileVault, and the CS3 beta install workaround was to disable FileVault...

Two things I noticed immediately when starting development in the new
Mac environment:

a) I can't seem to break my panels across multiple displays, as I
could in the Windows PC environment.  Anyone know how to do this on Mac?

b) The Mac version seems smarter! It picked up an error in my project
that wasn't getting picked up in the PC environment (missing import
statement).  I suspect the reason is that the project is huge...maybe
it's a memory or buffer issue or something (my PC is quite old while
the Mac is really souped up).

--- In flexcoders@yahoogroups.com, "aspentreemedia" <[EMAIL PROTECTED]> wrote:
>
> I gave it another try on the download page but I get the error that
> I'm trying to install the PPC version and not the universal binary for
> Intel Macs. I guess I'll try and download Flex Builder and see if I
> can get the new version that way.
> 
> Mike
> -
> Mike Weiland
> Aspen Tree Media
> (877)659-1652 | FAX: (512)828-7105
> http://www.AspenTreeMedia.com
> http://www.CertificateCreator.com - Create & Print Awards and
Certificates
> 
> 
> --- In flexcoders@yahoogroups.com, "Brian Dunphy"  wrote:
> >
> > Greg,
> > 
> > Do you have the Universal binary of Firefox? I remember when we were
> > waiting for the first Intel Mac player to come out, we had to run the
> > PowerPC binary of Firefox through emulation, and the player worked
> > (but slow).
> > 
> > I'm just curious because I have tried installing the one on that page
> > about 10 times over the past few weeks and it always says it's PPC
> > only... I've seen many other reports of the same issue.
> > 
> > Thanks,
> > 
> > Brian
> > 
> > On 12/12/06, Greg Newman  wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > They're available on Adobe's site here:
> > > http://www.adobe.com/support/flashplayer/downloads.html
> > > It's working fine on my OSX MBP.
> > >
> > >
> > >
> > >
> > >
> > >  On 12/12/06, Brian Dunphy  wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Does anybody have the debug Flash Player 9 for Intel macs? I've
> heard
> > > > it's included in the Apollo private beta right now... is it
against
> > > > any agreements for somebody in that beta to send us the debug
player
> > > > only? I'm really hurting for a debug player in OS X right now.
> > > >
> > > > Obviously if this goes against any agreements when you enter the
> > > > private beta, please disregard this request.
> > > >
> > > > Thanks,
> > > >
> > > > Brian
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > - Greg Newman
> > > ---
> > > http://www.carbon8.us
> > > http://www.busyashell.com
> > >
> > >  
> > 
> > 
> > -- 
> > Brian Dunphy
> >
>




[flexcoders] fds for mac (beta) flex developers

2006-12-13 Thread fuad_kamal
anyone working on FDS projects but developing on Mac platform?  I'm in
the process of switching over to an Intel mac and found that FDS comes
in Linux and Windows flavors but not Mac OSX.  It was kind of
convenient  in Windows to have everything on one box.  Are there any
plans to release a Mac OS version of FDS, at least for development
purposes?

Any thoughts on running FDS on a Windows instance in Parrallels and
Flex Builder in Mac OSX?

Could I just drop my FDS war files into Tomcat running on Mac OSX?

thanks



[flexcoders] one-liner to break flex

2006-11-30 Thread fuad_kamal
a single line of code causes my Flex Builder to fail to compile the
application and throws the following ambiguous error:

'An internal build error has occurred.  Please check the Error Log.'

I tried cleaning the application, which made no difference. 
Commenting out the line of code (or setting the value of
pushServerPort to an empty string)resolved the issue.  

Where is this error log?  A simple syntax error would have been nice.  

Here's the one-liner:

[Bindable]
private var pushServerPort:String = model.socketConfig.socket.(@name
== 'pushServer')[EMAIL PROTECTED];


(model is a reference to ModelLocator and socketConfig is XML)

Here is the XML definition of socketConfig:

public var socketConfig : XML =



;





[flexcoders] using JMS with Flex

2006-11-02 Thread fuad_kamal
Answered my own question...

btw I meant JMS (Java Message Service), not JSM (Java Service Manager,
also there is a 'Java Soccer Manager' app out there... ;P).

FDS installs samples by default, including JMS.  See "Collaborative
Dashboard" sample...

--- In flexcoders@yahoogroups.com, "fuad_kamal" <[EMAIL PROTECTED]> wrote:
>
> Couple unrelated questions:
> 
> first, regarding Cairngorm:
> 
> Generally we use one front controller instance to capture user
> gestures, and yet another front controller instance to capture 'server
> gestures' - to capture events sent from the server and respond to
> them.  Is this an appropriate model or is my thinking flawed?
> 
> Mind you, I'm not talking about initiating a remote call via a
> delegate - we have an open socket with the server and the server will
> initiate an event based on whatever is happening on 'the other side'.
> 
> Secondly,
> 
> Can someone point me towards any good references to using JSM from
> Flex / FDS?  I haven't really seen any substantial examples; I've read
> the related articles from the  farata systems folks and wasn't really
> satisfied.  Also I need to understand this from the AS developer's
> standpoint, not the Java developer's viewpoint.
>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



[flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof? - STAY AWAY FROM F9 Preview

2006-10-29 Thread fuad_kamal
OK, anything nice I said in the past about the Flash 9 Preview -
I take it back.  We can't even generate basic components like a
TextArea in the Preview.  I would have thought that with the
availability of the Flex SDK you could tap into the flex
components...but no go on that, either.  Quite annoying...

see 

http://www.zeuslabs.us/archives/78/can-flash-9-preview-compile-the-flex-framework/

--- In flexcoders@yahoogroups.com, "Kirk Marple" <[EMAIL PROTECTED]> wrote:
>
> ah, very interesting... i heard "drag/drop" and assumed you were talking
> about user actions within the application.
>  
> thanks for the TT reference - that looks like it might be money
well-spent.
> if i don't get to Max, then that looks like a good bet.
>  
> from everybody's valuable replies, it sure seems like we could
proceed with
> the F9 preview, and pick and choose pieces to build there, and do
the shell
> and the rest of it in Flex.   if that's the case, then i think we're
going
> to be good to go.
>  
> as an aside, we're looking for one or two part-time Flex/Flash devs
to help
> with our project.   if anybody's available right now (via
telecommuting),
> please shoot me an email at jobs (at) agnostic-media.com.
>  
> thanks,
> Kirk
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of fuad_kamal
> Sent: Friday, October 06, 2006 9:20 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?
> 
> 
> 
> In the F9 preview, if you open the components window, whatever is ther
> e is grayed out - so there is no way to utilize prebuilt components in
> F9 except via code. The help window/documentation window is
> completely empty. Basically the F9 preview is the F8 shell, with
> support for AS3 code. On the up side, they were helpful enough to
> have the compiler in F9 display warnings particular to AS2 -> AS3
> conversion issues. I would caution against building an entire RIA in
> F9 preview; better to stick with flex and use F9 for visually
> building individual components that require use of the timeline - you
> can then utilize the compiled swf's in Flex. There is also no such
> thing as MXML in F9.
> 
> In Flex 2 you can drag and drop components from a component window,
> you can create them in mxml or you could instatiate them via AS3. 
> Keep in mind also that all the components in Flex can be skinned, so
> look & feel should not be an issue. You can also easily create new
> components or extend existing ones.
> 
> You mentioned that your developer is from a Flash MX background. I
> found that most of the Flex developers seem to be former Java
> programmers; developing in Flex is a totally different paradigm than
> in Flash. I also haven't met a Java programmer yet that didn't find
> the Flash IDE to be "opaque" to them. Don't dismay, though - I also
> came from a Flash environment and had no trouble jumping into a
> massive flex project...but there was a bit of ramp up time. If your
> developer is strong in OOP he should have no problem in Flex. You
> might also consider the Total Training video on Flex 2, it's darn
> cheap and I never saw a TT video (including the one on Flex) that
> wasn't extremely comprehensive, and frankly I think their material is
> beyond compare.
> 
> -fuad
> 
> --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com>
ups.com,
> "Kirk Marple"  wrote:
> >
> > hi Fuad,
> > 
> > can you dive more into your comment about "Outside of pure code
though,
> > there's no drag 'n drop
> > functionality in the F9 preview like we have in Flex..."?
> > 
> > i'm curious what the limitation is there that you're describing.
> > 
> > we have a definite need for drag/drop functionality, so i'm
worried that
> > this might affect us.
> > 
> > thanks,
> > Kirk
> > 
> > _ 
> > 
> > From: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com>
ups.com
> [mailto:[EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com>
ups.com]
> On
> > Behalf Of fuad_kamal
> > Sent: Thursday, October 05, 2006 11:16 AM
> > To: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com
> > Subject: [flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?
> > 
> > 
> > 
> > One addenum to that - in theory you can access the same component
> > architecture in the Flash 9 preview as you can in Flex - from your AS3
> > code. Outside of pure code though, there's no drag 'n drop
> > functionality in the

[flexcoders] Re: Anyone know how this is accomplished?

2006-10-27 Thread fuad_kamal
ah, where's the AS3 decompiler when you need it? ;)
I implemented similiar using view states...

--- In flexcoders@yahoogroups.com, "jnewport" <[EMAIL PROTECTED]> wrote:
>
> I found this link on dashboardSPY.
> 
>
http://adb.crowecs.com/flex/activeDashboard/dashBoard.mxml?versionChecked=true
> 
> 
> Does anyone know how they collapse the panels?  I am assuming it is by
> removing the contents of the panel, thus allowing the panel to
> collapse because its empty?  Does anyone know of an example?
> 
> If you remove the child components from the panel does that kill it
> for good, meaning when you bring it back do you have to call an
> function to repopulate the child components of panel?  Or will they
> repopulate on their own when brought back?
> 
> Thanks in advance?
> 
> J
>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



[flexcoders] Undocumented AS2 -> AS3 migration issues

2006-10-27 Thread fuad_kamal
While I've been porting a huge application from Flex 1.5 to Flex 2.0,
every now and then I come across things that just weren't mentioned
anywhere in the migration docs.  I'm sure lots of other folks have
been doing such ports and have come across undocumented issues that
they had to figure out on their own; it would be nice if there were
somewhere to collect these issues to save others time in the future.

Here's one:

 - doesn't exist in Flex 2.0.  I would've thought that was
a basic one, maybe I missed something?  But run a search in the
migration doc for that tag and it doens't even come up.

Cheers.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



[flexcoders] cairngorm - misuse of front controller? & JSM w/Flex 2

2006-10-20 Thread fuad_kamal
Couple unrelated questions:

first, regarding Cairngorm:

Generally we use one front controller instance to capture user
gestures, and yet another front controller instance to capture 'server
gestures' - to capture events sent from the server and respond to
them.  Is this an appropriate model or is my thinking flawed?

Mind you, I'm not talking about initiating a remote call via a
delegate - we have an open socket with the server and the server will
initiate an event based on whatever is happening on 'the other side'.

Secondly,

Can someone point me towards any good references to using JSM from
Flex / FDS?  I haven't really seen any substantial examples; I've read
the related articles from the  farata systems folks and wasn't really
satisfied.  Also I need to understand this from the AS developer's
standpoint, not the Java developer's viewpoint.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



[flexcoders] cairngorm .99 to cairngorm 2

2006-10-13 Thread fuad_kamal
I'm migrating a flex 1.5 ap to 2.0, for which the migration doc from
Adobe is extremely useful.  The app uses Cairngorm, I was wondering if
there are any known issues to look out for or a guide for moving from
Cairngorm 0.99 to the current version of Cairngorm.

thanks




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



[flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-06 Thread fuad_kamal
In the F9 preview, if you open the components window, whatever is ther
e is grayed out - so there is no way to utilize prebuilt components in
F9 except via code.  The help window/documentation window is
completely empty.  Basically the F9 preview is the F8 shell, with
support for AS3 code.  On the up side, they were helpful enough to
have the compiler in F9 display warnings particular to AS2 -> AS3
conversion issues.  I would caution against building an entire RIA in
 F9 preview; better to stick with flex and use F9 for visually
building individual components that require use of the timeline - you
can then utilize the compiled swf's in Flex.  There is also no such
thing as MXML in F9.

In Flex 2 you can drag and drop components from a component window,
you can create them in mxml or you could instatiate them via AS3. 
Keep in mind also that all the components in Flex can be skinned, so
look & feel should not be an issue.  You can also easily create new
components or extend existing ones.

You mentioned that your developer is from a Flash MX background.  I
found that most of the Flex developers seem to be former Java
programmers; developing in Flex is a totally different paradigm than
in Flash.  I also haven't met a Java programmer yet that didn't find
the Flash IDE to be "opaque" to them.  Don't dismay, though - I also
came from a Flash environment and had no trouble jumping into a
massive flex project...but there was a bit of ramp up time.  If your
developer is strong in OOP he should have no problem in Flex.  You
might also consider the Total Training video on Flex 2, it's darn
cheap and I never saw a TT video (including the one on Flex) that
wasn't extremely comprehensive, and frankly I think their material is
beyond compare.

-fuad

--- In flexcoders@yahoogroups.com, "Kirk Marple" <[EMAIL PROTECTED]> wrote:
>
> hi Fuad,
>  
> can you dive more into your comment about "Outside of pure code though,
> there's no drag 'n drop
> functionality in the F9 preview like we have in Flex..."?
>  
> i'm curious what the limitation is there that you're describing.
>  
> we have a definite need for drag/drop functionality, so i'm worried that
> this might affect us.
>  
> thanks,
> Kirk
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of fuad_kamal
> Sent: Thursday, October 05, 2006 11:16 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?
> 
> 
> 
> One addenum to that - in theory you can access the same component
> architecture in the Flash 9 preview as you can in Flex - from your AS3
> code. Outside of pure code though, there's no drag 'n drop
> functionality in the F9 preview like we have in Flex...but I think
> that's just a preview issue; even the help/doc files are empty in the
> preview. It certainly is MUCH easier coding AS3 in Flex 2 than the
> preview, hopefully that gap will lessen with the release version. 
> Anyway you can also write your AS3 code from within Flex2 and then
> make use of those AS files from F9 preview...
> 
> --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com>
ups.com,
> "greg h"  wrote:
> >
> > Kirk,
> > 
> > I am going to reply in this one email to your two earlier posts.
> > 
> > You started off your first post with "we're looking to move our
> > ASP.NET<http://asp.net/>based application suite to Flash".
> > So I assume that your team has no deep competency with either Flex or
> > Flash. Is this correct?
> > 
> > For developing RIAs, I suggest you make Flex 2 your default choice
> with a
> > side investigation of how to use Flash 9 (or for now Flash 8 Pro
> with the Flash
> > Pro 9 ActionScript 3.0
> > Preview<http://labs.
> <http://labs.adobe.com/technologies/flash9as3preview/>
> adobe.com/technologies/flash9as3preview/>
> > ).
> > 
> > There are a number of points of comparison between Flex and Flash.
When
> > developing RIAs one that is very relevant is the choice between
> using the
> > prebuilt component framework in Flex 2 vs building your own
> components in
> > Flash 8 or 9.
> > 
> > Also, the whole development process is very different. Will you be
> having
> > your ASP.NET <http://asp.net/> developers cross training? If so Flex 2
> > likely will prove to be more familiar and easier for them to come
up to
> > speed on quickly. Flash authoring, on the other hand, uses
> paradigms that
> > likely are unfamiliar to more traditional developers such as is
> taught in
> > university computer science programs. For a q

[flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-05 Thread fuad_kamal
One addenum to that - in theory you can access the same component
architecture in the Flash 9 preview as you can in Flex - from your AS3
code.  Outside of pure code though, there's no drag 'n drop
functionality in the F9 preview like we have in Flex...but I think
that's just a preview issue; even the help/doc files are empty in the
preview.  It certainly is MUCH easier coding AS3 in Flex 2 than the
preview, hopefully that gap will lessen with the release version. 
Anyway you can also write your AS3 code from within Flex2 and then
make use of those AS files from F9 preview...

--- In flexcoders@yahoogroups.com, "greg h" <[EMAIL PROTECTED]> wrote:
>
> Kirk,
> 
> I am going to reply in this one email to your two earlier posts.
> 
> You started off your first post with "we're looking to move our
> ASP.NETbased application suite to Flash".
> So I assume that your team has no deep competency with either Flex or
> Flash.  Is this correct?
> 
> For developing RIAs, I suggest you make Flex 2 your default choice
with a
> side investigation of how to use Flash 9 (or for now Flash 8 Pro
with the Flash
> Pro 9 ActionScript 3.0
> Preview
> ).
> 
> There are a number of points of comparison between Flex and Flash.  When
> developing RIAs one that is very relevant is the choice between
using the
> prebuilt component framework in Flex 2 vs building your own
components in
> Flash 8 or 9.
> 
> Also, the whole development process is very different.  Will you be
having
> your ASP.NET  developers cross training?  If so Flex 2
> likely will prove to be more familiar and easier for them to come up to
> speed on quickly.  Flash authoring, on the other hand, uses
paradigms that
> likely are unfamiliar to more traditional developers such as is
taught in
> university computer science programs.  For a quick sense of how Flash
> development may look to traditional coders, in this following
article see the
> section under the heading:  "We Call This 'The Timeline.' No, Wait, Come
> Back!"
> www.adobe.com/devnet/flex/articles/flash_perspective.html
> 
> Regarding "video-heavy applications" I see no inherent advantage of
Flash
> over Flex (or vice versa).
> 
> One potential disadvantage of Flex 2 is that it is ActionScript 3
only.  But
> this is only a disadvantage if you have existing Flash ActionScript 2
> components, because as Robert hinted in his post at run time AS3 and AS2
> components are limited in their ability to talk to each other. 
Aside from
> that, however, the advantages of AS3 over AS2 are enormous.
> 
> Regarding the specific issue you stated that "we couldn't mix Flex
running
> AS3 with scripted movies with AS2", that is only partly true.  As of
Flash
> Player 9 (FP9), there are two Actionscript Virtual Machines (AVM).  AS3
> pcode runs in FP9's new AVM2, and the pcode from AS2 and earlier run in
> AVM1.  At runtime, code can be running in both AVM1 and AVM2 at the same
> time, but they can not pass values directly between the AVMs. 
Though they
> can pass values through external APIs (in his post Robert mentioned
> localconnection).  So, though you CAN "mix Flex running AS3 with
scripted
> movies with AS2", there are limitations.  Thus this is one case
where shops
> with legacy AVM1 code may have an incentive to convert their legacy
code to
> AS3.  For a great walkthrough of what is new with FP9, AS3 and the AVM2
> check out this presentation by Gary Grossman, lead developer on the
Flash
> Player team and an Adobe Senior Scientist.
> http://seminars.breezecentral.com/p64058844/
> 
> On another issue, your posts are the first I have heard anyone raising
> concerns about "one of the issues brought up to me was how to get
the nice
> cinematic feel w/ scripted animations, etc. in Flex."  Whether you
author in
> Flash or Flex it all compiles down to the same pcode.  It really is just
> dependent on the skills of your developers.  Furthermore, as Nick
said in
> his reply, "You should use both."  And "it's not an either/or
situation."  I
> actually would love it if you could have your source on this concern
post
> back on this thread with more details.  The broad community of "Flash
> Platform" developers continue to grapple with how get the most out
of the
> vast and amazing tools that Adobe has given us :-)
> 
>  Should you want to solicit comments that may favor Flash more over
Flex,
> you might also want to put your post up over on the Flashcoders list:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Should you want to solicit comments from Flash/Flex video
specialists, you
> might also want to put your post up over on the FlashMedia list:
>
http://www.flashcomguru.com/flashmedialist/
> 
>  And by the way, can you spare 3 days later this month?  If so you
really
> should come to
MAX!
> It will be the id

[flexcoders] Scale-9 Guide

2006-09-19 Thread fuad_kamal
Does scale-9 only apply to how Flex deals with ordinary (single) images,
or can graphic components be preapared in different slices for use with
scale-9?






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Playing back a SWF with Flex

2006-09-18 Thread fuad_kamal
Has anyone done much work with Flash 9 Alpha swf's inside of Flex? 
What's the best way for flex components to interact with the swf? 
LocalConnection?  Basically I want to broadcast events from the .swf
created in Flash 9 that trigger state changes in the parent
application; I want to use it as a loosely coupled component within my
Flex application.

thanks

--- In flexcoders@yahoogroups.com, "Abdul Qabiz" <[EMAIL PROTECTED]> wrote:
>
> I was looking into docs (flash.display.AVMMovie), didn't found any
method
> (gotoAndPlay etc)...
> 
> I guess, docs are not updated ?
> 
> -abdul
> 
> On 9/1/06, wesubotnix <[EMAIL PROTECTED]> wrote:
> >
> >   Easier than LocalConnection is compiling the swf using the Flash9
> > alpha version. Then using the SWFLoader, and on event complete you
> > should typecast the content to a movieclip, then just use the normal
> > gotoAndPlay(), gotoAndStop()whenever you wish
> >
> > /Fredrik Sandberg
> >
> >
> > --- In flexcoders@yahoogroups.com ,
> > "mitchgrasso"  wrote:
> > >
> > > Although the docs would lead me to believe this isn't possible, I
> > > wanted to confirm whether you can dynamically load a SWF animation
> > > created in Flash into a Flex application and be able to access it's
> > > timeline to jump to a frame or set the framerate, etc. I have been
> > > using SWFLoader to load the SWF file.
> > >
> > > Am I missing something here? Do we need to wait for Flash 9
until you
> > > can control a SWF animation in Flex? I hope I am just lamely
confused...
> > >
> > > thanks
> > >
> > > Mitch
> > >
> >
> >  
> >
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] expandItem() doesn't seem to work w/dynamic dataprovider - BUG?

2006-08-14 Thread fuad_kamal
expandItem() on a node on a Tree works fine when the dataprovider is a
hard-coded XML or XMLList in the mxml, but when the dataprovider is a
variable of type XML or XMLList, expandItem() doesn't do anything.

code example (should expand the node, but doesn't):

---


http://www.adobe.com/2006/mxml";
layout="absolute">












   










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: expandItem() not working on my tree :( - fixed

2006-08-14 Thread fuad_kamal
OK, since nobody replied, I solved it myself.  Solution is a bit
strange, but basically referring to treeData2[0] works to expand the
first node, while intuitively you might think that it should be
treedData2.node[0].  hmmm...

here's the working code:

---

http://www.adobe.com/2006/mxml";
layout="absolute">













   





--- In flexcoders@yahoogroups.com, "fuad_kamal" <[EMAIL PROTECTED]> wrote:
>
> I can't get expandItem() to work; anyone see the problem in my code? 
> I want to automatically expand the first node on the tree.
> ---
> 
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute">
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
>
> 
> 
>labelField="@label"
>   showRoot="false" dataProvider="{treeData2}"
>   creationComplete="initTree()"/>
> 
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] expandItem() not working on my tree :(

2006-08-11 Thread fuad_kamal
I can't get expandItem() to work; anyone see the problem in my code? 
I want to automatically expand the first node on the tree.
---


http://www.adobe.com/2006/mxml";
layout="absolute">













   










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Just MXML and AS3

2006-08-01 Thread fuad_kamal
Cool.  BTW, Adrew Trice/Keun Lee - if you're reading this - what's the
Cynergy blog based on?  Is it an off-the-shelf solution or an in-house
ap?  I like the fact that you embed the swf's in the page in addition
to the source code.

-fuad

--- In flexcoders@yahoogroups.com, "Ted Patrick" <[EMAIL PROTECTED]> wrote:
>
> Fuad,
> 
>  
> 
> The form only supports one file today. :-)
> 
>  
> 
> I am working on a solution to this but I want to make sure things remain
> simple.
> 
>  
> 
> Ted :-)
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of fuad_kamal
> Sent: Tuesday, August 01, 2006 12:17 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Just MXML and AS3
> 
>  
> 
> Hey, the blog is cool, but what if you wanted to share an example with
> more than one file? e.g. mxml file that relies on a custom AS3 class?
> your form only allow posting of one file.
> 
> thanks
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "Ted Patrick"  wrote:
> >
> > I wanted to let everyone know about a simple publishing option for
> MXML
> > and AS3 examples. I put together a new blog where I am syndicating
> MXML
> > and AS3 examples and components. Authors get named credit in every
> post
> > title and it is a simple way to share code/knowledge.
> > 
> > 
> > 
> > Just MXML and AS3 - A title, MXML or ActionScript 3, and nothing more.
> > 
> > 
> > 
> > Form http://www.onflex.org/code/form/
> <http://www.onflex.org/code/form/> 
> > <http://www.onflex.org/code/form/ <http://www.onflex.org/code/form/> >
> 
> > 
> > Blog http://www.onflex.org/code/ <http://www.onflex.org/code/>
> <http://www.onflex.org/code/ <http://www.onflex.org/code/> > 
> > 
> > 
> > 
> > Post Code, Share, Get Credit, Have Fun!
> > 
> > 
> > 
> > Regards,
> > 
> > 
> > 
> > Ted Patrick
> > 
> > Flex Evangelist
> > 
> > Adobe Systems Incorporated
> >
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] alternative regex delimeters

2006-08-01 Thread fuad_kamal
Just complaining...

As a perl hacker in the AS3 world, I make heavy use of RegEx...
It would be nice if Adobe would supply alternative delimeters for
strings other than single & double quotes (for example when your
string contains double and single quotes, and its too much trouble to
escape every quote - if that's even possible, which I can't recall at
the moment), and alternative delimeters for RegExp other than //.  It
would make for a lot more readable code...

var pattern : RegExp = /\/\/.*?\//gis; //yes it comes up often

On top of that, Eclipse seems to get easily confused with its color
coding when it comes to RegEx... /.../ and everything in between
starts out red, but as you add to the expression it goes into color
limbo land, changing colors on the pattern with no seeming logic.

And how the heck do you use a variable in a AS3 regex?

Complaints aside, hey I flipped out when they introduced RegEx support
in AS3. \;)






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Just MXML and AS3

2006-08-01 Thread fuad_kamal
Hey, the blog is cool, but what if you wanted to share an example with
more than one file?  e.g. mxml file that relies on a custom AS3 class?
 your form only allow posting of one file.

thanks

--- In flexcoders@yahoogroups.com, "Ted Patrick" <[EMAIL PROTECTED]> wrote:
>
> I wanted to let everyone know about a simple publishing option for MXML
> and AS3 examples. I put together a new blog where I am syndicating MXML
> and AS3 examples and components. Authors get named credit in every post
> title and it is a simple way to share code/knowledge.
> 
>  
> 
> Just MXML and AS3 - A title, MXML or ActionScript 3, and nothing more.
> 
>  
> 
> Form  http://www.onflex.org/code/form/
>  
> 
> Blog  http://www.onflex.org/code/  
> 
>  
> 
> Post Code, Share, Get Credit, Have Fun!
> 
>  
> 
> Regards,
> 
>  
> 
> Ted Patrick
> 
> Flex Evangelist
> 
> Adobe Systems Incorporated
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Is there a way to put a close X on the tabnavigator

2006-08-01 Thread fuad_kamal
It's been done, here's a working example from Keun Lee of Cynergy:

http://cynergysystems.com/blogs/page/keunlee?entry=tab_navigator_component_w_an

--- In flexcoders@yahoogroups.com, "flxcoder" <[EMAIL PROTECTED]> wrote:
>
> >
> > I have a way of removing the tab from the tabnavigator using
> > tabs.removeTabAt(x), but I am looking for a way to add an X on top of
> > the tab, something similar to the way editors in eclipse do.
> >
> > any clues?
> >
> any ideas?
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] AS_Style && Eclipse | FB hiccups

2006-07-27 Thread fuad_kamal
question for you Eclipse veterans out there:
is there a way to change automatic code styling options in FlexBuilder?

e.g. when I create a new class or function, FB autoformats like:

myFunct
{


}


which I find annoying and manually reformat to 

myFunct{

}

Also, has anyone else had issues with customs views/perspectives in
FB?  I work on dual and triple-monitor setups and have saved various
perspectives, which are great when they work, but sometimes FB refuses
to switch to the custom perspective and I am forced to work in the
default debugging or devlopment perspectives only.  The only way I
found to resolve this is to close and restart FB.

thanks!





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] AS2 -> AS3 Question - onReleaseOutside()?

2006-07-24 Thread fuad_kamal
There's a doc out on AS2 -> AS3 conversions:
http://livedocs.macromedia.com/flex/2/langref/migration.html

For the AS2 onReleaseOutside() EventHandler it says this is now
handlded  by a mouseUp event after a call to
flash.display.InteractiveObject.setCapture().  However, I don't find
any setCapture() method or inherited method on
InteractiveObject...anyone have a clue?







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/