RE: [flexcoders] Cannot get any effects to work

2006-11-04 Thread Dustin Mercer
instead of the showEffect, use creationCompleteEffect.  Show effect will only 
play when the control / container visible property is set to true, which 
doesn't happen on initial load.  I have had this problem before and it seems 
confusing.  Logically, one would think the show effect is the correct effect to 
use, but it really only works when the item is in a TabNavigator, Viewstack, 
Accordian... it's because those set the containers visible property when 
changing from one view to the other, in turn, causing the show effect to play.  
 
Play around with the show effect by putting some containers in a viewstack, 
you'll see the difference.  Also, the creation complete only plays once.  The 
showEffect can play as much as you move around in the viewstack :)



From: flexcoders@yahoogroups.com on behalf of dorkie dork from dorktown
Sent: Sat 11/4/2006 10:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cannot get any effects to work



How come this code does not work? It seems straigt forward. I just
want the header to fade in and slide in from the top when the
application first starts. Why does flex hate me? I hope you can help
or else I will be execute.


http://www.adobe.com/2006/mxml 
 "
layout="absolute"
backgroundColor="0xFF">


















 


--
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/
 
<>

RE: [flexcoders] Cannot get any effects to work

2006-11-04 Thread Iko Knyphausen














Try the same without curlies {}, i.e. use showEffect=”move1”
instead of “{move1}”. If that does not work, you can always use the
target property in the effect, and run a play() on the effect from any handler,
like the show handler.

 







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dorkie dork from dorktown
Sent: Saturday, November 04, 2006
10:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cannot get
any effects to work



 







How come
this code does not work? It seems straigt forward. I just
want the header to fade in and slide in from the top when the
application first starts. Why does flex hate me? I hope you can help
or else I will be execute.

8"?>
http://www.adobe.com/2006/mxml"
layout="absolute"
backgroundColor="0xFF">


"#00"
height="100"
verticalAlign="bottom" paddingBottom="10"
paddingLeft="10"
showEffect="{move1}">
>

fontFamily="Georgia"
textAlign="left"/>


backgroundColor="#9c1f4a" verticalAlign="middle"
color="#ff">









__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Cannot get any effects to work

2006-11-04 Thread dorkie dork from dorktown
How come this code does not work? It seems straigt forward. I just
want the header to fade in and slide in from the top when the
application first starts. Why does flex hate me? I hope you can help
or else I will be execute.



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


















--
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: refering to an MXML element in an event handler

2006-11-04 Thread Mark Piller
Thank you everyone who helped me out! currentTarget on the event
object definitely gets me the right reference.

Cheers,
Mark

--- In flexcoders@yahoogroups.com, "Iko Knyphausen" <[EMAIL PROTECTED]> wrote:
>
> Here is a little example... watch the control walk the walk while
you are
> typing...
> 
>  
> 
> 
> 
> http://www.adobe.com/2006/mxml";
layout="absolute">
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
> 
>  
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Mark Piller
> Sent: Saturday, November 04, 2006 6:18 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] refering to an MXML element in an event handler
> 
>  
> 
> Suppose I have the following MXML declaration:
> 
> 
> 
> 
> 
> Notice in the "added" handler I use "this" hoping that the scope of
> "this" is the actual Text element. My thinking is incorrect and the
> debugger shows that "this" refers to the top level container (the one
> defined in the same MXML page). So my question is: is there a way to
> refer to that Text element *without* assigning an id to it. I assume
> the following would work, but it is really not ideal for my use-case:
> 
> 
>  added="addLabel(myText)" />
> 
> 
> Thanks,
> Mark
>





--
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/
 



RE: [flexcoders] refering to an MXML element in an event handler

2006-11-04 Thread Iko Knyphausen














Here is a little example... watch the control walk the walk
while you are typing...

 





  

    

  

  



 

 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mark Piller
Sent: Saturday, November 04, 2006
6:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] refering to
an MXML element in an event handler



 







Suppose I have the following MXML declaration:





Notice in the "added" handler I use "this" hoping that the
scope of
"this" is the actual Text element. My thinking is incorrect and the
debugger shows that "this" refers to the top level container (the one
defined in the same MXML page). So my question is: is there a way to
refer to that Text element *without* assigning an id to it. I assume
the following would work, but it is really not ideal for my use-case:



added="addLabel(myText)" />


Thanks,
Mark






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] refering to an MXML element in an event handler

2006-11-04 Thread Iko Knyphausen














I have been struggling with the same (old JS habit) – I think you
could dispatch an event and read the event object currentTarget property..







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mark Piller
Sent: Saturday, November 04, 2006
6:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] refering to
an MXML element in an event handler



 







Suppose I have the following MXML declaration:





Notice in the "added" handler I use "this" hoping that the
scope of
"this" is the actual Text element. My thinking is incorrect and the
debugger shows that "this" refers to the top level container (the one
defined in the same MXML page). So my question is: is there a way to
refer to that Text element *without* assigning an id to it. I assume
the following would work, but it is really not ideal for my use-case:



added="addLabel(myText)" />


Thanks,
Mark






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: container transparency does not apply to the Text children

2006-11-04 Thread Mark Piller
Gordon,

You are absolutely correct. That's exactly the reason why my text does
not inherit parent container's transparency setting.

Thank you for your help.

Mark

--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> I think Mark's problem is that alpha doesn't apply to system fonts. You
> have to use embedded fonts if you want to fade them. This is a
> limitation of the Flash Player.
> 
>  
> 
> - Gordon
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Igor Costa
> Sent: Friday, November 03, 2006 10:43 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] container transparency does not apply to the
> Text children
> 
>  
> 
> parentDocument.idText.alpha = 0.3;
> 
> 
> It works.
> 
> On 11/4/06, Mark Piller <[EMAIL PROTECTED]
>  > wrote:
> 
> I have a container (I tried VBox and Panel) that contains several Text
> and Label components. If I change the alpha property for the
> container, I get some transparency for the background, but not the
> children. Is there a trick I am missing? Is there a simple way to
> apply the transparency to everything a container contains?
> 
> Thanks,
> Mark
> 
> 
> 
> 
> -- 
> 
> Igor Costa
> www.igorcosta.com 
>





--
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] refering to an MXML element in an event handler

2006-11-04 Thread Mark Piller
Suppose I have the following MXML declaration:





Notice in the "added" handler I use "this" hoping that the scope of
"this" is the actual Text element. My thinking is incorrect and the
debugger shows that "this" refers to the top level container (the one
defined in the same MXML page). So my question is: is there a way to
refer to that Text element *without* assigning an id to it. I assume
the following would work, but it is really not ideal for my use-case:





Thanks,
Mark





--
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/
 



RE: [flexcoders] How can I DISABLE THE STUPID SPACE BAR GLOBALLY?

2006-11-04 Thread Gordon Smith












You can't turn off the KeyboardEvents that
the Flash Player dispatches. But you can stop components from listening to
them.

 

In the Button source code, I see

 

    override protected function
keyDownHandler(event:KeyboardEvent):void

    {

    if (!enabled)

    return;

 

    if (event.keyCode ==
Keyboard.SPACE)

    buttonPressed();

    }

 

    override protected function
keyUpHandler(event:KeyboardEvent):void

    {

    if (!enabled)

    return;

 

    if (event.keyCode ==
Keyboard.SPACE)

    {

    buttonReleased();

 

    if (phase == ButtonPhase.DOWN)

    dispatchEvent(new
MouseEvent(MouseEvent.CLICK));

    phase = ButtonPhase.UP;

    }

    }

 

So you could write a BetterButton subclass
and override these two handlers to not respond to the SPACE key. Then you'd use
 everywhere instead of 

 

- Gordon

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of jpc14_99
Sent: Saturday, November 04, 2006
3:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How can I
DISABLE THE STUPID SPACE BAR GLOBALLY?



 







Trouble!

So I found out today that the spacebar fires a click event on the last
focused button.

