Re: [flexcoders] Cairngorm + Ant + Build + Deploy = I'm in hell

2007-10-15 Thread kutti kumar
 Hai friends,

 i want to Flex Ant Task source file and how to install
[migrate] read me file [steps].

plz send me urgent.

i have installed for Flex Data Services. Path C:\fds2\flex_sdk_2

next Flex Builder 2 installed path C:\WINDOWS\Downloaded Installations\Adobe
Flex Builder 2.0.1

Plz configration read me file and how to run the application

and How to run command line compiler.


On 10/13/07, dbronk <[EMAIL PROTECTED]> wrote:
>
>   We have just finished our first iteration and need to deploy what we
> have. But, for something that should be extremely simple, we are
> finding it very difficult and not finding much documentation other
> than the HelloWorld apps.
>
> Our app uses cairngorm-2.2.1.swc, flexlib.swc, and a couple other swc
> files. Running out of Eclipse with Flex Builder plugin works great.
> We have an ant file that does not seem to include everything. I
> figured out that I needed a compiler.include-libraries tag to include
> the swc files (I think they are included as the SWF file is now
> larger). But the app still does not work when deployed.
>
> It appears that I may have everything except the Cairngorm stuff.
> When my app launches I dispatch a CairngormEvent for initializing
> things. Well, it never comes back and I get the "Error: Key Error
> executing bizSearchService was not found in resource bundle
> CairngormMessages". So I'm not sure where I'm suppose to place teh
> CairngormMessages.properties file.
>
> Since I was having these issues I thought for this one time I'd just
> take the files from my Flex Builder bin directory. But they don't
> work either once deployed.
>
> So, I'm now stuck and hoping someone can give me some suggestions.
> I'm including my very basic ant script, but if anyone can tell me how
> to simply build and deploy and app that uses Cairngorm and other swc's
> (including what I'm suppose to do with the
> CairngormMessages.properties) I'd be greatful.
>
> Thanks,
> Dale
>
> Ant build.xml follows:
>
> 
> 
> 
>  classpath="${basedir}/flexTasks/lib/flexTasks.jar" />
> 
> 
> 
>
> 
>  file="${APP_ROOT}/TargetFish.mxml"
> output="${DEPLOY_DIR}/TargetFish.swf"
> actionscript-file-encoding="UTF-8"
> keep-generated-actionscript="true"
> incremental="true"
> optimize="true">
>
> 
>  filename="${FLEX_HOME}/frameworks/flex- config.xml"/>
>
> 
> 
>
> 
>  append="true">
> 
> 
> 
>
> 
> 
> < compiler.include-libraries dir="${basedir}/lib" append="true">
> 
> 
>
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
>



-- 
V.Kumar
Broadcast Engineering Consultants India Ltd,
New Delhi.
cell no : 09968063987


RE: [flexcoders] Re: Capturing RollOver events in a loaded swf that has it own actionscript.

2007-10-15 Thread Alex Harui
Can you post a small test case?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of essuark
Sent: Monday, October 15, 2007 5:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Capturing RollOver events in a loaded swf that
has it own actionscript.

 

Ah, yes I tried that. It didn't work... thanks...

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> See doc for addEventlListener and the capture parameter
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of essuark
> Sent: Monday, October 15, 2007 4:45 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: Capturing RollOver events in a loaded swf 
that
> has it own actionscript.
> 
> 
> 
> Thanks but I am not sure what that means? What is a capture phase 
> listener?
> 
> --- In flexcoders@yahoogroups.com
  
> , "Alex Harui"  wrote:
> >
> > If that's true, you should be able to use capture phase listener. 
> If
> > the swf is from another domain or is a player 8 swf or older 
there 
> might
> > be an issue with that.
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
  
> 
> [mailto:flexcoders@yahoogroups.com
  
> ] On
> > Behalf Of essuark
> > Sent: Monday, October 15, 2007 1:16 PM
> > To: flexcoders@yahoogroups.com 
 
> > Subject: [flexcoders] Capturing RollOver events in a loaded swf 
> that has
> > it own actionscript.
> > 
> > 
> > 
> > I have a swf that I load in my flex application. Apparently, the 
> swf 
> > has some actionscript behind so my flex application will not 
> recieve a 
> > RollOver event because I am assuming that the swf that I load is 
> > capturing that event. Is there a way I can override this?
> > 
> > Thanks
> > Ralph
> >
>

 



RE: [flexcoders] Custom Drag Cursors

2007-10-15 Thread Alex Harui
I'm not sure why you say you can't use setCursor() on mouseMove?

 

Anyway, everything described in the original email seems ok.  What is
the mouseDown target?  Did you try setting a cursor then?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sheriff
Sent: Monday, October 15, 2007 10:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom Drag Cursors

 

Are you using the cursorManager or just when a drag happens? u cant just
use cursorManager.setCursor(...whatever u want) on mouse move

- Original Message 
From: toofah_gm <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Monday, October 15, 2007 5:35:07 PM
Subject: [flexcoders] Custom Drag Cursors

I am trying to use my own custom cursor for drag and drop
functionality and having a little trouble. 

I have added my own cursor to mouseOver on the object that is
draggable... this is to indicate that the object is draggable.

I have setup css style for all of the DragManager cursors like this:
DragManager
{
copy-cursor: Embed(source= "/assets/ images/copy. png");
link-cursor: Embed(source= "/assets/ images/link. png");
move-cursor: Embed(source= "/assets/ images/move. png");
reject-cursor: Embed(source= "/assets/ images/reject. png");
}

Now the trouble.
When I hover I see my custom cursor.
When I mouseDown I see the default cursor...this is the problem.
When I start dragging I see my custom cursors.

How do I see my custom cursor during the entire process? 

During mouseDown event I call DragManager. startDrag( ). If I do not
clear my hover cursor, or if I set a different cursor, the custom drag
cursors never show up. It seems that any set cursor overrides the
drag ones.

If I clear my hover cursor before I call startDrag(), the custom drag
cursors do not show up until the first mouseMove. There is a window
between mouseDown and mouseMove where I have no custom cursor.

Any ideas? Am I missing something here? I guess that I can override
the mouseMove event if I need to and clear it there if I have to.

Thanks.

 

 



Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
panel
  and lay it on us. 

 



Re: [flexcoders] Custom Drag Cursors

2007-10-15 Thread Sheriff
Are you using the cursorManager or just when a drag happens? u cant just use 
cursorManager.setCursor(...whatever u want) on mouse move

- Original Message 
From: toofah_gm <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Monday, October 15, 2007 5:35:07 PM
Subject: [flexcoders] Custom Drag Cursors










  



I am trying to use my own custom cursor for drag and drop

functionality and having a little trouble.  



I have added my own cursor to mouseOver on the object that is

draggable... this is to indicate that the object is draggable.



I have setup css style for all of the DragManager cursors like this:

DragManager

{

 copy-cursor: Embed(source= "/assets/ images/copy. png");

 link-cursor: Embed(source= "/assets/ images/link. png");

 move-cursor: Embed(source= "/assets/ images/move. png");

 reject-cursor: Embed(source= "/assets/ images/reject. png");

}



Now the trouble.

When I hover I see my custom cursor.

When I mouseDown I see the default cursor...this is the problem.

When I start dragging I see my custom cursors.



How do I see my custom cursor during the entire process?  



During mouseDown event I call DragManager. startDrag( ).  If I do not

clear my hover cursor, or if I set a different cursor, the custom drag

cursors never show up.  It seems that any set cursor overrides the

drag ones.



If I clear my hover cursor before I call startDrag(), the custom drag

cursors do not show up until the first mouseMove.  There is a window

between mouseDown and mouseMove where I have no custom cursor.



Any ideas?  Am I missing something here?  I guess that I can override

the mouseMove event if I need to and clear it there if I have to.



Thanks.






  
























   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 

[flexcoders] Doubt using Refresh

2007-10-15 Thread Tom Preet
Hi,

In my application am using a button for Refresh.

Upto Now:

I have retrived the list of files from Directory in to the combo box using
the Remote Object method.

when I select a particular file from combo the content of the file is
displaying on the text area.

upto here working fine.

along with that I placed a button for Refresh, Now when I click on the
button(Refresh) I need to refresh and display the particular File.

can I have any Suggestions regarding this how to achieve it.

Thanks,
Preet.


Re: [flexcoders] Re: Anyone reading Paul Williams blogging about Presentation Patterns?

2007-10-15 Thread Bjorn Schultheiss

Do you guys use Cairngorm at all?

It will be interesting to see how Paul brings it all together in  
later posts.




On 16/10/2007, at 6:45 AM, aduston1976 wrote:


One other detail about our implementation: Because there is no
dependency injection in AS3 (that I know of), I have an Abstract
Factory generate the View components. This way I can just swap out my
Abstract Factory with one that generates Mock Views for testing by
altering a Boolean constant in the main startup class.

--- In flexcoders@yahoogroups.com, "Adam Duston" <[EMAIL PROTECTED]> wrote:
>
> In our Flex projects we typically use the Passive View pattern (
> http://martinfowler.com/eaaDev/PassiveScreen.html). Probably I
should blog
> about my experience with this, but I am pathologically lazy and  
terribly

> selfish, so I don't have a blog. The applications I'm creating
involve a lot
> of bidirectional server communication and real-time multiuser
interaction,
> so using this pattern enables me to create View test doubles that  
use

> LocalConnection to communicate with a central admin testing flex app
that
> runs test harness scripts. For example, a simple test would be: Have
user 1
> login, and make sure the name appears in user 2's screen. But we can
> essentially replicate arbitrary user interactions using this setup,
and test
> the application end-to-end modulo Views. We can also substitute
mocks for
> View classes to test the Controllers. I should mention that  
coding these

> mocks in AS3 is a bit of a PITA. Can anyone think of a way to create
a flex
> mock test framework? Message me off-list please! Another advantage
of this
> approach is that my View (i.e. MXML) classes contain very little
code, just
> setter methods and calls to the Controller. That makes the software
text for
> these less intimidating to graphic designers.
>
> We are actually looking for someone to help us part-time with our  
Flex

> coding. We can only afford $20 per hour right now, but email me
off-list if
> you are interested! We are making some pretty cool applications!
>
> Adam
>
>
> On 10/15/07, Paul Dale <[EMAIL PROTECTED]> wrote:
> >
> >
> > I think the principle of extracting everything that can't be
expressed as
> > a simple data binding is solid.
> >
> > That makes it easy to inject a test data object (or series of data
or data
> > objects) to automate running through each presentation  
possibility.

> >
> > ...paul
> >
> >
> > On 10/15/07, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:
> > >
> > > Hey all,
> > >
> > > I'm attempting to get a discussion going here on this topic
since Paul
> > > disabled comments on his blog.
> > >
> > > Is anyone else here reading this series?
> > >
> > > In particular his last post.
> > > Supervising Presenter
> > >
> > >
http://weblogs.macromedia.com/paulw/archives/2007/10/ 
presentation_pa_2.cfm

> > >
> > > One of the benefits he speaks about with using this pattern is,
> > > Improved separation of concerns
> > > Following the Supervising Presenter pattern should yield an
> > > application-specific class hierarchy that is separated from  
the view

> > > classes, but coupled to them. Common presentation concerns can
be refactored
> > > into Presenter base classes, and this should help to reduce
code-duplication
> > > and improve consistency across an application.
> > >
> > > This concern is of huge importance to me as a flex dev.
> > >
> > > During dev one of the main issues i run into is what will be an
> > > 'application-specific view' as opposed to a 'reusable- 
component' as

> > > abstraction can be a time-consuming exercise.
> > > I've never been a fan of code behind but i think the 'Presenter'
does
> > > bring in a useful and easy to implement application level of
abstraction
> > > that can ease development.
> > >
> > > btw I also like his use of Binding.
> > >
> > >
> > > regards,
> > >
> > > Bjorn
> > >
> > >
> > >
> > >
> >
> >
>







[flexcoders] Re: Flex MDI

2007-10-15 Thread ben.clinkinbeard
myWindow.minimize();


--- In flexcoders@yahoogroups.com, Mr Greg Murnock <[EMAIL PROTECTED]> wrote:
>
> Hi Ben,
>Yes that is correct.  So I just call the ID of my
MDIWindow.minimize?  Or is there something a bit more?  old school we
would use nameOfButton.click but there isn't a name on the MDI
buttons, or is there... :)
>  
> Greg 
> 
> 
> - Original Message 
> From: ben.clinkinbeard <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Monday, October 15, 2007 4:21:08 PM
> Subject: [flexcoders] Re: Flex MDI
> 
> Hi Greg,
> 
> Thanks for the compliment, we all appreciate it. Do you just want to
> programmatically minimize the window? If so, MDIWindow provides a
> minimize() method to do just that. If I misunderstood your request let
> me know.
> 
> HTH,
> Ben
> 
> --- In [EMAIL PROTECTED] ups.com, Mr Greg Murnock  wrote:
> >
> > Anyone else using the FLEX MDI? (awesome stuff by the way)
> > How would I call/activate the click event for the minimize button of
> an MDIWindow using the FLEX MDI?
> > 
> > Greg
> > 
> > 
> > 
>  _ _ _ _ _ _
> > Shape Yahoo! in your own image. Join our Network Research Panel
> today! http://surveylink. yahoo.com/ gmrs/yahoo_ panel_invite. asp?a=7
> >
> 
> 
> 
> 
> 
>
>

> Be a better Heartthrob. Get better relationship answers from someone
who knows. Yahoo! Answers - Check it out. 
> http://answers.yahoo.com/dir/?link=list&sid=396545433
>




Re: [flexcoders] Multiple IFrames in Flex

2007-10-15 Thread Bjorn Schultheiss
Use ExternalInterface to call js methods on the html page that loads  
your Flex app.

Forgive me for the lack of detail in my explanation.




On 16/10/2007, at 11:50 AM, [EMAIL PROTECTED] wrote:


Right.



On 10/16/07, Dimitrios  
Gianninas<[EMAIL PROTECTED]> wrote:


Are you using the Iframe trick to show HTML with a Flex app? is  
that what you are doing and are asking how to show multiple ones?


Dimitrios Gianninas
Development Team Lead
Optimal Payments Inc.


From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of Flexing...

Sent: Monday, October 15, 2007 12:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple IFrames in Flex

Hi All,

I am building an application which require me to show
multiple IFrame based "banners" on a Panel.

Is their a way to achieve this in Flex ?
Is Adobe doing something in the direction to support IFrames in Flex ?

Currently I am using a servlet based solution i..e create a single
servlet based HTML page containing all IFrame "banners"
and serve this HTML page as IFrame in Flex.

Because of this limitation I have to provide the support of editing
of all the information related to those banners also in servlet.

Anybody has a better solution please share.

Thanks
Bhuvan

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.










Re: [flexcoders] Multiple IFrames in Flex

2007-10-15 Thread eaiesb
Right.


On 10/16/07, Dimitrios Gianninas <[EMAIL PROTECTED]>
wrote:
>
>Are you using the Iframe trick to show HTML with a Flex app? is that
> what you are doing and are asking how to show multiple ones?
>
> *Dimitrios Gianninas*
> *Development Team Lead*
> *Optimal Payments Inc.*
>
>
>  --
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Flexing...
> *Sent:* Monday, October 15, 2007 12:17 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Multiple IFrames in Flex
>
>  Hi All,
>
> I am building an application which require me to show
> multiple IFrame based "banners" on a Panel.
>
> Is their a way to achieve this in Flex ?
> Is Adobe doing something in the direction to support IFrames in Flex ?
>
> Currently I am using a servlet based solution i..e create a single
> servlet based HTML page containing all IFrame "banners"
> and serve this HTML page as IFrame in Flex.
>
> Because of this limitation I have to provide the support of editing
> of all the information related to those banners also in servlet.
>
> Anybody has a better solution please share.
>
> Thanks
> Bhuvan
>
> *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.
>
>  
>


Re: [flexcoders] effect of canvas

2007-10-15 Thread Joe
That helps me a lot, thank you.

--
From: "Tom Chiverton" <[EMAIL PROTECTED]>
Sent: Monday, October 15, 2007 7:22 PM
To: 
Subject: Re: [flexcoders] effect of canvas

> On Sunday 14 Oct 2007, [EMAIL PROTECTED] wrote:
>> May I add effects, such as fade, to the canvas which is under alert popup
>> window? How can I achieve this? Thank you in advance.
>
> Like http://www.rachaelandtom.info/node/1461 ?
>
>
> -- 
> Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and 
> has
> done some ColdFusion work ? Would you like to work for a top 30 law firm 
> in
> Manchester, UK ? Are not an agency ? If yes, send email !
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England 
> and Wales under registered number OC307980 whose registered office address 
> is at St James's Court Brown Street Manchester M2 2JF.  A list of members 
> is available for inspection at the registered office.  Any reference to a 
> partner in relation to Halliwells LLP means a member of Halliwells LLP. 
> Regulated by The Solicitors Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and 
> may be confidential or legally privileged.  If you are not the addressee 
> you must not read it and must not use any information contained in nor 
> copy it nor inform any person other than Halliwells LLP or the addressee 
> of its existence or contents.  If you have received this email in error 
> please delete it and notify Halliwells LLP IT Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
> --
> Flexcoders 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: Capturing RollOver events in a loaded swf that has it own actionscript.

2007-10-15 Thread essuark
Ah, yes I tried that. It didn't work... thanks...

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> See doc for addEventlListener and the capture parameter
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of essuark
> Sent: Monday, October 15, 2007 4:45 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Capturing RollOver events in a loaded swf 
that
> has it own actionscript.
> 
>  
> 
> Thanks but I am not sure what that means? What is a capture phase 
> listener?
> 
> --- In flexcoders@yahoogroups.com 
> , "Alex Harui"  wrote:
> >
> > If that's true, you should be able to use capture phase listener. 
> If
> > the swf is from another domain or is a player 8 swf or older 
there 
> might
> > be an issue with that.
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of essuark
> > Sent: Monday, October 15, 2007 1:16 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] Capturing RollOver events in a loaded swf 
> that has
> > it own actionscript.
> > 
> > 
> > 
> > I have a swf that I load in my flex application. Apparently, the 
> swf 
> > has some actionscript behind so my flex application will not 
> recieve a 
> > RollOver event because I am assuming that the swf that I load is 
> > capturing that event. Is there a way I can override this?
> > 
> > Thanks
> > Ralph
> >
>




Re: [flexcoders] Re: Ant + SWC

2007-10-15 Thread Christian Edward Gruber
That's actually why I built the maven plugin the way I did.  While  
classes can be handled this way, non-class resources (such as .css  
files or images) can't.  You have to explicitly call them out for  
compc.   I essentially search the source path for .as files and the  
resource path for all other files, and include them all behind the  
scenes.  That one would have to specify explicit resources on the  
command-line (or as a separate param) is just ludicrous.

But at least the below should work for pure .as class files.

Christian.

On 15-Oct-07, at 7:59 PM, realeyes_jun wrote:

> Richard,
>
> So far the suggestions have been made to use:
>
> - Flex Ant tasks
> - flex2ant plugin
> - antennae
>
> Although I'm sure each of the above solutions work well, I ran across
> this issue myself recently and solved the issue you're asking about by
> providing the -include-sources option to compc in my custom ant  
> script.
>
> This option allowed me to select the parent directory of all the  
> classes
> I wanted to include, and it was recursive.  Example:
>
> -include-sources="com/realeyesmedia/debug/redbug"
>
> This path of course was relative to the project dir.
>
> -Jun
>
>
> --- In flexcoders@yahoogroups.com, "Richard Rodseth" <[EMAIL PROTECTED]>
> wrote:
>>
>> A colleague is setting up Ant builds for our project, and hasn't  
>> found
>> a (good) way to build a SWC without having to specify every class to
>> include in the SWC. Any pointers to resources would be much
>> appreciated.
>>
>
>



[flexcoders] Re: Ant + SWC

2007-10-15 Thread realeyes_jun
Richard,

So far the suggestions have been made to use:

- Flex Ant tasks
- flex2ant plugin
- antennae

Although I'm sure each of the above solutions work well, I ran across
this issue myself recently and solved the issue you're asking about by
providing the -include-sources option to compc in my custom ant script.

This option allowed me to select the parent directory of all the classes
I wanted to include, and it was recursive.  Example:

-include-sources="com/realeyesmedia/debug/redbug"

This path of course was relative to the project dir.

-Jun


--- In flexcoders@yahoogroups.com, "Richard Rodseth" <[EMAIL PROTECTED]>
wrote:
>
> A colleague is setting up Ant builds for our project, and hasn't found
> a (good) way to build a SWC without having to specify every class to
> include in the SWC. Any pointers to resources would be much
> appreciated.
>




RE: [flexcoders] Re: Flex modules and jms messaging

2007-10-15 Thread Alex Harui
Check out the presentation on modules on my blog
(blogs.adobe.com/aharui).  It might help you understand how code can end
up in the wrong application domain and therefore something may not work.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ivhaggi
Sent: Monday, October 15, 2007 3:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex modules and jms messaging

 

Hi Alex!! 
Thank you for your reply, but i couldn't understand the message very
well. Could you please give me more information about your answer?

Thanks!!

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Which swf the as data class and the webservices are in may make a
> difference
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of ivhaggi
> Sent: Saturday, October 13, 2007 2:03 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Flex modules and jms messaging
> 
> 
> 
> Hi Group!!
> 
> Im working in a project with modules. In one of them im using a
> consumer who is listening a JMS Topic. 
> 
> The problem is when i publish a java object to the jms topic the
> consumer enters to the function handler i defined, but the
> event.message.body is null. 
> 
> I repeat the same proof in the main mxml of my app(not in a module)
> and the object was received sucessfully. So my question is why in the
> module i can not reach the body of the message??
> 
> Thanks in advanced for your help!!
>

 



RE: [flexcoders] Re: Capturing RollOver events in a loaded swf that has it own actionscript.

2007-10-15 Thread Alex Harui
See doc for addEventlListener and the capture parameter

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of essuark
Sent: Monday, October 15, 2007 4:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Capturing RollOver events in a loaded swf that
has it own actionscript.

 

Thanks but I am not sure what that means? What is a capture phase 
listener?

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> If that's true, you should be able to use capture phase listener. 
If
> the swf is from another domain or is a player 8 swf or older there 
might
> be an issue with that.
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of essuark
> Sent: Monday, October 15, 2007 1:16 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Capturing RollOver events in a loaded swf 
that has
> it own actionscript.
> 
> 
> 
> I have a swf that I load in my flex application. Apparently, the 
swf 
> has some actionscript behind so my flex application will not 
recieve a 
> RollOver event because I am assuming that the swf that I load is 
> capturing that event. Is there a way I can override this?
> 
> Thanks
> Ralph
>

 



[flexcoders] Re: Capturing RollOver events in a loaded swf that has it own actionscript.

2007-10-15 Thread essuark
Thanks but I am not sure what that means? What is a capture phase 
listener?

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> If that's true, you should be able to use capture phase listener.  
If
> the swf is from another domain or is a player 8 swf or older there 
might
> be an issue with that.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of essuark
> Sent: Monday, October 15, 2007 1:16 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Capturing RollOver events in a loaded swf 
that has
> it own actionscript.
> 
>  
> 
> I have a swf that I load in my flex application. Apparently, the 
swf 
> has some actionscript behind so my flex application will not 
recieve a 
> RollOver event because I am assuming that the swf that I load is 
> capturing that event. Is there a way I can override this?
> 
> Thanks
> Ralph
>




[flexcoders] load image dynamically and attach the image inside swf

2007-10-15 Thread Ary
Hi,

im using swfloader in an application and in the
process..user will upload their own image and replace
some image placeholder in the swf that i load, the
final result, user can save this swf as a new swf
based on the customization they have done earlier.

at the momment im using load image (addchild)
function, and this function will link the image in the
newly build swf.

my question is, is it possible to make the image
inside the swf rather than link it? sometimes linking
to external files can be troublesome.


thanks in advance.
ary


   

Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433


[flexcoders] Flex Remoting over SSL - Coldfusion 8

2007-10-15 Thread Rick Root
Posted this to another list but haven't solved this problem yet... it
really bugs me that this is so poorly documented.

I have some Flex apps running that were running with a Coldfusion 7
backend using SSL.  To do this, I merely modified the
services-config.xml to use https instead of http, and changed the
channel classes to the secure versions of those classes.  All was
well.

Now that I've upgraded to Coldfusion 8, all my flex apps are sending
their gateway requests over https.  This is normal, of course, because
I hadn't changed the config files yet.

So I looked at the config files and I see there is now a
services-config.xml and a remoting-config.xml.  The
services-config.xml contains channel definitions for both ssl and
non-SSL (this is new)... the destinations are defined in
remoting-config.xml.

So I added a new destination called ColdFusionSSL - looks like this:






*



false

remote




false

false

false




It's just a copy of the ColdFusion destination, except it refers to
the secure channel.  The secure channel is defined in the
services-config.xml and was not changed.  This is the default from
CF8...


https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure";
class="flex.messaging.endpoints.SecureAMFEndpoint"/>

false

false




I changed the destination of my  tags to refer to
this new destination, compiled, and ran.

No luck.  I get the following error message:

Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed:
url: 'https://advanceweb.ads.duke.edu/flex2gateway/cfamfsecure'

I set the logging level to "Debug" and the following log entries appeared:

[Flex] FlexSession created with id
'a430990913ea13bb4ad595c1936a7a554258TR' for an Http-based client
connection.
[Flex] Channel endpoint my-cfamf-secure received request.
[Flex] Deserializing AMF/HTTP request
Version: 3
  (Message #0 targetURI=null, responseURI=/1)
(Array #0)
  [0] = (Typed Object #0 'flex.messaging.messages.CommandMessage')
operation = 5
correlationId = ""
messageId = "987088B3-4172-5E89-C9BA-A5C58325ABE9"
body = (Object #1)
clientId = null
timeToLive = 0
headers = (Object #2)
  DSId = "nil"
timestamp = 0
destination = ""

[Flex] Executed command: (default service)
  commandMessage: Flex Message (flex.messaging.messages.CommandMessage)
operation = client_ping
clientId = D9B7365E-821B-0933-EB49-0778BC185020
correlationId =
destination =
messageId = 987088B3-4172-5E89-C9BA-A5C58325ABE9
timestamp = 1192487125922
timeToLive = 0
body = {}
hdr(DSId) = nil
hdr(DSEndpoint) = my-cfamf-secure
  replyMessage: Flex Message (flex.messaging.messages.AcknowledgeMessage)
clientId = D9B7365E-821B-0933-EB49-0778BC185020
correlationId = 987088B3-4172-5E89-C9BA-A5C58325ABE9
destination = null
messageId = D9B7365E-822E-51FF-4E91-C20D589B541F
timestamp = 1192487125922
timeToLive = 0
body = null
hdr(DSId) = D9B7365E-820A-23DC-E6BB-A423E671BF99

[Flex] Serializing AMF/HTTP response
Version: 3
  (Message #0 targetURI=/1/onResult, responseURI=)
(Typed Object #0 'flex.messaging.messages.AcknowledgeMessage')
  timestamp = 1.192487125922E12
  headers = (Object #1)
DSId = "D9B7365E-820A-23DC-E6BB-A423E671BF99"
  body = null
  correlationId = "987088B3-4172-5E89-C9BA-A5C58325ABE9"
  messageId = "D9B7365E-822E-51FF-4E91-C20D589B541F"
  timeToLive = 0.0
  clientId = "D9B7365E-821B-0933-EB49-0778BC185020"
  destination = null



Can anyone help me here?  Why can't I get my flex apps to send the
gateway requests over https?

Thanks.

Rick Root


[flexcoders] Settings and About in Context menu

2007-10-15 Thread Jeff Schuenke
Hello,

I know that the settings and about context menu items are not removable 
and that kinda sucks for our use. Is there anyway to intercept the 
right click and display another context menu and is it possible to 
extend the context menu class?

We are using FLEX to build UI elements for large enterprise ap. To have 
the settings and about show up is unacceptable since the settings would 
seem to apply to the element the context menu is associated with.

Jeff



[flexcoders] Custom Drag Cursors

2007-10-15 Thread toofah_gm
I am trying to use my own custom cursor for drag and drop
functionality and having a little trouble.  

I have added my own cursor to mouseOver on the object that is
draggable...this is to indicate that the object is draggable.

I have setup css style for all of the DragManager cursors like this:
DragManager
{
 copy-cursor: Embed(source="/assets/images/copy.png");
 link-cursor: Embed(source="/assets/images/link.png");
 move-cursor: Embed(source="/assets/images/move.png");
 reject-cursor: Embed(source="/assets/images/reject.png");
}

Now the trouble.
When I hover I see my custom cursor.
When I mouseDown I see the default cursor...this is the problem.
When I start dragging I see my custom cursors.

How do I see my custom cursor during the entire process?  

During mouseDown event I call DragManager.startDrag().  If I do not
clear my hover cursor, or if I set a different cursor, the custom drag
cursors never show up.  It seems that any set cursor overrides the
drag ones.

If I clear my hover cursor before I call startDrag(), the custom drag
cursors do not show up until the first mouseMove.  There is a window
between mouseDown and mouseMove where I have no custom cursor.

Any ideas?  Am I missing something here?  I guess that I can override
the mouseMove event if I need to and clear it there if I have to.

Thanks.



[flexcoders] Unknown destination 'EmployeeServiceRO

2007-10-15 Thread Greg Morphis
I'm condensing my previous posts..

getting this error on a flex app..

[FaultEvent fault=[RPC Fault faultString="[MessagingError
message='Unknown destination 'EmployeeServiceRO'.']"
faultCode="InvokeFailed" faultDetail="Couldn't establish a connection
to 'EmployeeServiceRO'"]
messageId="47E7A8FA-EB41-1E60-A96D-A474ECC048D1"
type="fault"
bubbles=false
cancelable=true eventPhase=2]

I've checked the remoting-config.xml




com.alltel.rapid.aopscheduler.business.EmployeeDelegate
application



Basic

AOPScheduler-BASICAM
AOPScheduler-BASICINQ







I installed log4j and I see this when I log in..
2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
org.apache.catalina.realm.RealmBase - Username e0087890 has role
AOPScheduler-BASICINQ
2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
org.apache.catalina.realm.RealmBase - No role found:
AOPScheduler-BASICINQ

But I have the roles defined:
In the web.xml file

AOPScheduler-BASICAM
AOPScheduler-BASICINQ



and

  
The role that is required to log in to the Manager Application
  
  AOPScheduler-BASICAM
  

  
The role that is required to log in to the Reader Application
  
  AOPScheduler-BASICINQ
  


So to me everything looks okay, what am I missing?
The odd thing is that we store the code in CVS, I've checked out a
fresh copy of the code and everything looks good. The only thing I can
think of is something not configured right in Tomcat?


[flexcoders] Re: Flex modules and jms messaging

2007-10-15 Thread ivhaggi
Hi Alex!! 
Thank you for your reply, but i couldn't understand the message very
well. Could you please give me more information about your answer?

Thanks!!

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Which swf the as data class and the webservices are in may make a
> difference
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ivhaggi
> Sent: Saturday, October 13, 2007 2:03 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex modules and jms messaging
> 
>  
> 
> Hi Group!!
> 
> Im working in a project with modules. In one of them im using a
> consumer who is listening a JMS Topic. 
> 
> The problem is when i publish a java object to the jms topic the
> consumer enters to the function handler i defined, but the
> event.message.body is null. 
> 
> I repeat the same proof in the main mxml of my app(not in a module)
> and the object was received sucessfully. So my question is why in the
> module i can not reach the body of the message??
> 
> Thanks in advanced for your help!!
>




[flexcoders] errors in the index.template.html

2007-10-15 Thread arieljake
I edited my index.template.html for the first time today, and ever
since, Flex reports errors like this that obviously do not need
correcting:

Attribute value "${application}" of type ID must be a name.

How do I get these errors to go away or get Flex to not report these
errors, as they cause the dialog to popup whenever I run the app "Do
you want to proceed even with errors?"



Re: SPAM-LOW: [flexcoders] Snippets in Flex?

2007-10-15 Thread Jeffry Houser

  I believe there are snippet related extensions for Eclipse (AKA Flex 
Builder).  Search and see what you come up with: 
http://www.eclipseplugincentral.com/ .



droponrcll wrote:
> 
> 
> Is there a way to create snippets in Flex for reuse? If I had a nickel
> for every time I typed width="100%" height="100%" I'd be nearly able to
> buy a cup of latte at Starbucks. The code completion does help a lot,
> but being able to store frequently used code bits for later use would
> help more!
> 
> Thanks;
> 
> Amy
> 
> 

-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: 
My Podcast: 
My Blog: 



Re: [flexcoders] Re: Site Launch

2007-10-15 Thread dorkie dork from dorktown
Nicely done!

Took a while for me to load too. I would look into deploying it with the
RSL. Then if they already have it (the rsl) in the browser cache it will
load much quicker. How big is the swf btw? You might want to do some
analytics and count how many bailed vs how many fully loaded it.

Also, some of the animations were stuttering. I've noticed this in my
applications too and I don't have the answer but I want to know if you guys
figure it out.



On 10/15/07, dbronk <[EMAIL PROTECTED]> wrote:
>
>   Not to mention
> http://fashion.canon-europe.com/searchandcreate.html
> errors out on startup with "fault getting config files"
>
> print studio is very nice looking, but these darn enormous swf files
> are app killers.
>
> --- In flexcoders@yahoogroups.com ,
> "droponrcll" <[EMAIL PROTECTED]>
>
> wrote:
> >
> > --- In flexcoders@yahoogroups.com , "Giles
> Roadnight" 
> > wrote:
> > >
> > > Yeah, it loooks pretty nice (but why open in a popup which I HATE!)
> > >
> > > I helped work on this site which is a slightly different looking
> > flex site
> > > as well:
> > >
> > > http://fashion.canon-europe.com/searchandcreate.html
> > >
> > > On 10/15/07, candysmate  wrote:
> > > >
> > > > --- In flexcoders@yahoogroups.com 
> > > >  > 40yahoogroups.com>, "Mike
> > > > Krotscheck" 
> > > > wrote:
> > > > >
> > > > > Hey everyone-
> > > > >
> > > > > We here at Resource just launched a new site last Friday, built
> > entirely
> > > > > in Flex. I figured some of you might get a kick out of it,
> > since the
> > > > > designers really went out of their way to do something that's
> > not just a
> > > > > datagrid and a few bindings.
> >
> > Hate to say it, guys, but neither of these sites launched during my
> > attention span (with DSL). Hope you have really motivated visitors!
> >
>
>  
>


[flexcoders] Snippets in Flex?

2007-10-15 Thread droponrcll
Is there a way to create snippets in Flex for reuse?  If I had a nickel 
for every time I typed width="100%" height="100%" I'd be nearly able to 
buy a cup of latte at Starbucks.  The code completion does help a lot, 
but being able to store frequently used code bits for later use would 
help more!

Thanks;

Amy



RE: [flexcoders] Capturing RollOver events in a loaded swf that has it own actionscript.

2007-10-15 Thread Alex Harui
If that's true, you should be able to use capture phase listener.  If
the swf is from another domain or is a player 8 swf or older there might
be an issue with that.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of essuark
Sent: Monday, October 15, 2007 1:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Capturing RollOver events in a loaded swf that has
it own actionscript.

 

I have a swf that I load in my flex application. Apparently, the swf 
has some actionscript behind so my flex application will not recieve a 
RollOver event because I am assuming that the swf that I load is 
capturing that event. Is there a way I can override this?

Thanks
Ralph

 



[flexcoders] Re: Anyone reading Paul Williams blogging about Presentation Patterns?

2007-10-15 Thread aduston1976
One other detail about our implementation: Because there is no
dependency injection in AS3 (that I know of), I have an Abstract
Factory generate the View components. This way I can just swap out my
Abstract Factory with one that generates Mock Views for testing by
altering a Boolean constant in the main startup class.

--- In flexcoders@yahoogroups.com, "Adam Duston" <[EMAIL PROTECTED]> wrote:
>
> In our Flex projects we typically use the Passive View pattern (
> http://martinfowler.com/eaaDev/PassiveScreen.html). Probably I
should blog
> about my experience with this, but I am pathologically lazy and terribly
> selfish, so I don't have a blog. The applications I'm creating
involve a lot
> of bidirectional server communication and real-time multiuser
interaction,
> so using this pattern enables me to create View test doubles that use
> LocalConnection to communicate with a central admin testing flex app
that
> runs test harness scripts. For example, a simple test would be: Have
user 1
> login, and make sure the name appears in user 2's screen. But we can
> essentially replicate arbitrary user interactions using this setup,
and test
> the application end-to-end modulo Views. We can also substitute
mocks for
> View classes to test the Controllers. I should mention that coding these
> mocks in AS3 is a bit of a PITA. Can anyone think of a way to create
a flex
> mock test framework? Message me off-list please! Another advantage
of this
> approach is that my View (i.e. MXML) classes contain very little
code, just
> setter methods and calls to the Controller. That makes the software
text for
> these less intimidating to graphic designers.
> 
> We are actually looking for someone to help us part-time with our Flex
> coding. We can only afford $20 per hour right now, but email me
off-list if
> you are interested! We are making some pretty cool applications!
> 
> Adam
> 
> 
> On 10/15/07, Paul Dale <[EMAIL PROTECTED]> wrote:
> >
> >
> > I think the principle of extracting everything that can't be
expressed as
> > a simple data binding is solid.
> >
> > That makes it easy to inject a test data object (or series of data
or data
> > objects) to automate running through each presentation possibility.
> >
> > ...paul
> >
> >
> > On 10/15/07, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:
> > >
> > >   Hey all,
> > >
> > > I'm attempting to get a discussion going here on this topic
since Paul
> > > disabled comments on his blog.
> > >
> > > Is anyone else here reading this series?
> > >
> > > In particular his last post.
> > > Supervising Presenter
> > >
> > >
http://weblogs.macromedia.com/paulw/archives/2007/10/presentation_pa_2.cfm
> > >
> > > One of the benefits he speaks about with using this pattern is,
> > > Improved separation of concerns
> > > Following the Supervising Presenter pattern should yield an
> > > application-specific class hierarchy that is separated from the view
> > > classes, but coupled to them. Common presentation concerns can
be refactored
> > > into Presenter base classes, and this should help to reduce
code-duplication
> > > and improve consistency across an application.
> > >
> > > This concern is of huge importance to me as a flex dev.
> > >
> > > During dev one of the main issues i run into is what will be an
> > > 'application-specific view' as opposed to a 'reusable-component' as
> > > abstraction can be a time-consuming exercise.
> > > I've never been a fan of code behind but i think the 'Presenter'
does
> > > bring in a useful and easy to implement application level of
abstraction
> > > that can ease development.
> > >
> > > btw I also like his use of Binding.
> > >
> > >
> > > regards,
> > >
> > > Bjorn
> > >
> > >
> > >
> > >
> >  
> >
>




[flexcoders] Re: VerifyError: Error #1053: Illegal override of virtualWidth in mx.controls.HS

2007-10-15 Thread sk_acura
Hi Alex,

   sorry you might be right..

   I am using the fds-tomcat and when i build the war file i use the
Flex3 SDK Beta1 which creates the SWF Files.. How ever i don't know
which version of Flex the Tomcat is using as in my web.xml i the the
below Servlet declaration..


FlexSwfServlet
SWF Retriever
flex.bootstrap.BootstrapServlet

servlet.class
flex2.server.j2ee.SwfServlet


2


 Which is definitely not Flex3Beta..

  I tried copying the .swc Files from my Flex3 SDK Location ( as the
size of these files are bigger than the ones i have in my
/WEB-INF/flex/libs and when i try to restart the Server i am getting
the following Error:)

10/15 16:30:13 ERROR unable to load SWC rpc.swc
at flex2.compiler.swc.SwcCache.getSwc(SwcCache.java:230)
at flex2.compiler.swc.SwcCache.getSwcs(SwcCache.java:174)
at flex2.compiler.swc.SwcCache.getSwcGroup(SwcCache.java:78)
at flex2.compiler.swc.SwcCache.getSwcGroup(SwcCache.java:67)
at flex2.compiler.CompilerSwcContext.load(CompilerSwcContext.java:52)
at
flex2.server.j2ee.IncrementalCompileFilter.fullCompile(IncrementalCompileFilter.java:182)
at
flex2.server.j2ee.IncrementalCompileFilter.compileMxml(IncrementalCompileFilter.java:109)
at
flex2.server.j2ee.BaseCompileFilter.mxmlToSwf(BaseCompileFilter.java:318)
at flex2.server.j2ee.BaseCompileFilter.invoke(BaseCompileFilter.java:60)
at flex2.server.j2ee.RecompileFilter.invoke(RecompileFilter.java:37)
at flex2.server.j2ee.PathExistsFilter.invoke(PathExistsFilter.java:42)
at flex2.server.j2ee.AboutFilter.invoke(AboutFilter.java:48)
at flex2.server.j2ee.MxmlServlet.doGet(MxmlServlet.java:158)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at flex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:85)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:595)

Thanks
Kumar






--- In flexcoders@yahoogroups.com, "sk_acura" <[EMAIL PROTECTED]> wrote:
>
> Hi Alex,
> 
>   Yes they are all build using the same SDK Version which is
>   
>   flex3sdk_b1_061107
> 
>   This is happening when i do the following:
> 
>  moduleInfo =
> ModuleManager.getModule(Application.application.url+"MyNavigator.swf");
> 
>  And it gives no errors when i use the below:
> 
>  moduleInfo = ModuleManager.getModule("MyNavigator.swf");
> 
>  How ever i have to access the URL http:///MyNavigator.mxml before
> accessing the actual URL which loads the above Module..
> 
> Regards
> Kumar
> 
>   
> 
> --- In flexcoders@yahoogroups.com, "Alex Harui"  wrote:
> >
> > Are the modules and app all built using the same SDK version?
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of sk_acura
> > Sent: Tuesday, October 02, 2007 10:43 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] VerifyError: Error #1053: Illegal override of
> > virtualWidth in mx.controls.HScrol
> > 
> > 
> > 
> > Hi All,
> > 
> > I am getting the Following Error when i try to load a module in my
app..
> > 
> > I have found a JIRA Issue already opened on this ..But i don't see
> > any info reg how this can be resolved..
> > 
> > the URL is http://bugs.adobe.com/jira/browse/SDK-10858
> >  
> > 
> > The Environment i am using is:
> > 
> > Open SUSE10.1
> > Flex 3 SDK Beta 1
> > Flex Live Cycle DataServices
> > Tomcat Version 6.0.9
> > JDK Version 1.5.0_10
> > 
> > [ERROR]
> > 
> > VerifyError: Error #1053: Illegal override of virtualWidth in
> > mx.controls.HScrollBar.
> > at flash.display::MovieClip/nextFrame()
> > at mx.core::FlexModuleFactory/::deferredNextFrame()
> > at mx.core::FlexModuleFactory/::update()
> > at mx.core::FlexModuleFactory/::moduleCompleteHandler()
>

[flexcoders] Re: Site Launch

2007-10-15 Thread dbronk
Not to mention 
http://fashion.canon-europe.com/searchandcreate.html
errors out on startup with "fault getting config files"

print studio is very nice looking, but these darn enormous swf files
are app killers.



--- In flexcoders@yahoogroups.com, "droponrcll" <[EMAIL PROTECTED]>
wrote:
>
> --- In flexcoders@yahoogroups.com, "Giles Roadnight"  
> wrote:
> >
> > Yeah, it loooks pretty nice (but why open in a popup which I HATE!)
> > 
> > I helped work on this site which is a slightly different looking 
> flex site
> > as well:
> > 
> > http://fashion.canon-europe.com/searchandcreate.html
> > 
> > On 10/15/07, candysmate  wrote:
> > >
> > >   --- In flexcoders@yahoogroups.com  40yahoogroups.com>, "Mike
> > > Krotscheck" 
> > > wrote:
> > > >
> > > > Hey everyone-
> > > >
> > > > We here at Resource just launched a new site last Friday, built 
> entirely
> > > > in Flex. I figured some of you might get a kick out of it, 
> since the
> > > > designers really went out of their way to do something that's 
> not just a
> > > > datagrid and a few bindings.
> 
> Hate to say it, guys, but neither of these sites launched during my 
> attention span (with DSL).  Hope you have really motivated visitors!
>




Re: [flexcoders] Re: Flex MDI

2007-10-15 Thread Mr Greg Murnock
Hi Ben,
   Yes that is correct.  So I just call the ID of my MDIWindow.minimize?  Or is 
there something a bit more?  old school we would use nameOfButton.click but 
there isn't a name on the MDI buttons, or is there... :)
 
Greg 


- Original Message 
From: ben.clinkinbeard <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Monday, October 15, 2007 4:21:08 PM
Subject: [flexcoders] Re: Flex MDI

Hi Greg,

Thanks for the compliment, we all appreciate it. Do you just want to
programmatically minimize the window? If so, MDIWindow provides a
minimize() method to do just that. If I misunderstood your request let
me know.

HTH,
Ben

--- In [EMAIL PROTECTED] ups.com, Mr Greg Murnock <[EMAIL PROTECTED] .> wrote:
>
> Anyone else using the FLEX MDI? (awesome stuff by the way)
> How would I call/activate the click event for the minimize button of
an MDIWindow using the FLEX MDI?
> 
> Greg
> 
> 
> 
 _ _ _ _ _ _
> Shape Yahoo! in your own image. Join our Network Research Panel
today! http://surveylink. yahoo.com/ gmrs/yahoo_ panel_invite. asp?a=7
>





   

Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

[flexcoders] Re: Framework Caching not working

2007-10-15 Thread danielvlopes
The correct way is this:
-runtime-shared-library-path=C:\3.0.0\frameworks\libs\framework.swc,C:\3.0.0\frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf
-target-player=9.0.60 ?


--- In flexcoders@yahoogroups.com, "danielvlopes" <[EMAIL PROTECTED]>
wrote:
>
> Hello Darrell, i trying to do this:
>
-runtime-shared-library-path=C:\3.0.0\frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf
> -target-player=9.0.60
> 
> like you said, but i getting error:
> command line: Error: configuration variable
> 'runtime-shared-library-path' requires a value for 'rsl-url'
> 
> --- In flexcoders@yahoogroups.com, "Darrell Loverin"
>  wrote:
> >
> > Yes, that is a correct way of using a swz (signed by Adobe) RSL. The 
> > first URL is framework_3.0.183453.swz. Since there is no path, it 
> > means you are deploying framework_3.0.183453.swz in the same 
> > directory as your application. As was noted in a previous post, the 
> > rsls are located in the frameworks/rsls subdirectory of the SDK. The 
> > next parameter is the policy file URL which you have left blank 
> > since a policy file not needed to read framework_3.0.183453.swz. The 
> > next URL, framework_3.0.183453.swf, is the failover URL in case 
> > there is a problem reading framework_3.0.183453.swz. One problem 
> > could be the player trying to load framework_3.0.183453.swz is not 
> > version 9.0.60 or greater. If that is the case then 
> > framework_3.0.183453.swz will be skipped and 
> > framework_3.0.183453.swf will be downloaded.
> > 
> > Since you have specified an unsigned swf RSL as a failover for the 
> > swz RSL, you don't need the -target-player option, but it is not 
> > hurting anything.
> > 
> > What -target-player=9.0.60 does is tell the compiler that you are 
> > going to require player version 9.0.60 or higher in your html 
> > wrapper. This will stop the compiler from complaining if you specify 
> > a swz RSL without a swf RSL as a failover.
> > 
> > 
> > -Darrell
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "danielvlopes"  
> > wrote:
> > >
> > > Hello Alex,
> > > 
> > > Let me understand... the right way is using swz?
> > > 
> > > Like this?
> > >> failonerror="false"
> > > failifexecutionfails="no">
> > >   
> > >   
> > >
> > > 
> > > Why i`m use ANT the .swf and .swz of framework is not generated?
> > > 
> > > --- In flexcoders@yahoogroups.com, "Alex Harui"  wrote:
> > > >
> > > > I think the rsl line is supposed to look like this:
> > > >  
> > > > -runtime-shared-library-
> > path=C:\moxie\frameworks\libs\framework.swc,fram
> > > > ework_3.0.183453.swz,,framework_3.0.183453.swf
> > > >  
> > > > This signifies the use of a digital signature for the rsl 
> > which "turns
> > > > on" the cross-domain rsl feature and requests that the rsl, if 
> > the
> > > > signature is verifed, be stored in a special cache.
> > > >  
> > > > Your syntax is used for regular rsls which are only stored in the
> > > > browser cache.
> > > >  
> > > > -Alex
> > > > 
> > > > 
> > > > 
> > > > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On
> > > > Behalf Of danielvlopes
> > > > Sent: Saturday, October 06, 2007 4:29 PM
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: [flexcoders] Re: Framework Caching not working
> > > > 
> > > > 
> > > > 
> > > > Thanks again alex. :-)
> > > > 
> > > > --- In flexcoders@yahoogroups.com  > 40yahoogroups.com>
> > > > , "Alex Harui"  wrote:
> > > > >
> > > > > Sorry, I think the guy who owns this feature was on vacation 
> > this past
> > > > > week. I'll try to look at it if I get a chance.
> > > > > 
> > > > > -Alex
> > > > > 
> > > > > 
> > > > > 
> > > > > From: flexcoders@yahoogroups.com  > 40yahoogroups.com>
> > > > [mailto:flexcoders@yahoogroups.com  > 40yahoogroups.com>
> > > > ] On
> > > > > Behalf Of danielvlopes
> > > > > Sent: Saturday, October 06, 2007 1:23 PM
> > > > > To: flexcoders@yahoogroups.com  > 40yahoogroups.com> 
> > > > > Subject: [flexcoders] Re: Framework Caching not working
> > > > > 
> > > > > 
> > > > > 
> > > > > Some one can help??
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com
> > > > 
> > > > 
> > > > > , "danielvlopes" 
> > > > > wrote:
> > > > > >
> > > > > > My flash player is 9,0,60,235
> > > > > > 
> > > > > > Even i use Beta 2, caching still not working.
> > > > > > I don't know why, some one can help?
> > > > > > Something wrong with my buil.xml?
> > > > > > 
> > > > > > --- In flexcoders@yahoogroups.com
> > > >  
> > > > >  , Tom Chiverton 
> > 
> > > > > > wrote:
> > > > > > >
> > > > > > > On Wednesday 03 Oct 2007, danielvlopes@ wrote:
> > > > > > > > I don't uderstand Al

Re: [flexcoders] Anyone reading Paul Williams blogging about Presentation Patterns?

2007-10-15 Thread Adam Duston
In our Flex projects we typically use the Passive View pattern (
http://martinfowler.com/eaaDev/PassiveScreen.html). Probably I should blog
about my experience with this, but I am pathologically lazy and terribly
selfish, so I don't have a blog. The applications I'm creating involve a lot
of bidirectional server communication and real-time multiuser interaction,
so using this pattern enables me to create View test doubles that use
LocalConnection to communicate with a central admin testing flex app that
runs test harness scripts. For example, a simple test would be: Have user 1
login, and make sure the name appears in user 2's screen. But we can
essentially replicate arbitrary user interactions using this setup, and test
the application end-to-end modulo Views. We can also substitute mocks for
View classes to test the Controllers. I should mention that coding these
mocks in AS3 is a bit of a PITA. Can anyone think of a way to create a flex
mock test framework? Message me off-list please! Another advantage of this
approach is that my View (i.e. MXML) classes contain very little code, just
setter methods and calls to the Controller. That makes the software text for
these less intimidating to graphic designers.

We are actually looking for someone to help us part-time with our Flex
coding. We can only afford $20 per hour right now, but email me off-list if
you are interested! We are making some pretty cool applications!

Adam


On 10/15/07, Paul Dale <[EMAIL PROTECTED]> wrote:
>
>
> I think the principle of extracting everything that can't be expressed as
> a simple data binding is solid.
>
> That makes it easy to inject a test data object (or series of data or data
> objects) to automate running through each presentation possibility.
>
> ...paul
>
>
> On 10/15/07, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:
> >
> >   Hey all,
> >
> > I'm attempting to get a discussion going here on this topic since Paul
> > disabled comments on his blog.
> >
> > Is anyone else here reading this series?
> >
> > In particular his last post.
> > Supervising Presenter
> >
> > http://weblogs.macromedia.com/paulw/archives/2007/10/presentation_pa_2.cfm
> >
> > One of the benefits he speaks about with using this pattern is,
> > Improved separation of concerns
> > Following the Supervising Presenter pattern should yield an
> > application-specific class hierarchy that is separated from the view
> > classes, but coupled to them. Common presentation concerns can be refactored
> > into Presenter base classes, and this should help to reduce code-duplication
> > and improve consistency across an application.
> >
> > This concern is of huge importance to me as a flex dev.
> >
> > During dev one of the main issues i run into is what will be an
> > 'application-specific view' as opposed to a 'reusable-component' as
> > abstraction can be a time-consuming exercise.
> > I've never been a fan of code behind but i think the 'Presenter' does
> > bring in a useful and easy to implement application level of abstraction
> > that can ease development.
> >
> > btw I also like his use of Binding.
> >
> >
> > regards,
> >
> > Bjorn
> >
> >
> >
> >
>  
>


RE: [flexcoders] value of clicked/focused cell in a datagrid

2007-10-15 Thread Ramsey, Robert L
*Beautiful*  That works perfectly.  Here's my finished code using a
datagrid with an id of myDataGrid and a bound datasource for the grid of
myDataSource.

 

The datagrid is set up like this:



 

Then the getmyvalue function is this:

 

  private function getmyvalue(event:ListEvent):void

  {

originalvalue =
myDataSource[event.rowIndex-1][myDataGrid.columns[event.columnIndex].dat
aField];

lbltwo.text =originalvalue;

  }  

 

 

If anyone copies the code, note that I had to use rowIndex-1 to get the
proper row index, but the columnIndex was fine the way it was.

 

Thanks again for your help, Alex.

 

Bob

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, October 15, 2007 3:04 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] value of clicked/focused cell in a datagrid

 

It would be books[2][dg.columns[3].dataField] unless there are hidden
columns or labelFunctions or custom renderers.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ramsey, Robert L
Sent: Monday, October 15, 2007 12:57 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] value of clicked/focused cell in a datagrid

 

Alex, thanks for the reply.  I tried that, but had problems figuring out
how to put the "name" in.  I may not have explained very well.

 

Let's say I have the following datagrid with an id="books":

 

+-+--+---++

| Condition   | Course   | Price | Bookname   |

+-+--+---++

| In Plastic  | EMB 101  | 100   | Embryology |

| Well-read   | EMB 102  | 75| Embryology |

| In Plastic  | Anat 101 | 100   | Anatomy|

| In Plastic  | Anat 101 | 100   | Anatomy|

| Highlighted | Anat 102 | 25| Anatomy|

| Well-read   | Surg 101 | OBO   | Surgery|

+-+--+---++

 

 

The user can click in any cell in any row or column.  If the user clicks
in row2, column3, I can use rowIndex and columnIndex to get 2 and 3.  I
could get the data by doing books[2].Bookname, but how do I know that
Bookname is the heading for column 3? I could do a lookup that says if
columnIndex==3, then fieldname=Bookname, but how do I use a string
variable in the call?  I know I can do books[rowIndex].Bookname to get
the data, but how do I use a variable for the column name?

 

Or do I just know that because I'm hardcoding in the field names for the
columns in the DataGridColumn?  If I just let the DataGrid component
build the columns, then the columns are dependent on the order of the
fields in the underlying database format and if I ever have to change
that format, then I'd have to update all of this.  I'd like something a
little more portable.

 

Did I explain that ok?

 

Thanks for your help!  It really is appreciated!

 

Bob

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, October 15, 2007 1:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] value of clicked/focused cell in a datagrid

 

acMyStuff[i] is the data object in the dataprovider, but normally those
things are objects with fields and not another array.  Your
datagridcolumns use .datafield to pull the field. So it would be
something like acMyStuff[1].name

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ramsey, Robert L
Sent: Monday, October 15, 2007 10:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] value of clicked/focused cell in a datagrid

 

Ok, I am definitely being a real idiot here.  All I want to do is find
out the value of cell that a user has clicked on, tabbed into, or
entered into.  I can get the row number and column number, but I can't
find the syntax to get the data out of the arraycollection.  For other
languages, I'd just do something like val = acMyStuff[1][4] to get the
data from the multidimensional array.  Any ideas?

 

Thanks.

 

Bob

 

<><>

[flexcoders] Re: Flex is becoming unviable

2007-10-15 Thread danielvlopes
I think this way to optimize rsl will don't work with persistent
framework caching, because flasplayer need swz file for framework
caching, like showed in this topic:

http://tech.groups.yahoo.com/group/flexcoders/message/90015

Alex, thanks for answer, i my first case, the client who payed for
tests with flex, i can use stealth download and it will works fine.

In other website, smaller, i think this is not possible because my
idea is create all frontend in flex (for better experience for user).

Will adobe don't put flex framework inside flashplayer?  

--- In flexcoders@yahoogroups.com, "tim_buntel" <[EMAIL PROTECTED]> wrote:
>
> Thanks for the welcome, Douglas.  It's nice to be here!
> 
> Persistent Framework Caching, aka RSLs, actually reduce the size of 
> your applications.  And, you guessed it, there's a video and feature 
> write-up about RSLs at
> http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions#Pers
> istent_Framework_Caching_.28also_known_as_framework_RSLs_or_cross-
> domain_RSLs.2C_Updated_for_Beta_2.29  There's a section in the 
> article called "How to create an optimized RSL" that documents how to 
> reduce the size of your RSL by over 50%.
> 
> Tim
> 
> --- In flexcoders@yahoogroups.com, "danielvlopes"  
> wrote:
> >
> > The terminology is framework caching and this generate a huge file
> > with 500kb and all this giant file must be load before your swf.
> > 
> > --- In flexcoders@yahoogroups.com, "Brendan Meutzner" 
> > wrote:
> > >
> > > I can't remember the exact terminology for it, but one of the 
> goals
> > > for Flex generated swfs involves caching the common framework 
> files on
> > > client machines, to avoid repeated download, thus cutting the swf 
> size
> > > drastically.  I'm sure Ales or Matt can speak more to this 
> feature.
> > > 
> > > Brendan
> > > 
> > > 
> > > On 10/15/07, Douglas Knudsen  wrote:
> > > > ugh take a look at the release notes for FB3 Beta 2 and be sure
> > you are
> > > > looking at the released version of your SWFs, not the debug
> > versions that
> > > > are generated by default only now.
> > > >
> > > > DK
> > > >
> > > > On 10/15/07, danielvlopes  wrote:
> > > > >
> > > > >   Hello, i create a big project in flex using modules, RSLs 
> and
> > etc...
> > > > > This project is real client, and he accept test flex in you 
> website.
> > > > > Everything works fine (ignoring the 500kb framework file it is
> > > > > necessary for users to access the site.)
> > > > >
> > > > > Now i thinking use flex in small projects like simple 
> websites,
> > in old
> > > > > versions of flex, like 3beta 1 or flex 2 swf files are 
> smaller, like
> > > > > 200kb or 130kb (not really small but acceptable). But now, 
> with
> > beta 2
> > > > > simple files came to 400kb.
> > > > >
> > > > > I becoming thinking i waste my time learning flex and waste 
> the
> > money
> > > > > of my client testing flex in your app, I am already thinking 
> about
> > > > > redo the whole project in ruby on rails and ajax.
> > > > >
> > > > > If adobe and flex team does not begin to worry about the size 
> of
> > swfs
> > > > > believe deeply that the flex will not last for a long 
> time  And
> > > > > certainly I will have wasted time and money.
> > > > >
> > > > > :(
> > > > >
> > > > > This is the code i use for test size of swf:
> > > > >
> > > > > 
> > > > > http://www.adobe.com/2006/mxml";
> > > > > layout="absolute">
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Douglas Knudsen
> > > > http://www.cubicleman.com
> > > > this is my signature, like it?
> > > >
> > > 
> > > 
> > > -- 
> > > Brendan Meutzner
> > > http://www.meutzner.com/blog/
> > >
> >
>




Re: [flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Here is what I have done to get a RemoteObject Array into the ComboBox.




Then within the 
[Bindable] private var SchoolBuildingsDP:Array;

private function GetSchoolBuildings_Result(event:ResultEvent):void {
  SchoolBuildingsDP = ArrayUtil.toArray(event.result);
}

Now my RemoteObject is
http://{ServerName}/flex2gateway/";>


{SiteID}







George Georgiou wrote:
> This simple task is really very confusing :-(
>
> I have been through tutorials, references with comboboxes and Arrays and
> this really appears very simple there. However when it comes to
remoteobject
> it gets extremenly complicated :-(
>
> My guess is.. is there any easy way to convert my ArrayCollection that
comes
> from the RemoteObject into an array which has no problems at all with the
> combobox?
>
> i.e. in order to use this dataprovider in a combobox is very easy!
>
> [Bindable]
> public var cards: Array = [ {label:"Visa", data:1},
> {label:"MasterCard", data:2}, {label:"American Express",
> data:3} ];
>
> [Bindable]
> public var selectedItem:Object;
>
> Can I get a remoteobject return me some date and using some simple AS3 to
> convert what comes back from my service into this?
>
> thanks,
> George
>
> ps: sorry if this sounds like a dump idea - i m not really experianced Flex
> Developer at all, just started it :-)
>
>
>
> On 10/15/07, Randy Martin <[EMAIL PROTECTED]> wrote:
>>Here's the code for the Adobe BindableComboBox.mxml that's generated by
>> the ColdFusion Application Wizard. This will do what you want.
>>
>> 
>> 
>> http://www.adobe.com/2006/mxml"; xmlns="*"
>> creationComplete="componentInit()">
>>   
>> 
>>   
>> 
>>
>> ~randy
>>
>>
>> --- In flexcoders@yahoogroups.com, "T" <[EMAIL PROTECTED]> wrote:
>>> Actually this is a good question, and I am in the same boat and also do
>>> not know the correct way to handle this.
>>>
>>> I have a value object in my data model that came from a table in a
>>> database via a RemoteObject call. The VO has an int field that is a
>>> foreign key reference to a record in the people table. I have a
>>> combobox that gets its list of people from the people table, including
>>> their person_id fields, displays the name field, but I need to bind the
>>> combo item to the person_id int field in the VO. This does not seem to
>>> be possible out of the box, and it looks like flex3 doesn't have it
>>> either. Does this mean I have to manually implement an itemchanged
>>> event handler for changes in the combo box, and manually set the
>>> selected combo item when the value object is first loaded? And even
>>> with this, if the model changes, the view would not see it happen. Is
>>> there some way to make this binding?
>>>
>>> T
>>>
>>> --- In flexcoders@yahoogroups.com, "George Georgiou" george1977@
>>> wrote:
 Hi there,

 I got a remoteobject which loads data from an sql table. I got
>>> something
 like 5 fields for customers.

 I want to populate a combobox showing the name of the customer and
>>> having
 as a value the customer_id.

 After Googling it a bit, I have ended up with this:

 >>> labelField="customer_name"/>

 this works great! But what about the dataField? (at my suprise I have
>>> found
 out that although a labelField does exist - which is cool, a dataField
 attribute does not exist).

 How can I bind the customer_id into my combobox? Any ideas?

 thanks,
 George

>>
>>
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iQEVAwUBRxPNmXnjLHMPlkANAQIixQgAmQ1x9Q74tdvCFOQgD+WyMzIUGjhtegYE
AcD6szylFXYTSspGNHJHtcSus5ADSoD+Pyuw1NKhJ0TEAAUDzdKD8SuAQ8rpTJTS
n60hd1oNJtrHG3C9Tui9lKM2bxTaoplkgdOtDi3Xc49lAJxoqNWVyIdWmJqObKj6
mI1U8klVTCRm+7UeA3Q2ntdN2ae19uqh2ATJJT7PUyo9URe3gbS21jc2nDmOuuFQ
geUx4pmop1Yhnaewov88+ftV2JzGVcKFbvQxbiFc+PwjwjoIn3gsGvrlFAkgPk2b
IfFC6avvtFNGXvB/c8KEi62m/QK8eKcjt5mprfaZ/VmzJpHGruGBSA==
=E89z
-END PGP SIGNATURE-


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[flexcoders] Re: Flex MouseEvent and loaded SWF with mouse handlers problem

2007-10-15 Thread essuark
Hello Sergey,

Did you figure this out? I am having the same problem, at least 
in my situation, the swf has it's own actionscript so the events are 
not bubbling up to my flex app. 

thanks
Ralph

--- In flexcoders@yahoogroups.com, "Sergey Kovalyov" 
<[EMAIL PROTECTED]> wrote:
>
> Hi All!
> 
> I have Canvas instance and SWFLoader inside it. Listener 
onMyCanvasMouseMove()
> is added to this Canvas. It just trace myCanvas.mouseX and
> myCanvas.mouseYactually. Loaded
> test.swf (AVM1 movie) contains some MovieClip instances with 
rollOver
> handlers assigned. The problem is that if mouse is moving over those
> instances, onMyCanvasMouseMove() is not called. In Flex terminology 
it seems
> that Flash mouse listeners call kind of event.stopPropagadion()
> automatically.
> 
>  mouseMove="onMyCanvasMouseMove()">
> 
> 
> 
> 
> 
> I just need to catch all mouse moves over the canvas indepedently 
on AVM1
> movies loaded into it. Is it possible?
> 
> Thank you in advance!
> Sergey.
>




[flexcoders] Re: Flex MDI

2007-10-15 Thread ben.clinkinbeard
Hi Greg,

Thanks for the compliment, we all appreciate it. Do you just want to
programmatically minimize the window? If so, MDIWindow provides a
minimize() method to do just that. If I misunderstood your request let
me know.

HTH,
Ben


--- In flexcoders@yahoogroups.com, Mr Greg Murnock <[EMAIL PROTECTED]> wrote:
>
> Anyone else using the FLEX MDI? (awesome stuff by the way)
> How would I call/activate the click event for the minimize button of
an MDIWindow using the FLEX MDI?
>  
> Greg
> 
> 
>  

> Shape Yahoo! in your own image.  Join our Network Research Panel
today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
>




[flexcoders] Re: Framework Caching not working

2007-10-15 Thread danielvlopes
Hello Darrell, i trying to do this:
-runtime-shared-library-path=C:\3.0.0\frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf
-target-player=9.0.60

like you said, but i getting error:
command line: Error: configuration variable
'runtime-shared-library-path' requires a value for 'rsl-url'

--- In flexcoders@yahoogroups.com, "Darrell Loverin"
<[EMAIL PROTECTED]> wrote:
>
> Yes, that is a correct way of using a swz (signed by Adobe) RSL. The 
> first URL is framework_3.0.183453.swz. Since there is no path, it 
> means you are deploying framework_3.0.183453.swz in the same 
> directory as your application. As was noted in a previous post, the 
> rsls are located in the frameworks/rsls subdirectory of the SDK. The 
> next parameter is the policy file URL which you have left blank 
> since a policy file not needed to read framework_3.0.183453.swz. The 
> next URL, framework_3.0.183453.swf, is the failover URL in case 
> there is a problem reading framework_3.0.183453.swz. One problem 
> could be the player trying to load framework_3.0.183453.swz is not 
> version 9.0.60 or greater. If that is the case then 
> framework_3.0.183453.swz will be skipped and 
> framework_3.0.183453.swf will be downloaded.
> 
> Since you have specified an unsigned swf RSL as a failover for the 
> swz RSL, you don't need the -target-player option, but it is not 
> hurting anything.
> 
> What -target-player=9.0.60 does is tell the compiler that you are 
> going to require player version 9.0.60 or higher in your html 
> wrapper. This will stop the compiler from complaining if you specify 
> a swz RSL without a swf RSL as a failover.
> 
> 
> -Darrell
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "danielvlopes"  
> wrote:
> >
> > Hello Alex,
> > 
> > Let me understand... the right way is using swz?
> > 
> > Like this?
> >  failonerror="false"
> > failifexecutionfails="no">
> > 
> > 
> >  
> > 
> > Why i`m use ANT the .swf and .swz of framework is not generated?
> > 
> > --- In flexcoders@yahoogroups.com, "Alex Harui"  wrote:
> > >
> > > I think the rsl line is supposed to look like this:
> > >  
> > > -runtime-shared-library-
> path=C:\moxie\frameworks\libs\framework.swc,fram
> > > ework_3.0.183453.swz,,framework_3.0.183453.swf
> > >  
> > > This signifies the use of a digital signature for the rsl 
> which "turns
> > > on" the cross-domain rsl feature and requests that the rsl, if 
> the
> > > signature is verifed, be stored in a special cache.
> > >  
> > > Your syntax is used for regular rsls which are only stored in the
> > > browser cache.
> > >  
> > > -Alex
> > > 
> > > 
> > > 
> > > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > > Behalf Of danielvlopes
> > > Sent: Saturday, October 06, 2007 4:29 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: Framework Caching not working
> > > 
> > > 
> > > 
> > > Thanks again alex. :-)
> > > 
> > > --- In flexcoders@yahoogroups.com  40yahoogroups.com>
> > > , "Alex Harui"  wrote:
> > > >
> > > > Sorry, I think the guy who owns this feature was on vacation 
> this past
> > > > week. I'll try to look at it if I get a chance.
> > > > 
> > > > -Alex
> > > > 
> > > > 
> > > > 
> > > > From: flexcoders@yahoogroups.com  40yahoogroups.com>
> > > [mailto:flexcoders@yahoogroups.com  40yahoogroups.com>
> > > ] On
> > > > Behalf Of danielvlopes
> > > > Sent: Saturday, October 06, 2007 1:23 PM
> > > > To: flexcoders@yahoogroups.com  40yahoogroups.com> 
> > > > Subject: [flexcoders] Re: Framework Caching not working
> > > > 
> > > > 
> > > > 
> > > > Some one can help??
> > > > 
> > > > --- In flexcoders@yahoogroups.com
> > > 
> > > 
> > > > , "danielvlopes" 
> > > > wrote:
> > > > >
> > > > > My flash player is 9,0,60,235
> > > > > 
> > > > > Even i use Beta 2, caching still not working.
> > > > > I don't know why, some one can help?
> > > > > Something wrong with my buil.xml?
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com
> > >  
> > > >  , Tom Chiverton 
> 
> > > > > wrote:
> > > > > >
> > > > > > On Wednesday 03 Oct 2007, danielvlopes@ wrote:
> > > > > > > I don't uderstand Alex, i not sure it is important but 
> i'm using
> > > > flex
> > > > > > > builder 3 beta 1.
> > > > > > 
> > > > > > Beta 2 is out now, try that.
> > > > > > Also, what Player version do you have ? Only 9.0.60 or 
> better can
> > > > > make use of 
> > > > > > RSL.
> > > > > > It is my understanding that older players will fall back to
> > > > loading the 
> > > > > > framework every time.
> > > > > > 
> > > > > > -- 
> > > > > > Tom Chiverton
> > > > > > Helping to vitalistically establish bricks-and-clicks
>

Re: [flexcoders] trying to track down an error..

2007-10-15 Thread Greg Morphis
Still nada. I compared the files I thought were suspect to the files we have
on our dev server (which is working fine).
Does this look like a tomcat issue or somewhere else.


On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
>
> Am I looking in the right area?
> Am I completely off target? Is there anything I can check?
> Thanks
>
>
>
> On 10/15/07, Greg Morphis < [EMAIL PROTECTED]> wrote:
> >
> > I checked the WEB-INF/web.xml and have the roles defined there
> > 
> > AOPScheduler-BASICAM
> > AOPScheduler-BASICINQ
> >   
> >
> >
> > 
> >   
> > The role that is required to log in to the Manager Application
> >   
> >   AOPScheduler-BASICAM
> >   
> > 
> >   
> > The role that is required to log in to the Reader Application
> >   
> >   AOPScheduler-BASICINQ
> >   
> >
> >
> >
> >
> > I'm not sure where else I should be checking.. Anyone have any ideas?
> >
> > Thanks
> >
> >
> >
> >
> > On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > >
> > > I think it has to do with Tomcat...
> > > I installed the log4j logger and watching the stuff in the Eclipse
> > > IDE..
> > > In the flex-remoting file I have :
> > >
> > > 
> > > 
> > > 
> > > com.alltel.rapid.aopscheduler.business.EmployeeDelegate
> > > application
> > > 
> > > 
> > > 
> > > Basic
> > > 
> > > AOPScheduler-BASICAM
> > > AOPScheduler-BASICINQ
> > >
> > > 
> > > 
> > > 
> > >
> > > 
> > >
> > > Which looks good.. but in the debugger I'm seeing..
> > >
> > > 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
> > > org.apache.catalina.realm.RealmBase - Username e0087890 has role
> > > AOPScheduler-BASICINQ
> > > 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
> > > org.apache.catalina.realm.RealmBase - No role found:
> > > AOPScheduler-BASICINQ
> > >
> > > The "no role found" look wierd.. I'm thinking Tomcat is the problem
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > > >
> > > >  > > > destination="EmployeeServiceRO"
> > > > result="event.token.resultHandler( event )"
> > > > fault="event.token.faultHandler ( event )"
> > > > showBusyCursor="true" />
> > > >
> > > >
> > > > Where? I havent looked at this code since March? And even then it
> > > > wasnt me who set this up.
> > > > Where can I check the configuration? Thanks
> > > >
> > > >
> > > >
> > > > On 10/15/07, Anatole Tartakovsky <[EMAIL PROTECTED] >
> > > > wrote:
> > > > >
> > > > >  'Unknown destination 'EmployeeServiceRO' - please check you
> > > > > remoting configurations
> > > > >
> > > > >
> > > > >
> > > > > On 10/15/07, Greg Morphis < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > >   So I've inherited a flex app. It's been months since I've
> > > > > > looked at
> > > > > > Flex and Cairngorm.
> > > > > > The time change coming up is starting to rear it's ugly head and
> > > > > > I'm
> > > > > > trying to get this going and fixed before Nov 4th.
> > > > > > I've got the app all set up, checked it out through CVS and
> > > > > > there's an
> > > > > > error, right on login..
> > > > > >
> > > > > > I Alert the event in the onFault function and it states
> > > > > >
> > > > > > [FaultEvent fault=[RPC Fault faultString="[MessagingError
> > > > > > message='Unknown destination 'EmployeeServiceRO'.']"
> > > > > > faultCode="InvokeFailed" faultDetail="Couldn't establish a
> > > > > > connection
> > > > > > to 'EmployeeServiceRO'"]
> > > > > > messageId="47E7A8FA-EB41-1E60-A96D-A474ECC048D1"
> > > > > > type="fault"
> > > > > > bubbles=false
> > > > > > cancelable=true eventPhase=2]
> > > > > >
> > > > > > Not sure where to go next for this error. Any help would be
> > > > > > appreciated.
> > > > > > Thanks
> > > > > >
> > > > >
> > > > > 
> > > > >
> > > >
> > > >
> > >
> >
>


[flexcoders] Capturing RollOver events in a loaded swf that has it own actionscript.

2007-10-15 Thread essuark
I have a swf that I load in my flex application. Apparently, the swf 
has some actionscript behind so my flex application will not recieve a 
RollOver event because I am assuming that the swf that I load is 
capturing that event. Is there a way I can override this?

Thanks
Ralph



[flexcoders] Re: VerifyError: Error #1053: Illegal override of virtualWidth in mx.controls.HS

2007-10-15 Thread sk_acura
Hi Alex,

  Yes they are all build using the same SDK Version which is
  
  flex3sdk_b1_061107

  This is happening when i do the following:

 moduleInfo =
ModuleManager.getModule(Application.application.url+"MyNavigator.swf");

 And it gives no errors when i use the below:

 moduleInfo = ModuleManager.getModule("MyNavigator.swf");

 How ever i have to access the URL http:///MyNavigator.mxml before
accessing the actual URL which loads the above Module..

Regards
Kumar

  

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Are the modules and app all built using the same SDK version?
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of sk_acura
> Sent: Tuesday, October 02, 2007 10:43 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] VerifyError: Error #1053: Illegal override of
> virtualWidth in mx.controls.HScrol
> 
> 
> 
> Hi All,
> 
> I am getting the Following Error when i try to load a module in my app..
> 
> I have found a JIRA Issue already opened on this ..But i don't see
> any info reg how this can be resolved..
> 
> the URL is http://bugs.adobe.com/jira/browse/SDK-10858
>  
> 
> The Environment i am using is:
> 
> Open SUSE10.1
> Flex 3 SDK Beta 1
> Flex Live Cycle DataServices
> Tomcat Version 6.0.9
> JDK Version 1.5.0_10
> 
> [ERROR]
> 
> VerifyError: Error #1053: Illegal override of virtualWidth in
> mx.controls.HScrollBar.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _DataGridStyle__embed_css_Assets_swf_cursorStretch_2002600740 is not
> defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _DividedBoxStyle__embed_css_Assets_swf_mx_skins_cursor_VBoxDivider_27775
> 5828
> is not defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _DragManagerStyle__embed_css_Assets_swf_mx_skins_cursor_DragLink_1249535
> 2
> is not defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _TreeStyle__embed_css_Assets_swf_TreeFolderClosed_80449675 is not
> defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _DragManagerStyle__embed_css_Assets_swf_mx_skins_cursor_DragReject_20452
> 48557
> is not defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _TreeStyle__embed_css_Assets_swf_TreeNodeIcon_132999082 is not defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _HDividedBoxStyle__embed_css_Assets_swf_mx_skins_cursor_HBoxDivider_1559
> 228938
> is not defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _HDividedBoxStyle__embed_css_Assets_swf_mx_skins_BoxDividerSkin_39339693
> is not defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _TreeStyle__embed_css_Assets_swf_TreeDisclosureOpen_1208473086 is not
> defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1065: Variable
> _TreeStyle__embed_css_Assets_swf_TreeDisclosureClosed_1632204892 is
> not defined.
> at flash.display::MovieClip/nextFrame()
> at mx.core::FlexModuleFactory/::deferredNextFrame()
> at mx.core::FlexModuleFactory/::update()
> at mx.core::FlexModuleFactory/::moduleCompleteHandler()
> ReferenceError: Error #1

RE: [flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread Tracy Spratt
The "source" property will return the array that the ArrayCollection
wraps.

 

But I don't think this is either your problem or solution.  The way you
get your data into Flex should be irrelevant to how you consume it in a
control.  An ArrayCollection is an ArrayCollection, regardless of how
you get it.  Have you debugged the RemoteObject result in the result
handler to see that it is what you are expecting?

 

Hmm, before I forget, don't name a variable "selectedItem", that is used
by the ComboBox and other list controls.

 

Exactly where are you now?  What is working and what is not and what is
your goal?

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of George Georgiou
Sent: Monday, October 15, 2007 3:30 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: ComboBox populate list with remoteobject

 

This simple task is really very confusing :-(

 

I have been through tutorials, references with comboboxes and Arrays and
this really appears very simple there. However when it comes to
remoteobject it gets extremenly complicated :-(

 

My guess is.. is there any easy way to convert my ArrayCollection that
comes from the RemoteObject into an array which has no problems at all
with the combobox?

 

i.e. in order to use this dataprovider in a combobox is very easy!

 

[Bindable]
public var cards: Array = [ {label:"Visa", data:1}, 
{label:"MasterCard", data:2}, {label:"American Express",
data:3} ];
  
[Bindable] 
public var selectedItem:Object;

 

Can I get a remoteobject return me some date and using some simple AS3
to convert what comes back from my service into this?

 

thanks,

George

 

ps: sorry if this sounds like a dump idea - i m not really experianced
Flex Developer at all, just started it :-)



 

On 10/15/07, Randy Martin <[EMAIL PROTECTED] 
> wrote: 

Here's the code for the Adobe BindableComboBox.mxml that's generated by
the ColdFusion Application Wizard. This will do what you want.



http://www.adobe.com/2006/mxml
 " xmlns="*"
creationComplete="componentInit()">
  

  


~randy


--- In flexcoders@yahoogroups.com  , "T" <[EMAIL PROTECTED]>
wrote:
>
> Actually this is a good question, and I am in the same boat and also
do 
> not know the correct way to handle this.
> 
> I have a value object in my data model that came from a table in a
> database via a RemoteObject call. The VO has an int field that is a
> foreign key reference to a record in the people table. I have a 
> combobox that gets its list of people from the people table, including
> their person_id fields, displays the name field, but I need to bind
the
> combo item to the person_id int field in the VO. This does not seem to

> be possible out of the box, and it looks like flex3 doesn't have it
> either. Does this mean I have to manually implement an itemchanged
> event handler for changes in the combo box, and manually set the 
> selected combo item when the value object is first loaded? And even
> with this, if the model changes, the view would not see it happen. Is
> there some way to make this binding?
> 
> T
> 
> --- In flexcoders@yahoogroups.com  , "George
Georgiou" george1977@
> wrote:
> >
> > Hi there,
> >
> > I got a remoteobject which loads data from an sql table. I got
> something
> > like 5 fields for customers.
> >
> > I want to populate a combobox showing the name of the customer and 
> having
> > as a value the customer_id.
> >
> > After Googling it a bit, I have ended up with this:
> >
> >  > labelField="customer_name"/>
> >
> > this works great! But what about the dataField? (at my suprise I
have
> found
> > out that although a labelField does exist - which is cool, a
dataField 
> > attribute does not exist).
> >
> > How can I bind the customer_id into my combobox? Any ideas?
> >
> > thanks,
> > George
> >
>

 

 



RE: [flexcoders] value of clicked/focused cell in a datagrid

2007-10-15 Thread Alex Harui
It would be books[2][dg.columns[3].dataField] unless there are hidden
columns or labelFunctions or custom renderers.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ramsey, Robert L
Sent: Monday, October 15, 2007 12:57 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] value of clicked/focused cell in a datagrid

 

Alex, thanks for the reply.  I tried that, but had problems figuring out
how to put the "name" in.  I may not have explained very well.

 

Let's say I have the following datagrid with an id="books":

 

+-+--+---++

| Condition   | Course   | Price | Bookname   |

+-+--+---++

| In Plastic  | EMB 101  | 100   | Embryology |

| Well-read   | EMB 102  | 75| Embryology |

| In Plastic  | Anat 101 | 100   | Anatomy|

| In Plastic  | Anat 101 | 100   | Anatomy|

| Highlighted | Anat 102 | 25| Anatomy|

| Well-read   | Surg 101 | OBO   | Surgery|

+-+--+---++

 

 

The user can click in any cell in any row or column.  If the user clicks
in row2, column3, I can use rowIndex and columnIndex to get 2 and 3.  I
could get the data by doing books[2].Bookname, but how do I know that
Bookname is the heading for column 3? I could do a lookup that says if
columnIndex==3, then fieldname=Bookname, but how do I use a string
variable in the call?  I know I can do books[rowIndex].Bookname to get
the data, but how do I use a variable for the column name?

 

Or do I just know that because I'm hardcoding in the field names for the
columns in the DataGridColumn?  If I just let the DataGrid component
build the columns, then the columns are dependent on the order of the
fields in the underlying database format and if I ever have to change
that format, then I'd have to update all of this.  I'd like something a
little more portable.

 

Did I explain that ok?

 

Thanks for your help!  It really is appreciated!

 

Bob

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, October 15, 2007 1:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] value of clicked/focused cell in a datagrid

 

acMyStuff[i] is the data object in the dataprovider, but normally those
things are objects with fields and not another array.  Your
datagridcolumns use .datafield to pull the field. So it would be
something like acMyStuff[1].name

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ramsey, Robert L
Sent: Monday, October 15, 2007 10:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] value of clicked/focused cell in a datagrid

 

Ok, I am definitely being a real idiot here.  All I want to do is find
out the value of cell that a user has clicked on, tabbed into, or
entered into.  I can get the row number and column number, but I can't
find the syntax to get the data out of the arraycollection.  For other
languages, I'd just do something like val = acMyStuff[1][4] to get the
data from the multidimensional array.  Any ideas?

 

Thanks.

 

Bob

 



RE: [flexcoders] value of clicked/focused cell in a datagrid

2007-10-15 Thread Ramsey, Robert L
Alex, thanks for the reply.  I tried that, but had problems figuring out
how to put the "name" in.  I may not have explained very well.

 

Let's say I have the following datagrid with an id="books":

 

+-+--+---++

| Condition   | Course   | Price | Bookname   |

+-+--+---++

| In Plastic  | EMB 101  | 100   | Embryology |

| Well-read   | EMB 102  | 75| Embryology |

| In Plastic  | Anat 101 | 100   | Anatomy|

| In Plastic  | Anat 101 | 100   | Anatomy|

| Highlighted | Anat 102 | 25| Anatomy|

| Well-read   | Surg 101 | OBO   | Surgery|

+-+--+---++

 

 

The user can click in any cell in any row or column.  If the user clicks
in row2, column3, I can use rowIndex and columnIndex to get 2 and 3.  I
could get the data by doing books[2].Bookname, but how do I know that
Bookname is the heading for column 3? I could do a lookup that says if
columnIndex==3, then fieldname=Bookname, but how do I use a string
variable in the call?  I know I can do books[rowIndex].Bookname to get
the data, but how do I use a variable for the column name?

 

Or do I just know that because I'm hardcoding in the field names for the
columns in the DataGridColumn?  If I just let the DataGrid component
build the columns, then the columns are dependent on the order of the
fields in the underlying database format and if I ever have to change
that format, then I'd have to update all of this.  I'd like something a
little more portable.

 

Did I explain that ok?

 

Thanks for your help!  It really is appreciated!

 

Bob

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, October 15, 2007 1:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] value of clicked/focused cell in a datagrid

 

acMyStuff[i] is the data object in the dataprovider, but normally those
things are objects with fields and not another array.  Your
datagridcolumns use .datafield to pull the field. So it would be
something like acMyStuff[1].name

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ramsey, Robert L
Sent: Monday, October 15, 2007 10:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] value of clicked/focused cell in a datagrid

 

Ok, I am definitely being a real idiot here.  All I want to do is find
out the value of cell that a user has clicked on, tabbed into, or
entered into.  I can get the row number and column number, but I can't
find the syntax to get the data out of the arraycollection.  For other
languages, I'd just do something like val = acMyStuff[1][4] to get the
data from the multidimensional array.  Any ideas?

 

Thanks.

 

Bob

 



RE: [flexcoders] Re: Flex is becoming unviable

2007-10-15 Thread Alex Harui
Your choices are framework caching or modules.  The framework is big but
remember that it only gets downloaded once and then everyone saves in
their subsequent downloads.  Those very same people already downloaded a
rather large Flash Player 9 which is required to utilize this feature.
It isn't too much different than forcing a player upgrade.  Like a
player upgrade, the problem is that someone does have to take that first
"hit" and so the user's experience of their very first Flex app that
uses the framework cache is not as nice especially on slow networks.

 

I've been thinking about sneaky ways to get folks to download the
framework cache like a hidden SWF on an HTML page if your site is such
that you don't go immediately to the Flex app.  Maybe some banner ads on
Yahoo and Google or other places where users have significant "dwell"
time.  I've also wanted to prototype a template for a slide-show to use
as a download progress bar so folks have something interesting to read
while the framework is downloaded.

 

If a significant number of my users had slow networks (I can name at
least 3 people still on dialup), and I really felt there was no way to
hide the initial framework download, I might go with modules.

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danielvlopes
Sent: Monday, October 15, 2007 12:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex is becoming unviable

 

Thanks for video, now the file had 300kb and not 400kb, i still
thinking this is a big file... I thinking adobe need take a look in
ways to optimize the size of swfs...

I really love flex and what can be done with him, but the size of swfs
is your worst problem.

Some one know other way to optimize swfs without framework caching?

--- In flexcoders@yahoogroups.com 
, "danielvlopes" <[EMAIL PROTECTED]>
wrote:
>
> The terminology is framework caching and this generate a huge file
> with 500kb and all this giant file must be load before your swf.
> 
> --- In flexcoders@yahoogroups.com
 , "Brendan Meutzner" 
> wrote:
> >
> > I can't remember the exact terminology for it, but one of the goals
> > for Flex generated swfs involves caching the common framework files
on
> > client machines, to avoid repeated download, thus cutting the swf
size
> > drastically. I'm sure Ales or Matt can speak more to this feature.
> > 
> > Brendan
> > 
> > 
> > On 10/15/07, Douglas Knudsen  wrote:
> > > ugh take a look at the release notes for FB3 Beta 2 and be sure
> you are
> > > looking at the released version of your SWFs, not the debug
> versions that
> > > are generated by default only now.
> > >
> > > DK
> > >
> > > On 10/15/07, danielvlopes  wrote:
> > > >
> > > > Hello, i create a big project in flex using modules, RSLs and
> etc...
> > > > This project is real client, and he accept test flex in you
website.
> > > > Everything works fine (ignoring the 500kb framework file it is
> > > > necessary for users to access the site.)
> > > >
> > > > Now i thinking use flex in small projects like simple websites,
> in old
> > > > versions of flex, like 3beta 1 or flex 2 swf files are
smaller, like
> > > > 200kb or 130kb (not really small but acceptable). But now, with
> beta 2
> > > > simple files came to 400kb.
> > > >
> > > > I becoming thinking i waste my time learning flex and waste the
> money
> > > > of my client testing flex in your app, I am already thinking
about
> > > > redo the whole project in ruby on rails and ajax.
> > > >
> > > > If adobe and flex team does not begin to worry about the size of
> swfs
> > > > believe deeply that the flex will not last for a long time
 And
> > > > certainly I will have wasted time and money.
> > > >
> > > > :(
> > > >
> > > > This is the code i use for test size of swf:
> > > >
> > > > 
> > > > http://www.adobe.com/2006/mxml
 "
> > > > layout="absolute">
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Douglas Knudsen
> > > http://www.cubicleman.com  
> > > this is my signature, like it?
> > >
> > 
> > 
> > -- 
> > Brendan Meutzner
> > http://www.meutzner.com/blog/  
> >
>

 



RE: [flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread Alex Harui
The ComboBox knows how to work with ArrayCollection.  No conversion
should be needed.  What does your ArrayCollectiion data look like when
it came from RemoteObject?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of George Georgiou
Sent: Monday, October 15, 2007 12:30 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: ComboBox populate list with remoteobject

 

This simple task is really very confusing :-(

 

I have been through tutorials, references with comboboxes and Arrays and
this really appears very simple there. However when it comes to
remoteobject it gets extremenly complicated :-(

 

My guess is.. is there any easy way to convert my ArrayCollection that
comes from the RemoteObject into an array which has no problems at all
with the combobox?

 

i.e. in order to use this dataprovider in a combobox is very easy!

 

[Bindable]
public var cards: Array = [ {label:"Visa", data:1}, 
{label:"MasterCard", data:2}, {label:"American Express",
data:3} ];
  
[Bindable] 
public var selectedItem:Object;

 

Can I get a remoteobject return me some date and using some simple AS3
to convert what comes back from my service into this?

 

thanks,

George

 

ps: sorry if this sounds like a dump idea - i m not really experianced
Flex Developer at all, just started it :-)



 

On 10/15/07, Randy Martin <[EMAIL PROTECTED] 
> wrote: 

Here's the code for the Adobe BindableComboBox.mxml that's generated by
the ColdFusion Application Wizard. This will do what you want.



http://www.adobe.com/2006/mxml
 " xmlns="*"
creationComplete="componentInit()">
  

  


~randy


--- In flexcoders@yahoogroups.com  , "T" <[EMAIL PROTECTED]>
wrote:
>
> Actually this is a good question, and I am in the same boat and also
do 
> not know the correct way to handle this.
> 
> I have a value object in my data model that came from a table in a
> database via a RemoteObject call. The VO has an int field that is a
> foreign key reference to a record in the people table. I have a 
> combobox that gets its list of people from the people table, including
> their person_id fields, displays the name field, but I need to bind
the
> combo item to the person_id int field in the VO. This does not seem to

> be possible out of the box, and it looks like flex3 doesn't have it
> either. Does this mean I have to manually implement an itemchanged
> event handler for changes in the combo box, and manually set the 
> selected combo item when the value object is first loaded? And even
> with this, if the model changes, the view would not see it happen. Is
> there some way to make this binding?
> 
> T
> 
> --- In flexcoders@yahoogroups.com  , "George
Georgiou" george1977@
> wrote:
> >
> > Hi there,
> >
> > I got a remoteobject which loads data from an sql table. I got
> something
> > like 5 fields for customers.
> >
> > I want to populate a combobox showing the name of the customer and 
> having
> > as a value the customer_id.
> >
> > After Googling it a bit, I have ended up with this:
> >
> >  > labelField="customer_name"/>
> >
> > this works great! But what about the dataField? (at my suprise I
have
> found
> > out that although a labelField does exist - which is cool, a
dataField 
> > attribute does not exist).
> >
> > How can I bind the customer_id into my combobox? Any ideas?
> >
> > thanks,
> > George
> >
>

 

 



RE: [flexcoders] x positioning of DataTip for List control

2007-10-15 Thread Alex Harui
A custom renderer should be able to catch the ToolTipEvent.TOOL_TIP_SHOW
event and change position of the datatip.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pfkellogg
Sent: Monday, October 15, 2007 12:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] x positioning of DataTip for List control

 

I have a List with a dataTipFunction assigned. I need to move the
rendered dataTip x position over to the right so I can click in my
list easily. Does anyone have any ideas or code sample? thanks.

 



RE: [flexcoders] Multiple IFrames in Flex

2007-10-15 Thread Dimitrios Gianninas
Are you using the Iframe trick to show HTML with a Flex app? is that what you 
are doing and are asking how to show multiple ones?
 
Dimitrios Gianninas
Development Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Flexing...
Sent: Monday, October 15, 2007 12:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple IFrames in Flex



Hi All,

I am building an application which require me to show
multiple IFrame based "banners" on a Panel.

Is their a way to achieve this in Flex ?
Is Adobe doing something in the direction to support IFrames in Flex ?

Currently I am using a servlet based solution i..e create a single 
servlet based HTML page containing all IFrame "banners"
and serve this HTML page as IFrame in Flex.

Because of this limitation I have to provide the support of editing 
of all the information related to those banners also in servlet.

Anybody has a better solution please share.

Thanks
Bhuvan


 

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

AVIS IMPORTANT
--
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.



Re: [flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread George Georgiou
This simple task is really very confusing :-(

I have been through tutorials, references with comboboxes and Arrays and
this really appears very simple there. However when it comes to remoteobject
it gets extremenly complicated :-(

My guess is.. is there any easy way to convert my ArrayCollection that comes
from the RemoteObject into an array which has no problems at all with the
combobox?

i.e. in order to use this dataprovider in a combobox is very easy!

[Bindable]
public var cards: Array = [ {label:"Visa", data:1},
{label:"MasterCard", data:2}, {label:"American Express",
data:3} ];

[Bindable]
public var selectedItem:Object;

Can I get a remoteobject return me some date and using some simple AS3 to
convert what comes back from my service into this?

thanks,
George

ps: sorry if this sounds like a dump idea - i m not really experianced Flex
Developer at all, just started it :-)



On 10/15/07, Randy Martin <[EMAIL PROTECTED]> wrote:
>
>Here's the code for the Adobe BindableComboBox.mxml that's generated by
> the ColdFusion Application Wizard. This will do what you want.
>
> 
> 
> http://www.adobe.com/2006/mxml"; xmlns="*"
> creationComplete="componentInit()">
>   
> 
>   
> 
>
> ~randy
>
>
> --- In flexcoders@yahoogroups.com, "T" <[EMAIL PROTECTED]> wrote:
> >
> > Actually this is a good question, and I am in the same boat and also do
> > not know the correct way to handle this.
> >
> > I have a value object in my data model that came from a table in a
> > database via a RemoteObject call. The VO has an int field that is a
> > foreign key reference to a record in the people table. I have a
> > combobox that gets its list of people from the people table, including
> > their person_id fields, displays the name field, but I need to bind the
> > combo item to the person_id int field in the VO. This does not seem to
> > be possible out of the box, and it looks like flex3 doesn't have it
> > either. Does this mean I have to manually implement an itemchanged
> > event handler for changes in the combo box, and manually set the
> > selected combo item when the value object is first loaded? And even
> > with this, if the model changes, the view would not see it happen. Is
> > there some way to make this binding?
> >
> > T
> >
> > --- In flexcoders@yahoogroups.com, "George Georgiou" george1977@
> > wrote:
> > >
> > > Hi there,
> > >
> > > I got a remoteobject which loads data from an sql table. I got
> > something
> > > like 5 fields for customers.
> > >
> > > I want to populate a combobox showing the name of the customer and
> > having
> > > as a value the customer_id.
> > >
> > > After Googling it a bit, I have ended up with this:
> > >
> > >  > > labelField="customer_name"/>
> > >
> > > this works great! But what about the dataField? (at my suprise I have
> > found
> > > out that although a labelField does exist - which is cool, a dataField
> > > attribute does not exist).
> > >
> > > How can I bind the customer_id into my combobox? Any ideas?
> > >
> > > thanks,
> > > George
> > >
> >
>
> 
>


[flexcoders] Layout Question

2007-10-15 Thread jch92592
All,



[flexcoders] Re: DataGrid editor/renderer MouseDownHandler error

2007-10-15 Thread Andrew Longley
I've now seen this in a datagrid.  I swear I'd been through the UI
back and forth without this problem, and then I applied hotfix 1.  For
reasons particular to this project, I haven't applied hotfixes 2 and
3.  With hotfix 1, clicking on a datagrid made up of two columns, each
of which has a cell renderer, I get this null object reference error
deep in DataGrid.mouseDownHandler.

My solution was to override get data():Object in the renderer(s).

There was some discussion in the thread that the item renderer was
null; that was probably NOT the case.  In my case the item renderer
was not null, but the renderer.data WAS null, hence my overriding it.

I'll continue to play with it and report if I find anything.  I'm
hoping this isn't going to mess with all my datagrids.


> > > That is what I can't figure out. I don't know what I could do to
make
> > > it null. I'm trying to use the ideas from your sub-object
example, so
> > > I can pass in an object to the editor/renderer so it can then
validate
> > > the value and set a pass/fail validation value - Ex: I 'm passing in
> > > an object to businessRiskName where value="high" and
> > > passValidation=true. So I'm trying to use the sub-objects
> > > businessRiskName.value and businessRiskName.passValidation. I've
been
> > > able to get them to display properly, but when I click on the
datagrid
> > > I get the error I've described. I'm wondering if I'm not getting the
> > > data from the grid/provider correctly, but don't know where to look.
> > > 
> > > Any guidance would be greatly appreciated.
> > > 
> > > Thanks,
> > > 
> > > John
> > > --- In flexcoders@yahoogroups.com
> > 
> > 
> > > , "Alex Harui"  wrote:
> > > >
> > > > How did itemEditorInstance get to be null?
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > From: flexcoders@yahoogroups.com
> > 
> > 
> > > [mailto:flexcoders@yahoogroups.com
> > 
> > 
> > > ] On
> > > > Behalf Of j_lentzz
> > > > Sent: Wednesday, September 19, 2007 11:23 AM
> > > > To: flexcoders@yahoogroups.com

> >  
> > > > Subject: [flexcoders] Re: DataGrid editor/renderer
MouseDownHandler
> > > > error
> > > > 
> > > > 
> > > > 
> > > > For what it is worth, this is the error I get at runtime when I
> > click
> > > > on the cell:
> > > > 
> > > > TypeError: Error #1009: Cannot access a property or method of
a null
> > > > object reference.
> > > > at
> > > >
> > >
> >
mx.controls::DataGrid/mx.controls:DataGrid::mouseDownHandler()[E:\dev\fl
> > > > ex_201_borneo\sdk\frameworks\mx\controls\DataGrid.as:4239]
> > > > --- In flexcoders@yahoogroups.com
> >  
> > > 
> > > 
> > > > , "j_lentzz"  wrote:
> > > > >
> > > > > I've been working on getting a datagrid to validate and I am
> > close. 
> > > > > However, whenever I click on a cell in the datagrid, I get a
> > runtime
> > > > > error in the DataGrid.as file, because my itemEditorInstance is
> > > null.
> > > > > However, I am providing an extended TextInput to the datagrid
> > column
> > > > > the itemEditor and the itemRenderer. I've tried setting the
> > > > > rendererIsEditor to both true and false, but nothing
changes. Has
> > > > > anyone seen this? Or can tell me what I'm doing wrong? I'm
trying
> > to
> > > > > follow examples, but obviously I'm doing something wrong.
> > > > > 
> > > > > Thanks,
> > > > > John
> > > > >
> > > >
> > >
> >
>




[flexcoders] Flex MDI

2007-10-15 Thread Mr Greg Murnock
Anyone else using the FLEX MDI? (awesome stuff by the way)
How would I call/activate the click event for the minimize button of an 
MDIWindow using the FLEX MDI?
 
Greg


  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



[flexcoders] Re: Flex is becoming unviable

2007-10-15 Thread tim_buntel
Thanks for the welcome, Douglas.  It's nice to be here!

Persistent Framework Caching, aka RSLs, actually reduce the size of 
your applications.  And, you guessed it, there's a video and feature 
write-up about RSLs at
http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions#Pers
istent_Framework_Caching_.28also_known_as_framework_RSLs_or_cross-
domain_RSLs.2C_Updated_for_Beta_2.29  There's a section in the 
article called "How to create an optimized RSL" that documents how to 
reduce the size of your RSL by over 50%.

Tim

--- In flexcoders@yahoogroups.com, "danielvlopes" <[EMAIL PROTECTED]> 
wrote:
>
> The terminology is framework caching and this generate a huge file
> with 500kb and all this giant file must be load before your swf.
> 
> --- In flexcoders@yahoogroups.com, "Brendan Meutzner" 
> wrote:
> >
> > I can't remember the exact terminology for it, but one of the 
goals
> > for Flex generated swfs involves caching the common framework 
files on
> > client machines, to avoid repeated download, thus cutting the swf 
size
> > drastically.  I'm sure Ales or Matt can speak more to this 
feature.
> > 
> > Brendan
> > 
> > 
> > On 10/15/07, Douglas Knudsen  wrote:
> > > ugh take a look at the release notes for FB3 Beta 2 and be sure
> you are
> > > looking at the released version of your SWFs, not the debug
> versions that
> > > are generated by default only now.
> > >
> > > DK
> > >
> > > On 10/15/07, danielvlopes  wrote:
> > > >
> > > >   Hello, i create a big project in flex using modules, RSLs 
and
> etc...
> > > > This project is real client, and he accept test flex in you 
website.
> > > > Everything works fine (ignoring the 500kb framework file it is
> > > > necessary for users to access the site.)
> > > >
> > > > Now i thinking use flex in small projects like simple 
websites,
> in old
> > > > versions of flex, like 3beta 1 or flex 2 swf files are 
smaller, like
> > > > 200kb or 130kb (not really small but acceptable). But now, 
with
> beta 2
> > > > simple files came to 400kb.
> > > >
> > > > I becoming thinking i waste my time learning flex and waste 
the
> money
> > > > of my client testing flex in your app, I am already thinking 
about
> > > > redo the whole project in ruby on rails and ajax.
> > > >
> > > > If adobe and flex team does not begin to worry about the size 
of
> swfs
> > > > believe deeply that the flex will not last for a long 
time  And
> > > > certainly I will have wasted time and money.
> > > >
> > > > :(
> > > >
> > > > This is the code i use for test size of swf:
> > > >
> > > > 
> > > > http://www.adobe.com/2006/mxml";
> > > > layout="absolute">
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Douglas Knudsen
> > > http://www.cubicleman.com
> > > this is my signature, like it?
> > >
> > 
> > 
> > -- 
> > Brendan Meutzner
> > http://www.meutzner.com/blog/
> >
>




[flexcoders] x positioning of DataTip for List control

2007-10-15 Thread pfkellogg
I have a List with a dataTipFunction assigned.  I need to move the
rendered dataTip x position over to the right so I can click in my
list easily.  Does anyone have any ideas or code sample?  thanks.



[flexcoders] Re: Flex is becoming unviable

2007-10-15 Thread danielvlopes
Thanks for video, now the file had 300kb and not 400kb, i still
thinking this is a big file... I thinking adobe need take a look in
ways to optimize the size of swfs...

I really love flex and what can be done with him, but the size of swfs
is your worst problem.

Some one know other way to optimize swfs without framework caching?

--- In flexcoders@yahoogroups.com, "danielvlopes" <[EMAIL PROTECTED]>
wrote:
>
> The terminology is framework caching and this generate a huge file
> with 500kb and all this giant file must be load before your swf.
> 
> --- In flexcoders@yahoogroups.com, "Brendan Meutzner" 
> wrote:
> >
> > I can't remember the exact terminology for it, but one of the goals
> > for Flex generated swfs involves caching the common framework files on
> > client machines, to avoid repeated download, thus cutting the swf size
> > drastically.  I'm sure Ales or Matt can speak more to this feature.
> > 
> > Brendan
> > 
> > 
> > On 10/15/07, Douglas Knudsen  wrote:
> > > ugh take a look at the release notes for FB3 Beta 2 and be sure
> you are
> > > looking at the released version of your SWFs, not the debug
> versions that
> > > are generated by default only now.
> > >
> > > DK
> > >
> > > On 10/15/07, danielvlopes  wrote:
> > > >
> > > >   Hello, i create a big project in flex using modules, RSLs and
> etc...
> > > > This project is real client, and he accept test flex in you
website.
> > > > Everything works fine (ignoring the 500kb framework file it is
> > > > necessary for users to access the site.)
> > > >
> > > > Now i thinking use flex in small projects like simple websites,
> in old
> > > > versions of flex, like 3beta 1 or flex 2 swf files are
smaller, like
> > > > 200kb or 130kb (not really small but acceptable). But now, with
> beta 2
> > > > simple files came to 400kb.
> > > >
> > > > I becoming thinking i waste my time learning flex and waste the
> money
> > > > of my client testing flex in your app, I am already thinking about
> > > > redo the whole project in ruby on rails and ajax.
> > > >
> > > > If adobe and flex team does not begin to worry about the size of
> swfs
> > > > believe deeply that the flex will not last for a long time
 And
> > > > certainly I will have wasted time and money.
> > > >
> > > > :(
> > > >
> > > > This is the code i use for test size of swf:
> > > >
> > > > 
> > > > http://www.adobe.com/2006/mxml";
> > > > layout="absolute">
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Douglas Knudsen
> > > http://www.cubicleman.com
> > > this is my signature, like it?
> > >
> > 
> > 
> > -- 
> > Brendan Meutzner
> > http://www.meutzner.com/blog/
> >
>




RE: [flexcoders] value of clicked/focused cell in a datagrid

2007-10-15 Thread Alex Harui
acMyStuff[i] is the data object in the dataprovider, but normally those
things are objects with fields and not another array.  Your
datagridcolumns use .datafield to pull the field. So it would be
something like acMyStuff[1].name

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ramsey, Robert L
Sent: Monday, October 15, 2007 10:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] value of clicked/focused cell in a datagrid

 

Ok, I am definitely being a real idiot here.  All I want to do is find
out the value of cell that a user has clicked on, tabbed into, or
entered into.  I can get the row number and column number, but I can't
find the syntax to get the data out of the arraycollection.  For other
languages, I'd just do something like val = acMyStuff[1][4] to get the
data from the multidimensional array.  Any ideas?

 

Thanks.

 

Bob

 



RE: [flexcoders] Adding custom events to the pre-loading sequence

2007-10-15 Thread Alex Harui
One possibility is to draw an identical popup over the app when the app
starts up.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of M@ Sheppard
Sent: Monday, October 15, 2007 10:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding custom events to the pre-loading sequence

 

I've built a preloader - and it works fine, but it "hides itself" a
little too soon. I load a few things from the server after the
application is running, and want that preloader to stick around until
a specific result method has fired.

I can't figure out how to do this - how to access the custom preloader
from inside my application or how to fire an event to something the
preloader has access too.

I've spent a while on Jessie's blog, and a couple others, but still no
joy.

M@

 



RE: [flexcoders] Re: How do I remove/modify the default effect on List-based drag drop?

2007-10-15 Thread Alex Harui
Yup, it is not very friendly.  Please file a bug.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of williamkusumo
Sent: Monday, October 15, 2007 11:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How do I remove/modify the default effect on
List-based drag drop?

 

Wow, really?! That's odd, it seems very un-Flex-like to set something
like that in stone.

Thanks, Alex!

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> There is no API to control those effects. I don't see any obvious
> workaround either.
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of williamkusumo
> Sent: Friday, October 12, 2007 6:46 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] How do I remove/modify the default effect on
> List-based drag drop?
> 
> 
> 
> I'd like to either remove/modify the default animation that happens
> when you drag and drop a list item, how might I go about doing that? I
> tried specifying addedEffect and moveEffect with no luck.
> 
> Appreciate your help! Thanks!
>

 



Re: [flexcoders] Simluate async method

2007-10-15 Thread Ralf Bokelberg
Probably you could open the alert using a timeout in JavaScript
Cheers
Ralf.

On 10/15/07, Claudia Barnal <[EMAIL PROTECTED]> wrote:
>
>   Hi,
>
> How could I make an async method in actionscript.
>
> Something like this:
>
> function doSomething():void
> {
> asyncCall(makeOrangeJuice, orageJuiceReady);
> }
>
> function makeOrangeJuice():void
> {
> ExternalInterface.call("openModalAlert");
> }
>
> function orageJuiceReady():void
> {
> trace("No timeout error!!!");
> }
>
> Or how else can I avoid the timeout error with a modal JavaScript Alert.
>
> Thanks,
> Claudia
>  
>



-- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35


[flexcoders] Re: Flex is becoming unviable

2007-10-15 Thread danielvlopes
The terminology is framework caching and this generate a huge file
with 500kb and all this giant file must be load before your swf.

--- In flexcoders@yahoogroups.com, "Brendan Meutzner" <[EMAIL PROTECTED]>
wrote:
>
> I can't remember the exact terminology for it, but one of the goals
> for Flex generated swfs involves caching the common framework files on
> client machines, to avoid repeated download, thus cutting the swf size
> drastically.  I'm sure Ales or Matt can speak more to this feature.
> 
> Brendan
> 
> 
> On 10/15/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> > ugh take a look at the release notes for FB3 Beta 2 and be sure
you are
> > looking at the released version of your SWFs, not the debug
versions that
> > are generated by default only now.
> >
> > DK
> >
> > On 10/15/07, danielvlopes <[EMAIL PROTECTED]> wrote:
> > >
> > >   Hello, i create a big project in flex using modules, RSLs and
etc...
> > > This project is real client, and he accept test flex in you website.
> > > Everything works fine (ignoring the 500kb framework file it is
> > > necessary for users to access the site.)
> > >
> > > Now i thinking use flex in small projects like simple websites,
in old
> > > versions of flex, like 3beta 1 or flex 2 swf files are smaller, like
> > > 200kb or 130kb (not really small but acceptable). But now, with
beta 2
> > > simple files came to 400kb.
> > >
> > > I becoming thinking i waste my time learning flex and waste the
money
> > > of my client testing flex in your app, I am already thinking about
> > > redo the whole project in ruby on rails and ajax.
> > >
> > > If adobe and flex team does not begin to worry about the size of
swfs
> > > believe deeply that the flex will not last for a long time  And
> > > certainly I will have wasted time and money.
> > >
> > > :(
> > >
> > > This is the code i use for test size of swf:
> > >
> > > 
> > > http://www.adobe.com/2006/mxml";
> > > layout="absolute">
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > >
> > >
> >
> >
> >
> > --
> > Douglas Knudsen
> > http://www.cubicleman.com
> > this is my signature, like it?
> >
> 
> 
> -- 
> Brendan Meutzner
> http://www.meutzner.com/blog/
>




Re: [flexcoders] Re: Flex is becoming unviable

2007-10-15 Thread Douglas Knudsen
Holy  Batman!  Welcome to Flexcoders Tim!

DK

On 10/15/07, tim_buntel <[EMAIL PROTECTED]> wrote:
>
>   You can learn about the "export release version" wizard by watching
> the video at
> http://labs.adobe.com/technologies/flex/videos/exportreleasewizard/ -
> it explains why this change was made and how you can use this new
> feature to create an optimized version of your application.
>
> Tim
>
> --- In flexcoders@yahoogroups.com , "Douglas
> Knudsen"
> <[EMAIL PROTECTED]> wrote:
> >
> > ugh take a look at the release notes for FB3 Beta 2 and be sure you
> are
> > looking at the released version of your SWFs, not the debug
> versions that
> > are generated by default only now.
> >
> > DK
> >
> > On 10/15/07, danielvlopes <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello, i create a big project in flex using modules, RSLs and
> etc...
> > > This project is real client, and he accept test flex in you
> website.
> > > Everything works fine (ignoring the 500kb framework file it is
> > > necessary for users to access the site.)
> > >
> > > Now i thinking use flex in small projects like simple websites,
> in old
> > > versions of flex, like 3beta 1 or flex 2 swf files are smaller,
> like
> > > 200kb or 130kb (not really small but acceptable). But now, with
> beta 2
> > > simple files came to 400kb.
> > >
> > > I becoming thinking i waste my time learning flex and waste the
> money
> > > of my client testing flex in your app, I am already thinking about
> > > redo the whole project in ruby on rails and ajax.
> > >
> > > If adobe and flex team does not begin to worry about the size of
> swfs
> > > believe deeply that the flex will not last for a long time 
> And
> > > certainly I will have wasted time and money.
> > >
> > > :(
> > >
> > > This is the code i use for test size of swf:
> > >
> > > 
> > > http://www.adobe.com/2006/mxml";
> > > layout="absolute">
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > >
> > >
> >
> >
> >
> > --
> > Douglas Knudsen
> > http://www.cubicleman.com
> > this is my signature, like it?
> >
>
>  
>



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Flex is becoming unviable

2007-10-15 Thread Brendan Meutzner
I can't remember the exact terminology for it, but one of the goals
for Flex generated swfs involves caching the common framework files on
client machines, to avoid repeated download, thus cutting the swf size
drastically.  I'm sure Ales or Matt can speak more to this feature.

Brendan


On 10/15/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> ugh take a look at the release notes for FB3 Beta 2 and be sure you are
> looking at the released version of your SWFs, not the debug versions that
> are generated by default only now.
>
> DK
>
> On 10/15/07, danielvlopes <[EMAIL PROTECTED]> wrote:
> >
> >   Hello, i create a big project in flex using modules, RSLs and etc...
> > This project is real client, and he accept test flex in you website.
> > Everything works fine (ignoring the 500kb framework file it is
> > necessary for users to access the site.)
> >
> > Now i thinking use flex in small projects like simple websites, in old
> > versions of flex, like 3beta 1 or flex 2 swf files are smaller, like
> > 200kb or 130kb (not really small but acceptable). But now, with beta 2
> > simple files came to 400kb.
> >
> > I becoming thinking i waste my time learning flex and waste the money
> > of my client testing flex in your app, I am already thinking about
> > redo the whole project in ruby on rails and ajax.
> >
> > If adobe and flex team does not begin to worry about the size of swfs
> > believe deeply that the flex will not last for a long time  And
> > certainly I will have wasted time and money.
> >
> > :(
> >
> > This is the code i use for test size of swf:
> >
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> >
> >
>
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>


-- 
Brendan Meutzner
http://www.meutzner.com/blog/


[flexcoders] Re: Flex is becoming unviable

2007-10-15 Thread tim_buntel
You can learn about the "export release version" wizard by watching 
the video at 
http://labs.adobe.com/technologies/flex/videos/exportreleasewizard/ - 
it explains why this change was made and how you can use this new 
feature to create an optimized version of your application.

Tim

--- In flexcoders@yahoogroups.com, "Douglas Knudsen" 
<[EMAIL PROTECTED]> wrote:
>
> ugh take a look at the release notes for FB3 Beta 2 and be sure you 
are
> looking at the released version of your SWFs, not the debug 
versions that
> are generated by default only now.
> 
> DK
> 
> On 10/15/07, danielvlopes <[EMAIL PROTECTED]> wrote:
> >
> >   Hello, i create a big project in flex using modules, RSLs and 
etc...
> > This project is real client, and he accept test flex in you 
website.
> > Everything works fine (ignoring the 500kb framework file it is
> > necessary for users to access the site.)
> >
> > Now i thinking use flex in small projects like simple websites, 
in old
> > versions of flex, like 3beta 1 or flex 2 swf files are smaller, 
like
> > 200kb or 130kb (not really small but acceptable). But now, with 
beta 2
> > simple files came to 400kb.
> >
> > I becoming thinking i waste my time learning flex and waste the 
money
> > of my client testing flex in your app, I am already thinking about
> > redo the whole project in ruby on rails and ajax.
> >
> > If adobe and flex team does not begin to worry about the size of 
swfs
> > believe deeply that the flex will not last for a long time  
And
> > certainly I will have wasted time and money.
> >
> > :(
> >
> > This is the code i use for test size of swf:
> >
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> >  
> >
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>




Re: [flexcoders] trying to track down an error..

2007-10-15 Thread Greg Morphis
Am I looking in the right area?
Am I completely off target? Is there anything I can check?
Thanks



On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
>
> I checked the WEB-INF/web.xml and have the roles defined there
> 
> AOPScheduler-BASICAM
> AOPScheduler-BASICINQ
>   
>
>
> 
>   
> The role that is required to log in to the Manager Application
>   
>   AOPScheduler-BASICAM
>   
> 
>   
> The role that is required to log in to the Reader Application
>   
>   AOPScheduler-BASICINQ
>   
>
>
>
>
> I'm not sure where else I should be checking.. Anyone have any ideas?
>
> Thanks
>
>
>
>
> On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> >
> > I think it has to do with Tomcat...
> > I installed the log4j logger and watching the stuff in the Eclipse IDE..
> > In the flex-remoting file I have :
> >
> > 
> > 
> > 
> > com.alltel.rapid.aopscheduler.business.EmployeeDelegate
> > application
> > 
> > 
> > 
> > Basic
> > 
> > AOPScheduler-BASICAM
> > AOPScheduler-BASICINQ
> >
> > 
> > 
> > 
> >
> > 
> >
> > Which looks good.. but in the debugger I'm seeing..
> >
> > 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
> > org.apache.catalina.realm.RealmBase - Username e0087890 has role
> > AOPScheduler-BASICINQ
> > 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
> > org.apache.catalina.realm.RealmBase - No role found:
> > AOPScheduler-BASICINQ
> >
> > The "no role found" look wierd.. I'm thinking Tomcat is the problem
> >
> >
> >
> >
> >
> >
> >
> > On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> > >
> > >  > > destination="EmployeeServiceRO"
> > > result="event.token.resultHandler( event )"
> > > fault="event.token.faultHandler ( event )"
> > > showBusyCursor="true" />
> > >
> > >
> > > Where? I havent looked at this code since March? And even then it
> > > wasnt me who set this up.
> > > Where can I check the configuration? Thanks
> > >
> > >
> > >
> > > On 10/15/07, Anatole Tartakovsky <[EMAIL PROTECTED] >
> > > wrote:
> > > >
> > > >  'Unknown destination 'EmployeeServiceRO' - please check you
> > > > remoting configurations
> > > >
> > > >
> > > >
> > > > On 10/15/07, Greg Morphis < [EMAIL PROTECTED]> wrote:
> > > >
> > > > >   So I've inherited a flex app. It's been months since I've looked
> > > > > at
> > > > > Flex and Cairngorm.
> > > > > The time change coming up is starting to rear it's ugly head and
> > > > > I'm
> > > > > trying to get this going and fixed before Nov 4th.
> > > > > I've got the app all set up, checked it out through CVS and
> > > > > there's an
> > > > > error, right on login..
> > > > >
> > > > > I Alert the event in the onFault function and it states
> > > > >
> > > > > [FaultEvent fault=[RPC Fault faultString="[MessagingError
> > > > > message='Unknown destination 'EmployeeServiceRO'.']"
> > > > > faultCode="InvokeFailed" faultDetail="Couldn't establish a
> > > > > connection
> > > > > to 'EmployeeServiceRO'"]
> > > > > messageId="47E7A8FA-EB41-1E60-A96D-A474ECC048D1"
> > > > > type="fault"
> > > > > bubbles=false
> > > > > cancelable=true eventPhase=2]
> > > > >
> > > > > Not sure where to go next for this error. Any help would be
> > > > > appreciated.
> > > > > Thanks
> > > > >
> > > >
> > > > 
> > > >
> > >
> > >
> >
>


[flexcoders] Layout Question

2007-10-15 Thread jch92592
All,

I am new to Flex and found a layout I'd like to mimic.

On the Flex.org site, under the Showcase page:

http://flex.org/showcase/

Then Browse, is this layout a styled dataGrid? a styled list?

Any suggestions would be appreciated.

TIA,
john





[flexcoders] Re: How do I remove/modify the default effect on List-based drag drop?

2007-10-15 Thread williamkusumo
Wow, really?! That's odd, it seems very un-Flex-like to set something
like that in stone.

Thanks, Alex!

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> There is no API to control those effects.  I don't see any obvious
> workaround either.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of williamkusumo
> Sent: Friday, October 12, 2007 6:46 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How do I remove/modify the default effect on
> List-based drag drop?
> 
>  
> 
> I'd like to either remove/modify the default animation that happens
> when you drag and drop a list item, how might I go about doing that? I
> tried specifying addedEffect and moveEffect with no luck.
> 
> Appreciate your help! Thanks!
>




[flexcoders] Simluate async method

2007-10-15 Thread Claudia Barnal
Hi,

How could I make an async method in actionscript.

Something like this:

function doSomething():void
{
asyncCall(makeOrangeJuice, orageJuiceReady);
}

function makeOrangeJuice():void
{
   ExternalInterface.call("openModalAlert");
}

function orageJuiceReady():void
{
trace("No timeout error!!!");
}


Or how else can I avoid the timeout error with a modal JavaScript Alert.

Thanks,
Claudia


[flexcoders] Re: error in AIR application

2007-10-15 Thread Tony
Fixed, but still want to know what is happening in AIR that would not
be happening in Flex 2 application.

I initialized my binding variable to an instance of the object.

--- In flexcoders@yahoogroups.com, Tony Alves <[EMAIL PROTECTED]> wrote:
>
> I am getting an error on a line in my AIR application:
> ReferenceError: Error #1069: Property _bindings not found on 
> components.EmployeeListPanel and there is no default value.
> at 
>
mx.binding::BindingManager$/setEnabled()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\binding\BindingManager.as:65]
> 
> I am sure this is a timing issue, but it works using it in a Flex 
> builder 2 application.  Any thoughts?
> I am thinking that in the Air application all components are loaded 
> immediately.  Just a guess.
> I am using Flex 3 Beta 2
> 
> /**
>  *  Set isEnabled for all bindings associated with a document.
>  *
>  *  @param document The document that contains the bindings.
>  */
> public static function setEnabled(document:Object, 
> isEnabled:Boolean):void
> {
> *if (document && document._bindings)*
> {
> var bindings:Array = document._bindings as Array;
>
> for (var i:uint = 0; i < bindings.length; i++)
> {
> var binding:Binding = bindings[i];
> binding.isEnabled = isEnabled;
> }
> }
> }
>




[flexcoders] Adding custom events to the pre-loading sequence

2007-10-15 Thread M@ Sheppard
I've built a preloader - and it works fine, but it "hides itself" a
little too soon.  I load a few things from the server after the
application is running, and want that preloader to stick around until
a specific result method has fired.

I can't figure out how to do this - how to access the custom preloader
from inside my application or how to fire an event to something the
preloader has access too.

I've spent a while on Jessie's blog, and a couple others, but still no
joy.

M@



RE: [flexcoders] Beta 1 - expires in 15 days

2007-10-15 Thread Jim Hayes
Can you use the beta1 compiler in the beta2 IDE? (Well, I'm pretty sure that 
*one* can, but I've not tried it myself I'm afraid).
The 2 installations will coexist (that I can confirm, under XP at least), so 
you've not much to lose in trying.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Patrick Lemiuex
Sent: Mon 15/10/2007 18:41
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Beta 1 - expires in 15 days
 
OK, I'm not ready to take this project to Flex Beta 2 - but i need a  
new serial?  What to do?


Thanks,
Patrick


__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__<>

Re: [flexcoders] Flex is becoming unviable

2007-10-15 Thread Douglas Knudsen
ugh take a look at the release notes for FB3 Beta 2 and be sure you are
looking at the released version of your SWFs, not the debug versions that
are generated by default only now.

DK

On 10/15/07, danielvlopes <[EMAIL PROTECTED]> wrote:
>
>   Hello, i create a big project in flex using modules, RSLs and etc...
> This project is real client, and he accept test flex in you website.
> Everything works fine (ignoring the 500kb framework file it is
> necessary for users to access the site.)
>
> Now i thinking use flex in small projects like simple websites, in old
> versions of flex, like 3beta 1 or flex 2 swf files are smaller, like
> 200kb or 130kb (not really small but acceptable). But now, with beta 2
> simple files came to 400kb.
>
> I becoming thinking i waste my time learning flex and waste the money
> of my client testing flex in your app, I am already thinking about
> redo the whole project in ruby on rails and ajax.
>
> If adobe and flex team does not begin to worry about the size of swfs
> believe deeply that the flex will not last for a long time  And
> certainly I will have wasted time and money.
>
> :(
>
> This is the code i use for test size of swf:
>
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


[flexcoders] error in AIR application

2007-10-15 Thread Tony Alves

I am getting an error on a line in my AIR application:
ReferenceError: Error #1069: Property _bindings not found on 
components.EmployeeListPanel and there is no default value.
   at 
mx.binding::BindingManager$/setEnabled()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\binding\BindingManager.as:65]


I am sure this is a timing issue, but it works using it in a Flex 
builder 2 application.  Any thoughts?
I am thinking that in the Air application all components are loaded 
immediately.  Just a guess.

I am using Flex 3 Beta 2

   /**
*  Set isEnabled for all bindings associated with a document.
*
*  @param document The document that contains the bindings.
*/
   public static function setEnabled(document:Object, 
isEnabled:Boolean):void

   {
*if (document && document._bindings)*
   {
   var bindings:Array = document._bindings as Array;
  
   for (var i:uint = 0; i < bindings.length; i++)

   {
   var binding:Binding = bindings[i];
   binding.isEnabled = isEnabled;
   }
   }
   }



[flexcoders] Beta 1 - expires in 15 days

2007-10-15 Thread Patrick Lemiuex
OK, I'm not ready to take this project to Flex Beta 2 - but i need a  
new serial?  What to do?


Thanks,
Patrick


[flexcoders] value of clicked/focused cell in a datagrid

2007-10-15 Thread Ramsey, Robert L
Ok, I am definitely being a real idiot here.  All I want to do is find
out the value of cell that a user has clicked on, tabbed into, or
entered into.  I can get the row number and column number, but I can't
find the syntax to get the data out of the arraycollection.  For other
languages, I'd just do something like val = acMyStuff[1][4] to get the
data from the multidimensional array.  Any ideas?

 

Thanks.

 

Bob



Re: [flexcoders] trying to track down an error..

2007-10-15 Thread Greg Morphis
I checked the WEB-INF/web.xml and have the roles defined there

AOPScheduler-BASICAM
AOPScheduler-BASICINQ
  



  
The role that is required to log in to the Manager Application
  
  AOPScheduler-BASICAM
  

  
The role that is required to log in to the Reader Application
  
  AOPScheduler-BASICINQ
  




I'm not sure where else I should be checking.. Anyone have any ideas?

Thanks




On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
>
> I think it has to do with Tomcat...
> I installed the log4j logger and watching the stuff in the Eclipse IDE..
> In the flex-remoting file I have :
>
> 
> 
> 
> com.alltel.rapid.aopscheduler.business.EmployeeDelegate
> application
> 
> 
> 
> Basic
> 
> AOPScheduler-BASICAM
> AOPScheduler-BASICINQ
>
> 
> 
> 
>
> 
>
> Which looks good.. but in the debugger I'm seeing..
>
> 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
> org.apache.catalina.realm.RealmBase - Username e0087890 has role
> AOPScheduler-BASICINQ
> 2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
> org.apache.catalina.realm.RealmBase - No role found:
> AOPScheduler-BASICINQ
>
> The "no role found" look wierd.. I'm thinking Tomcat is the problem
>
>
>
>
>
>
>
> On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
> >
> >  > destination="EmployeeServiceRO"
> > result="event.token.resultHandler( event )"
> > fault="event.token.faultHandler ( event )"
> > showBusyCursor="true" />
> >
> >
> > Where? I havent looked at this code since March? And even then it wasnt
> > me who set this up.
> > Where can I check the configuration? Thanks
> >
> >
> >
> > On 10/15/07, Anatole Tartakovsky <[EMAIL PROTECTED] > wrote:
> > >
> > >  'Unknown destination 'EmployeeServiceRO' - please check you remoting
> > > configurations
> > >
> > >
> > >
> > > On 10/15/07, Greg Morphis < [EMAIL PROTECTED]> wrote:
> > >
> > > >   So I've inherited a flex app. It's been months since I've looked
> > > > at
> > > > Flex and Cairngorm.
> > > > The time change coming up is starting to rear it's ugly head and I'm
> > > > trying to get this going and fixed before Nov 4th.
> > > > I've got the app all set up, checked it out through CVS and there's
> > > > an
> > > > error, right on login..
> > > >
> > > > I Alert the event in the onFault function and it states
> > > >
> > > > [FaultEvent fault=[RPC Fault faultString="[MessagingError
> > > > message='Unknown destination 'EmployeeServiceRO'.']"
> > > > faultCode="InvokeFailed" faultDetail="Couldn't establish a
> > > > connection
> > > > to 'EmployeeServiceRO'"]
> > > > messageId="47E7A8FA-EB41-1E60-A96D-A474ECC048D1"
> > > > type="fault"
> > > > bubbles=false
> > > > cancelable=true eventPhase=2]
> > > >
> > > > Not sure where to go next for this error. Any help would be
> > > > appreciated.
> > > > Thanks
> > > >
> > >
> > > 
> > >
> >
> >
>


[flexcoders] Flex is becoming unviable

2007-10-15 Thread danielvlopes
Hello, i create a big project in flex using modules, RSLs and etc...
This project is real client, and he accept test flex in you website.
Everything works fine (ignoring the 500kb framework file it is
necessary for users to access the site.)

Now i thinking use flex in small projects like simple websites, in old
versions of flex, like 3beta 1 or flex 2 swf files are smaller, like
200kb or 130kb (not really small but acceptable). But now, with beta 2
simple files came to 400kb.

I becoming thinking i waste my time learning flex and waste the money
of my client testing flex in your app, I am already thinking about
redo the whole project in ruby on rails and ajax.

If adobe and flex team does not begin to worry about the size of swfs
believe deeply that the flex will not last for a long time  And
certainly I will have wasted time and money.

:(

This is the code i use for test size of swf:


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














RE: [flexcoders] odd behavior when editing in a datagrid

2007-10-15 Thread Ramsey, Robert L
Thanks, that does make perfect sense to me.

 

Bob

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, October 15, 2007 11:11 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] odd behavior when editing in a datagrid

 

Prpbpably when the focus goes to the alert, the validator fires again
since the datagrid lost focus and another alrt goes up which...

 

I do not recommend alerts and itemeditors

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ramsey, Robert L
Sent: Monday, October 15, 2007 8:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] odd behavior when editing in a datagrid

 

Hi,

 

I'm just playing around and learning how to handle it when users edit a
datagrid.  I did a copy and paste from the Flex help:

 





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











 









   

  



 

 

 

The really thing that is bothering me though is that I added the
following Alert message just to see what the event.reason message was:

 

Alert.show(event.reason.toString());

 

But that locks up the app in IE 7.  Even if I just make it
Alert.show("hello"); the browser stops responding.  But if I use a label
instead of an alert, it works.  I just dropped a label on the form and
added the line mylabel.text=event. reason.toString());  That works just
fine and everything is smooth and I can see the reason just fine.

 

Anyone else experience this or know why one should lock up the app?  It
isn't a big deal since I won't be using this functionality in
production, I was just curious.

 

Thanks,

 

Bob

 

 

<><>

RE: [flexcoders] My Flex based web App doesn't work with SSL

2007-10-15 Thread Seth Caldwell
Did you set the response headers correctly for IE? (cache control and
pragma)

 

Araul outlines the issue here with links to technotes and microsoft
admitting they suck.

http://arulprasad.blogspot.com/2006/02/points-to-remember-when-using-ssl-ie_
15.html

(I link to this one because you're also using Tomcat and he has exact java
code you can probably copy/paste)

 

I'm still somewhat curious why firefox ssl uploads won't work though, I
wonder if it is something similar.

 

Seth

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Monday, October 15, 2007 9:36 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] My Flex based web App doesn't work with SSL

 

I'm also struggling with file uploads to Tomcat over SSL, using
FileReference. The uploads work great without SSL. With SSL they fail
on all tested browsers, not just FireFox.

I'm adding the sessionId as described here:
http://thanksmister.com/?p=59

but I don't have a crossdomain.xml file, since I didn't think I needed
one if the SWF is accessing the same domain it was loaded from.

I'd love to see a definitive Tech Note from Adobe on this.

On 10/12/07, Seth Caldwell <[EMAIL PROTECTED]
 > wrote:
>

> Do follow the other poster's suggestion, but also you may need a
> crossdomain.xml file to allow the connection to an external domain.
>
> And if you want to upload user files over that SSL connection, you will be
> unable to in firefox, as the plugin cannot do that.
>
>
>
> Seth
>
>
>
>
>
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com  ]
On
> Behalf Of sk_acura
> Sent: Friday, October 12, 2007 2:27 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] My Flex based web App doesn't work with SSL
>
>
>
>
>
>
> Hi All,
>
> I have a Web App Flex+ Live Cycle DS + spring based app running on
> Tomcat and it works fine on http with out any issues..
>
> When we try to access from External Domains (which is using SSL)
> then the Modules are getting loaded but the RemoteObjects are not
> getting Fetched it seems..
>
> And when i try to log the RemoteObject once is is created in my
> trace log it is showing as
>
> RemoteObject =[RemoteObject destination="SearchFacade"
> channelSet="null"]
>
> Which is same as when i try to access the App inside the network
> using HTTP (rather than https)
>
> I am not sure whether any thing needs to be done in the config for
> the SSL...
>
> Thanks
> Kumar
>
>
>
> 

 



Re: [flexcoders] trying to track down an error..

2007-10-15 Thread Greg Morphis
I think it has to do with Tomcat...
I installed the log4j logger and watching the stuff in the Eclipse IDE..
In the flex-remoting file I have :



com.alltel.rapid.aopscheduler.business.EmployeeDelegate

application



Basic

AOPScheduler-BASICAM
AOPScheduler-BASICINQ







Which looks good.. but in the debugger I'm seeing..

2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
org.apache.catalina.realm.RealmBase - Username e0087890 has role
AOPScheduler-BASICINQ
2007-10-15 11:59:48,812 [http-8080-Processor24] DEBUG
org.apache.catalina.realm.RealmBase - No role found:  AOPScheduler-BASICINQ

The "no role found" look wierd.. I'm thinking Tomcat is the problem







On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
>
>  destination="EmployeeServiceRO"
> result="event.token.resultHandler( event )"
> fault="event.token.faultHandler( event )"
> showBusyCursor="true" />
>
>
> Where? I havent looked at this code since March? And even then it wasnt me
> who set this up.
> Where can I check the configuration? Thanks
>
>
>
> On 10/15/07, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
> >
> >  'Unknown destination 'EmployeeServiceRO' - please check you remoting
> > configurations
> >
> >
> >
> > On 10/15/07, Greg Morphis < [EMAIL PROTECTED]> wrote:
> >
> > >   So I've inherited a flex app. It's been months since I've looked at
> > > Flex and Cairngorm.
> > > The time change coming up is starting to rear it's ugly head and I'm
> > > trying to get this going and fixed before Nov 4th.
> > > I've got the app all set up, checked it out through CVS and there's an
> > > error, right on login..
> > >
> > > I Alert the event in the onFault function and it states
> > >
> > > [FaultEvent fault=[RPC Fault faultString="[MessagingError
> > > message='Unknown destination 'EmployeeServiceRO'.']"
> > > faultCode="InvokeFailed" faultDetail="Couldn't establish a connection
> > > to 'EmployeeServiceRO'"]
> > > messageId="47E7A8FA-EB41-1E60-A96D-A474ECC048D1"
> > > type="fault"
> > > bubbles=false
> > > cancelable=true eventPhase=2]
> > >
> > > Not sure where to go next for this error. Any help would be
> > > appreciated.
> > > Thanks
> > >
> >
> > 
> >
>
>


Re: [flexcoders] Maven plugin out of memory problem

2007-10-15 Thread Christian Edward Gruber
Could you post your pom.xml file?  I think the obvious answers are  
exhausted.

Also, while it may be a problem with the plugin, the plugin just uses  
the compc and mxmlc compilers from the flex SDK, so anything not  
explicitly set by the plugin defaults to whatever they default to.   
I've encountered a few cases where the defaults are crazy or at least  
different from FlexBuilder, causing interesting results.

Christian.

FYI: There is a israfil-mojo-users list at googlegroups. -cg.

On 15-Oct-07, at 9:41 AM, Ronen Naor wrote:

> Yes, I did try java -Xmx without any luck.
> And I don't compile it in debug mode.
>
> Maybe I should test it also with Ant to see the difference.
>
> On 10/15/07, Adam Duston <[EMAIL PROTECTED]> wrote:
>>
>>  I use Flex Ant Tasks, and I haven't tried Maven for compiling  
>> Flex. But
>> just a couple of thoughts: have you tried altering the max heap  
>> size using
>> the java -Xmx option? I also wonder if the twice-the-size problem  
>> is a
>> result of it compiling in debug mode.
>>
>>
>> On 10/14/07, Ronen Naor <[EMAIL PROTECTED]> wrote:
>>>
>>>  Hi,
>>> Has anyone encountered the following problem using the maven israfil
>>> plugin:
>>>
>>> java.lang.OutOfMemoryError: Java heap space
>>>  at java.util.HashMap.resize(Unknown Source)
>>> at java.util.HashMap.addEntry(Unknown Source)
>>> at java.util.HashMap.put(Unknown Source)
>>> at macromedia.abc.ByteArrayPool.store(BytecodeBuffer.java:381)
>>> at macromedia.abc.IndexHistory.decodeOnDemand(ConstantPool.java:823)
>>> at macromedia.abc.IndexHistory.getIndex(ConstantPool.java:553)
>>> at macromedia.abc.IndexHistory.decodeOnDemand(ConstantPool.java:785)
>>> at macromedia.abc.IndexHistory.getIndex(ConstantPool.java :553)
>>> at macromedia.abc.Encoder.OP_callproperty(Encoder.java:2029)
>>> at macromedia.abc.Decoder$Opcodes.decode (Decoder.java:1389)
>>> at macromedia.abc.Decoder$MethodBodies.decode(Decoder.java:523)
>>> at flex2.tools.PostLink.merge(PostLink.java:325)
>>> at flex2.tools.PostLink.run(PostLink.java:72)
>>> at flex2.linker.API.link(API.java:42)
>>> at flex2.tools.Compiler.main(Compiler.java:226)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at net.israfil.mojo.flex2.StreamedParameterExecutableWrapper.main(
>>> StreamedParameterExecutableWrapper.java:62)
>>>
>>> Also the created swf is twice the size of the swf created by Flex
>>> Builder.
>>>
>>> Thanks,
>>> Ronen.
>>>
>>
>>
>>
>> --
>> [EMAIL PROTECTED]
>>
>>
>>



RE: [flexcoders] Re: Site Launch

2007-10-15 Thread Seth Caldwell
>>Hate to say it, guys, but neither of these sites launched during my
attention span (with DSL). Hope you have really motivated visitors!

Agree; I have DSL which is pretty fast and it took forever. It could be that
all of us were loading at the same time and their server was slowed.

But even still, this site is a caliber such that it demands a better loader,
or at least some teaser of whats coming up soon ;p

I tabbed out and read some news pages, tabbed back and it still wasn't done,
wrote an email, and it was ready when I finished that.

If you don't have users that can manage tabs or know how to get back to a
popup, there's no way they're going to wait through the load.

And for the users that can, probably at least 20% of them will forget they
were waiting for it.

My 2c,

 

Seth



[flexcoders] Re: ArrayCollection of Objects as data provider for DataGrid

2007-10-15 Thread myasandy2
Thanks - now it works like a charm!!!

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You're not using binding syntax

> 
> 




Re: [flexcoders] My Flex based web App doesn't work with SSL

2007-10-15 Thread Richard Rodseth
I'm also struggling with file uploads to Tomcat over SSL, using
FileReference. The uploads work great without SSL. With SSL they fail
on all tested browsers, not just FireFox.

I'm adding the sessionId as described here:
http://thanksmister.com/?p=59

but I don't have a crossdomain.xml file, since I didn't think I needed
one if the SWF is accessing the same domain it was loaded from.

I'd love to see a definitive Tech Note from Adobe on this.

On 10/12/07, Seth Caldwell <[EMAIL PROTECTED]> wrote:
>

> Do follow the other poster's suggestion, but also you may need a
> crossdomain.xml file to allow the connection to an external domain.
>
> And if you want to upload user files over that SSL connection, you will be
> unable to in firefox, as the plugin cannot do that.
>
>
>
> Seth
>
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of sk_acura
>  Sent: Friday, October 12, 2007 2:27 PM
>  To: flexcoders@yahoogroups.com
>  Subject: [flexcoders] My Flex based web App doesn't work with SSL
>
>
>
>
>
>
> Hi All,
>
>  I have a Web App Flex+ Live Cycle DS + spring based app running on
>  Tomcat and it works fine on http with out any issues..
>
>  When we try to access from External Domains (which is using SSL)
>  then the Modules are getting loaded but the RemoteObjects are not
>  getting Fetched it seems..
>
>  And when i try to log the RemoteObject once is is created in my
>  trace log it is showing as
>
>  RemoteObject =[RemoteObject destination="SearchFacade"
>  channelSet="null"]
>
>  Which is same as when i try to access the App inside the network
>  using HTTP (rather than https)
>
>  I am not sure whether any thing needs to be done in the config for
>  the SSL...
>
>  Thanks
>  Kumar
>
>
>
>  


RE: [flexcoders] DataGrid multi column sort - where is the sort arrow ?

2007-10-15 Thread Alex Harui
Dg ui does not support multicol sort.  I recommend custom dg
headerrenderers that will show the columns involved.  Our adg is using
numbers in the arrows iirc

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rleuthold
Sent: Monday, October 15, 2007 3:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid multi column sort - where is the sort
arrow ?

 

Ok, I have implemented the multiple column sort (thanks for the help
Alex).

It works fine, but now the sortArrow disapeared and I can not change the
sort direction. 
I've tried to use the placeSortArrow() function, but this function seems
not to exist in the 
SDK I'm using (Flex 3 Beta 2).

Why is that ? Any idea ?

Thank's ... _rico

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The datagrid UI does not support multi-column sort. If you implement
> it, you should call preventDefault() on the headerRelease event so it
> doesn't attempt to do a single column sort.
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of rleuthold
> Sent: Monday, October 01, 2007 4:03 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] DataGrid & ArrayCollection numerical sort on
> multiple columns
> 
> 
> 
> Hi there,
> 
> I know, there are tons of posts in the archive about numeric sort with
> Data Grids and an Array 
> Collection as Data Provider. But I couldn't find an answer to my
problem
> in any of them.
> 
> I'm atttaching a numerical sort to the Data Provider as described in
the
> help (with sortFields 
> and DP.sort an so on). When I specifiy a numerical sort to just one
> field of the Array Collection 
> the sorting in the Data Grid works very well. 
> 
> But when I specify a numerical sort for different fields in the Array
> Collection, I see a number 
> just next to the sort marker in the Header Column of the Data Grid and
> the sorting is just a 
> normal text sort. 
> 
> Can somebody explain me this phenomenon ? _rico
>

 



RE: [flexcoders] Debbugging of Flex swf running in ActiveX control

2007-10-15 Thread Alex Harui
The forum archives should have an explanation of how to do this

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mnorrstrand
Sent: Monday, October 15, 2007 5:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Debbugging of Flex swf running in ActiveX control

 

Hi,

I'm looking for a way to use the debugger in Flex (the breakpoints,
stepping etc) when running a flex-built swf in a standalone ActiveX
control launched by a c++ application (backend built in c++, gui in
Flex/AS3, using ExternalInterface to communicate). Any ideas or
pointers to libraries to use?

 



Re: [flexcoders] trying to track down an error..

2007-10-15 Thread Greg Morphis



Where? I havent looked at this code since March? And even then it wasnt me
who set this up.
Where can I check the configuration? Thanks



On 10/15/07, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
>
>  'Unknown destination 'EmployeeServiceRO' - please check you remoting
> configurations
>
>
>
> On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
>
> >   So I've inherited a flex app. It's been months since I've looked at
> > Flex and Cairngorm.
> > The time change coming up is starting to rear it's ugly head and I'm
> > trying to get this going and fixed before Nov 4th.
> > I've got the app all set up, checked it out through CVS and there's an
> > error, right on login..
> >
> > I Alert the event in the onFault function and it states
> >
> > [FaultEvent fault=[RPC Fault faultString="[MessagingError
> > message='Unknown destination 'EmployeeServiceRO'.']"
> > faultCode="InvokeFailed" faultDetail="Couldn't establish a connection
> > to 'EmployeeServiceRO'"]
> > messageId="47E7A8FA-EB41-1E60-A96D-A474ECC048D1"
> > type="fault"
> > bubbles=false
> > cancelable=true eventPhase=2]
> >
> > Not sure where to go next for this error. Any help would be appreciated.
> > Thanks
> >
>
> 
>


RE: [flexcoders] secure and non-secure channels for (ColdFusion) remoting

2007-10-15 Thread Battershall, Jeff
Tom,

I noticed similar behavior when I had stipulated an incorrect endpoint
for an rtmp channel - it didn't fail over, the app just hung, perhaps
due to a runtime error - you could dump the channelFault event and see
what you get there.  I haven't tested but there is the connectTimeout
property which may work. Don't know how you'd implement it via xml.

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Monday, October 15, 2007 6:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] secure and non-secure channels for (ColdFusion)
remoting


