[flexcoders] Flex 3 Now Live > http://labs.adobe.com/technologies/flex/flexbuilder3/ > PLUS Apollo now AIR > http://adobe.com/go/air/ > http://labs.adobe.com/technologies/air/

2007-06-10 Thread greg h

http://labs.adobe.com/technologies/flex/flexbuilder3/


Plus Apollo is now AIR (Adobe Integrated Runtime)
http://adobe.com/go/air/
http://labs.adobe.com/technologies/air/


[flexcoders] Flex 3 Beta is now available!

2007-06-10 Thread Matt Chotin
http://labs.adobe.com/technologies/flex

Have fun!


[flexcoders] IFrame and modal dialog

2007-06-10 Thread ivansebastiansurya
Hi everyone,

I've written an application that uses IFrame to load sub application.
It works fine.

But there is a slight glitch to it, that is whenever I have a modal 
popup, the popup always appears under the IFrame.

Is there any way I can make my popup appear above the IFrame?

Or is there any way I can just create a simple html to be displayed 
whenever I click on a button (instead of having the modal pop up).

Thanks,

Ivan.



[flexcoders] Reuse of action script files (for files build using Maven israfil plugin)

2007-06-10 Thread ivansebastiansurya
Hi everyone,

I'm just wondering if anyone has figured out an easy way to reuse 
action script library across different project. I am writing 
different Flex applications now and they all reside in different 
folders. I'm using Maven to build my mxml files (israfil plugin). I'm 
wondering if we can compile some sort of common libraries that can be 
used by my different project (similar to how Maven builds Java, i.e. 
by specifying one project depend on another and can download the 
class files from the repository provided it's installed already).
One way I can think of is to actually write all of the source code in 
one common folder and have all projects refer to this folder, but 
this is not the preferred way to do it as:
1. Different developers who need to work on project that uses this 
common code needs to download this common code as well (for the 
script include attribute to work).
2. It's introducing hidden dependency (we have to have the source 
which is in a different project/folder downloaded and yet in our 
maven pom file, we don't specify this dependency).

If anyone can help out, that would be greatly appreciated.
Many thanks,

Ivan. 




Re: [flexcoders] Can Flex/SVN take a site-wide 'snapshot'?

2007-06-10 Thread Charles Galpin

On Jun 10, 2007, at 8:54 PM, shawn.gibson wrote:

>
> My question is, say I find I did something really right across the
> board, only to realize I'd taken a wrong turn, is there some way to go
> back in time and revert the entire setup to how it was, i.e., go back
> to all the project files as they existed at a certain commit time of
> one particular file (like, the one I took the wrong turn with)?

Yes, you can create tags

http://svnbook.red-bean.com/en/1.2/svn.branchmerge.tags.html

And branches as needed

http://svnbook.red-bean.com/en/1.2/svn.branchmerge.html

Just FYI, these are features of SVN (and other revision control  
systems have equivalents) and nothing to do with flex per se though.

> Almost afraid to ask, but is that what "Ant" is for?

It's a java based build tool - like make on steroids. Basically it's  
a way of automating the building and packaging of your projects and  
more. Useful in many programming environments as well as eclipse.

hth
charles



[flexcoders] Can Flex/SVN take a site-wide 'snapshot'?

2007-06-10 Thread shawn.gibson
By some freak of nature (and lots of help here!), I've been able to
get Flex 2.0.1, CF7.0.2, PHP, Apache 2.2, MySQL 5, PHPEclipse,
CFEclipse and SVN/Subclipse/TortoiseSVN all to run (developing in
Eclipse of course) without causing an atomic mushroom cloud around my
home...and it all seems to work excluding Apache-PHP-PHPEclipse
integration since I use Apache2Triad right now. Now all I need to do
is learn how to write code:)

At this early stage, I've come to realize I can commit particular
files, and go back if needed to grab the code...but when I'm working,
I am obviously building variations not on just one file, but many, all
of which should work, in sync, at any given time.

My question is, say I find I did something really right across the
board, only to realize I'd taken a wrong turn, is there some way to go
back in time and revert the entire setup to how it was, i.e., go back
to all the project files as they existed at a certain commit time of
one particular file (like, the one I took the wrong turn with)?

I'm sure this is a newb question...but what else is new for me...