This includes hidden buttons, buttons in other states, and even
mouseEnabled = false buttons!! (The last one has to be a bug, why
would anyone want to allow keyboard 'clicks' on a button when they
aren't allowing mouse clicks on it.)

So basically I'm running around re-writing my event handlers for every
single button to ignore these spacebar triggers.

Is there someway I can just turn off this stupid spacebar from firing
the events?

Thanks!

Jamie






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Escaping textArea HTML to pass back to WebService...

2006-11-04 Thread jamiebadman
Hi,

I need to 'escape' the html text from a textArea to pass back to a
WebService. I wondered if anyone out there has already written a
convenient function to accomplish this in its entirety ? If you have
and you're willing to share, please let me know. If no one's done this
yet (and I'm not barking up the wrong tree entirely!) then I'll share
when I've done it.

Anyway, let me know if you can help (or if I'm going in a wrong/stupid
direction).

Cheers,

Jamie.




--
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: Shortcut for creating and dispatching events

2006-11-04 Thread Derrick Grigg
I'm assuming you are using Cairngorm. If so your model will also need 
to use the EventDispatcher or CairngormEventDispatcher class to 
dispatch the event since the Model does not have that built in 
natively.

Derrick

-
Derrick Grigg
www.dgrigg.com




--
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: Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of st

2006-11-04 Thread ncr100

--- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]>
wrote:
>
> Beeing able to dispatch events while we are dispatching an event is
> the expected behaviour. ActionScript doesn't have threads, so it's
> threadsafe per definition. In other words, it never happens, that an
> event interrupts a running method. If you dispatch an event while you
> are in another event handler, the new event is completely handled
> before the remaining handlers of the initial event are called. It's
> just simple method calls.
>
> 1 dispatch event 1
> 2   handle event 1
> 3   dispatch event 2
> 4   handle event 2
> 5   handle event 2
> 6handle event 1
> 7handle event 1
>
> So what is the exact problem you see? An exception in line 2 doesn't
> stop the rest of the handling?
>
> Cheers,
> Ralf.
>
> On 11/4/06, ncr100 [EMAIL PROTECTED] wrote:
> > This is a complex one.
> >
> > Summary:
> >
> > I believe I'm not confused with try/catch, but am surprised that the
> > EventDispatcher assumes our code is reentrant.  Reentrant like the
> > EventDispatcher is dispatching a system Event in the middle of me
> > handling other events.  So we're vulnerable to reentrant callbacks
> > when we call EventDispatcher.dispatchEvent.
> >
> > Details:
> >
> > Normally when an null dereference happens an Error is propagated up
> > the call stack to a catch handler.
> >
> > The bug is this: if in the middle of this call stack there happens
to
> > be an EventDispatcher.dispatchEvent call and the null pointer
happens
> > somewhere inside one of the listeners, then the Flash VM runtime
> > thingy / implementation of dispatchEvent() itself seems to catch &
> > handle the Error, and takes the opportunity to dispatch a pending
> > Events.  In my case I've seen a ProgressEvent.SOCKET_DATA being
> > dispatched because my server pumped out some data to me really
> > quickly, though I assume any pending Event could be dispatched.
> >
> > This really causes havoc because our methods aren't reentrant; flash
> > isn't multithreaded afaik and we don't think we have to write
> > everything thread-safe.
> >
> > Here's an illustration I will walk through.  At the start of the
stack
> > our DTVSocket.onSocketConnect listens for an
> > ProgressEvent.SOCKET_DATA, and just got one.  Notice for now the
> > EventDispatcher [no source] in the middle of the stack trace. 
Capping
> > off the stack trace, see our TextUtil.setText method ... it is doing
> > something bad, and has just triggered a null pointer exception!
> >
> > dtv.util::TextUtil$/setText   (BANG!  null pointer exception)
> > MarbachViewer/MarbachViewer::createChannelCanvas
> > MarbachViewer/MarbachViewer::subscribeToChannel
> > MarbachViewer/MarbachViewer::onConnected
> >
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven\
tFunction
> > [no source]
> > flash.events::EventDispatcher/dispatchEvent [no source]
> > dtv.util::DTVSocket/dtv.util:DTVSocket::dispatchOnConnectedEvent
> > dtv.util::DTVSocket/dtv.util:DTVSocket::onReceivedSessionTicket
> > Function/http://adobe.com/AS3/2006/builtin::call [no source]
> > dtv.util::DTVSocket/dtv.util:DTVSocket::onJSON
> > dtv.util::DTVSocket/dtv.util:DTVSocket::onData
> > dtv.util::DTVSocket/dtv.util:DTVSocket::onSocketData
> >
> >
> > Now notice in this second shorter trace the stack has been unwound
up
> > to the dispatchEvent, but no further.  onSocketData was just passed
a
> > second, new ProgressEvent.SOCKET_DATA.  It must be that
> > EventDispatcher.dispatchEvent caught my setText's null pointer
> > exception and dispatched some additional socket data to my
> > ProgressEvent.SOCKET_DATA listener.  onSocketData is not thread
safe.
> >   and bad stuff will happen very soon after in our code.
> >
> > dtv.util::DTVSocket/dtv.util:DTVSocket::onSocketData(WHOA! Not
good)
> >
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven\
tFunction
> > [no source]
> > flash.events::EventDispatcher/dispatchEvent [no source]
> > dtv.util::DTVSocket/dtv.util:DTVSocket::dispatchOnConnectedEvent
> > dtv.util::DTVSocket/dtv.util:DTVSocket::onReceivedSessionTicket
> > Function/http://adobe.com/AS3/2006/builtin::call [no source]
> > dtv.util::DTVSocket/dtv.util:DTVSocket::onJSON
> > dtv.util::DTVSocket/dtv.util:DTVSocket::onData
> > dtv.util::DTVSocket/dtv.util:DTVSocket::onSocketData
> >
> >
> > So the deal is this: Beware of event listener entry-points being
> > called in a reentrant fashion if your app is handling an exception.
> > Kind of like someone hitting you when you're down, flash is asking
for
> > your app to do stuff when it's crippled.
> >
> > A solution is to wrap the guts of all entry points in try/catch
> > handlers.  Or maybe only for high-frequency entry points.
> >
> > I looked thru these links for insight, perhaps hints indicating this
> > kind of behavior but didn't find it:
> >
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp\
.htm?href=1890.html
>

[flexcoders] Re: How can I DISABLE THE STUPID SPACE BAR GLOBALLY? **SOLVED** (kindof)

2006-11-04 Thread jpc14_99
so i added a focusIn statement to each of my button declarations and
that does the trick.  The buttons give up focus as soon as they get it
(to some other component) so the spacebar doesn't trigger them.

Still would like to know how you can just disable the spacebar.




Just adding this focusIn statement to each button is a lot easier than
re-writing your clickHandlers to ignore the spacebar click.





--
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/
 



Re: [flexcoders] Hyperlink to an elemment in textarea

2006-11-04 Thread Pat Buchanan



Hey thanks for answering Mike.  I already have it working that way, but it seems like WAY too much work when all I want to do is call a function and pass some parameters.Once I saw someone mention the possibility of using the "actionscript:myFunction()" approach, it seemed MUCH cleaner.  My problem with the event approach is this - how do I pass parameters?
Here is my current test code:http://www.adobe.com/2006/mxml
" layout="absolute" creationComplete="initApp()">                             
    Anyone?THANKS!-PatOn 11/3/06, Mike Keesey <
[EMAIL PROTECTED]> wrote:
http://livedocs.macromedia.com/flex/2/langref/flash/events/TextEvent.htmlUse the "event:" protocol for the link, and the text field will dispatcha TextEvent event.―Mike Keesey
-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Pat Buchanan
Sent: Friday, November 03, 2006 7:28 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Hyperlink to an elemment in textarea"...The href attribute can be a url as usual, or it can be
"actionscript:myFunction()"..."Pinging this thread. Anyone know how this is done? My searches areturning up more garbage than gold.My goal is this: I want an HTML textarea that allows for linking to
other areas in the application. Like a help or quickstart page - theyjust click on what they want to do and it runs some actionscript to takethem to the right tag/page/control.Thanks everyone!On 7/5/06, Tracy Spratt <
[EMAIL PROTECTED]> wrote:If you use the htmlText property of the textArea, you can use a subsetof html tags, including the  tag. The href attribute can be a url
as usual, or it can be "actionscript:myFunction()" (maybeactionscript:parent.myFunction()) I haven't done this in 2.0 yet so Idon't have a full example.TracyFrom: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of tonyx_788Sent: Wednesday, July 05, 2006 4:34 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Hyperlink to an elemment in textareahello,is it posible?i know in xml this is a hyperlink to a web pagebut how do i make a link in a textarea to an elemment in the xml?what i want to do is reference a word or a phrase to another text inthe xml like in html--Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] hostmysite.com...RemoteObject not working

2006-11-04 Thread Pat Buchanan



The last time I spoke with HostMySite, they did not support it, however they had it in a "test" environment and was planning on deploying it eventually.  They would not give me a hard date, sorry.  However, I would email them anyway and apply the pressure.  :)
Thanks-PatOn 11/4/06, qnotemedia <[EMAIL PROTECTED]> wrote:













  



Hi all - back from MAX, and I'm finally using RemoteObject!

I have a simple calendar application.  All is working fine with my 
dev copy of ColdFusion, but when I put it up on hostmysite.com it 
fails to connect - error follows at the end of this post.  The 
remoteobject looks like this.


  id="calendarRO" destination="ColdFusion"
  source="g3calendar.cfcs.CalendarGateway">



I have tried with and without "g3calendar" in the source, though I 
think its finding the CFC, because instead, I would get a "CFC not 
found" right?

I used the make CFCs wizard in Flex Builder 2.
They do have the servers updated to v7.02.
I have double-checked that the datasource is working.
I have made a CFMapping to the g3calendar folder.
Other Flex Apps work fine via WebService and HTTPService.