Our live server runs both SSL and non-SSL, and we would like Flex
applications 
to connect via SSL if possible, but fall back to non-SSL. Accordingly we
set the channels for our destinations up like: 
  
  

with the normal channel defs:

http://{server.name}:{server.port}/flex2gateway/"; 
class="flex.messaging.endpoints.AMFEndpoint"/>

false

false





https://{server.name}:{server.port}/flex2gateway/"; 
class="flex.messaging.endpoints.SecureAMFEndpoint"/>


false


false



   

However, in development application hangs on the first remoteObject
call. 

If we reverse the order of the channels and recompile, the application
is 
fine.

This occurs in 2.0.1 hf1 and hf3.

There is nothing listening on port 443 on the development systems.

If I run the traffic through the WebScarab Java HTTP proxy to try and
see what 
is going on, it works.
There is a request for
"https://whitbread2.localdomain:443/crossdomain.xml"; 
which makes sense, so that might be the problem.

Is anyone else making this sort of 'auto-degrade' Flex application work
?
-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office.  Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.


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





RE: [flexcoders] Flex modules and jms messaging

2007-10-15 Thread Alex Harui
Which swf the as data class and the webservices are in may make a
difference

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ivhaggi
Sent: Saturday, October 13, 2007 2:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex modules and jms messaging

 