Almost afraid to ask, but is that what "Ant" is for?

Shawn



[flexcoders] HyperText for Tutorial - design advice requested.

2007-06-10 Thread annespg
Newbie here.  Please be gentle and details are MUCH appreciate.  
Nothing is too basic or explicit for the likes of me.  

I want to do some tutorial/help text where I want various words 
embedded in the text to allow me to have a number of functions:
Tooltip - so that when you hover over a particular word in the text 
I can put up a tooltip.  Also I would like the tooltip to 
potentially be something more complex than simple text.  
Specifically I may have an icon in the tooltip that you can click on 
that would play a sound.

I looked into the event stuff that you can add to the  anchor 
tag.  That only seems to work if you click on the text marked with 
the  tag, but doesn't seem to deliver an event if you simply 
hover over it.  Alternatively I thought there might be a way to 
intermingle link buttons so that a particular word could have all 
that funcitonality.  Or is there some other strategy for doing 
this.  Again, the particular word/phrase would be embedded in a 
paragraph of text inside a TextArea.

Also, I couldn't figure out how to make a more complex tooltip 
component (one that could incorporate images and text and be 
interacive).  Rather than trying to extend tooltip functionality, 
should I be looking at using the PopupManager instead?  If so, how 
do I get the PopupManager to make my turbotooltip appear at the 
correct offset from the word in the paragaph of text that should 
have this functionality?  

Finally, I also want to be able to control the layout of my help 
text page by page as well as intermingle animations.  Would I be 
better off building all this in Flash instead of Flex?  

Any sample apps/sample code/books to read that people can point me 
to that would help me sort through all this would be GREATLY 
appreciated.



[flexcoders] Re: FDS 30 Minute Testdrive Project - problems creating a new project

2007-06-10 Thread annespg
Thanks very much.  I wound up getting some help offlist from someone 
and DID download the whole Flex Builder 2 and reinstalled which got 
me to the most current version.  That gave me a way (when creating a 
new project) to set context root to /.  I also fixed my Root URL to 
http://localhost:8600/.

--- In flexcoders@yahoogroups.com, "James Ward" <[EMAIL PROTECTED]> wrote:
>
> It seems there is a version mismatch between the Test Drive and 
the version of Flex Builder you are using.  I'd make sure you have 
updated to Flex 2.0.1 Hotfix 2 and if that still doesn't work, 
download LCDS 2.5 (from the bottom of the Hotfix 2 download page) 
and use the Test Drive which is included with that.  I hope that 
helps.
> 
> -James
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of annespg
> Sent: Tuesday, May 29, 2007 2:53 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] FDS 30 Minute Testdrive Project - problems 
creating a new project
> 
> I'm trying to use the FDS 30 Minute TestDrive sample apps inside 
> Flex Builder. I downloaded the test drive and all the samples work 
> just dandy fine, and I can view the source etc. So I wanted to 
load 
> some of the sample apps into Flex Builder so that I could modify 
and 
> play with them with the debugger so as to learn more. 
> 
> I've tried the following:
> create New Project - use Flex Data Services/compile app locally
> Root Folder: C:\fds-tomcat\webapps\ROOT
> Root URL: http://localhost:8600/ROOT. When I click Finish, I get 
the 
> following 3 errors in the Output panel:
> 
> unable to load SWC fds.swc: multiple points
> unable to load SWC fds.swc: multiple points
> The definition of base class Locale was not found
> Could not resolve to a component implementaion
> 
> I am on Flex 2.0.143459.
> 
> I've verified that fds.swc is indeed in the 
> C:\fds-tomcat\webapps\ROOT\WEB-INF\flex\libs folder.
> I don't know what the other messages mean or what to do.
> 
> I then stubbornly unzipped one of the sample apps into the 
> FlexBuilder project folder (which I named FDS TestDrive Samples) 
and 
> tried to run it anyway to see if I could get more info. I then get 
> a browser window with the following additional errors:
> type Status report
> message /ROOT/FDS%20TestDrive%20Samples/Chat.html
> description The requested resource (/ROOT/FDS%20TestDrive%
> 20Samples/Chat.html) is not available.
> 
> So I guess one problem is that it is not making an html document. 
> But I don't know how to correct that.
> 
> I have no idea what to do. Any help would be GREATLY appreciated.
>