Here is the error - not quite sure how to toubleshoot this!

- Chris

[RPC Fault faultString="Send failed" 
faultCode="Client.Error.MessageSend" 
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: 
HTTP: Status 500"]
	at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa
ultHandler()
	at mx.rpc::Responder/fault()
	at mx.rpc::AsyncRequest/fault()
	at mx.messaging::ChannelSet/::faultPendingSends()
	at mx.messaging::ChannelSet/channelFaultHandler()
	at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv
entFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
	at 
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingCha
nnel::connectFailed()
	at 
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::st
atusHandler()


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] How can I DISABLE THE STUPID SPACE BAR GLOBALLY?

2006-11-04 Thread jpc14_99
Trouble!

So I found out today that the spacebar fires a click event on the last
focused button.

This includes hidden buttons, buttons in other states, and even
mouseEnabled = false buttons!! (The last one has to be a bug, why
would anyone want to allow keyboard 'clicks' on a button when they
aren't allowing mouse clicks on it.)

So basically I'm running around re-writing my event handlers for every
single button to ignore these spacebar triggers.

Is there someway I can just turn off this stupid spacebar from firing
the events?


Thanks!

Jamie




--
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: DataGrid header

2006-11-04 Thread Oliver Merk
showHeaders="false"

--- In flexcoders@yahoogroups.com, "kb_karthi" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am new to Flex 2.0.Can anybody tell me how to turn off a datagrid 
> header and just display the rows?
>





--
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/
 



RE: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-04 Thread Dustin Mercer
Yeah, this one is annoying.  I don't use the Compile locally option just 
because of this issue.  I have it compile on the server.  Definately something 
that should be filed with Adobe though.  I keep meaning to file a wish request 
for this, I'll make some time to do that today.
 
Dustin Mercer



From: flexcoders@yahoogroups.com on behalf of hank williams
Sent: Sat 11/4/2006 5:44 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat 
webapps folder



Ok, looking at this somemore, I think this is most likely a design bug
in flex builder.

There is no reason for flex builder to prevent the user from
specifying any folder he likes for the build output. For FDS
applications, it seems the flex builder is limited to generating
compiler output in a folder that is inside the web application
folder. While the intentions are good, FDS should certainly not
prevent the user from placing the output in root of the web
application folder and not in a folder inside the web application
folder.

in other words flexbuilder will build this

webapps
mywebappfolder
myflexappfolder
yada.html
yada.swf

but flexbuilder will not build this:

webapps
mywebappfolder
yada.html
yada.swf

which makes it very hard to make an app domain
www.appname.com

instead of
www.appname.com/somefoldername

without apache or some other indirection

Regards
Hank

On 11/4/06, hank williams <[EMAIL PROTECTED]  > 
wrote:
> It sounds like you are letting FDS compile for you on the server. I am
> compiling on the client.
> To restate, hopefully, more clearly my problem, it is as follows:
>
> I want my swf and html output files to be inside:
> webapps/
>
> instead of:
> webapps//
>
> I am not able to get flexbuilder to do this. The place to do it would
> be in the properties panel for the flex-app->Flex Build Path -> output
> folder.
>
> But the dialog requires me to enter a folder name which will be placed
> inside the  folder. When I try to leave this field
> blank, which would, conceptually, achieve the goal because the screen
> states that the path is relative to , flex builder
> generates an error. Entering a full path i.e. C:\..., I dont get the
> error, but flexbuilder refuses to compile the app.
>
> The reason I want to do this is so that my url does not need to be
>
> www.somedomain.com/flex-app-name
>
> Thanks
> Hank
>
>
>
> How
> On 11/2/06, Nick Rothwell <[EMAIL PROTECTED]  > 
> wrote:
> >
> > On 1 Nov 2006, at 22:22, hank williams wrote:
> >
> > > I dont see how you avoid this since servlet containers require that
> > > the WEB-INF folder be in the root directory of the application, but
> > > this is not how flex structures things. With Flex/FDS there is the
> > > your webapp directory which is inside webapps, and then a sub
> > > directory, for the flex application
> >
> > I'm not sure I follow. I have FDS in Tomcat configured with
> >
> > webapps//WEB-INF/ (and then flex/, lib/ etc.)
> >
> > and
> >
> > webapps//
> >
> > and the context prefix is .
> >
> > In any case, I tend to solve URL mapping issues by bolting Apache on
> > the front of the app and using the reverse proxy module...
> >
> > -- N.
> >
> >
> > nick rothwell -- composition, systems, performance -- http://
> > www.cassiel.com
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
>


 


--
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: Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of st

2006-11-04 Thread ncr100
NOTE: Forgive me for replying twice. The "Rich-Text Editor (Beta)"
seems to not be posting my replies, only the ">" content.
-Nick

- - - 

Hi Ralf - thanks for the help figuring out and thinking about this
problem -

About your diagram, I am getting an exception in line 4 which caused
unrolling up to line 3 which unexpectedly starts dispatching more
events of types >not< dispatched in line 3.

Yeah so I agree, all handlers registered to listen to a particular
event type on a given object instance should be called when an event
of that type is dispatched from that object.  I also agree there
should be no unexpected interruption of my single thread.  And that if
I synchronously dispatch an event then that will be handled by all
listeners synchronously one after the other.

But my understanding about asynchronous events (like new socket data,
or Timer callbacks) is that they are delivered so they enter at the
top of the execution stack, being passed to all registered event
handlers synchronously one after the other.

The problem is what I'm seeing is unexpected calls in the middle of my
stack.

Check this out: I'm handling an event of one type
ProgressEvent.SOCKET_DATA and I need to do some dispatching of my own,
a custom "NavigationEvent" event.  The dispatcher correctly delivers
my NavigationEvent synchronously while I wait blocked on that
dispatch.  But then I am surprised as the dispatcher takes the
opportunity I've given it to dispatch not only my event but it starts
to deliver other events: more ProgressEvent.SOCKET_DATA's that have
queued up and other queued events.  The socket data ProgressEvent is
recursively delivered to my 'onSocketData', recursively because this
new socket data event is delivered while I'm handling the prior socket
data ProgressEvent listening 'onSocketData', in the same call stack,
and it causes havoc.

I wasn't expecting my synchronous call to the dispatcher to dispatch
events other than the one I asked it to dispatch.  "Do what I say, not
what you're doing." is what I am saying to myself as I see this.

Diagrams do rock so I tweaked your illustration to match my situation:

1 OS dispatches event A
2 I handle event A .. there may be a Function.call higher in the stack ..
3 I dispatch event B synchronously
4 I handle event B deeper in this stack
5 I handle event B in my other registered listener after returning
from 4 .. I throw a null pointer exception ..
6 I am unexpectedly handling event C after returning from 5.  Then I
crash.  The dispatcher at 3 just dispatched C unexpectedly.

I never return from my synchronous call to the dispatcher to the next
line of code after "3" was called...also all of the code in 4-7 is in
the same call stack started at 1.  This event C is unexpected.  I
didn't dispatch it in 3, the OS/Adobe EventDispatcher did.

I think the OS should have waited until I returned from my "A" handler
entry point 2 before it dispatched C.  To me that "gotta send 'em all
right now" behavior is unusual.

So, are you saying that it is in fact usual for C events to be
dispatched at any opportunity I give the event dispatcher to dispatch
events?  And consequentially that I'm in store for inspection /
tweaking to my event listener entry points, making them guard against
recursive calls?  My weekend will turn dark and gloomy if so.

Or is there really a bug in the EventDispatcher code..?  I'm
suspicious of the Function.call() code as I've only seen this
"dispatch all pending" behavior deeper in the stack after one of those
is higher in the stack, as yet.  Either way I think my weekend is
gonna be gloomy.

Or...?

Danke, thanks again for the assistance,
Nick
San Francisco, CA USA




--
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] DataGrid header

2006-11-04 Thread kb_karthi
Hi,
I am new to Flex 2.0.Can anybody tell me how to turn off a datagrid 
header and just display the rows?




--
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/
 



RE: [S] RE: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Gordon Smith
It "resets" the project to a not-built state, including discarding any outputs 
from a previous build.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dkerr
Sent: Saturday, November 04, 2006 9:04 AM
To: flexcoders@yahoogroups.com
Subject: [S] RE: [flexcoders] Unable to build application from flex buider

What does Clean do?  Just curious.
Don

-Original message-
From: Sönke Rohde [EMAIL PROTECTED]
Date: Sat, 04 Nov 2006 11:49:01 -0600
To: flexcoders@yahoogroups.com
Subject: [S] RE: [flexcoders] Unable to build application from flex buider