Hi Group!!

Im working in a project with modules. In one of them im using a
consumer who is listening a JMS Topic. 

The problem is when i publish a java object to the jms topic the
consumer enters to the function handler i defined, but the
event.message.body is null. 

I repeat the same proof in the main mxml of my app(not in a module)
and the object was received sucessfully. So my question is why in the
module i can not reach the body of the message??

Thanks in advanced for your help!!

 



Re: [flexcoders] trying to track down an error..

2007-10-15 Thread Anatole Tartakovsky
'Unknown destination 'EmployeeServiceRO' - please check you remoting
configurations



On 10/15/07, Greg Morphis <[EMAIL PROTECTED]> wrote:
>
>   So I've inherited a flex app. It's been months since I've looked at
> Flex and Cairngorm.
> The time change coming up is starting to rear it's ugly head and I'm
> trying to get this going and fixed before Nov 4th.
> I've got the app all set up, checked it out through CVS and there's an
> error, right on login..
>
> I Alert the event in the onFault function and it states
>
> [FaultEvent fault=[RPC Fault faultString="[MessagingError
> message='Unknown destination 'EmployeeServiceRO'.']"
> faultCode="InvokeFailed" faultDetail="Couldn't establish a connection
> to 'EmployeeServiceRO'"]
> messageId="47E7A8FA-EB41-1E60-A96D-A474ECC048D1"
> type="fault"
> bubbles=false
> cancelable=true eventPhase=2]
>
> Not sure where to go next for this error. Any help would be appreciated.
> Thanks
> 
>


[flexcoders] trying to track down an error..

2007-10-15 Thread Greg Morphis
So I've inherited a flex app. It's been months since I've looked at
Flex and Cairngorm.
The time change coming up is starting to rear it's ugly head and I'm
trying to get this going and fixed before Nov 4th.
I've got the app all set up, checked it out through CVS and there's an
error, right on login..

I Alert the event in the onFault function and it states

[FaultEvent fault=[RPC Fault faultString="[MessagingError
message='Unknown destination 'EmployeeServiceRO'.']"
faultCode="InvokeFailed" faultDetail="Couldn't establish a connection
to 'EmployeeServiceRO'"]
messageId="47E7A8FA-EB41-1E60-A96D-A474ECC048D1"
type="fault"
bubbles=false
cancelable=true eventPhase=2]

Not sure where to go next for this error. Any help would be appreciated.
Thanks


RE: [flexcoders] Panel resize based on its contents

2007-10-15 Thread Alex Harui
The panel sets the dg height unless your code did. Try
getExplicitOrMeasuredWidth and viewMetrics

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kPraveen
Sent: Sunday, October 14, 2007 6:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Panel resize based on its contents

 


Hi,

I have a panel which is populated with dynamic number of datagrids
inside.
But the panel produces vertical scrollbars to view all the datagrids.I
turned off the scrollbars, but data gets clipped off. But what i need is
the
panel to expand vertically without scrollbars so that i can see all the
datagrids. Though i set panel.height=sum of all datagrids.height+25 its
nt
working. Plzz help me out on this.. 
-- 
View this message in context:
http://www.nabble.com/Panel-resize-based-on-its-contents-tf4621724.html#
a13198964
 
