Re: [flexcoders] PDF and XL

2009-05-18 Thread Vikram Singh
Go through this link for printing flex component:

http://examples.adobe.com/flex3/componentexplorer/explorer.html
http://livedocs.adobe.com/flex/3/html/help.html?content=Part2_DevApps_1.html


I hope you will get your solution from here.

Regards,
Vikram



From: senthilkumarirtt 
To: flexcoders@yahoogroups.com
Sent: Tuesday, 19 May, 2009 11:05:00 AM
Subject: [flexcoders] PDF and XL





Hi all i need to export my advanced datagrid data as PDF and XL format..

Thanks in advance

S.Senthilkumar


   


  Explore and discover exciting holidays and getaways with Yahoo! India 
Travel http://in.travel.yahoo.com/

Re: [flexcoders] Re: Flex - Create Application From Database

2009-05-18 Thread Angelo Anolin
Hi,

Thanks for the link.  But I think the courses there requires that you need to 
enroll and pay up for their courses.

I am still having trouble making this Create Application from Database thing to 
work. Although I managed to get the web service running (for another separate 
application).

I still got a lot more to learn and I am very thankful that this group exists.

Kind Regards,

Angelo





From: valdhor 
To: flexcoders@yahoogroups.com
Sent: Friday, 15 May, 2009 2:07:07
Subject: [flexcoders] Re: Flex - Create Application From Database





If you still can't get it to work, you may like to look at http://www.lynda. 
com/home/ DisplayCourse. aspx?lpk2= 437 . There is a course component labeled 
"Using Flex Builder 3's ASP.NET Data Wizard".

--- In flexcod...@yahoogro ups.com, "valdhor"  wrote:
>
> I don't use .NET or NorthWind.
> 
> I would try http://localhost: 12345 or http://localhost: 12345/service. asmx 
> as the server name.
> 
> Put the database name you want to use in the Database Name field and leave 
> the other fields as is (Flex automatically populates the user name field with 
> sa).
> 
> Then try clicking the "Test Connection" button. Flex will try to connect and 
> give you some sort of error if it can't.
> 
> As I understand it, you should be able to connect to a NorthWind database.
> 
> 
> HTH
> 
> 
> 
> Steve
> 
> 
> 
> --- In flexcod...@yahoogro ups.com, Angelo Anolin  wrote:
> >
> > Hi Steve,
> > I am trying to connect to the NorthWind database which I placed in the 
> > App_Data folder of my web service.
> > When I run the webservice, it runs in the address:
> > http://localhost: 12345/service. asmx
> > 
> > So would I be placing the localhost:12345 as my host url for the database?
> > 
> > How do I set the northwind (or any other SQL Server database to run in the 
> > localhost for this matter?)
> > 
> > By default the username for the SQL Server Express database is sa and 
> > password is left blank.
> > 
> > Thanks a lot.
> > 
> > Regards,
> > 
> > Angelo
> > 
> > 
> > 
> > 
> > 
> >  _ _ __
> > From: valdhor 
> > To: flexcod...@yahoogro ups.com
> > Sent: Friday, 15 May, 2009 0:04:47
> > Subject: [flexcoders] Re: Flex - Create Application From Database
> > 
> > 
> > 
> > 
> > 
> > So, when I do this the window says "Simple MySQL Connection-> Create a 
> > connection to a MySQL Database". At this point you plug in details for your 
> > database connection.. .
> > 
> > Host URL: The IP address or hostname of your MySQL Database (If it's on 
> > your local machine use localhost or 127.0.0.1 or your local machines IP 
> > address).
> > 
> > Database Name: The database you want to connect to (You will select a table 
> > later).
> > 
> > User Name: The User Name you use to connect to the database above.
> > 
> > Password: The Password you use to connect to the database above.
> > 
> > You should then click the "Test Connection" button to see if Flex can 
> > connect to the database with the parameters you have entered.
> > 
> > HTH
> > 
> > Steve
> > 
> > --- In flexcod...@yahoogro ups.com, Angelo Anolin  
> > wrote:
> > >
> > > 
> > > Hi All,
> > > 
> > > I have FB3 on my machine, coupled with VS 2008 Express. 
> > > 
> > > When I click on Data | Create Application From Database, I get the Popup 
> > > WIndow - Create Application From Database.
> > > 
> > > I click on the New button beside the Connection and I am directed to the 
> > > Create Connection Profile. I then enter the Name for the New Connection 
> > > and click on Next button..
> > > 
> > > On the next screen, I have the following fields:
> > > 
> > > Server Name: localhost
> > > Database Name
> > > User Name
> > > Password
> > > 
> > > I cannot figure out what values need to be entered into these fields. 
> > > Kindly help me sort this out so that I could leverage the database app 
> > > capability of Flex.
> > > 
> > > Thanks.
> > > 
> > > P.S. 
> > > When I run my web service application, I am able to connect to it. Inside 
> > > my web service, I have already defined the Northwind database in the 
> > > App_Data folder.
> > >
> >
>





  

Re: [flexcoders] PDF and XL

2009-05-18 Thread p...@vin Uttarwar
Hi,
there is a opensource actionscript library called *alivepdf*,
here is a link.

http://alivepdf.bytearray.org/

hope this will help you.

Regards,
Pravin

2009/5/19 senthilkumarirtt 

>
>
> Hi all i need to export my advanced datagrid data as PDF and XL
> format..
>
> Thanks in advance
>
> S.Senthilkumar
>
>  
>


[flexcoders] PDF and XL

2009-05-18 Thread senthilkumarirtt
Hi all i need to export my advanced datagrid data as PDF and XL format..






Thanks in advance

S.Senthilkumar



[flexcoders] Re: Flex to Air and remote coldfusion

2009-05-18 Thread foobone9

Does your AIR app have access to the same remoting-config.xml as the Flex app?

--- In flexcoders@yahoogroups.com, "Scott"  wrote:
>
> I've written an application in Flex now I'm working on an Air
> application to connect to the coldfusion remoting services through the
> original application.
> 
>  
> 
> However, I can't seem to access the remote objects in the flex
> application through Air.  Is there anything special I have to be aware
> of if I'm connecting to another application's service?
> 
>  
> 
>  Thanks
> 
>Scott
>




RE: [flexcoders] Flex to Air and remote coldfusion

2009-05-18 Thread Scott
Nevermind; I just figured it out.  I needed to set the endpoint to the
server in the remoteobject.

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Scott
Sent: Monday, May 18, 2009 11:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex to Air and remote coldfusion

 






I've written an application in Flex now I'm working on an Air
application to connect to the coldfusion remoting services through the
original application.

 

However, I can't seem to access the remote objects in the flex
application through Air.  Is there anything special I have to be aware
of if I'm connecting to another application's service?

 

 Thanks

   Scott




-- 
This message has been scanned for viruses and 
dangerous content by MailScanner  , and is

believed to be clean. 


[flexcoders] Flex to Air and remote coldfusion

2009-05-18 Thread Scott
I've written an application in Flex now I'm working on an Air
application to connect to the coldfusion remoting services through the
original application.

 

However, I can't seem to access the remote objects in the flex
application through Air.  Is there anything special I have to be aware
of if I'm connecting to another application's service?

 

 Thanks

   Scott



RE: [flexcoders] Doing "math" with Date()

2009-05-18 Thread Jake Churchill
Look up Date on livedocs.  You can access all parts of the date and I
believe you can do natural comparison as well, i.e. if( date1 != date2 ).

 

Jake Churchill

CF Webtools

11204 Davenport, Ste. 100

Omaha, NE  68154

http://www.cfwebtools.com

402-408-3733 x103

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Laurence MacNeill
Sent: Monday, May 18, 2009 9:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Doing "math" with Date()

 






I have a list of events in a table, and I need to check and see if 
someone has selected two events that time-conflict with one 
another. How do I do "math" with the Date() function in Flex to see 
if two events occur at the same time or not? Are there other 
date-and-time functions in Flex?

Thanks,

Laurence MacNeill
Mableton, Georgia, USA





Re: [flexcoders] Doing "math" with Date()

2009-05-18 Thread Laurence MacNeill
At 10:10 PM 5/18/2009, you wrote:


>I have a list of events in a table, and I need to check and see if
>someone has selected two events that time-conflict with one
>another. How do I do "math" with the Date() function in Flex to see
>if two events occur at the same time or not? Are there other
>date-and-time functions in Flex?

Never mind -- I finally found it in LiveDocs.  Man, I wish that was 
easier to find stuff in.

Thanks,

Laurence MacNeill
Mableton, Georgia, USA



RE: [flexcoders] Doing "math" with Date()

2009-05-18 Thread Tracy Spratt
You can do you own calculations using the getTime() method, which returns
the number of milliseconds from a reference date.

 

But probably you should find a date utility library.  I have seen several.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Laurence MacNeill
Sent: Monday, May 18, 2009 10:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Doing "math" with Date()

 






I have a list of events in a table, and I need to check and see if 
someone has selected two events that time-conflict with one 
another. How do I do "math" with the Date() function in Flex to see 
if two events occur at the same time or not? Are there other 
date-and-time functions in Flex?

Thanks,

Laurence MacNeill
Mableton, Georgia, USA





[flexcoders] Doing "math" with Date()

2009-05-18 Thread Laurence MacNeill
I have a list of events in a table, and I need to check and see if 
someone has selected two events that time-conflict with one 
another.  How do I do "math" with the Date() function in Flex to see 
if two events occur at the same time or not?  Are there other 
date-and-time functions in Flex?

Thanks,

Laurence MacNeill
Mableton, Georgia, USA



Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 08:13 PM 5/18/2009, you wrote:



>Almost seems like you'd want to loop through the validators instead,
>huh?
>
>-TH

Didn't know I could do that...  How would I go about doing that?

Thanks,

Laurence MacNeill
Mableton, Georgia, USA



RE: [flexcoders] Re: Getting an error when using a tree as a component

2009-05-18 Thread Tracy Spratt
I do not see a click handler function in what you posted.  Did I miss it?

 

No, wait, hold on, You can't use Application as the root tag for a
component.  I thought you said you were using canvas.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of timgerr
Sent: Monday, May 18, 2009 11:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Getting an error when using a tree as a component

 






OK, Here is what I did. I wanted to know if there was a problem with my code
or was it the tree stuff. I went to Adobe Live Docs to get a tree example
(http://livedocs.

adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDo
cs_Book_Parts&file=dragdrop_081_06.html). I took this code and created a
Canvas Component from it. I then created an app and called the code from it.


I then called the app and when I click on any of the items in the tree I get
this error:
ArgumentError: Error #2025: The supplied DisplayObject must be a child of
the caller.
at flash.display::DisplayObjectContainer/getChildIndex()
at
mx.managers::SystemManager/getChildIndex()[C:\autobuild\3.2.0\frameworks\pro
jects\framework\src\mx\managers\SystemManager.as:1652]
at
mx.managers::SystemManager/mouseDownHandler()[C:\autobuild\3.2.0\frameworks\
projects\framework\src\mx\managers\SystemManager.as:3439]