> Hi,
> 
> Try Project->Clean and a restart of Flex Builder will do no harm.
> 
> Cheers,
> Sönke 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of teamria
> > Sent: Saturday, November 04, 2006 1:11 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Unable to build application from flex buider
> > 
> > Hello Group,
> > 
> > I am facing problems while deploying application from flex builder. I
> > am getting message "File not found in bin directory". Files are not
> > getting complile nor generated in Bin folder of the project. Please
> > help me.
> > 
> > Thanks in advance
> > vijay
> > 
> > 
> > 
> > 
> > --
> > 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
> > 
> > 
> > 
> > 
> > 
> 
> 
> 


--
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






--
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/
 



RE: [flexcoders] resize dataGrid using creationComplete

2006-11-04 Thread Gordon Smith












What object is null? target?
target.dataProvider? resizeLarge? We'd need to know how you're setting these.

 

Also, there should be no need to pass a
reference to the DataGrid to this method as a 'target' parameter. If the
DataGrid has id="myDataGrid", then any method in the same script can
just access myDataGrid.

 

- Gordon

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pdflibpilot
Sent: Saturday, November 04, 2006
6:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] resize
dataGrid using creationComplete



 







I am trying to "grow" the dataGrid to
display only as many rows as the
dataProvider contains. I am trying to use the creationComplete to
invoke the ActionScript. Any suggestions as to how to overcome this
problem of a "null object" as noted in my code below.

public function growDG(eventObj:Event,target):void {

// this line is throwing the exception as a null object
var len = target.dataProvider.length;

var endSize = len * 25;
resizeLarge.target=target;

// Set resized width and height, and effect duration.
resizeLarge.startDelay = 1000;
resizeLarge.heightFrom = 50;
resizeLarge.heightTo = endSize;
resizeLarge.duration = 3000;

}






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [S] RE: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Sönke Rohde
It cleans the project ;)

Help->Help Contents->Enter "Project clean" and Go:

>From the help:
Performing a clean build
After a project has been built, subsequent builds affect only the resources
that have been added or modified. To force the Flex Builder compiler to
rebuild all resources in a project, you can perform a clean build. You might
perform a clean build if, for example, you want to eliminate all potential
sources of a problem you encountered when testing your application. 

To perform a clean build:
Select Project > Clean from the main menu. 
The Clean dialog box appears. 

Select the project (or projects) whose build files you want to discard and
rebuild from scratch. 
Click OK. 


Cheers,
Sönke

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dkerr
> Sent: Saturday, November 04, 2006 6:04 PM
> To: flexcoders@yahoogroups.com
> Subject: [S] RE: [flexcoders] Unable to build application 
> from flex buider
> 
> What does Clean do?  Just curious.
> Don
> 
> -Original message-
> From: Sönke Rohde [EMAIL PROTECTED]
> Date: Sat, 04 Nov 2006 11:49:01 -0600
> To: flexcoders@yahoogroups.com
> Subject: [S] RE: [flexcoders] Unable to build application 
> from flex buider
> 
> > Hi,
> > 
> > Try Project->Clean and a restart of Flex Builder will do no harm.
> > 
> > Cheers,
> > Sönke 
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of teamria
> > > Sent: Saturday, November 04, 2006 1:11 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Unable to build application from flex buider
> > > 
> > > Hello Group,
> > > 
> > > I am facing problems while deploying application from 
> flex builder. I
> > > am getting message "File not found in bin directory". 
> Files are not
> > > getting complile nor generated in Bin folder of the 
> project. Please
> > > help me.
> > > 
> > > Thanks in advance
> > > vijay
> > > 
> > > 
> > > 
> > > 
> > > --
> > > 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
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> 
> 
> --
> 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
> 
> 
> 
> 
> 



--
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] Slider thumb controlling playheadTime of VideoDisplay

2006-11-04 Thread Pascal Schrafl
Hi all,


I have a slider thumb and would like to controll the playheadTime of a 
VideoDisplay with it. I therefore use this code:


http://www.adobe.com/2006/mxml"; width="340" 
height="300">



http://www.online-editor.ch/flex/welcome.flv";
autoPlay="false" maintainAspectRatio="true" autoRewind="false" 
playheadUpdateInterval="250" bufferTime="5"
progress="playheadSlider.value = videoShow.playheadTime" 
progressInterval="250" />

 
 






Now, what happens is, that the slider thumb changes his position 
according to the playheadTime of the video. But when I drag the slider 
thumb with the mouse (and therefore fire the thumbDrag Event), the thumb 
jumps back to the playheadTime position. I think, this is so, because 
the progressInterval is set to 250 miliseconds and overrules the 
thumbDrag Event.
Can I somehow override the progress Event, so that when I drag the 
slider thumb, the playheadTime is adjusted?

Thanks a lot for your answer and best regards,


Pascal


--
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: FilteredLineSeries and Printing - ChartMan Ely, we need you!

2006-11-04 Thread Jonathan Miranda
My problem isn't the draw, because if I add the bitmap to the screen
ala this.addChild(tempUI), it works fine (aka it shows up on the
screen). It still prints blank though.also, the
printJobOptions.printAsBitmap=true also makes anything always show up
blank. Anyone actually used this before :) The example fails if you
add this, the example in the helpfile is wrong and there's no comments
on it in the live help.

Oh that and my bitmap has a white background even though I set
translucent to true when I make the bitmapdata. (var
myBMD   :BitmapData = new
BitmapData(myLineChart.width,myLineChart.height,true);)

Thanks for the FinePrint though.still stuck on this after a few
hours, so let me know if ya got any other ideas.

On 11/3/06, Ely Greenfield <[EMAIL PROTECTED]> wrote:
>
>
>
> Hmm...a couple of things...
>
> 1) try passing an identity matrix to the draw() function. I don't think
> it will make a difference...passing null should be the same thing...but
> it's worth a try.
>
> 2) I didn't realize your container was a sprite.  You can ditch the
> tempUI and just attach the bitmap to the sprite directly.  Probably
> won't help, but reducing complexity is good for reducing bugs.
>
> 3) I've had some funny behavior trying to draw() a component that's
> masked into a bitmap.  Your component might have a mask applied to it
> somewhere in its parent hierarchy, which could be causing problems.
>
> 4) rather than draw()ing the chart into the bitmap, try just filling the
> bitmap with a color and printing that.  See if that shows up. If it
> does, it's a problem with getting the bits into the bitmap. If it
> doesn't, it's a problem with printing a bitmap in general.
>
> 5) you probably already have figured out some other solution, but
> there's a software printer called FinePrint that comes in very handy
> when writing print code.  Wastes much less paper ;)
>
> Ely.
>
>
>
> -Original Message-
> From: Jonathan Miranda [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 03, 2006 1:23 PM
> To: Ely Greenfield
> Cc: flexcoders@yahoogroups.com
> Subject: Re: FilteredLineSeries and Printing - ChartMan Ely, we need
> you!
>
> Alright, first round at printingand after about 30 blank pages, I
> can't figure it out. Just doing an addChild to a sprite with the chart
> itself works fine. Creating the Bitmap/UI component like you said works
> fine - but printing it shows up as blank. Here's a real easy example you
> can use to see what I'm doing: if you uncomment the
> sprite.addChild(tempUI) and do addChild(myLineChart), it works fine.
>
> 
>  creationComplete="initApp()"
>
> xmlns:mx="http://www.adobe.com/2006/mxml";
> >
>
> 
> 
> 
>  click="printChart()"/>
>  dataProvider="{__alteredData}" width="100%" height="100%"
> showDataTips="true">
> 
>  dataProvider="{__alteredData}" categoryField="name"/>
> 
>
> 
> 
> 
> 
>
> 
>


--
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/
 



Re: [flexcoders] Re: Shortcut for creating and dispatching events

2006-11-04 Thread Michael Schmalle



Hi,It needs to be;model.dispatchEvent( new TextEvent(SEARCH_MACHINES,  false, false, String(dgItems.selectedItem.machine)));Peace, MikeOn 11/4/06, 
boy_trike <[EMAIL PROTECTED]> wrote:













  



The signature for the TextEvent already HAS the text property. 
 
from LiveDocs:	
TextEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, text:String = 
"")

I am just looking for the syntax for typing it on one line

thanks

bruce

--- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote:

>
> Hi Bruce,
> 
> you need to extend the constructor of TextEvent:
> 
> public function TextEvent( type : String, text : String ) ...
> 
> Cheers,
> Ralf.
> 
> On 11/4/06, boy_trike <[EMAIL PROTECTED]> wrote:
> > the 1st 3 lines work fine.  However, being a lazy programmer who does not want to 
type
> > much, I want to do something like the commented line, but I am missing something 
with the
> > syntax (since it does not work)
> >
> >
> > var event : TextEvent = new TextEvent(SEARCH_MACHINES);
> > event.text = dgItems.selectedItem.machine;
> > model.dispatchEvent( event );
> >
> > // model.dispatchEvent( new TextEvent(SEARCH_MACHINES,
> > {text:dgItems.selectedItem.machine} ));
> >
> >
> > thanks
> >
> > bruce
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> 
> 
> -- 
> Ralf Bokelberg <[EMAIL PROTECTED]>
> Flex & Flash Consultant based in Cologne/Germany
>


  