Sent from the FlexCoders mailing list archive at Nabble.com.

 



[flexcoders] Re: Web Hosting and RemoteObject

2007-10-15 Thread Anthony DeBonis
Also check that they are using CF 7.0.2 +  because 7.0.1 does not have 
remoting as far as I have seen.



RE: [flexcoders] odd behavior when editing in a datagrid

2007-10-15 Thread Alex Harui
Prpbpably when the focus goes to the alert, the validator fires again
since the datagrid lost focus and another alrt goes up which...

 

I do not recommend alerts and itemeditors

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ramsey, Robert L
Sent: Monday, October 15, 2007 8:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] odd behavior when editing in a datagrid

 

Hi,

 

I'm just playing around and learning how to handle it when users edit a
datagrid.  I did a copy and paste from the Flex help:

 





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











 









   

  



 

 

 

The really thing that is bothering me though is that I added the
following Alert message just to see what the event.reason message was:

 

Alert.show(event.reason.toString());

 

But that locks up the app in IE 7.  Even if I just make it
Alert.show("hello"); the browser stops responding.  But if I use a label
instead of an alert, it works.  I just dropped a label on the form and
added the line mylabel.text=event. reason.toString());  That works just
fine and everything is smooth and I can see the reason just fine.

 

Anyone else experience this or know why one should lock up the app?  It
isn't a big deal since I won't be using this functionality in
production, I was just curious.

 

Thanks,

 

Bob

 

 



[flexcoders] Re: Site Launch

2007-10-15 Thread droponrcll
--- In flexcoders@yahoogroups.com, "Giles Roadnight" <[EMAIL PROTECTED]> 
wrote:
>
> Yeah, it loooks pretty nice (but why open in a popup which I HATE!)
> 
> I helped work on this site which is a slightly different looking 
flex site
> as well:
> 
> http://fashion.canon-europe.com/searchandcreate.html
> 
> On 10/15/07, candysmate <[EMAIL PROTECTED]> wrote:
> >
> >   --- In flexcoders@yahoogroups.com , "Mike
> > Krotscheck" 
> > wrote:
> > >
> > > Hey everyone-
> > >
> > > We here at Resource just launched a new site last Friday, built 
entirely
> > > in Flex. I figured some of you might get a kick out of it, 
since the
> > > designers really went out of their way to do something that's 
not just a
> > > datagrid and a few bindings.

Hate to say it, guys, but neither of these sites launched during my 
attention span (with DSL).  Hope you have really motivated visitors!



[flexcoders] Re: ColdFusion CFCs Not Returning Data

2007-10-15 Thread Mike Collins
Sounds like a job for Charles.  http://www.xk72.com/charles/ a great
debugging tool when trying to see what's crossing the wire between
Flex and CF.



Re: [flexcoders] Tooltip

2007-10-15 Thread Guillermo Villasana
Mmm... then it must be because of the HTML component I am using.

Alex Harui wrote:
>
> It should already be checking to see if the contents go out of the 
> stage bounds.
>
>  
>
> 
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Guillermo Villasana
> *Sent:* Monday, October 15, 2007 8:46 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Tooltip
>
>  
>
> Is it possible to make the tooltip check that if it's contents go out of
> the visible area to change its position to be shown up or left of the
> cursor position?
>
> Thanks
>
>  



RE: [flexcoders] Site Launch

2007-10-15 Thread Mike Krotscheck
Can you do me a huge favor and send me a personal email with the steps
you took to get the application to crash (Plus some system profiles)?
We've been hunting for that for a while now.

 

As for why Flex and not Flash: I wasn't involved in the decision myself,
but I assume that Flex' support of secondary developer tools like
subclipse, Ant and filesync had a large part to do with it. After all,
have you ever tried to merge a .fla? 

 

Michael Krotscheck

Senior Developer

 
RESOURCE INTERACTIVE

 www.resource.com  

[EMAIL PROTECTED]  



This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Farid Shahlavi
Sent: Monday, October 15, 2007 11:02 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Site Launch

 

The look and feel are great, but it crashed my browser while navigating,
also it's very cpu intensive and peaks my cpu at 100% while I was
viewing the Gwen Stephanie design, also there was a runtime error when I
was playing around with the Gwen Stephanie paper doll design section,
you may want to look at optimizing it a bit. Otherwise a cool concept,
just wondering why you didn't just build the site in Flash. 

Cheers,

Farid

On 10/15/07, Seth Caldwell <[EMAIL PROTECTED]
 > wrote:

Love the feel of this. Question - the dropdown menus and combo boxes
look simply amazing. Is this a custom component or just styling on
existing ones?

They look so slick against the background gradient as well. Cheers to an
amazing design.

 

Seth

 



From: flexcoders@yahoogroups.com [mailto: flexcoders@
 yahoogroups.com  ] On
Behalf Of Mike Krotscheck
Sent: Monday, October 15, 2007 6:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Site Launch

 

Hey everyone-

We here at Resource just launched a new site last Friday, built entirely
in Flex. I figured some of you might get a kick out of it, since the
designers really went out of their way to do something that's not just a
datagrid and a few bindings. 

http://www.hp.com/printstudio/  

Michael Krotscheck
Senior Developer
RESOURCE INTERACTIVE
www.resource.com  
[EMAIL PROTECTED]  
__
This email and any of its attachments may contain Resource Interactive
proprietary information, which is privileged, confidential and may be
subject to copyright or other intellectual property rights belonging to
Resource Interactive. This email is intended solely for the use of the
individual or entity to which it is addressed. If you are not the
intended recipient of this email, you are hereby notified that any
dissemination, distribution, copying or action taken in relation to the
contents of and attachments to this email is strictly prohibited and may
be unlawful. If you have received this email in error, please notify the
sender immediately and permanently delete the original and any copy of
this email and any printout.

 

 



RE: [flexcoders] Re: ArrayCollection of Objects as data provider for DataGrid

2007-10-15 Thread Alex Harui
You're not using binding syntax

 





 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of myasandy2
Sent: Monday, October 15, 2007 8:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ArrayCollection of Objects as data provider
for DataGrid

 

I have re-done a few things trying to follow what has been said.

Below is the code to make the object, put it in an array (needed for 
another part of the project) and put it in and ArrayCollection. the 
class (School), array (Schools), and ArrayCollection (SchoolsAC) are 
all public and Bindable.

private function makeSchoolObj(schoollist:XML):void {
try {
trace("in makeSchoolObj");
var id:int;
for (i = 1; i < 4; i++) {
id = int(schoollist.school[i].id)-6;
Schools[id]=new School(String(id));
Schools[id].name = schoollist.school[i].name;
SchoolsAC.addItem(Schools[id]);
}

for (var i:int = 0; i < SchoolsAC.length; i++){
trace(SchoolsAC.getItemAt(i).name);
}

// trace results as expected:
Minnesota State College - Southeast Technical - Red Wing
Metropolitan State University
DCTC - Rosemont







Now I get Error #1065: Variable SchoolsAC is not defined.

I am sure I am missing something obvious and am open to all 
suggestions.

TIA
Sandy

 



RE: [flexcoders] Tooltip

2007-10-15 Thread Alex Harui
It should already be checking to see if the contents go out of the stage
bounds.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Guillermo Villasana
Sent: Monday, October 15, 2007 8:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tooltip

 

Is it possible to make the tooltip check that if it's contents go out of

the visible area to change its position to be shown up or left of the 
cursor position?

Thanks

 



  1   2   >