Here is the code that I used for the component CallTree.mxml:

[CODE]


http://www.adobe. 
com/2006/mxml" 
width="700" height="250" 
borderStyle="solid">






















[/CODE]

Here is the application that is calling CallTree.mxml
[CODE]

http://www.adobe. 
com/2006/mxml" 
width="700" height="250" 
borderStyle="solid"
creationComplete="CallMeNow()">




[/CODE]

I am not sure what to do here.

Thanks for the read,
timgerr





RE: [flexcoders] Re: modify item before binding to datagrid

2009-05-18 Thread Tracy Spratt
If your data is changing type, I bet you have left the RPC data service at
its default resultFormat.  Set resultFormat="e4x" and adjust your
dataProvider expression code accordingly.

 

DO use a result handler, do NOT bind directly to lastResult.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Monday, May 18, 2009 11:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: modify item before binding to datagrid

 






Sorry, forgot to provide my sortable DataGrid:
package CustomComponents

{

import mx.collections.*;

import mx.controls.DataGrid;

import mx.controls.dataGridClasses.*;

import mx.events.DataGridEvent;

public class sortableDataGrid extends DataGrid

{

public function sortableDataGrid()

{

super();

addEventListener("headerRelease", headerReleaseHeandler);

}

public var sortIndex:int = -1;

public var sortColumn:DataGridColumn;

public var sortDirection:String;

public var lastSortIndex:int = -1;

public var col:String;

public function headerReleaseHeandler(event:DataGridEvent):void

{

col = columns[event.columnIndex].dataField;

}

}

}

--- In flexcod...@yahoogro  ups.com,
"markgoldin_2000"  wrote:
>
> Here is what I am doing.
> column definition:
> 
> and:
> private function sortNumericColumnTrackTotal(itemA:Object,
itemB:Object):int
> {
> return ObjectUtil.numericCompare(itemA[TrackTotal.col],
itemB[TrackTotal.col]);
> } 
> 
> where TrackTotal is a DG's id.
> 
> HTH
> 
> --- In flexcod...@yahoogro  ups.com,
Angelo Anolin  wrote:
> >
> > 
> > Hi.
> > 
> > I am quite new in Flex and would like to ask a simple question.
> > 
> > I am retrieving datasets from a .NET webservice and binding the same to
a datagrid. The datagrid comes with a feature that when you click on any of
the headers, the column is sorted ASC or DESC.
> > 
> > Now, one column which I am binding to is originally a numeric column.
But when it binds to the datagrid, it's data type becomes string. Is it
possible that prior to binding the said column to the datagrid, I would be
able to convert it back to its numeric data taype? Since sorting the column
in a string format would give a different result as compared to sorting the
same column in a numeric format.
> > 
> > Thanks.
> > 
> > Regards.
> >
>





RE: [flexcoders] Tree

2009-05-18 Thread Tracy Spratt
Thinking in terms like "mxml page" will not help you.  Think instead in
terms like "display component", or 'switch view".

 

So, in the click handler on the tree, use some data in the clicked nod to
cause a ViewStack to change its currentIndex.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of n_manjunatha
Sent: Monday, May 18, 2009 6:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree

 






Hi All,
I am a newbie in flex. I have problem in achieving this.

I have tree and on click of leaf nodes of tree i have to generate(open) new
mxml page(like one page with datagrid, one page with listitem, one with
form). 

Can anyone help on this issue and how i could achieve this. Any links on
this would be of great help.

Thanks
Manju





Re: [flexcoders] Re: Flex to excel sheet report

2009-05-18 Thread Paul Kukiel
Actually Flash 10 allows you to write files client side.  You could  
do this in the browser with no server if you wanted to and you have  
flash 10.


Paul


On 18/05/2009, at 4:57 PM, sminrana wrote:




the current flash player version will not allow you write data into  
client application so if you want to write something in client  
application you must have server side script...