-- Teoti Graphixhttp://www.teotigraphix.comBlog - Flex2Componentshttp://www.flex2components.com
You can find more by solving the problem then by 'asking the question'.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Shortcut for creating and dispatching events

2006-11-04 Thread boy_trike
The signature for the TextEvent already HAS the text property. 
 
from LiveDocs:  
TextEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, 
text:String = 
"")

I am just looking for the syntax for typing it on one line

thanks

bruce

--- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote:
>
> Hi Bruce,
> 
> you need to extend the constructor of TextEvent:
> 
> public function TextEvent( type : String, text : String ) ...
> 
> Cheers,
> Ralf.
> 
> On 11/4/06, boy_trike <[EMAIL PROTECTED]> wrote:
> > the 1st 3 lines work fine.  However, being a lazy programmer who does not 
> > want to 
type
> > much, I want to do something like the commented line, but I am missing 
> > something 
with the
> > syntax (since it does not work)
> >
> >
> > var event : TextEvent = new TextEvent(SEARCH_MACHINES);
> > event.text = dgItems.selectedItem.machine;
> > model.dispatchEvent( event );
> >
> > // model.dispatchEvent( new TextEvent(SEARCH_MACHINES,
> > {text:dgItems.selectedItem.machine} ));
> >
> >
> > thanks
> >
> > bruce
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> 
> 
> -- 
> Ralf Bokelberg <[EMAIL PROTECTED]>
> Flex & Flash Consultant based in Cologne/Germany
>





--
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/
 



Re: [S] [flexcoders] hostmysite.com...RemoteObject not working

2006-11-04 Thread Dkerr
In CF Admin >> Flex Integration
Is Remoting enabled?

I'm experiencing a similar problem on my servers at NASA, but not on my own 
fusionpage.com servers.  Can't figure out why it works on one server and not 
the other. I get HTTP Status 404 even when using the CF App Wizards. I can 
connect to the CFC no problem via a .cfm page, but not Flex.

The only difference I can think of so far is that Flex Builder 2 is installed 
directly on my Fusionpage server, but not at NASA.  I think Flex Builder 2 has 
issues with where something is compiled vs. deployed and the location of the 
services-config.xml file in CFusionMX7\wwwroot\web inf\flex .  It may also be a 
problem with not using CFusionMX7\wwwroot are the root site path.  i.e. using 
IIS Virtual Directories. Still searching for a solution, but not much help from 
Forums/lists yet on this issue. 

Ben Forta and others at Adobe are helping me and if I get a resolution, I'll 
share it here.

Don







-Original message-
From: "qnotemedia" [EMAIL PROTECTED]
Date: Sat, 04 Nov 2006 11:10:04 -0600
To: flexcoders@yahoogroups.com
Subject: [S] [flexcoders] hostmysite.com...RemoteObject not working

> Hi all - back from MAX, and I'm finally using RemoteObject!
> 
> I have a simple calendar application.  All is working fine with my 
> dev copy of ColdFusion, but when I put it up on hostmysite.com it 
> fails to connect - error follows at the end of this post.  The 
> remoteobject looks like this.
> 
>id="calendarRO" destination="ColdFusion"
>   source="g3calendar.cfcs.CalendarGateway">
> 
> 
> 
> I have tried with and without "g3calendar" in the source, though I 
> think its finding the CFC, because instead, I would get a "CFC not 
> found" right?
> 
> I used the make CFCs wizard in Flex Builder 2.
> They do have the servers updated to v7.02.
> I have double-checked that the datasource is working.
> I have made a CFMapping to the g3calendar folder.
> Other Flex Apps work fine via WebService and HTTPService.
> 
> Here is the error - not quite sure how to toubleshoot this!
> 
>  - Chris
> 
> [RPC Fault faultString="Send failed" 
> faultCode="Client.Error.MessageSend" 
> faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: 
> HTTP: Status 500"]
>   at 
> mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa
> ultHandler()
>   at mx.rpc::Responder/fault()
>   at mx.rpc::AsyncRequest/fault()
>   at mx.messaging::ChannelSet/::faultPendingSends()
>   at mx.messaging::ChannelSet/channelFaultHandler()
>   at 
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv
> entFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
>   at 
> mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingCha
> nnel::connectFailed()
>   at 
> mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::st
> atusHandler()
> 
> 
> 
> 
> 


--
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/
 



[S] RE: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Dkerr
What does Clean do?  Just curious.
Don

-Original message-
From: Sönke Rohde [EMAIL PROTECTED]
Date: Sat, 04 Nov 2006 11:49:01 -0600
To: flexcoders@yahoogroups.com
Subject: [S] RE: [flexcoders] Unable to build application from flex buider

> Hi,
> 
> Try Project->Clean and a restart of Flex Builder will do no harm.
> 
> Cheers,
> Sönke 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of teamria
> > Sent: Saturday, November 04, 2006 1:11 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Unable to build application from flex buider
> > 
> > Hello Group,
> > 
> > I am facing problems while deploying application from flex builder. I
> > am getting message "File not found in bin directory". Files are not
> > getting complile nor generated in Bin folder of the project. Please
> > help me.
> > 
> > Thanks in advance
> > vijay
> > 
> > 
> > 
> > 
> > --
> > 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
> > 
> > 
> > 
> > 
> > 
> 
> 
> 


--
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/
 



RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?

2006-11-04 Thread Dimitrios Gianninas





The purpose of the ViewLocator/ViewHelper was to allow 
Commands to update one or many views based on successful execution of the 
command. But with Data Binding being as powerful as it is (almost as powerful as 
The Force itelf) it was determined that this was the best solution as it also 
offered better de-coupling.
 
In the example you mentioned below, I dont see were 
your need a ViewLocator/ViewHelper. You are simply doing component manipulation, 
so the only thing you need is a smart component to handle all this. Unless the 
reason you are asking for this is because you plan to put the pin/un-pin code in 
a command. I would just put it straight into my smart 
component.
 

 
   
  public function pin( 
comp:UIComponent ):void {
 
...
  }
 
   public function unpin( 
comp:UIComponent ):void {
 
...
   }
   
 
   
   

 
Hope that helps in some way, unless I am not fuilly 
understanding what you mean.
 
Dimitrios 
Gianninas
RIA 
Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Brian 
HolmesSent: Friday, November 03, 2006 12:01 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm 
ViewHelper\ViewLocater Example?



Yes and no. We have hundreds of screens that we're putting 
in pop ups for the most part that the user can get to by using an 
application control bar navigation system. I want to give the user the ability 
to pin screens to thier "desktop" when they choose to so they can customize 
thier desktop with the applications they use most frequently. I have an array of 
the of screen names that I bind to the TileList. When a user pins a screen to 
thier desktop I wanted to just push it on the array and render the panel in the 
array. Or vice versa when a user "un-pins" a screen. They're not very large 
panels, mainly just small charts or other snippets of information. The actual 
panel being rendered would be a small or mini view of the application they were 
using, just enough to let them always know what's going on with that screen and 
allowing buttons or links back into the screen or application. Does that make 
more sense? 
 
Right now I'd settle on  just being able to 
dynamically render panels.
 
Thanks alot Dimitrios, I really appreciate you trying to 
help me out.
Brian. 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios 
GianninasSent: Friday, November 03, 2006 8:17 AMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Cairngorm 
ViewHelper\ViewLocater Example?

So the user sees like 4 panels in a tilelist and you want 
to make 3 disappear and only the selected one grow to full size? is that 
it?
 
Dimitrios 
Gianninas
RIA 
Developer
Optimal 
Payments Inc.
 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Brian 
HolmesSent: Thursday, November 02, 2006 12:16 PMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Cairngorm 
ViewHelper\ViewLocater Example?



Hi Dimitrios,
 Thanks for the reply. I have a list of configurable 
panels that I'm displaying in a TileList. The user needs to be able to choose 
which ones he/she would like to see. Based off this gesture I need a way to look 
up the appropriate panel and render it on thier screen. That's really what 
I'm trying to do.
 
Thanks,
Brian..
 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios 
GianninasSent: Thursday, November 02, 2006 7:49 AMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Cairngorm 
ViewHelper\ViewLocater Example?

We dont really advocate the use of the 
ViewHelper/ViewLocator any more, only in extreme cases. If you want to see 
an example, I believe if you download the Cairngorm 1.5 distribution it will 
contain it. But the real question is, why are you thinking of using 
it?
 
Dimitrios 
Gianninas
RIA 
Developer
Optimal 
Payments Inc.
 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Brian 
HolmesSent: Wednesday, November 01, 2006 12:23 PMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Cairngorm 
ViewHelper\ViewLocater Example?



Can someone point me 
to an implementation of a cairngorm view helper \ view locator 
example?
 
Thanks,
brian..



***The information in this e-mail is confidential and intended solely for 
the individual or entity to whom it is addressed. If you have received this 
e-mail in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.*** 



  
  

  AVIS 
  IMPORTANT

  WARNING
  

  Ce message 
  électronique et ses pièces jointes peuvent contenir des renseignements 
  confidentiels, exclusifs ou légalement privilégiés destinés au seul usage 
  du destinataire visé. L'expéditeur original ne renonce à aucun privilège 
  ou à aucun autre droit si le présent message a été transmis 
  involonta

Re: [flexcoders] Shortcut for creating and dispatching events

2006-11-04 Thread Ralf Bokelberg
Hi Bruce,

you need to extend the constructor of TextEvent:

public function TextEvent( type : String, text : String ) ...

Cheers,
Ralf.

On 11/4/06, boy_trike <[EMAIL PROTECTED]> wrote:
> the 1st 3 lines work fine.  However, being a lazy programmer who does not 
> want to type
> much, I want to do something like the commented line, but I am missing 
> something with the
> syntax (since it does not work)
>
>
> var event : TextEvent = new TextEvent(SEARCH_MACHINES);
> event.text = dgItems.selectedItem.machine;
> model.dispatchEvent( event );
>
> // model.dispatchEvent( new TextEvent(SEARCH_MACHINES,
> {text:dgItems.selectedItem.machine} ));
>
>
> thanks
>
> bruce
>
>
>
>
>
> --
> 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
>
>
>
>
>


-- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


--
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] Shortcut for creating and dispatching events

2006-11-04 Thread boy_trike
the 1st 3 lines work fine.  However, being a lazy programmer who does not want 
to type 
much, I want to do something like the commented line, but I am missing 
something with the 
syntax (since it does not work)


var event : TextEvent = new TextEvent(SEARCH_MACHINES);
event.text = dgItems.selectedItem.machine;
model.dispatchEvent( event );

// model.dispatchEvent( new TextEvent(SEARCH_MACHINES,  
{text:dgItems.selectedItem.machine} ));


thanks

bruce





--
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/
 



RE: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Sönke Rohde
Hi,

Try Project->Clean and a restart of Flex Builder will do no harm.

Cheers,
Sönke 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of teamria
> Sent: Saturday, November 04, 2006 1:11 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Unable to build application from flex buider
> 
> Hello Group,
> 
> I am facing problems while deploying application from flex builder. I
> am getting message "File not found in bin directory". Files are not
> getting complile nor generated in Bin folder of the project. Please
> help me.
> 
> Thanks in advance
> vijay
> 
> 
> 
> 
> --
> 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
> 
> 
> 
> 
> 



--
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/
 



Re: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Dkerr
Are you getting an error during the run/compile?  If not, it may be putting the 
files in a bin somewhere else.  Right Click on the project and select 
properties. Check the path to the bin.  I've experienced problems with this too 
and in some cases it is running just fine, but putting the files the wrong 
location.

Don


-Original message-
From: "teamria" [EMAIL PROTECTED]
Date: Sat, 04 Nov 2006 10:23:48 -0600
To: flexcoders@yahoogroups.com
Subject: [S] [flexcoders] Unable to build application from flex buider

> Hello Group,
> 
> I am facing problems while deploying application from flex builder. I
> am getting message "File not found in bin directory". Files are not
> getting complile nor generated in Bin folder of the project. Please
> help me.
> 
> Thanks in advance
> vijay
> 
> 
> 
> 


--
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/
 



RE: [Junk E-Mail - LOW] [flexcoders] hostmysite.com...RemoteObject not working

2006-11-04 Thread Shannon Hicks





I'm pretty sure the only (shared) hosting company that 
supports remote object is CFDynamics
 
http://www.cfdynamics.com/
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
qnotemediaSent: Saturday, November 04, 2006 10:01 
AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - 
LOW] [flexcoders] hostmysite.com...RemoteObject not working