[flexcoders] IDs within repeaters and Bindings

2007-06-10 Thread Aldo Bucchi
Hi Flexies,

Components within a repeater have IDs that are not document-scoped,
thus the following binding expression will only work once.


  
  


I need a way to overcome this... so that the expression is valid for
the lifetime of the application.

I have tried to do things like



where findBar somehow uses the repeater index to return a reference to
the desired instance of Bar.

Now, the latter doesn't work either... as the binding still only works once.

Any ideas??
I understand this is a current limitation, but are there any hacky
ways around it??

Perhaps using separate mx:Bindindg tags?
( hmm hadn't thought about that... will give it a try )

Thanks,
Aldo

-- 
: Aldo Bucchi :
mobile +56 9 8429 8300


Re: [flexcoders] Re: Flash/Flex and EXE

2007-06-10 Thread André Rodrigues Pena

It's interesting that when I click the "Preview" button inside ZINC the
generated EXE reads HTTPService fine, when I compile and run it, it does not
=(

On 6/10/07, André Rodrigues Pena <[EMAIL PROTECTED]> wrote:


MUZAK,
I've got the testing SWF I sent as an attach.
The Projector EXE file works fine
The ZINC 2.5 EXE file does not

Any tip?

On 6/10/07, Muzak <[EMAIL PROTECTED]> wrote:
>
>
> - Original Message -
> From: "André Rodrigues Pena" <[EMAIL PROTECTED]>
> To: 
> Sent: Sunday, June 10, 2007 12:56 AM
> Subject: Re: [flexcoders] Re: Flash/Flex and EXE
>
>
> > Muzak, are you sure of that? I just created a simple RSS reader and
> compiled
> > it under ZINC and the request is not retrieving
>
> 200%.. I have a Zinc RSS reader and a whole bunch of other apps.
>
>
>
>
> --
> 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
>
>
>
>


--
André Rodrigues Pena

LOCUS
www.locus.com.br

Blog
www.techbreak.org





--
André Rodrigues Pena

LOCUS
www.locus.com.br

Blog
www.techbreak.org


[flexcoders] Re: Flex Component kit

2007-06-10 Thread Cliff Hall
Patrick,

You must define the XML namespace on the Application itself:


http://www.adobe.com/2006/mxml"; xmlns:ng="*">

  



--- In flexcoders@yahoogroups.com, {reduxdj} <[EMAIL PROTECTED]> wrote:
>
> Code hinting does not work:
> 
> my example code:
> 
> 
> http://www.adobe.com/2006/mxml";
layout="vertical">
> 
> 
> 
> 
> Thanks,
> Patrick
>




[flexcoders] DataGrid + ItemRenderer Bugs?

2007-06-10 Thread zedan_gu
I have a datagrid like below:





 




   








and have 2 data source to fill the grid
1.  name: X type: 1
name: Y type: 2
name: Z type: 3
2.  name: X1type: 2
name:Y1 type: 1
name: Z1type: 3

Now, how can I set the combobox¡¯s selected value through data source
¡®type¡¯ field? I have tried it that uses a function to set selected
value when data bind. But once I change the grid dataprovider( eg: web
service return different data) or I sort the data by click the grid
title, the combobox¡¯s selected value will change itself, but be not
¡®type¡¯ field value. It seems that the new selected value is the last
data source¡¯s value.
Is this a bug? Or do I mask a mistake? 




[flexcoders] Re: Dynamically binding a dataprovider in AS

2007-06-10 Thread Cliff Hall
Sean,

Don't overlook the obvious. You may simply do this:

   bb.dataprovider = vs;

-=Cliff>


--- In flexcoders@yahoogroups.com, "Roman Protsiuk"
<[EMAIL PROTECTED]> wrote:
>
>  mx.binding.utils.BindingUtils.bindProperty(bb, "dataProvider",
this, "vs");
> 
> R.
> 
> On 6/8/07, zzwi89 <[EMAIL PROTECTED]> wrote:
> >
> >   Apologies if this question has been posted; I couldn't find anything
> > similar in the archives.
> >
> > Suppose I have the following in MXML:
> >
> > 
> > 
> >
> > How would I set that binding in AS?
> >
> > Trying something like this:
> >
> > mx.binding.utils.BindingUtils.bindProperty(bb, "dataProvider", vs,
null);
> >
> > Doesn't work, because I don't know what to set the chain property to.
> > I don't to bind just a property of the ViewStack, I want to bind the
> > ViewStack.
> >
> > Any thoughts?
> >
> >  
> >
>




[flexcoders] Extending Cairngorm to modules

2007-06-10 Thread Tuli, Nikhil

Hi All,

I am trying to develop a POC for extending cairngorm to modules, by having a 
moduleManager and any module implementing a certain interface can interact with 
other modules and the main application.

I have done some bits on this, which I would post later out when done. 

Currently I am stuck with a problem, which is as following:

I have a BusinessDelegate (part of module A) which calls a webservice (part of 
module A),  but the ServiceLocator (part of the main application) which loads 
this module has the info for the webservice which is made available to it at 
run time.

I have overriden the getWebService method of the serviceLocator which allows me 
to get the webservice object from the module as well.

Now when this delegate gets executed and a call is made to the webservice 
object, where I can see the webservice object getting populated properly, the 
call doesn't seems to go over the wire.
Whereas it does works in a normal scenario, ie in a simple application.

Best Regards,

Nikhil Tuli.
Associate Software Engineer,
Fidelity Business Services India Pvt. Ltd.,
7th Floor, Tower D,
Uni TechWorld, Sector 39,
Gurgaon - 122 001. 
Phone (India) : +91 124 283 3209 
Phone (US): 8 804 4395

"il n'y a rien tel que noir ou blanc, toutes sont différentes dégradés de gris"

"Any comments or statements made in this email are not necessarily those of 
Fidelity Business Services India Pvt. Ltd. or any of the Fidelity Investments 
group companies. The information transmitted is intended only for the person or 
entity to which it is addressed and may contain confidential and/or privileged 
material. If you have received this in error, please contact the sender and 
delete the material from any computer. All e-mails sent from or to Fidelity 
Business Services India Pvt. Ltd. may be subject to our monitoring procedures."



Re: [flexcoders] Dynamically binding a dataprovider in AS

2007-06-10 Thread Roman Protsiuk

mx.binding.utils.BindingUtils.bindProperty(bb, "dataProvider", this, "vs");

R.

On 6/8/07, zzwi89 <[EMAIL PROTECTED]> wrote:


  Apologies if this question has been posted; I couldn't find anything
similar in the archives.

Suppose I have the following in MXML:




How would I set that binding in AS?

Trying something like this:

mx.binding.utils.BindingUtils.bindProperty(bb, "dataProvider", vs, null);

Doesn't work, because I don't know what to set the chain property to.
I don't to bind just a property of the ViewStack, I want to bind the
ViewStack.

Any thoughts?

 



[flexcoders] Re: How to address relative tile in TileList in dragDrop event processing?

2007-06-10 Thread Peter Connolly
That does the trick!

private function myDragDrop(e:DragEvent):void {
var dropIndex:int = tilelist1.calculateDropIndex(e);
Alert.show("dropIndex: " + dropIndex);
}

Thanks!




RE: [flexcoders] Flex 1.5 dispatchEvent and addEventListener question

2007-06-10 Thread Matt Chotin
You need to add your event listener to each of the components as they
are created.  Flex 1.5 doesn't have real bubbling support so you need to
add the listener to each object.  so you may need to iterate through the
array and add a listener to each item in there.
 
Matt



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Turner
Sent: Friday, June 08, 2007 2:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 dispatchEvent and addEventListener
question



Hello 

I am working on a 1.5 project and i have an mxml page that creates an
Array of Components. These Components are basically a Container that
holds a few form elements. 

if one of these components dispatches an event how would i set up the
parent page to listen for the dispatched event?

I have been able to successfully capture an event when i utilize the
"id" attribute of the component but because its an array of objects in
this case i cannot do that. 

for instance i cannot do this.. 
thing.addEventListener("eventThrown", Delegate.create(this, onEvent));

Ive tried referencing the Repeater that generates the Array of Objects
but that does not detect the event.. 

I know this wouldn't be a problem in 2.x but I am unable to get the
parent to detect the thrown event in 1.5.

Any help with this matter would be greatly appreciated.

thanks, 
Dave