[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Tim Hoff

Almost seems like you'd want to loop through the validators instead,
huh?

-TH

--- In flexcoders@yahoogroups.com, Laurence MacNeill 
wrote:
>
> At 07:56 PM 5/18/2009, you wrote:
>
>
>
> >Are you sure that you are looking for the children in the correct
> >parent? Worked for me.
> >
> >-TH
>
> Ahh -- that's probably it. All the textInputs I'm looking for are in
> a Form. Which makes them children of the Form? Or children of each
> FormItem tag? How would I loop thru all those?
>
> Thanks,
>
> Laurence MacNeill
> Mableton, Georgia, USA
>





Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 07:56 PM 5/18/2009, you wrote:



>Are you sure that you are looking for the children in the correct
>parent? Worked for me.
>
>-TH

Ahh -- that's probably it.  All the textInputs I'm looking for are in 
a Form.  Which makes them children of the Form?  Or children of each 
FormItem tag?  How would I loop thru all those?

Thanks,

Laurence MacNeill
Mableton, Georgia, USA



Re: [flexcoders] filter complex arrayCollection

2009-05-18 Thread Ivan Perez
have you ever seen OLAP Cube for flex 3?
http://livedocs.adobe.com/flex/3/html/help.html?content=olapdatagrid_6.html

Maybe it works.


On Mon, May 18, 2009 at 12:02 PM, Mark  wrote:

>
>
> Is there a way to filter an ArrayCollection of hierarchical data?  So if I
> have a structure as I layed out below where I have a number of projects in
> my ArrayCollection, how can I filter on delCreationDate within
> deliverables/deliverable (there could be multiple deliverables)?  I've
> looked around and can't find much on this.  If I can't filter an
> ArrayCollection in this way, is there another collection I can use that will
> allow me to do this?   Thanks
>
> 
> 
> 120
> Deployment/pilot
> 07/01/2008
> 
> 
> 1
> 3/31/2009
> contactEmail>
> 
> 
> 
> 
> False
> 14129911
> ICL Comms Internal Comms
> 
> 1
> 
> Open
> Active
> Jay Lindell
> Jay Lindell
> 
>
>   AITIC: Communication
>   1
>   1.5
>   03/30/2009
>   04/02/2009
>   04/02/2009
>   4/3/2009
>   Complete
>   
>   
>   144
>   03/30/2009
>   04/02/2009
>   04/02/2009
>   1
>   1.5
>   4/3/2009
>   Mark Pusateri
>   Writer
>   Complete
>  
>   
>   
> 
> 
> 
>
>
>  
>



-- 
Ivan Perez - Desenvolvimento Tecnológico
TecSinapse - www.tecsinapse.com.br
11 9324-0097  /  19 8812-0809


[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Tim Hoff

Are you sure that you are looking for the children in the correct
parent?  Worked for me.

-TH

--- In flexcoders@yahoogroups.com, Laurence MacNeill 
wrote:
>
> At 05:13 PM 5/18/2009, you wrote:
>
>
> >Why not stop and return when validForm just turns false, like this:
> >
> >On Mon, May 18, 2009 at 5:54 PM, Tim Hoff
> >< >
> >
> >import
> >mx.core.UIComponent;
> >
> >private function formIsValid():Boolean
> >{
> >
> > for (var i:int = 0; i < this.numChildren; i++)
> > {
> > if ( UIComponent(this.getChildAt(i)).errorString != "" )
> > {
> > return false;
> > }
> > }
> >
> > return true;
> >}
>
>
> Doesn't work for me, either way, unfortunately... For some reason
> it's not returning false when there are errorStrings... It's
> allowing the form to submit, even though I can clearly see the red
> border(s) around the textInput(s).
>
> Any ideas?
>





[flexcoders] Re: Using RegExp's...

2009-05-18 Thread Tim Hoff

I'll let you figure out how to include lower-case letters as well.

-TH

--- In flexcoders@yahoogroups.com, Laurence MacNeill 
wrote:
>
> At 07:01 PM 5/18/2009, you wrote:
>
>
> >For this particular case, you can catch it before you validate:
> >
> >
>
>
> Good idea -- thanks!
>
> Laurence MacNeill
> Mableton, Georgia, USA
>





Re: [flexcoders] Re: Using RegExp's...

2009-05-18 Thread Laurence MacNeill
At 07:01 PM 5/18/2009, you wrote:


>For this particular case, you can catch it before you validate:
>
>


Good idea -- thanks!

Laurence MacNeill
Mableton, Georgia, USA



Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 05:13 PM 5/18/2009, you wrote:


>Why not stop and return when validForm just turns false, like this:
>
>On Mon, May 18, 2009 at 5:54 PM, Tim Hoff 
><timh...@aol.com> wrote:
>
>
>import
>mx.core.UIComponent;
>
>private function formIsValid():Boolean
>{
>
>  for (var i:int = 0; i < this.numChildren; i++)
>  {
>   if ( UIComponent(this.getChildAt(i)).errorString != "" )
>  {
>return  false;
>   }
>  }
>
> return  true;
>}


Doesn't work for me, either way, unfortunately...  For some reason 
it's not returning false when there are errorStrings...  It's 
allowing the form to submit, even though I can clearly see the red 
border(s) around the textInput(s).

Any ideas?




[flexcoders] Re: Using RegExp's...

2009-05-18 Thread Tim Hoff

For this particular case, you can catch it before you validate:



-TH

--- In flexcoders@yahoogroups.com, Laurence MacNeill 
wrote:
>
> I want to check to see that data has been entered into a
> textInput. Specifically, I want to ensure that only letters, not
> spaces, commas, or anything else has been entered into this textInput.
>
> How do I do that with RegExp's in Flex 3?
>
> Thanks,
>
> Laurence MacNeill
> Mableton, Georgia, USA
>




[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Tim Hoff

Yep, good re-factor.

-TH

--- In flexcoders@yahoogroups.com, Ivan Perez  wrote:
>
> Why not stop and return when validForm just turns false, like this:
>
> On Mon, May 18, 2009 at 5:54 PM, Tim Hoff timh...@... wrote:
>
> >
> >
> > *
> >
> > import
> > * mx.core.UIComponent;
> >
> > *private* *function* formIsValid():Boolean
> > {
> >
> > * for* (*var* i:int = 0; i < *this*.numChildren; i++)
> > {
> > * if* ( UIComponent(*this*.getChildAt(i)).errorString != *""* )
> > {
> > *return* *false*;
> > }
> > }
> >
> > * **return* *true*;
> > }
> >
> > -TH
> >
> >
> > --- In flexcoders@yahoogroups.com, "sminrana" sminrana@ wrote:
> > >
> > > first you trying to use numChildren as a method but it is not it
is a
> > > property which return int value and it is read-only so remove the
() in
> > the loop
> > >
> > > second what is errorString ???
> > >
> >
> >
>
>
>
> --
> Ivan Perez - Desenvolvimento Tecnológico
> TecSinapse - www.tecsinapse.com.br
> 11 9324-0097 / 19 8812-0809
>





[flexcoders] Draging and droping items from list to tree component

2009-05-18 Thread srini3477
I have a list of items which are going to be headings, and one more list of 
items which are going to be sections under headings.

I have requirement to drag and drop  items from these two lists to a component, 
so that should contain like headings and sections under headings.

I chosen Tree component as third component,


Please can any body help, how to do this.
 



[flexcoders] Tree

2009-05-18 Thread n_manjunatha
Hi All,
I am a newbie in flex. I have problem in achieving this.

I have tree and on click of leaf nodes of tree i have to generate(open) new 
mxml page(like one page with datagrid, one page with listitem, one with form). 

 Can anyone help on this issue and how i could achieve this. Any links 
on this would be of great help.

Thanks
Manju



Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Ivan Perez
Why not stop and return when validForm just turns false, like this:

On Mon, May 18, 2009 at 5:54 PM, Tim Hoff  wrote:

>
>
> *
>
> import
> * mx.core.UIComponent;
>
> *private* *function* formIsValid():Boolean
> {
>
> * for* (*var* i:int = 0; i < *this*.numChildren; i++)
>  {
> *  if* ( UIComponent(*this*.getChildAt(i)).errorString != *""* )
>  {
>*return*  *false*;
>   }
>  }
>
> ***return*  *true*;
> }
>
> -TH
>
>
> --- In flexcoders@yahoogroups.com, "sminrana"  wrote:
> >
> > first you trying to use numChildren as a method but it is not it is a
> > property which return int value and it is read-only so remove the () in
> the loop
> >
> > second what is errorString ???
> >
>  
>



-- 
Ivan Perez - Desenvolvimento Tecnológico
TecSinapse - www.tecsinapse.com.br
11 9324-0097  /  19 8812-0809


[flexcoders] want to move the module from one application to another application

2009-05-18 Thread thirumurugan_cse
Hi,
  

I want to open the module which is shown in the main application in the  
another window, when the user triggers an action.now I am loading (using 
moduleloader) the module in another window by using other application. but when 
the user trigers an action, the module should be launched in another window 
with the modules current state.

Is it possible in flex?

 
Regards,

Thiru




[flexcoders] filter complex arrayCollection

2009-05-18 Thread Mark

Is there a way to filter an ArrayCollection of hierarchical data?  So if
I have a structure as I layed out below where I have a number of
projects in my ArrayCollection, how can I filter on delCreationDate
within deliverables/deliverable (there could be multiple deliverables)? 
I've looked around and can't find much on this.  If I can't filter an
ArrayCollection in this way, is there another collection I can use that
will allow me to do this?   Thanks



120
Deployment/pilot
07/01/2008


1
3/31/2009
contactEmail>




False
14129911
ICL Comms Internal Comms

1

Open
Active
Jay Lindell
Jay Lindell


   AITIC: Communication
   1
   1.5
   03/30/2009
   04/02/2009
   04/02/2009
   4/3/2009
   Complete
   
   
   144
   03/30/2009
   04/02/2009
   04/02/2009
   1
   1.5
   4/3/2009
   Mark Pusateri
   Writer
   Complete
  
   
   









[flexcoders] Using RegExp's...

2009-05-18 Thread Laurence MacNeill
I want to check to see that data has been entered into a 
textInput.  Specifically, I want to ensure that only letters, not 
spaces, commas, or anything else has been entered into this textInput.

How do I do that with RegExp's in Flex 3?

Thanks,

Laurence MacNeill
Mableton, Georgia, USA



[flexcoders] Re: Flash Player 10 and Alchemy

2009-05-18 Thread nathanpdaniel
You can compile with option -target-player=10.0.0


--- In flexcoders@yahoogroups.com, "christophe_jacquelin" 
 wrote:
>
> Hello, 
> 
> How to impose the Flasher Player version 10 instead of the version 9 when a 
> visitor is coming to my website. Because I use Alchemy and its need Flash 
> Player version 10.
> 
> Thank you,
> Christophe,
>




[flexcoders] Re: Flex to excel sheet report

2009-05-18 Thread nathanpdaniel
Look into this:
http://code.google.com/p/as3xls/

Probably going to get you a lot closer to what you want than anything else 
available.

--- In flexcoders@yahoogroups.com, Vikram Singh  wrote:
>
> I need to create excel report from flex data.
> When clicked on "Excel Button", particular data fetched from database using 
> amfphp. And put that data in Excel (.csv is preferable) file and ask to save 
> it on system.
> Is it possible with actionscript?
> any other idea to implement this functionality.
> 
> Regards,
> Vikram
> 
> 
>   Own a website.Get an unlimited package.Pay next to nothing.*Go to 
> http://in.business.yahoo.com/
>




[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff

Don't want to flood the list with too many posts, but thanks Richard.

-TH

--- In flexcoders@yahoogroups.com, Richard Rodseth  wrote:
>
> Took the words out of my mouth :)
>
> I agree with you Tim, and thought your explanation was top notch and
> respectful.
>
> On Mon, May 18, 2009 at 2:35 PM, Tim Hoff timh...@... wrote:
>
> >
> >
> > That's certainly an interesting opinion, but those terms usually go
along
> > with Cairngorm, which isn't universally accepted as being loosely
coupled
> >
http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairn\
gorms-model-locator-pattern/.
> >
> > That's why I prefer Mate.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, "Amy" amyblankenship@ wrote:
> > >
> > > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
> > > >
> > > >
> > > > A couple more thought on this and I welcome others to jump in.
> > > > Here's an example of where a custom event would be preferable to
> > > > using public properties in components. Similar to Peter Ent's
> > > > example, let's say that you have four different views that a
user
> > > > could select an order from; a DataGrid view, a TileList view, a
List
> > > > view and a Repeater view. For this example, each component could
have
> > > > a selectedItem public variable, or use a custom event; that has
a
> > > > selectedItem property. It really doesn't matter, but in this
case
> > > > the latter could create less code; especially if you are using
> > > > getter/setters. So "event.target.selectedOrder" becomes
> > > > "event.selectedOrder." It's pure preference. But, you
> > > > simply can't say that one is better than the other, or that
tight
> > > > coupling is involved. It's just not true.
> > > >
> > > > Like I said earlier, for this I would personally use a
presentation
> > > > Model.
> > >
> > > MPO is that views bound to models create too many problems (like
> > itemRenderers that can't let go of data so it can be garbage
collected, for
> > example). So the vast majority of the time I will set View
components'
> > properties directly rather than binding. I think if things are
loosely
> > coupled enough, components don't know or care whether their data is
coming
> > from a Model or Timbuktoo.
> > >
> > > > And in an enterprise application that uses an MVC framework,
> > > > custom events with attached data are absolutely necessary to
> > communicate
> > > > across the entire application and with different class types;
like
> > > > Views-FrontControllers-Commands or Views-EventMaps-Managers.
> > >
> > > That's certainly an interesting opinion, but those terms usually
go along
> > with Cairngorm, which isn't universally accepted as being loosely
coupled
> >
http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairn\
gorms-model-locator-pattern/.
> > >
> > > -Amy
> > >
> >
> >
>





Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 04:54 PM 5/18/2009, you wrote:


>import mx.core.UIComponent;
>
>private function formIsValid():Boolean
>{
>  var validForm:Boolean = true;
>
>  for (var i:int = 0; i < this.numChildren; i++)
>  {
>   if ( UIComponent(this.getChildAt(i)).errorString != "" )
>  {
>validForm = false;
>   }
>  }
>
>  return validForm;
>}
>
>-TH

Thanks, Tim!   Exactly what I was looking for.  Much obliged.


Laurence MacNeill
Mableton, Georgia, USA



Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
At 04:24 PM 5/18/2009, you wrote:


>first you trying to use numChildren as a method but it is not it is a
>property which return int value and it is read-only so remove the () 
>in the loop
>
>second what is errorString ???

Oh LOL -- now I feel like an idiot.   Of course, it's a property not 
a method.  Thanks for pointing that out.   :-)


And, errorString is what gets set when a validator pops up one of 
those little red error messages.  You can set it yourself, too, if 
you want, after manually using a valdiator to check for a .VALID condition.


Laurence MacNeill
Mableton, Georgia, USA



Re: [flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Richard Rodseth
Took the words out of my mouth :)

I agree with you Tim, and thought your explanation was top notch and
respectful.

On Mon, May 18, 2009 at 2:35 PM, Tim Hoff  wrote:

>
>
> That's certainly an interesting opinion, but those terms usually go along
> with Cairngorm, which isn't universally accepted as being loosely coupled
> http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/.
>
> That's why I prefer Mate.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "Amy"  wrote:
> >
> > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
> > >
> > >
> > > A couple more thought on this and I welcome others to jump in.
> > > Here's an example of where a custom event would be preferable to
> > > using public properties in components. Similar to Peter Ent's
> > > example, let's say that you have four different views that a user
> > > could select an order from; a DataGrid view, a TileList view, a List
> > > view and a Repeater view. For this example, each component could have
> > > a selectedItem public variable, or use a custom event; that has a
> > > selectedItem property. It really doesn't matter, but in this case
> > > the latter could create less code; especially if you are using
> > > getter/setters. So "event.target.selectedOrder" becomes
> > > "event.selectedOrder." It's pure preference. But, you
> > > simply can't say that one is better than the other, or that tight
> > > coupling is involved. It's just not true.
> > >
> > > Like I said earlier, for this I would personally use a presentation
> > > Model.
> >
> > MPO is that views bound to models create too many problems (like
> itemRenderers that can't let go of data so it can be garbage collected, for
> example). So the vast majority of the time I will set View components'
> properties directly rather than binding. I think if things are loosely
> coupled enough, components don't know or care whether their data is coming
> from a Model or Timbuktoo.
> >
> > > And in an enterprise application that uses an MVC framework,
> > > custom events with attached data are absolutely necessary to
> communicate
> > > across the entire application and with different class types; like
> > > Views-FrontControllers-Commands or Views-EventMaps-Managers.
> >
> > That's certainly an interesting opinion, but those terms usually go along
> with Cairngorm, which isn't universally accepted as being loosely coupled
> http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/.
> >
> > -Amy
> >
>  
>


[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff

That's certainly an interesting opinion, but those terms usually go
along with Cairngorm, which isn't universally accepted as being loosely
coupled
http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairn\
gorms-model-locator-pattern/
  .

That's why I prefer Mate.

-TH

--- In flexcoders@yahoogroups.com, "Amy"  wrote:
>
> --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
> >
> >
> > A couple more thought on this and I welcome others to jump in.
> > Here's an example of where a custom event would be preferable to
> > using public properties in components. Similar to Peter Ent's
> > example, let's say that you have four different views that a user
> > could select an order from; a DataGrid view, a TileList view, a List
> > view and a Repeater view. For this example, each component could
have
> > a selectedItem public variable, or use a custom event; that has a
> > selectedItem property. It really doesn't matter, but in this case
> > the latter could create less code; especially if you are using
> > getter/setters. So "event.target.selectedOrder" becomes
> > "event.selectedOrder." It's pure preference. But, you
> > simply can't say that one is better than the other, or that tight
> > coupling is involved. It's just not true.
> >
> > Like I said earlier, for this I would personally use a presentation
> > Model.
>
> MPO is that views bound to models create too many problems (like
itemRenderers that can't let go of data so it can be garbage collected,
for example). So the vast majority of the time I will set View
components' properties directly rather than binding. I think if things
are loosely coupled enough, components don't know or care whether their
data is coming from a Model or Timbuktoo.
>
> > And in an enterprise application that uses an MVC framework,
> > custom events with attached data are absolutely necessary to
communicate
> > across the entire application and with different class types; like
> > Views-FrontControllers-Commands or Views-EventMaps-Managers.
>
> That's certainly an interesting opinion, but those terms usually go
along with Cairngorm, which isn't universally accepted as being loosely
coupled
http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairn\
gorms-model-locator-pattern/ .
>
> -Amy
>




[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff

Both classes are still dependent on the event class; you just get it
baked in automatically when you use metadata.

-TH

--- In flexcoders@yahoogroups.com, "Amy"  wrote:
>
> --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
>
> > Not disputing that public properties are a viable approach. Just
> > pointing out that Flex is an event driven framework.
>
> Oops, missed this bit. If you use a generic event, you're still doing
things in an event driven way--you're just eliminating a dependency and
not writing unnecessary code, so it seems like a win-win to me.
>





[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff

You can say the same thing about the public variable; both classes are
dependent on it.  If you take the public variable out you have the same
problem.  Is that tight coupling?  Again, just preference and where you
want to put or how you want to structure the code.  I'm used to using
custom events, as well as variables, because most of my work involves
updating a model with an event/command, or sending data to a service
call in the same fashion.  For the original scenario, the components
would update properties of a common VO, on change, in a presentation
model.  And when the button in the parent view was clicked, the VO would
be sent, via a custom event, to a command or manager.  Like I said, it's
all about preference.  And that's why we're here; to discuss different
points of view and to elevate the level of understanding.

-TH

--- In flexcoders@yahoogroups.com, "Amy"  wrote:
>
> --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
> >
> >
> > Don't agree. The smoke test for tight coupling is that if component
A
> > is tightly coupled to component B and you take away component B, you
get
> > a compiler error in component A. By using an event, that doesn't
> > happen. Component A dispatches an event that component B listens
for.
> > If you take away the listener it doesn't break the dispatcher; and
> > vice-versa. Sure, the components both reference the event class.
But,
> > with your logic, you're saying that two components that both use
> > mx:controls:button are tightly coupled together; because they
reference
> > the same class.
>
> That's one way of looking at it.
>
> I look at it like this:
>
> Component A and Component B both need Component C to operate, so if
you take Component C out of the equation (OR OUT OF EITHER COMPONENT),
neither one will compile or work, and Component C is only needed to
facilitate communication between the two components. Given that there
are vanishingly few situations that actually call for Component C in the
first place, why create the unnecessary dependency.
>
> On the other hand, if you have two components that use Button, there
are several very real differences. The first is that you don't have to
make a custom Button to make it work... If you wrote a Button subclass
that was extended in a way that wasn't necessary for the functionality,
that would get closer to the analogy. But even then, you could remove
Button or its subclass from either class without breaking the way the
two interact.
>
> -Amy
>





[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
> 
> A couple more thought on this and I welcome others to jump in. 
> Here's an example of where a custom event would be preferable to
> using public properties in components.  Similar to Peter Ent's
> example, let's say that you have four different views that a user
> could select an order from; a DataGrid view, a TileList view, a List
> view and a Repeater view.   For this example, each component could have
> a selectedItem public variable, or use a custom event; that has a
> selectedItem property.  It really doesn't matter, but in this case
> the latter could create less code; especially if you are using
> getter/setters.  So "event.target.selectedOrder" becomes
> "event.selectedOrder."  It's pure preference.  But, you
> simply can't say that one is better than the other, or that tight
> coupling is involved.   It's just not true.
> 
> Like I said earlier, for this I would personally use a presentation
> Model.  

MPO is that views bound to models create too many problems (like itemRenderers 
that can't let go of data so it can be garbage collected, for example).  So the 
vast majority of the time I will set View components' properties directly 
rather than binding.  I think if things are loosely coupled enough, components 
don't know or care whether their data is coming from a Model or Timbuktoo.

> And in an enterprise application that uses an MVC framework,
> custom events with attached data are absolutely necessary to communicate
> across the entire application and with different class types; like
> Views-FrontControllers-Commands or Views-EventMaps-Managers.

That's certainly an interesting opinion, but those terms usually go along with 
Cairngorm, which isn't universally accepted as being loosely coupled 
http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/
 .

-Amy



[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:

> Not disputing that public properties are a viable approach.  Just
> pointing out that Flex is an event driven framework.

Oops, missed this bit.  If you use a generic event, you're still doing things 
in an event driven way--you're just eliminating a dependency and not writing 
unnecessary code, so it seems like a win-win to me.



[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
> 
> Don't agree.  The smoke test for tight coupling is that if component A
> is tightly coupled to component B and you take away component B, you get
> a compiler error in component A.  By using an event, that doesn't
> happen.  Component A dispatches an event that component B listens for. 
> If you take away the listener it doesn't break the dispatcher; and
> vice-versa.  Sure, the components both reference the event class.  But,
> with your logic, you're saying that two components that both use
> mx:controls:button are tightly coupled together; because they reference
> the same class.

That's one way of looking at it.

I look at it like this:

Component A and Component B both need Component C to operate, so if you take 
Component C out of the equation (OR OUT OF EITHER COMPONENT), neither one will 
compile or work, and Component C is only needed to facilitate communication 
between the two components.  Given that there are vanishingly few situations 
that actually call for Component C in the first place, why create the 
unnecessary dependency.

On the other hand, if you have two components that use Button, there are 
several very real differences.  The first is that you don't have to make a 
custom Button to make it work... If you wrote a Button subclass that was 
extended in a way that wasn't necessary for the functionality, that would get 
closer to the analogy.  But even then, you could remove Button or its subclass 
from either class without breaking the way the two interact.

-Amy



[flexcoders] Re: Flex to excel sheet report

2009-05-18 Thread sminrana
the current flash player version will not allow you write data into client 
application so if you want to write something in client application you must 
have server side script...



[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Tim Hoff

import mx.core.UIComponent;

private function formIsValid():Boolean
{
  var validForm:Boolean = true;

  for (var i:int = 0; i < this.numChildren; i++)
  {
   if ( UIComponent(this.getChildAt(i)).errorString != "" )
  {
validForm = false;
   }
  }

  return validForm;
}

-TH

--- In flexcoders@yahoogroups.com, "sminrana"  wrote:
>
> first you trying to use numChildren as a method but it is not it is a
> property which return int value and it is read-only so remove the ()
in the loop
>
> second what is errorString ???
>




[flexcoders] Re: Form validation before submitting...

2009-05-18 Thread sminrana
first you trying to use numChildren as a method but it is not it is a 
property which return int value and it is read-only so remove the () in the loop

second what is errorString ??? 



[flexcoders] Form validation before submitting...

2009-05-18 Thread Laurence MacNeill
Ok, I figured I could loop through all the children of my form, 
checking their .errorString to make sure it's blank, and if it's not 
blank then assuming there's an error on the form.

So, why won't this code work?  It won't compile -- gives me two 
errors, "Attempted access of inaccessible method numChildren through 
a reference with static type components" and "Access of possibly 
undefined property errorString through a reference with static type 
flash.display:DisplayObject"

Here's the code:
private function formIsValid():Boolean {
 var validForm:Boolean = true;
 for (var i:int = 0; i < this.numChildren(); i++) {
 if ( (this.getChildAt(i)).errorString != "" ) {
 validForm = false;
 }
 }
 return validForm;
}




[flexcoders] Re: ADG and Flex 4

2009-05-18 Thread markgoldin_2000
Thank you, Matt.

--- In flexcoders@yahoogroups.com, Matt Chotin  wrote:
>
> You'll need to wait for when the beta comes out that includes the 
> Gumbo-compatible ADG.  That will be some time in June.
> 
> Matt
> 
> 
> On 5/18/09 10:02 AM, "markgoldin_2000"  wrote:
> 
> 
> 
> 
> 
> 
> Sorry for bringing this up again but I need to try out an ADG working in 
> Gumbo. I have multiple applications built around ADGs. I have been 
> researching Web very intensively but could find even one working example. I 
> have posted to Gumbo Forum at Adobe but had no respond. Can someone please 
> either provide a code sample that works or confirm that I am just trying to 
> get it work ahead of time when the product is ready?
> 
> Thanks for help.
>




Re: [flexcoders] ADG and Flex 4

2009-05-18 Thread Matt Chotin
You'll need to wait for when the beta comes out that includes the 
Gumbo-compatible ADG.  That will be some time in June.

Matt


On 5/18/09 10:02 AM, "markgoldin_2000"  wrote:






Sorry for bringing this up again but I need to try out an ADG working in Gumbo. 
I have multiple applications built around ADGs. I have been researching Web 
very intensively but could find even one working example. I have posted to 
Gumbo Forum at Adobe but had no respond. Can someone please either provide a 
code sample that works or confirm that I am just trying to get it work ahead of 
time when the product is ready?

Thanks for help.







[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff

A couple more thought on this and I welcome others to jump in. 
Here's an example of where a custom event would be preferable to
using public properties in components.  Similar to Peter Ent's
example, let's say that you have four different views that a user
could select an order from; a DataGrid view, a TileList view, a List
view and a Repeater view.   For this example, each component could have
a selectedItem public variable, or use a custom event; that has a
selectedItem property.  It really doesn't matter, but in this case
the latter could create less code; especially if you are using
getter/setters.  So "event.target.selectedOrder" becomes
"event.selectedOrder."  It's pure preference.  But, you
simply can't say that one is better than the other, or that tight
coupling is involved.   It's just not true.

Like I said earlier, for this I would personally use a presentation
Model.  And in an enterprise application that uses an MVC framework,
custom events with attached data are absolutely necessary to communicate
across the entire application and with different class types; like
Views-FrontControllers-Commands or Views-EventMaps-Managers.

Anyway, that's .02.

-TH

--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
>
> Don't agree. The smoke test for tight coupling is that if component A
> is tightly coupled to component B and you take away component B, you
get
> a compiler error in component A. By using an event, that doesn't
> happen. Component A dispatches an event that component B listens for.
> If you take away the listener it doesn't break the dispatcher; and
> vice-versa. Sure, the components both reference the event class. But,
> with your logic, you're saying that two components that both use
> mx:controls:button are tightly coupled together; because they
reference
> the same class.
>
> Whether it's a custom event or a regular event makes no difference;
> custom events simply extend flash.events.Event. Yes, a little extra
> code for the custom event, but not close to being bloat. In fact you
> could just as easily use a plain old DataEvent, if you're worried
about
> that.
>
> Not disputing that public properties are a viable approach. Just
> pointing out that Flex is an event driven framework.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "Amy" amyblankenship@ wrote:
> >
> > --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
> > >
> > >
> > > There are several techniques that you can use for this; it really
> > > depends on what the need is and the sophistication of the
> application.
> > > Personally, I would employ a presentationModel to solve this, but
> using
> > > an MVC framework and VO's can be challenging for some. In this
case,
> > > using public properties in the components would work fine.
> Respectfully
> > > though, the assertion that using events creates a
"tightly-coupled"
> > > strategy is not correct. Tight coupling is where components have a
> > > direct dependency on one another. Loose coupling avoids this by
> linking
> > > the components with properties and/or events.
> >
> > But if you have a custom event, you have two classes that are
> _directly_ dependent on a custom event class. I think it's incumbent
on
> all of us to understand the principle of loose coupling well enough
that
> we can generalize and see things that cause unnecessary coupling even
if
> no one has taken us by the hand and said "hey look--this is also tight
> coupling."
> >
> > > I do agree though, that
> > > you wouldn't necessarily want/need to pass data around amongst
> > > components, using custom events. This is where the beauty of a
Model
> > > comes into play.
> > >
> > > Here's a good article to read, that might help for this solution:
> > >
> > > http://www.adobe.com/devnet/flex/articles/loose_coupling.html
> > > 
> >
> > I think that's a great article, and I think it's important to note
> that he doesn't create a custom event to handle this--instead he uses
a
> generic event and then reads the public property off of the component.
> >
> > -Amy
> >
>



[flexcoders] Re: Listening for events fired from ArrayCollections

2009-05-18 Thread Tim Hoff

You can change acUsers to a getter/setter and do what you want in the
setter.  The default setter event is propertyChange, but you can change
that to whatever you want.

-TH

--- In flexcoders@yahoogroups.com, "lampei"  wrote:
>
> Anyone have any suggestions? Seems like something everyone uses at
some point, so I figured someone would know...
>
> --- In flexcoders@yahoogroups.com, "lampei" lampei@ wrote:
> >
> > The problem:
> > I currently have a model that has properties bound to my view (a
datagrid populated from an arraycollection, call it myModel.acUsers).
The arraycollection is populated from a remote object call. However, if
I set listeners on that ArrayCollection, once the remote call returns
the data, and I set it to the arraycollection, the original listener I
had set on the arraycollection gets removed, correct?
> >
> > In diving into the ListCollectionView, I saw that when the source
gets set, it fires the "listChanged" event, so I can do a
myModel.acUsers.source = ( event.results as ArrayCollection ).source and
the event fires, and my original listeners do not get removed. The
"listChanged" event is different than the ListEvent.CHANGE event though.
So 2 questions:
> > 1) Is this the best way to do this (I always have trouble listening
for events on arraycollections when returning the values from remote
calls so I can perform an action once the data is returned)
> > 2) Is there a specific event set up for "listChanged" (such as
ListEvent.LIST_CHANGED) or do I just need to continue listening for it
like myModel.acUsers.addEventListener( "listChanged", handleListChanged
) ?
> >
> > Thanks
> >
>





[flexcoders] Re: Background color of Tile List

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, "christophe_jacquelin" 
 wrote:
>
> Hello,
> 
> How to change the background color of a item selected in a Tile List. How to 
> memorize the list of the different items selected. 

I have no idea what your second question even means, but you could try this for 
your first question:
http://flexdiary.blogspot.com/2008/08/tilelist-with-stylefunction.html

Use it with an itemRenderer based on Canvas, and you can style the 
backgroundColor property on it.



[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Tim Hoff

Don't agree.  The smoke test for tight coupling is that if component A
is tightly coupled to component B and you take away component B, you get
a compiler error in component A.  By using an event, that doesn't
happen.  Component A dispatches an event that component B listens for. 
If you take away the listener it doesn't break the dispatcher; and
vice-versa.  Sure, the components both reference the event class.  But,
with your logic, you're saying that two components that both use
mx:controls:button are tightly coupled together; because they reference
the same class.

Whether it's a custom event or a regular event makes no difference;
custom events simply extend flash.events.Event.  Yes, a little extra
code for the custom event, but not close to being bloat.  In fact you
could just as easily use a plain old DataEvent, if you're worried about
that.

Not disputing that public properties are a viable approach.  Just
pointing out that Flex is an event driven framework.

-TH

--- In flexcoders@yahoogroups.com, "Amy"  wrote:
>
> --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:
> >
> >
> > There are several techniques that you can use for this; it really
> > depends on what the need is and the sophistication of the
application.
> > Personally, I would employ a presentationModel to solve this, but
using
> > an MVC framework and VO's can be challenging for some. In this case,
> > using public properties in the components would work fine.
Respectfully
> > though, the assertion that using events creates a "tightly-coupled"
> > strategy is not correct. Tight coupling is where components have a
> > direct dependency on one another. Loose coupling avoids this by
linking
> > the components with properties and/or events.
>
> But if you have a custom event, you have two classes that are
_directly_ dependent on a custom event class. I think it's incumbent on
all of us to understand the principle of loose coupling well enough that
we can generalize and see things that cause unnecessary coupling even if
no one has taken us by the hand and said "hey look--this is also tight
coupling."
>
> > I do agree though, that
> > you wouldn't necessarily want/need to pass data around amongst
> > components, using custom events. This is where the beauty of a Model
> > comes into play.
> >
> > Here's a good article to read, that might help for this solution:
> >
> > http://www.adobe.com/devnet/flex/articles/loose_coupling.html
> > 
>
> I think that's a great article, and I think it's important to note
that he doesn't create a custom event to handle this--instead he uses a
generic event and then reads the public property off of the component.
>
> -Amy
>




RE: [flexcoders] Flash Player 10 and Alchemy

2009-05-18 Thread Kenneth Sutherland
You should find that if you right click your project properties (if you
use flexbuilder) then under flex compiler you have a required flash
player version. Update this then the html that gets produced will check
the users flash player version for you.

 

Kenneth.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of christophe_jacquelin
Sent: 18 May 2009 16:36
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flash Player 10 and Alchemy

 






Hello, 

How to impose the Flasher Player version 10 instead of the version 9
when a visitor is coming to my website. Because I use Alchemy and its
need Flash Player version 10.

Thank you,
Christophe, 



Disclaimer 
---
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
---

[flexcoders] Re: Flex to excel sheet report

2009-05-18 Thread Nick
Hi Vikram,

I have been using  a class to convert Datagrid data into html and then
sending to the a small script that will output the Excel data. I used
alot of the code I found here
   but modified it into a class for reuse.

Shoot me an email and I will send you the files if you would like.

Good luck!

Nick



--- In flexcoders@yahoogroups.com, Vikram Singh 
wrote:
>
> I need to create excel report from flex data.
> When clicked on "Excel Button", particular data fetched from database
using amfphp. And put that data in Excel (.csv is preferable) file and
ask to save it on system.
> Is it possible with actionscript?
> any other idea to implement this functionality.
>
> Regards,
> Vikram
>
>
>   Own a website.Get an unlimited package.Pay next to nothing.*Go
to http://in.business.yahoo.com/
>



Re: [flexcoders] Flex to excel sheet report

2009-05-18 Thread Paul Kukiel
Sure its possible to extract data from actionscipt to php here is a
starting point hat may help you out.
Of course you can send back the data to php and write a .cvs file and
send that back you you want aswell.

http://blog.kukiel.net/2009/01/flex-datagrids-and-excel-part-2.html

Paul

On Mon, May 18, 2009 at 10:16 AM, Vikram Singh  wrote:
>
>
> I need to create excel report from flex data.
> When clicked on "Excel Button", particular data fetched from database using
> amfphp.. And put that data in Excel (.csv is preferable) file and ask to
> save it on system.
> Is it possible with actionscript?
> any other idea to implement this functionality.
> Regards,
> Vikram
> 
> Explore and discover exciting holidays and getaways with Yahoo! India Travel
> Click here!
>
> 


[flexcoders] Re: modify item before binding to datagrid

2009-05-18 Thread markgoldin_2000
Sorry, forgot to provide my sortable DataGrid:
package CustomComponents

{

import mx.collections.*;

import mx.controls.DataGrid;

import mx.controls.dataGridClasses.*;

import mx.events.DataGridEvent;

public class sortableDataGrid extends DataGrid

{

public function sortableDataGrid()

{

super();

addEventListener("headerRelease", headerReleaseHeandler);

}

public var sortIndex:int = -1;

public var sortColumn:DataGridColumn;

public var sortDirection:String;

public var lastSortIndex:int = -1;

public var col:String;

public function headerReleaseHeandler(event:DataGridEvent):void

{


col = columns[event.columnIndex].dataField;


}

}

}




--- In flexcoders@yahoogroups.com, "markgoldin_2000"  
wrote:
>
> Here is what I am doing.
> column definition:
>  sortCompareFunction="sortNumericColumnTrackTotal"/>
> and:
> private function sortNumericColumnTrackTotal(itemA:Object, itemB:Object):int
> {
> return ObjectUtil.numericCompare(itemA[TrackTotal.col], 
> itemB[TrackTotal.col]);
> } 
> 
> where TrackTotal is a DG's id.
> 
> HTH
> 
> --- In flexcoders@yahoogroups.com, Angelo Anolin  wrote:
> >
> > 
> > Hi.
> > 
> > I am quite new in Flex and would like to ask a simple question.
> > 
> > I am retrieving datasets from a .NET webservice and binding the same to a 
> > datagrid.  The datagrid comes with a feature that when you click on any of 
> > the headers, the column is sorted ASC or DESC.
> > 
> > Now, one column which I am binding to is originally a numeric column.  But 
> > when it binds to the datagrid, it's data type becomes string.  Is it 
> > possible that prior to binding the said column to the datagrid, I would be 
> > able to convert it back to its numeric data taype?  Since sorting the 
> > column in a string format would give a different result as compared to 
> > sorting the same column in a numeric format.
> > 
> > Thanks.
> > 
> > Regards.
> >
>




[flexcoders] Re: modify item before binding to datagrid

2009-05-18 Thread markgoldin_2000
Here is what I am doing.
column definition:

and:
private function sortNumericColumnTrackTotal(itemA:Object, itemB:Object):int
{
return ObjectUtil.numericCompare(itemA[TrackTotal.col], itemB[TrackTotal.col]);
} 

where TrackTotal is a DG's id.

HTH

--- In flexcoders@yahoogroups.com, Angelo Anolin  wrote:
>
> 
> Hi.
> 
> I am quite new in Flex and would like to ask a simple question.
> 
> I am retrieving datasets from a .NET webservice and binding the same to a 
> datagrid.  The datagrid comes with a feature that when you click on any of 
> the headers, the column is sorted ASC or DESC.
> 
> Now, one column which I am binding to is originally a numeric column.  But 
> when it binds to the datagrid, it's data type becomes string.  Is it possible 
> that prior to binding the said column to the datagrid, I would be able to 
> convert it back to its numeric data taype?  Since sorting the column in a 
> string format would give a different result as compared to sorting the same 
> column in a numeric format.
> 
> Thanks.
> 
> Regards.
>




[flexcoders] Re: Getting an error when using a tree as a component

2009-05-18 Thread timgerr
OK, Here is what I did.  I wanted to know if there was a problem with my code 
or was it the tree stuff.  I went to Adobe Live Docs to get a tree example 
(http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=dragdrop_081_06.html).
  I took this code and created a Canvas Component from it.  I then created an 
app and called the code from it. 

I then called the app and when I click on any of the items in the tree I get 
this error:
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the 
caller.
at flash.display::DisplayObjectContainer/getChildIndex()
at 
mx.managers::SystemManager/getChildIndex()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:1652]
at 
mx.managers::SystemManager/mouseDownHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:3439]

Here is the code that I used for the component CallTree.mxml:

[CODE]


http://www.adobe.com/2006/mxml"; 
width="700" height="250" 
borderStyle="solid">






















[/CODE]

Here is the application that is calling CallTree.mxml
[CODE]

http://www.adobe.com/2006/mxml"; 
width="700" height="250" 
borderStyle="solid"
creationComplete="CallMeNow()">




[/CODE]

I am not sure what to do here.

Thanks for the read,
timgerr



[flexcoders] Embed images

2009-05-18 Thread christophe_jacquelin
Hello, 

How to embed images called in a tileList as path source with my application ? 

Thank you,
Christophe,






[flexcoders] Flash Player 10 and Alchemy

2009-05-18 Thread christophe_jacquelin
Hello, 

How to impose the Flasher Player version 10 instead of the version 9 when a 
visitor is coming to my website. Because I use Alchemy and its need Flash 
Player version 10.

Thank you,
Christophe, 




[flexcoders] modify item before binding to datagrid

2009-05-18 Thread Angelo Anolin

Hi.

I am quite new in Flex and would like to ask a simple question.

I am retrieving datasets from a .NET webservice and binding the same to a 
datagrid.  The datagrid comes with a feature that when you click on any of the 
headers, the column is sorted ASC or DESC.

Now, one column which I am binding to is originally a numeric column.  But when 
it binds to the datagrid, it's data type becomes string.  Is it possible that 
prior to binding the said column to the datagrid, I would be able to convert it 
back to its numeric data taype?  Since sorting the column in a string format 
would give a different result as compared to sorting the same column in a 
numeric format.

Thanks.

Regards.


  


[flexcoders] Flex to excel sheet report

2009-05-18 Thread Vikram Singh
I need to create excel report from flex data.
When clicked on "Excel Button", particular data fetched from database using 
amfphp. And put that data in Excel (.csv is preferable) file and ask to save it 
on system.
Is it possible with actionscript?
any other idea to implement this functionality.

Regards,
Vikram


  Own a website.Get an unlimited package.Pay next to nothing.*Go to 
http://in.business.yahoo.com/

[flexcoders] Re: ItemRenderer Help

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, "sminrana"  wrote:
>
> How can i get TileList itemRenderer properties i use image 
> Now i want to increase/decrease image width/height for zooming capability on 
> selectedItem  ..

The first thing you need to do is to set up an event handler for the itemClick 
event.  IIRC, that event contains a reference to the renderer and the data 
associated with it.  At that point, you can do one of two things:

1) Bind those elements to a property of the data object, and change the data 
object

2) Expose a public property on your ItemRenderer class, and then operate on 
that. 

HTH;

Amy



[flexcoders] Re: Duplicate Module Loads - applicationDomain / Shared Code Issues

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> By “load module 2” did you actually load a second module or is it a 
> second instance of an already loaded module and thus the WebService instance 
> is the same.  Hopefully it is the latter as I wouldn’t have an explanation 
> for the former.
> 
> For the latter, I believe (and I am not the expert on web-services) that 
> every send() method returns an AsyncToken and you can save that away and 
> decide whether to respond to the result event based on the AsyncToken 
> referenced in the result event.

Alex;

You are correct, but possibly a better way to approach this is to attach a 
responder to that token that contains the fault/result handlers local to the 
specific module that called the service, rather than adding an event listener 
directly that will respond to events on all calls and then deciding later 
whether or not to act.

This example 
http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html
 doesn't use Modules, but it does show how to use a responder to "route" the 
result of a call back to the specific instance of a class that made the call.

HTH;

Amy



[flexcoders] using tweener to animate the highlight indicator in a flex list component

2009-05-18 Thread stinasius
hi how can i use tweener to animate the highlight indicator(like when the mouse 
moves from one item in the tilelist to another the highlight indicators moves 
too)



[flexcoders] ADG and Flex 4

2009-05-18 Thread markgoldin_2000
Sorry for bringing this up again but I need to try out an ADG working in Gumbo. 
I have multiple applications built around ADGs. I have been researching Web 
very intensively but could find even one working example. I have posted to 
Gumbo Forum at Adobe but had no respond. Can someone please either provide a 
code sample that works or confirm that I am just trying to get it work ahead of 
time when the product is ready?

Thanks for help.





[flexcoders] Re: Listening for events fired from ArrayCollections

2009-05-18 Thread lampei
Anyone have any suggestions?  Seems like something everyone uses at some point, 
so I figured someone would know...

--- In flexcoders@yahoogroups.com, "lampei"  wrote:
>
> The problem:
> I currently have a model that has properties bound to my view (a datagrid 
> populated from an arraycollection, call it myModel.acUsers).  The 
> arraycollection is populated from a remote object call.  However, if I set 
> listeners on that ArrayCollection, once the remote call returns the data, and 
> I set it to the arraycollection, the original listener I had set on the 
> arraycollection gets removed, correct?
> 
> In diving into the ListCollectionView, I saw that when the source gets set, 
> it fires the "listChanged" event, so I can do a myModel.acUsers.source = ( 
> event.results as ArrayCollection ).source and the event fires, and my 
> original listeners do not get removed.  The "listChanged" event is different 
> than the ListEvent.CHANGE event though.  So 2 questions:
> 1) Is this the best way to do this (I always have trouble listening for 
> events on arraycollections when returning the values from remote calls so I 
> can perform an action once the data is returned)
> 2) Is there a specific event set up for "listChanged" (such as 
> ListEvent.LIST_CHANGED) or do I just need to continue listening for it like 
> myModel.acUsers.addEventListener( "listChanged", handleListChanged ) ?
> 
> Thanks
>




[flexcoders] DataGrid header skin

2009-05-18 Thread markgoldin_2000
Can someone please provide a sample of datagrid header skin that would be just 
the same as a regular one?

Thanks



[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
> 
> There are several techniques that you can use for this; it really
> depends on what the need is and the sophistication of the application. 
> Personally, I would employ a presentationModel to solve this, but using
> an MVC framework and VO's can be challenging for some.  In this case,
> using public properties in the components would work fine.  Respectfully
> though, the assertion that using events creates a "tightly-coupled"
> strategy is not correct.  Tight coupling is where components have a
> direct dependency on one another.  Loose coupling avoids this by linking
> the components with properties and/or events.  

But if you have a custom event, you have two classes that are _directly_ 
dependent on a custom event class.  I think it's incumbent on all of us to 
understand the principle of loose coupling well enough that we can generalize 
and see things that cause unnecessary coupling even if no one has taken us by 
the hand and said "hey look--this is also tight coupling."

> I do agree though, that
> you wouldn't necessarily want/need to pass data around amongst
> components, using custom events.  This is where the beauty of a Model
> comes into play.
> 
> Here's a good article to read, that might help for this solution:
> 
> http://www.adobe.com/devnet/flex/articles/loose_coupling.html
> 

I think that's a great article, and I think it's important to note that he 
doesn't create a custom event to handle this--instead he uses a generic event 
and then reads the public property off of the component.

-Amy



[flexcoders] Background color of Tile List

2009-05-18 Thread christophe_jacquelin
Hello,

How to change the background color of a item selected in a Tile List. How to 
memorize the list of the different items selected. 

Thank you,
Christophe, 




[flexcoders] Changing Data Provider

2009-05-18 Thread christophe_jacquelin
Hello, 

How to change the data provider of a tile list in function ot the value of a 
combo box ? 

Thank you,
Christophe, 




[flexcoders] Re: Centering my app on the screen...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, Laurence MacNeill  wrote:
>
> Is there a way I can center my app in the browser window?  And keep 
> it there if/when the browser is re-sized?

There are two ways:

1) If you want your Flex window to be flexible and resize with the browser, 
just give it percentage dimensions

2) Otherwise, use CSS like this:

#divContainingSWF {
   width:500;
   height: 500;
   padding-top:50%;
   padding-left:50%;
   margin-top: -250;
   margin-left: -250;
}

HTH;

Amy



Re: [flexcoders] HyperThreading...

2009-05-18 Thread Johannes Nel
The player is not really single threaded. We might not be able to kick off
more threads, but with stuff like alchemy, pixelbender (or any async process
going outside the player) it is multi threaded.

On Mon, May 18, 2009 at 12:42 PM, Paul Andrews  wrote:

>
>
>  - Original Message -
>
>  *From:* Tom Chiverton 
> *To:* flexcoders@yahoogroups.com
> *Sent:* Monday, May 18, 2009 10:01 AM
> *Subject:* Re: [flexcoders] HyperThreading...
>
>
>
> On Monday 18 May 2009, Laurence MacNeill wrote:
> > Does anyone know if the Flash Player supports HyperThreading?
>
> Applications don't, in general, support or not HT as that's at the O/S
> level.
>
> Strictly that's true, but other technologies (such as Java) allow multiple
> threads of execution and are able to take advantage of HT if they are
> written with multiple threads.
>
> Given the availability of multiple cores these days, I'd hope that
> actionscript (and the player) would embrace this, though it's  MAJOR change
> in application development.
>
> The player is single-threaded at the moment so cannot use a second core -
> as Tom says. :-(
>
> Paul
>
>
>
> > other words, will my program run faster on a CPU that has
> > HyperThreading? Or will it not make any difference?
>
> If it's fairly CPU-bound (and nothing else is), it'll probably feel faster
> because there's less contention for the CPU resource.
>
> --
> Helping to biannually promote low-risk e-tailers as part of the IT team of
> the
> year, '09 and '08
>
>
>Tom Chiverton
> Developer
> Tel: +44 0161 618 5032
> Fax: +44 0161 618 5099
> tom.chiver...@halliwells.com
> 3 Hardman Square, Manchester, M3 3EB
> www.Halliwells.com
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England and
> Wales under registered number OC307980 whose registered office address is at
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
> of members is available for inspection at the registered office together
> with a list of those non members who are referred to as partners. We use the
> word ?partner? to refer to a member of the LLP, or an employee or consultant
> with equivalent standing and qualifications. 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 2500.
>
> For more information about Halliwells LLP visit www.Halliwells.com.
>
>  
>



-- 
j:pn
\\no comment


[flexcoders] issue with roaming profile

2009-05-18 Thread Berthelot
Hi,

Some of my clients are having similar issues since they've upgraded from flash 
player version 9 to version 10. They all use roaming profile, i.e users' 
documents and settings are stored on the server rather than individual machines.

The problem is that when they log into my Flex 3 application, their login is 
successful but they don't get passed that stage. This is because upon login, 
the application tries to write into a shared object but I believe it fails to 
do so.

If they revert back to Flash player 9, it's all fine. Client with no roaming 
profile don't experience this issue. 

Therefore I believe there are some changes in Flash player 10 security. 

Has someone experienced a similar thing ?

Thanks



[flexcoders] Need help for ApplicationUpdaterUI library in AIR

2009-05-18 Thread ashish vyas
Hi there,

 I am using ApplicationUpdaterUI lib for
updating my application whenever a newer version is released.  It is
working fine,  but I want to customize it, to be specific, it`s look n
feel and the message text is what I am looking at.  Could you please
help me out in doing so.

Thank you !
Ashish Vyas


  Own a website.Get an unlimited package.Pay next to nothing.*Go to 
http://in.business.yahoo.com/

[flexcoders] Flex Developer needed - Melbourne

2009-05-18 Thread onelund
Hi guys, hope you don't mind me posting. I am looking for an experienced Flex 
Developer to work for 6 months (to begin) in Melbourne's CBD. If you are 
interested, please call me; Adrian on 0385066544. Thanks in advance.



Re: [flexcoders] HyperThreading...

2009-05-18 Thread Paul Andrews
Thanks for the heads-up about that.

Paul
  - Original Message - 
  From: Kenneth Sutherland 
  To: flexcoders@yahoogroups.com 
  Sent: Monday, May 18, 2009 12:02 PM
  Subject: RE: [flexcoders] HyperThreading...





  If code is written just using actionscript then yes it is single threaded but 
if you are doing something that is fairly intensive then you can use the new 
pixelbender technology to make the flash player use more than one core.  
Instead of getting pixelbender to manipulate actual pixels you can get it to do 
some number crunching and by doing so you can make it use all of the processers 
cores where it has more than one.

   

  Check out the talk by Ryan Taylor called ‘pixel bender unleashed’ on adobe TV 
(http://tv.adobe.com/#se+pixel%20bender), or download flv from here 
http://adobe.edgeboss.net/download/adobe/adobetv2/max_2008_design/1596741613_2482442001_taylor-mon-5pm-design-develop.flv
 

   

  Kenneth.

   

   

  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
Behalf Of Paul Andrews
  Sent: 18 May 2009 11:43
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] HyperThreading...

   






  - Original Message - 

From: Tom Chiverton 

To: flexcoders@yahoogroups.com 

Sent: Monday, May 18, 2009 10:01 AM

Subject: Re: [flexcoders] HyperThreading...

 



On Monday 18 May 2009, Laurence MacNeill wrote:
> Does anyone know if the Flash Player supports HyperThreading? 

Applications don't, in general, support or not HT as that's at the O/S 
level. 

 

  Strictly that's true, but other technologies (such as Java) allow multiple 
threads of execution and are able to take advantage of HT if they are written 
with multiple threads.

   

  Given the availability of multiple cores these days, I'd hope that 
actionscript (and the player) would embrace this, though it's  MAJOR change in 
application development.

   

  The player is single-threaded at the moment so cannot use a second core - as 
Tom says. :-(

   

  Paul



> other words, will my program run faster on a CPU that has
> HyperThreading? Or will it not make any difference?

If it's fairly CPU-bound (and nothing else is), it'll probably feel faster 
because there's less contention for the CPU resource.

-- 
Helping to biannually promote low-risk e-tailers as part of the IT team of 
the 
year, '09 and '08




 
 
   
Tom Chiverton 
Developer 
Tel: +44 0161 618 5032 
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com 
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com 
   
 

 

  

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

  Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered office 
address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 
3EB. A list of members is available for inspection at the registered office 
together with a list of those non members who are referred to as partners. We 
use the word ?partner? to refer to a member of the LLP, or an employee or 
consultant with equivalent standing and qualifications. 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 2500.

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




  Disclaimer 


--
  This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer.
  Registered in Scotland number: SC 172507.
  Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB.

  This email message has been scanned for viruses by Mimecast.

--



  

RE: [flexcoders] HyperThreading...

2009-05-18 Thread Kenneth Sutherland
If code is written just using actionscript then yes it is single
threaded but if you are doing something that is fairly intensive then
you can use the new pixelbender technology to make the flash player use
more than one core.  Instead of getting pixelbender to manipulate actual
pixels you can get it to do some number crunching and by doing so you
can make it use all of the processers cores where it has more than one.

 

Check out the talk by Ryan Taylor called 'pixel bender unleashed' on
adobe TV (http://tv.adobe.com/#se+pixel%20bender), or download flv from
here
http://adobe.edgeboss.net/download/adobe/adobetv2/max_2008_design/159674
1613_2482442001_taylor-mon-5pm-design-develop.flv 

 

Kenneth.

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Paul Andrews
Sent: 18 May 2009 11:43
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HyperThreading...

 






- Original Message - 

From: Tom Chiverton   

To: flexcoders@yahoogroups.com 

Sent: Monday, May 18, 2009 10:01 AM

Subject: Re: [flexcoders] HyperThreading...

 



On Monday 18 May 2009, Laurence MacNeill wrote:
> Does anyone know if the Flash Player supports HyperThreading? 

Applications don't, in general, support or not HT as that's at
the O/S level. 

 

Strictly that's true, but other technologies (such as Java) allow
multiple threads of execution and are able to take advantage of HT if
they are written with multiple threads.

 

Given the availability of multiple cores these days, I'd hope that
actionscript (and the player) would embrace this, though it's  MAJOR
change in application development.

 

The player is single-threaded at the moment so cannot use a second core
- as Tom says. :-(

 

Paul



> other words, will my program run faster on a CPU that has
> HyperThreading? Or will it not make any difference?

If it's fairly CPU-bound (and nothing else is), it'll probably
feel faster 
because there's less contention for the CPU resource.

-- 
Helping to biannually promote low-risk e-tailers as part of the
IT team of the 
year, '09 and '08



 
 


Tom Chiverton 
Developer 
Tel: +44 0161 618 5032 
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com 
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com   

 



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

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB. A list of members is available for inspection at the
registered office together with a list of those non members who are
referred to as partners. We use the word ?partner? to refer to a member
of the LLP, or an employee or consultant with equivalent standing and
qualifications. 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
2500.

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



Disclaimer 
---
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
---

[flexcoders] Re: FlexMDI Title Bar Custom Menu and Events

2009-05-18 Thread edlueze
Quick update - I've made some good progress in sorting this out. I needed to 
add the following code:

To the MDIWindowControlsContainer sub-class:

private function dropDownMenuBtn_click(event:MouseEvent):void {
window.dispatchEvent(new Event("menuClick"));
}

To my panel:

parent.addEventListener("menuClick", refreshData);

If there is a more elegant or preferred method please let me know!

--- In flexcoders@yahoogroups.com, "edlueze"  wrote:
>
> I want to be able to create a custom menu in each of my FlexMDI windows. I've 
> implemented some code to put the menu button on the title bar but now I'm 
> stuck.
> 
> I've been following an example which demonstrates how to build a menu from 
> within a sub-class of MDIWindowControlsContainer. That works fine, but now I 
> want the menu to be controlled by code within the panel - not from within the 
> sub-class. I've been trying to generate Events from the extended 
> MDIWindowControlsContainer (I don't want to mess with the other classes) but 
> I can't figure it out.
> 
> How can I catch the custom menu button click event from my panel?
> 
> Here's some of the code I added to the MDIWindowControlsContainer sub-class:
> 
> override protected function createChildren():void
> {
> //Call super.createChildren() to first create closeBtn, 
> minimizeBtn, and maximizeRestoreBtn
> super.createChildren();
> 
> //Create the custom drop-down menu button
> dropDownMenuBtn = new Button();
> dropDownMenuBtn.width = 12;
> dropDownMenuBtn.height = 12;
> dropDownMenuBtn.styleName = "mdiDropDownMenuButton";
> 
> dropDownMenuBtn.addEventListener(MouseEvent.CLICK,dropDownMenuBtn_click);
> this.addChild(dropDownMenuBtn);
> }
> 
> private function dropDownMenuBtn_click(event:MouseEvent):void
> {
> var menu : Menu = Menu.createMenu(this,this.mdp,false);
> menu.labelField = "@label";
> menu.addEventListener(MenuEvent.ITEM_CLICK,onClickMenu);
> menu.show( event.stageX - 5, event.stageY + 5 );
> }
> 
> private function onClickMenu(event:MenuEvent):void
> {
> // The example says "implement super cool button logic here" but 
> I don't want to - I want the logic to sit next to all of the panel components
> }
> 
> private var mdp : XML = 
> 
> 
> 
> ;
>




Re: [flexcoders] HyperThreading...

2009-05-18 Thread Paul Andrews
- Original Message - 
  From: Tom Chiverton 
  To: flexcoders@yahoogroups.com 
  Sent: Monday, May 18, 2009 10:01 AM
  Subject: Re: [flexcoders] HyperThreading...






  On Monday 18 May 2009, Laurence MacNeill wrote:
  > Does anyone know if the Flash Player supports HyperThreading? 

  Applications don't, in general, support or not HT as that's at the O/S level.

Strictly that's true, but other technologies (such as Java) allow multiple 
threads of execution and are able to take advantage of HT if they are written 
with multiple threads.

Given the availability of multiple cores these days, I'd hope that actionscript 
(and the player) would embrace this, though it's  MAJOR change in application 
development.

The player is single-threaded at the moment so cannot use a second core - as 
Tom says. :-(

Paul


  > other words, will my program run faster on a CPU that has
  > HyperThreading? Or will it not make any difference?

  If it's fairly CPU-bound (and nothing else is), it'll probably feel faster 
  because there's less contention for the CPU resource.

  -- 
  Helping to biannually promote low-risk e-tailers as part of the IT team of 
the 
  year, '09 and '08



   
 
  Tom Chiverton 
  Developer 
  Tel: +44 0161 618 5032 
  Fax: +44 0161 618 5099 
  tom.chiver...@halliwells.com 
  3 Hardman Square, Manchester, M3 3EB
  www.Halliwells.com  
   


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

Halliwells LLP is a limited liability partnership registered in England 
and Wales under registered number OC307980 whose registered office address is 
at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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 2500.

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

  

[flexcoders] Re: AIR Application shows running in FB but cant see anything

2009-05-18 Thread reflexactions
Fixed that and now can see th app but now its clear the CSS never loaded or at 
least the styles cant be used by the application modules
oh well 

--- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
>
> As above.
> 
> Launched from FB, loads, shows as running, but no visible window to be seen.
> 
> Something needing updating or?
> tks
>




[flexcoders] AIR Application shows running in FB but cant see anything

2009-05-18 Thread reflexactions
As above.

Launched from FB, loads, shows as running, but no visible window to be seen.

Something needing updating or?
tks 



[flexcoders] Re: AIR - SecurityError:Error #2142 cannot use the LoaderContext.securityDomain

2009-05-18 Thread reflexactions
Ok for the moment I think I have fixed it by changing from using  
SecurityDomain.currenDomain attributae to using null.


--- In flexcoders@yahoogroups.com, "reflexactions"  wrote:
>
> I have an AIR application that is just a rebuild of an exisitng web based 
> Flex app.
> 
> We are using RSL's for everything (framework/modules etc.)
> 
> We have 2 CSS files compiled to SWF that we manually load using the 
> StyleManager.loadStyleDeclarations.
> 
> 
> When run as an AIR app with the 2 SWF's in the same folder as the AIR app we 
> are getting this error when it tries to load them.
> 
> SecurityError: Error #2142: Security sandbox violation: local SWF files 
> cannot use the LoaderContext.securityDomain property.: Security sandbox 
> violation: local SWF files cannot use the LoaderContext.securityDomain 
> property.
> 
> Anyone know why, and more importantly how I can fix this.
> 
> tks
>




[flexcoders] FlexMDI Title Bar Custom Menu and Events

2009-05-18 Thread edlueze
I want to be able to create a custom menu in each of my FlexMDI windows. I've 
implemented some code to put the menu button on the title bar but now I'm stuck.

I've been following an example which demonstrates how to build a menu from 
within a sub-class of MDIWindowControlsContainer. That works fine, but now I 
want the menu to be controlled by code within the panel - not from within the 
sub-class. I've been trying to generate Events from the extended 
MDIWindowControlsContainer (I don't want to mess with the other classes) but I 
can't figure it out.

How can I catch the custom menu button click event from my panel?

Here's some of the code I added to the MDIWindowControlsContainer sub-class:

override protected function createChildren():void
{
//Call super.createChildren() to first create closeBtn, 
minimizeBtn, and maximizeRestoreBtn
super.createChildren();

//Create the custom drop-down menu button
dropDownMenuBtn = new Button();
dropDownMenuBtn.width = 12;
dropDownMenuBtn.height = 12;
dropDownMenuBtn.styleName = "mdiDropDownMenuButton";

dropDownMenuBtn.addEventListener(MouseEvent.CLICK,dropDownMenuBtn_click);
this.addChild(dropDownMenuBtn);
}

private function dropDownMenuBtn_click(event:MouseEvent):void
{
var menu : Menu = Menu.createMenu(this,this.mdp,false);
menu.labelField = "@label";
menu.addEventListener(MenuEvent.ITEM_CLICK,onClickMenu);
menu.show( event.stageX - 5, event.stageY + 5 );
}

private function onClickMenu(event:MenuEvent):void
{
// The example says "implement super cool button logic here" but I 
don't want to - I want the logic to sit next to all of the panel components
}

private var mdp : XML = 



;




Re: [flexcoders] Drawing shapes Dynamically

2009-05-18 Thread Shubhra Tiwari
Hi,

i got the code..nd it solved my purpose..

Thanks alot
subu

--- On Mon, 5/18/09, p...@vin Uttarwar  wrote:

From: p...@vin Uttarwar 
Subject: Re: [flexcoders] Drawing shapes Dynamically
To: flexcoders@yahoogroups.com
Date: Monday, May 18, 2009, 12:56 PM
















  
  Hi,

I think you are looking for something like whiteboard component.
Here you can find the source for same

http://code. google.com/ p/uckcanvas/

Thanks and Regards,


Pravin

2009/5/18 shubhra 
























  
  I'm trying to make a small Flex3 app where the user can draw rectangles 
and circles on a canvas.

I'm thinking that the user click a button "New Rectangle", the cursor switch to 
a crosshair, the user draw a rectangle (that updates as user is drawing), on 
mouse-up the rectangle is finished.



Any code, ideas and help would be greatly appreciated.




 

  





















 

  




 

















  

[flexcoders] AIR - SecurityError:Error #2142 cannot use the LoaderContext.securityDomain

2009-05-18 Thread reflexactions
I have an AIR application that is just a rebuild of an exisitng web based Flex 
app.

We are using RSL's for everything (framework/modules etc.)

We have 2 CSS files compiled to SWF that we manually load using the 
StyleManager.loadStyleDeclarations.


When run as an AIR app with the 2 SWF's in the same folder as the AIR app we 
are getting this error when it tries to load them.

SecurityError: Error #2142: Security sandbox violation: local SWF files cannot 
use the LoaderContext.securityDomain property.: Security sandbox violation: 
local SWF files cannot use the LoaderContext.securityDomain property.

Anyone know why, and more importantly how I can fix this.

tks



Re: [flexcoders] Re: encrypted local store

2009-05-18 Thread Tom Chiverton
On Monday 18 May 2009, arieljake wrote:
> I am developing a swf protection scheme that i would be happy to share with
> the community, but I need to get this part right first.

'nix:
~/.appdata/Adobe/AIR/ELS/

-- 
Helping to continually generate magnetic CEOs as part of the IT team of the 
year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of 
members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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 2500.

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

Re: [flexcoders] Drawing shapes Dynamically [1 Attachment]

2009-05-18 Thread p...@vin Uttarwar
Hi Shubra,

I have attached the source code.
Please check it and let me know if u have any problems.

Regards,
Pravin

2009/5/18 Shubhra Tiwari 

>
>
>  Thanks Pravin but i m not able to check even the read only code..
>
> --- On *Mon, 5/18/09, p...@vin Uttarwar * wrote:
>
>
> From: p...@vin Uttarwar 
> Subject: Re: [flexcoders] Drawing shapes Dynamically
> To: flexcoders@yahoogroups.com
> Date: Monday, May 18, 2009, 12:56 PM
>
>  Hi,
>
> I think you are looking for something like whiteboard component.
> Here you can find the source for same
>
> http://code. google.com/ p/uckcanvas/
>
> Thanks and Regards,
> Pravin
>
> 2009/5/18 shubhra  yahoo.com
> >
>
>>
>>
>> I'm trying to make a small Flex3 app where the user can draw rectangles
>> and circles on a canvas.
>> I'm thinking that the user click a button "New Rectangle", the cursor
>> switch to a crosshair, the user draw a rectangle (that updates as user is
>> drawing), on mouse-up the rectangle is finished.
>>
>> Any code, ideas and help would be greatly appreciated.
>>
>>
>
>  
>


Re: [flexcoders] Drawing shapes Dynamically

2009-05-18 Thread Shubhra Tiwari
Thanks Pravin but i m not able to check even the read only code..

--- On Mon, 5/18/09, p...@vin Uttarwar  wrote:

From: p...@vin Uttarwar 
Subject: Re: [flexcoders] Drawing shapes Dynamically
To: flexcoders@yahoogroups.com
Date: Monday, May 18, 2009, 12:56 PM
















  
  Hi,

I think you are looking for something like whiteboard component.
Here you can find the source for same

http://code. google.com/ p/uckcanvas/

Thanks and Regards,


Pravin

2009/5/18 shubhra 
























  
  I'm trying to make a small Flex3 app where the user can draw rectangles 
and circles on a canvas.

I'm thinking that the user click a button "New Rectangle", the cursor switch to 
a crosshair, the user draw a rectangle (that updates as user is drawing), on 
mouse-up the rectangle is finished.



Any code, ideas and help would be greatly appreciated.




 

  





















 

  




 

















  

Re: [flexcoders] HyperThreading...

2009-05-18 Thread Tom Chiverton
On Monday 18 May 2009, Laurence MacNeill wrote:
> Does anyone know if the Flash Player supports HyperThreading?  

Applications don't, in general, support or not HT as that's at the O/S level.

> other words, will my program run faster on a CPU that has
> HyperThreading?  Or will it not make any difference?

If it's fairly CPU-bound (and nothing else is), it'll probably feel faster 
because there's less contention for the CPU resource.

-- 
Helping to biannually promote low-risk e-tailers as part of the IT team of the 
year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of 
members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. 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 2500.

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

Re: [flexcoders] Drawing shapes Dynamically [1 Attachment]

2009-05-18 Thread Shabir Gilkar
Hi,

You need to make seperate functions for drawRect and drawCircle which can
take the parameters for drawing from the MouseUp and mousedown listeners.
>From mouseup and MouseDown listeners you will try to take the X and Y
cordinates of mouse Path while it is being draged.

Please refer to the graphics-geek.blogspot.com and search there Custom Flash
graphics in Flex Componenets. It is 16 MB tutorial

Mr Chet Hasse had given a tutorial on this.

Regards
Shabir Gilkar
Kashmir



On Mon, May 18, 2009 at 12:51 PM, shubhra  wrote:

>
>
> I'm trying to make a small Flex3 app where the user can draw rectangles and
> circles on a canvas.
> I'm thinking that the user click a button "New Rectangle", the cursor
> switch to a crosshair, the user draw a rectangle (that updates as user is
> drawing), on mouse-up the rectangle is finished.
>
> Any code, ideas and help would be greatly appreciated.
>
>  
>



-- 
With Regards

Shabir Ahmad Gilkar

Srinagar Kashmir J&K

Voice: +91 9419942501
email: shabirgil...@gmail.com
Skype: shabirgilkar


Re: [flexcoders] Drawing shapes Dynamically

2009-05-18 Thread p...@vin Uttarwar
Hi,

I think you are looking for something like whiteboard component.
Here you can find the source for same

http://code.google.com/p/uckcanvas/

Thanks and Regards,
Pravin

2009/5/18 shubhra 

>
>
> I'm trying to make a small Flex3 app where the user can draw rectangles and
> circles on a canvas.
> I'm thinking that the user click a button "New Rectangle", the cursor
> switch to a crosshair, the user draw a rectangle (that updates as user is
> drawing), on mouse-up the rectangle is finished.
>
> Any code, ideas and help would be greatly appreciated.
>
>  
>


[flexcoders] Drawing shapes Dynamically

2009-05-18 Thread shubhra
I'm trying to make a small Flex3 app where the user can draw rectangles and 
circles on a canvas.
I'm thinking that the user click a button "New Rectangle", the cursor switch to 
a crosshair, the user draw a rectangle (that updates as user is drawing), on 
mouse-up the rectangle is finished.

Any code, ideas and help would be greatly appreciated.



[flexcoders] Loading an external swf

2009-05-18 Thread Shabir Gilkar
Hi,

Project is in: Flash AS2
I have Main.swf, which is main swf of the website, in which i am loading
external swfs in content area with in loader. for example when i click on
about menu it opens about.swf. With in the about.swf i have set three button
one  is services, products, portfolio. Now when i click on the services
button with in the about.swf which is in turn loaded in loader which is in
main.swf.

but the services.swf is not loaded in the main.swf's loader. which i am
calling from about.swf

can any body tell me how to load the external swf with in the same loader
from any other external swf.

-- 
With Regards

Shabir Ahmad Gilkar

Srinagar Kashmir J&K

Voice: +91 9419942501
email: shabirgil...@gmail.com
Skype: shabirgilkar