Hi all - back from MAX, and I'm finally using RemoteObject!I have a 
simple calendar application. All is working fine with my dev copy of 
ColdFusion, but when I put it up on hostmysite.com it fails to connect - 
error follows at the end of this post. The remoteobject looks like 
this.id="calendarRO" 
destination="ColdFusion"source="g3calendar.cfcs.CalendarGateway">I 
have tried with and without "g3calendar" in the source, though I think its 
finding the CFC, because instead, I would get a "CFC not found" 
right?I used the make CFCs wizard in Flex Builder 2.They do have the 
servers updated to v7.02.I have double-checked that the datasource is 
working.I have made a CFMapping to the g3calendar folder.Other Flex Apps 
work fine via WebService and HTTPService.Here is the error - not quite 
sure how to toubleshoot this!- Chris[RPC Fault 
faultString="Send failed" 
faultCode="Client.Error.MessageSend" 
faultDetail="Channel.Connect.Failed error 
NetConnection.Call.Failed: HTTP: Status 500"]at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()at 
mx.rpc::Responder/fault()at mx.rpc::AsyncRequest/fault()at 
mx.messaging::ChannelSet/::faultPendingSends()at 
mx.messaging::ChannelSet/channelFaultHandler()at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()at 
flash.events::EventDispatcher/dispatchEvent()at 
mx.messaging::Channel/mx.messaging:Channel::connectFailed()at 
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()at 
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.5.430 / Virus Database: 268.13.27/517 - Release 
Date: 11/3/2006 4:30 PM
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006 4:30 PM
 


[flexcoders] hostmysite.com...RemoteObject not working

2006-11-04 Thread qnotemedia
Hi all - back from MAX, and I'm finally using RemoteObject!

I have a simple calendar application.  All is working fine with my 
dev copy of ColdFusion, but when I put it up on hostmysite.com it 
fails to connect - error follows at the end of this post.  The 
remoteobject looks like this.





I have tried with and without "g3calendar" in the source, though I 
think its finding the CFC, because instead, I would get a "CFC not 
found" right?

I used the make CFCs wizard in Flex Builder 2.
They do have the servers updated to v7.02.
I have double-checked that the datasource is working.
I have made a CFMapping to the g3calendar folder.
Other Flex Apps work fine via WebService and HTTPService.

Here is the error - not quite sure how to toubleshoot this!

 - Chris

[RPC Fault faultString="Send failed" 
faultCode="Client.Error.MessageSend" 
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: 
HTTP: Status 500"]
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa
ultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at mx.messaging::ChannelSet/::faultPendingSends()
at mx.messaging::ChannelSet/channelFaultHandler()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv
entFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
at 
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingCha
nnel::connectFailed()
at 
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::st
atusHandler()





--
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/
 



RE: [flexcoders] View Loads / Service Results / Presentation Question

2006-11-04 Thread Dimitrios Gianninas





Create a pop-up window that will display a message to the 
user saying something is happening "Loading data, please stand 
by...".
Once you got all the data, remove the pop-up and your main 
UI will be ready to go.
 
Dimitrios 
Gianninas
RIA 
Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jamie OSent: 
Friday, November 03, 2006 4:08 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] View Loads / Service 
Results / Presentation Question


Hey,I'm getting pretty comfortable using Cairngorm, but known that 
I'mstill only scratching the surface of Flex 2. But I've run into 
twoseparate issues that I think are really the same. I think the 
commonquestion I'm asking is how do you prevent updates from displaying 
tothe screen until all results / data are loaded?Scenario #1:-In 
the creationComplete event of my main .mxml file I call a functionwhich 
broadcasts an event - evalURLEvent.-Depending on a number of data 
variables, the command will direct theuser to a given view by updating a 
specific variable in the model -appState - which my viewStack has as it's 
data provider.-In most cases of that evalURLEvent command, I do a number 
of servicecalls and only change the appState in the appropriate onResult 
function.-The problem is that because the event is a separate process, 
the appappears to load and then drops in data / presentation which 
looksfugly. I've hunted a bit on preloaders, but can't seem to find 
asufficient example to display the preloader in all cases and remove 
itwithin my result function (once I know the data is back).Scenario 
#2:-I have a single event type - NavigateEvent - which I broadcast in 
anumber of view event handlers when I want to change the view 
(bychanging the appState variable in the command.-When my user 
attempts to login, I broadcast this event along with theuser / pass for 
validation (currently stubbed for a service call).-When the login 
returns valid, I want to send the user to an inboxscreen where they will get 
a list of messages.-The same issue comes up as the initial load. On 
receipt of thevalidation of the login call, I would send out requests for 
theirmessage data, contacts, etc. I only want to upload the view to 
theinbox once I have all that data.I'm using the busy cursor on the 
service calls for now, but I'mcertain there must be better logic to consider 
for these types ofissues. If someone can point me down the path to 
enlightenment, itwould greatly be 
appreciated.Thx,JamieP.S. I think this is a general enough 
issue, and the code would haveto come from such a variety of spots in my 
app, that I didn't thinkincluding my sample code would help. If you can 
provide a response I'mpretty confident I can 'cairngormalize' it to my 
needs.
 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Soft

[flexcoders] global settings through AS 3

2006-11-04 Thread srioviyan_p
I have a SWF file which fetches data from the server and displays it.
I just want to know whether it is possible to run that SWF file from
DESKTOP as a stand-alone application.
I tried to add my SWF location in the global security settings from
ADOBE site.Once i add the SWF file in it, im able to fetch the data
from the server.
Is it possible to change these global settings through AS 3.





--
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/
 



RE: [flexcoders] how to handle && and || in mxml

2006-11-04 Thread Andrew Trice












You have to html-encode the ampersand as “&”,
the pipe should be fine as it is…

 





    xmlns:mx="http://www.adobe.com/2006/mxml"


    layout="horizontal">

    

    

    

    

    

    

    

    





 

-Andy

 

_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of boy_trike
Sent: Saturday, November 04, 2006
9:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to
handle && and || in mxml



 







I want to be able to enter:
 enabled = "{varA == 1 && varB == 2}" in my MXML. This
does not work. Is there a way 
to escape or use the AND/OR in mxml.

thanks

bruce






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] resize dataGrid using creationComplete

2006-11-04 Thread pdflibpilot
I am trying to "grow" the dataGrid to display only as many rows as the
dataProvider contains. I am trying to use the creationComplete to
invoke the ActionScript. Any suggestions as to how to overcome this
problem of a "null object" as noted in my code below.

 public function growDG(eventObj:Event,target):void {

   // this line is throwing the exception as a null object
var len =  target.dataProvider.length;

var endSize =  len * 25;
resizeLarge.target=target;
 
// Set resized width and height, and effect duration.
resizeLarge.startDelay = 1000;
resizeLarge.heightFrom = 50;
resizeLarge.heightTo = endSize;
resizeLarge.duration = 3000;
   
}




--
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/
 



RE: [flexcoders] Hyperlink to an elemment in textarea

2006-11-04 Thread Mike Keesey
http://livedocs.macromedia.com/flex/2/langref/flash/events/TextEvent.htm
l

Use the "event:" protocol for the link, and the text field will dispatch
a TextEvent event.

―
Mike Keesey


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pat Buchanan
Sent: Friday, November 03, 2006 7:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Hyperlink to an elemment in textarea

"...The href attribute can be a url as usual, or it can be
"actionscript:myFunction()"..."

Pinging this thread.  Anyone know how this is done?  My searches are
turning up more garbage than gold.

My goal is this: I want an HTML textarea that allows for linking to
other areas in the application.  Like a help or quickstart page - they
just click on what they want to do and it runs some actionscript to take
them to the right tag/page/control. 

Thanks everyone!

On 7/5/06, Tracy Spratt <[EMAIL PROTECTED]> wrote: 
If you use the htmlText property of the textArea, you can use a subset
of html tags, including the   tag.  The href attribute can be a url
as usual, or it can be "actionscript:myFunction()" (maybe
actionscript:parent.myFunction()) I haven't done this in 2.0 yet so I
don't have a full example.
 
Tracy
 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of tonyx_788
Sent: Wednesday, July 05, 2006 4:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Hyperlink to an elemment in textarea
 
hello,
is it posible?
i know in xml this is a hyperlink to a web page


but how do i make a link in a textarea to an elemment in the xml?
what i want to do is reference a word or a phrase to another text in
the xml like in html

 



--
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: Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of st

2006-11-04 Thread ncr100

--- In flexcoders@yahoogroups.com, "ncr100" <[EMAIL PROTECTED]> wrote:
>
> This is a complex one.
>
> Summary:
>
> I believe I'm not confused with try/catch, but am surprised that the
> EventDispatcher assumes our code is reentrant.  Reentrant like the
> EventDispatcher is dispatching a system Event in the middle of me
> handling other events.  So we're vulnerable to reentrant callbacks
> when we call EventDispatcher.dispatchEvent.
>
> Details:
>
> Normally when an null dereference happens an Error is propagated up
> the call stack to a catch handler.
>
> The bug is this: if in the middle of this call stack there happens to
> be an EventDispatcher.dispatchEvent call and the null pointer happens
> somewhere inside one of the listeners, then the Flash VM runtime
> thingy / implementation of dispatchEvent() itself seems to catch &
> handle the Error, and takes the opportunity to dispatch a pending
> Events.  In my case I've seen a ProgressEvent.SOCKET_DATA being
> dispatched because my server pumped out some data to me really
> quickly, though I assume any pending Event could be dispatched.
>
> This really causes havoc because our methods aren't reentrant; flash
> isn't multithreaded afaik and we don't think we have to write
> everything thread-safe.
>
> Here's an illustration I will walk through.  At the start of the stack
> our DTVSocket.onSocketConnect listens for an
> ProgressEvent.SOCKET_DATA, and just got one.  Notice for now the
> EventDispatcher [no source] in the middle of the stack trace.  Capping
> off the stack trace, see our TextUtil.setText method ... it is doing
> something bad, and has just triggered a null pointer exception!
>
> dtv.util::TextUtil$/setText   (BANG!  null pointer exception)
> MarbachViewer/MarbachViewer::createChannelCanvas
> MarbachViewer/MarbachViewer::subscribeToChannel
> MarbachViewer/MarbachViewer::onConnected
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven\
tFunction
> [no source]
> flash.events::EventDispatcher/dispatchEvent [no source]
> dtv.util::DTVSocket/dtv.util:DTVSocket::dispatchOnConnectedEvent
> dtv.util::DTVSocket/dtv.util:DTVSocket::onReceivedSessionTicket
> Function/http://adobe.com/AS3/2006/builtin::call [no source]
> dtv.util::DTVSocket/dtv.util:DTVSocket::onJSON
> dtv.util::DTVSocket/dtv.util:DTVSocket::onData
> dtv.util::DTVSocket/dtv.util:DTVSocket::onSocketData
>
>
> Now notice in this second shorter trace the stack has been unwound up
> to the dispatchEvent, but no further.  onSocketData was just passed a
> second, new ProgressEvent.SOCKET_DATA.  It must be that
> EventDispatcher.dispatchEvent caught my setText's null pointer
> exception and dispatched some additional socket data to my
> ProgressEvent.SOCKET_DATA listener.  onSocketData is not thread safe.
>   and bad stuff will happen very soon after in our code.
>
> dtv.util::DTVSocket/dtv.util:DTVSocket::onSocketData (WHOA! Not good)
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven\
tFunction
> [no source]
> flash.events::EventDispatcher/dispatchEvent [no source]
> dtv.util::DTVSocket/dtv.util:DTVSocket::dispatchOnConnectedEvent
> dtv.util::DTVSocket/dtv.util:DTVSocket::onReceivedSessionTicket
> Function/http://adobe.com/AS3/2006/builtin::call [no source]
> dtv.util::DTVSocket/dtv.util:DTVSocket::onJSON
> dtv.util::DTVSocket/dtv.util:DTVSocket::onData
> dtv.util::DTVSocket/dtv.util:DTVSocket::onSocketData
>
>
> So the deal is this: Beware of event listener entry-points being
> called in a reentrant fashion if your app is handling an exception.
> Kind of like someone hitting you when you're down, flash is asking for
> your app to do stuff when it's crippled.
>
> A solution is to wrap the guts of all entry points in try/catch
> handlers.  Or maybe only for high-frequency entry points.
>
> I looked thru these links for insight, perhaps hints indicating this
> kind of behavior but didn't find it:
>
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp\
.htm?href=1890.html
>
http://livedocs.macromedia.com/flex/2/langref/statements.html#try..catch\
..finally
>
> Happy November!
> Nick
>





--
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] Unable to build application from flex buider

2006-11-04 Thread teamria
Hello Group,

I am facing problems while deploying application from flex builder. I
am getting message "File not found in bin directory". Files are not
getting complile nor generated in Bin folder of the project. Please
help me.

Thanks in advance
vijay




--
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] Linking Components Between MXML ViewStack Components

2006-11-04 Thread pioplacz
H!

Just wondering if anybody know how i can connect actionscript located in 
main.mxml to 
textinput box located in MovieView.mxml. I have a filterFunction located in my 
main.mxml to 
refers to textinput located in the MovieView (ViewStack) components. But i 
don't know how i 
can get them to communicate. Anybody have a solution? 

Simply explain is that i want the main.mxml to notice the changes in the 
textinput located in 
diffrent mxml file. 




--
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] how to handle && and || in mxml

2006-11-04 Thread boy_trike
I want to be able to enter:
  enabled = "{varA == 1 && varB == 2}" in my MXML.  This does not work.  Is 
there a way 
to escape or use the AND/OR in mxml.

thanks

bruce




--
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/
 



Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-04 Thread hank williams
Ok, looking at this somemore, I think this is most likely a design bug
in flex builder.

There is no reason for flex builder to prevent the user from
specifying any folder he likes for the build output. For FDS
applications, it seems the flex builder is limited to generating
compiler output in a folder that is inside the web application
folder. While the intentions are good, FDS should certainly not
prevent the user from placing the output in root of the web
application folder and not in a folder inside the web application
folder.

in other words flexbuilder will build this

webapps
mywebappfolder
myflexappfolder
   yada.html
   yada.swf

but flexbuilder will not build this:

webapps
mywebappfolder
   yada.html
   yada.swf

which makes it very hard to make an app domain
www.appname.com

instead of
www.appname.com/somefoldername

without apache or some other indirection

Regards
Hank

On 11/4/06, hank williams <[EMAIL PROTECTED]> wrote:
> It sounds like you are letting FDS compile for you on the server. I am
> compiling on the client.
> To restate, hopefully, more clearly my problem, it is as follows:
>
> I want my swf and html output files to be inside:
> webapps/
>
> instead of:
> webapps//
>
> I am not able to get flexbuilder to do this. The place to do it would
> be in the properties panel for the flex-app->Flex Build Path -> output
> folder.
>
> But the dialog requires me to enter a folder name which will be placed
> inside the  folder. When I try to leave this field
> blank, which would, conceptually, achieve the goal because the screen
> states that the path is relative to ,  flex builder
> generates an error. Entering a full path i.e. C:\..., I dont get the
> error, but flexbuilder refuses to compile the app.
>
> The reason I want to do this is so that my url does not need to be
>
> www.somedomain.com/flex-app-name
>
> Thanks
> Hank
>
>
>
> How
> On 11/2/06, Nick Rothwell <[EMAIL PROTECTED]> wrote:
> >
> > On 1 Nov 2006, at 22:22, hank williams wrote:
> >
> > > I dont see how you avoid this since servlet containers require that
> > > the WEB-INF folder be in the root directory of the application, but
> > > this is not how flex structures things. With Flex/FDS there is the
> > > your webapp directory which is inside webapps, and then a sub
> > > directory, for the flex application
> >
> > I'm not sure I follow. I have FDS in Tomcat configured with
> >
> > webapps//WEB-INF/ (and then flex/, lib/ etc.)
> >
> > and
> >
> > webapps//
> >
> > and the context prefix is .
> >
> > In any case, I tend to solve URL mapping issues by bolting Apache on
> > the front of the app and using the reverse proxy module...
> >
> > -- N.
> >
> >
> >nick rothwell -- composition, systems, performance -- http://
> > www.cassiel.com
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
>


--
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/
 



Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-04 Thread hank williams
It sounds like you are letting FDS compile for you on the server. I am
compiling on the client.
To restate, hopefully, more clearly my problem, it is as follows:

I want my swf and html output files to be inside:
webapps/

instead of:
webapps//

I am not able to get flexbuilder to do this. The place to do it would
be in the properties panel for the flex-app->Flex Build Path -> output
folder.

But the dialog requires me to enter a folder name which will be placed
inside the  folder. When I try to leave this field
blank, which would, conceptually, achieve the goal because the screen
states that the path is relative to ,  flex builder
generates an error. Entering a full path i.e. C:\..., I dont get the
error, but flexbuilder refuses to compile the app.

The reason I want to do this is so that my url does not need to be

www.somedomain.com/flex-app-name

Thanks
Hank



How
On 11/2/06, Nick Rothwell <[EMAIL PROTECTED]> wrote:
>
> On 1 Nov 2006, at 22:22, hank williams wrote:
>
> > I dont see how you avoid this since servlet containers require that
> > the WEB-INF folder be in the root directory of the application, but
> > this is not how flex structures things. With Flex/FDS there is the
> > your webapp directory which is inside webapps, and then a sub
> > directory, for the flex application
>
> I'm not sure I follow. I have FDS in Tomcat configured with
>
> webapps//WEB-INF/ (and then flex/, lib/ etc.)
>
> and
>
> webapps//
>
> and the context prefix is .
>
> In any case, I tend to solve URL mapping issues by bolting Apache on
> the front of the app and using the reverse proxy module...
>
> -- N.
>
>
>nick rothwell -- composition, systems, performance -- http://
> www.cassiel.com
>
>
>
>
>
> --
> 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
>
>
>
>
>


--
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/
 



Re: [flexcoders] Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of stack

2006-11-04 Thread Ralf Bokelberg
Beeing able to dispatch events while we are dispatching an event is
the expected behaviour. ActionScript doesn't have threads, so it's
threadsafe per definition. In other words, it never happens, that an
event interrupts a running method. If you dispatch an event while you
are in another event handler, the new event is completely handled
before the remaining handlers of the initial event are called. It's
just simple method calls.

1 dispatch event 1
2   handle event 1
3   dispatch event 2
4   handle event 2
5   handle event 2
6handle event 1
7handle event 1

So what is the exact problem you see? An exception in line 2 doesn't
stop the rest of the handling?

Cheers,
Ralf.

On 11/4/06, ncr100 <[EMAIL PROTECTED]> wrote:
> This is a complex one.
>
> Summary:
>
> I believe I'm not confused with try/catch, but am surprised that the
> EventDispatcher assumes our code is reentrant.  Reentrant like the
> EventDispatcher is dispatching a system Event in the middle of me
> handling other events.  So we're vulnerable to reentrant callbacks
> when we call EventDispatcher.dispatchEvent.
>
> Details:
>
> Normally when an null dereference happens an Error is propagated up
> the call stack to a catch handler.
>
> The bug is this: if in the middle of this call stack there happens to
> be an EventDispatcher.dispatchEvent call and the null pointer happens
> somewhere inside one of the listeners, then the Flash VM runtime
> thingy / implementation of dispatchEvent() itself seems to catch &
> handle the Error, and takes the opportunity to dispatch a pending
> Events.  In my case I've seen a ProgressEvent.SOCKET_DATA being
> dispatched because my server pumped out some data to me really
> quickly, though I assume any pending Event could be dispatched.
>
> This really causes havoc because our methods aren't reentrant; flash
> isn't multithreaded afaik and we don't think we have to write
> everything thread-safe.
>
> Here's an illustration I will walk through.  At the start of the stack
> our DTVSocket.onSocketConnect listens for an
> ProgressEvent.SOCKET_DATA, and just got one.  Notice for now the
> EventDispatcher [no source] in the middle of the stack trace.  Capping
> off the stack trace, see our TextUtil.setText method ... it is doing
> something bad, and has just triggered a null pointer exception!
>
> dtv.util::TextUtil$/setText   (BANG!  null pointer exception)
> MarbachViewer/MarbachViewer::createChannelCanvas
> MarbachViewer/MarbachViewer::subscribeToChannel
> MarbachViewer/MarbachViewer::onConnected
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
> [no source]
> flash.events::EventDispatcher/dispatchEvent [no source]
> dtv.util::DTVSocket/dtv.util:DTVSocket::dispatchOnConnectedEvent
> dtv.util::DTVSocket/dtv.util:DTVSocket::onReceivedSessionTicket
> Function/http://adobe.com/AS3/2006/builtin::call [no source]
> dtv.util::DTVSocket/dtv.util:DTVSocket::onJSON
> dtv.util::DTVSocket/dtv.util:DTVSocket::onData
> dtv.util::DTVSocket/dtv.util:DTVSocket::onSocketData
>
>
> Now notice in this second shorter trace the stack has been unwound up
> to the dispatchEvent, but no further.  onSocketData was just passed a
> second, new ProgressEvent.SOCKET_DATA.  It must be that
> EventDispatcher.dispatchEvent caught my setText's null pointer
> exception and dispatched some additional socket data to my
> ProgressEvent.SOCKET_DATA listener.  onSocketData is not thread safe.
>   and bad stuff will happen very soon after in our code.
>
> dtv.util::DTVSocket/dtv.util:DTVSocket::onSocketData(WHOA! Not good)
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
> [no source]
> flash.events::EventDispatcher/dispatchEvent [no source]
> dtv.util::DTVSocket/dtv.util:DTVSocket::dispatchOnConnectedEvent
> dtv.util::DTVSocket/dtv.util:DTVSocket::onReceivedSessionTicket
> Function/http://adobe.com/AS3/2006/builtin::call [no source]
> dtv.util::DTVSocket/dtv.util:DTVSocket::onJSON
> dtv.util::DTVSocket/dtv.util:DTVSocket::onData
> dtv.util::DTVSocket/dtv.util:DTVSocket::onSocketData
>
>
> So the deal is this: Beware of event listener entry-points being
> called in a reentrant fashion if your app is handling an exception.
> Kind of like someone hitting you when you're down, flash is asking for
> your app to do stuff when it's crippled.
>
> A solution is to wrap the guts of all entry points in try/catch
> handlers.  Or maybe only for high-frequency entry points.
>
> I looked thru these links for insight, perhaps hints indicating this
> kind of behavior but didn't find it:
> http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=1890.html
> http://livedocs.macromedia.com/flex/2/langref/statements.html#try..catch..finally
>
> Happy November!
> Nick
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogrou