[flexcoders] Re: Sorting VBox elements based on an XML ID

2009-05-01 Thread fumeng5
Hmmm...I didn't know about the Repeater component, that's quite useful. 
However, I should have explained that I'm not working with all the same 
components. The XML is more complex than I posted. 

Here's what it really looks like:

 
1
First Class


 
 
2
Second Class
1.31


 
11
Subclass of first class


So my conditional for building the UI goes like this; if Class_Amount is empty, 
this element has a subclass, i.e. 

for (var i:int=0; i wrote:
>
> Use Repeater, and then just sort the dataProvider.
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of fumeng5
> Sent: Friday, May 01, 2009 3:15 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Sorting VBox elements based on an XML ID
> 
>  
> 
> 
> 
> 
> 
> 
> Hi,
> 
> I've got something that I'm trying to troubleshoot and I can't figure it
> out. I have an XML file full of elements, i.e.
> 
>  
> 1
> First Class
> 
> 
>  
> 2
> Second Class
> 
> 
>  
> 11
> Subclass of first class
> 
> 
>  
> 21
> Subclass of second class
> 
> 
> ...
> 
> Some classes have subclasses, i.e. Class ID 1 has a subclass of Class ID 11.
> And Class ID 2 has a subclass of Class ID 21. 
> 
> My XML parsing class creates UI elements based on the XML and adds them to a
> VBox, i.e. 
> 
> private var classXML:XML;
> private var classData:XMLList;
> 
> for (var i:int=0; i 
> var myButton:Button = new Button();
> myButton.label = classData[i].Class_Name;
> 
> addChild( myButton );
> }
> 
> When the XML first loads, the elements will be added to the VBox in the way
> they're defined in the XML. 
> 
> However, I have to add the functionality that if a class is clicked it goes
> to the top of the VBox and all its subclasses are listed right under it i.e.
> Class ID 1 is clicked, it goes to the top with Class ID 11 right under it. 
> 
> This is what I don't know how to do. What is the best way to resort children
> in a VBox based on ID? 
> 
> Any tips are very much appreciated. 
> 
> Thank you.
>




Re: [flexcoders] Error with Flex Builder

2009-05-01 Thread Sam Lai
Did you open a project in FB, then closed FB, removed a disk, and now
re-opened FB? It sounds like it is from a drive which can exist but
have no disk in it, e.g. a CD/DVD, a card reader.

If it is on a hard drive, and is recurring, might be worth checking
the health of your hard drive.

2009/5/2 Tracy Spratt :
>
>
> I have gotten this message a few times in the past, but if you just click
> through it, it will go away and not come back.
>
>
>
> Might be nice to know the what/why, though, anybody?
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>
> 
>
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of christophe_jacquelin
> Sent: Friday, May 01, 2009 5:06 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Error with Flex Builder
>
>
>
>
> Hello,
>
> I have installed Flex Builder on a new computer.
>
> When I want to compile a simple application I have the following error :
>
> Windows - No Disk
> Exception Processing Message 0xC013
>
> Thank you for your help.
> Christophe,
>
> 


[flexcoders] Re: Runs in debug mode, but not release build

2009-05-01 Thread jimmy5804
For the benefit of people who might search for a similar problem in the 
future...

The program was trying to write a reference file to the 
File.applicationDirectory. This directory is not supposed to be writable. The 
debugger apparently doesn't enforce that, though it is enforced when deployed.

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> There are four combinations to try:  1) debug build in debugger player, 2) 
> release build in debugger player, 3) debug build in release player and 4) 
> release build in release player.
> 
> You've told us #1 works.  If #2 fails, trace statements will help.  If your 
> only failure cases are #3 or #4, you'll have to instrument your code to try 
> to find the issue.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of jimmy5804
> Sent: Friday, May 01, 2009 8:43 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Runs in debug mode, but not release build
> 
> 
> 
> 
> 
> It's a big project. Most of the skins are programmatic, but I've verified all 
> the support graphics for the main project are there. Guess I need to go 
> through and check libraries.
> 
> I don't have a lot of information as to the cause right now. The logs that I 
> have appear normal but nothing shows up when it is executed although the 
> process continues to run. It may well be a graphic from a support library.
> 
> As far as trace, how do you use that in an export release? I created a file 
> logger for our logging infrastructure and I'll see what I can come up with.
> 
> --- In flexcoders@yahoogroups.com, 
> "Tracy Spratt"  wrote:
> >
> > Are there any support folders or files missing from the export build?
> >
> >
> >
> > "long binary search". trace() might be easier and could give you more
> > information.
> >
> >
> >
> > More information here might help also.
> >
> >
> >
> > Tracy Spratt,
> >
> > Lariat Services, development services available
> >
> > _
> >
> > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com] On
> > Behalf Of jimmy5804
> > Sent: Friday, May 01, 2009 1:47 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Runs in debug mode, but not release build
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > AIR app. Runs fine in debug, but fails to initialize when build is exported.
> > After a long binary search I found it fails silently on addition of a
> > particular (important) child. Anyone seen anything like this before?
> >
>




[flexcoders] TabNavigator creationPolicy

2009-05-01 Thread Richard Rodseth
I have a TabNavigator with creationPolicy = "auto".
The immediate children are intermediate (superfluous) VBoxes containing the
actual components to be displayed.
Nevertheless actual component A's creationComplete fires even though it's
tab is not the active one.
What's up?


[flexcoders] Flex Bug Quash - Round 2 Indy Style

2009-05-01 Thread flex_coders
Want to help improve the quality of Flex for yourself and others? Have a bug 
that you're dying to have fixed? Come join the Flex Bug Quash on Sunday May 
17th. You can participate either in person at the 360|Flex event in 
Indianapolis or remotely via Adobe Connect. We recently hosted the first Flex 
Bug Quash in Seattle and had quite the turn out with 180 participants, 2/3rds 
of which were remote. Prior to this event, in the 13 months that Flex has been 
open source, we had received 111 patches, in the Seattle Bug Quash alone we got 
another 57 patches from the community, bring us up 168 patches submitted. This 
event was a definite success and we hope to have an even better event in 
Indianapolis! This is a great opportunity to share your knowledge of Flex, 
learn from other leet Flex developers, and contribute to making Flex a better 
product. For more information check out bugquash.com. 



RE: [flexcoders] Dispatching Events from SWC - via Class`

2009-05-01 Thread Alex Harui
If Adaption... class is not extending DisplayObject and a child or grandchild 
(or deeper) of the application, then bubbling will not work.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Tracy Spratt
Sent: Friday, May 01, 2009 2:46 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Dispatching Events from SWC - via Class`




That is not even a "custom event", it is a flash event with a custom type.

The metadata should go above the class definition, but the metadata should not 
be necessary.

If you are depending on the bubbling, are yo sure the Adaption... class is in 
the child hierarchy of the listener?  PopUps, for example are not.

Tracy Spratt,
Lariat Services, development services available

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Eric Dunn
Sent: Friday, May 01, 2009 4:23 PM
To: flexcoders
Subject: [flexcoders] Dispatching Events from SWC - via Class`





I am trying to creating a custom event in a actionscript class that will be 
distributed via a swc file..

I need to notify the parent application of when data is finished loading.

Here is what I've been playing with:

Class File: created as a Flex Library Project
package com.adaption.instance
{
import com.adaption.Adaption_SiteDetails_Structure;
import flash.events.Event;

public class Adaption_SiteDetails_
{
private static var instance:Adaption_SiteDetails_;
public static function get siteDetail():Adaption_SiteDetails_
{
if (instance == null)
{
instance = new Adaption_SiteDetails_;
}
return instance;
}
[Bindable] public var myInstance_SiteDetails:Object = new 
Adaption_SiteDetails_Structure;

[Event (name="enableChanged", type="flash.events.Event")]

public function createSiteDetail(dataObject:Object):void
{
siteDetail.myInstance_SiteDetails.businessLine = 
dataObject.businessLine;
siteDetail.myInstance_SiteDetails.businessPartnerID = 
dataObject.businessPartnerID;
siteDetail.myInstance_SiteDetails.ccEnterpriceID = 
dataObject.ccEnterpriceID;
siteDetail.myInstance_SiteDetails.ccGroupID = dataObject.ccGroupID;
dispatchEvent(new Event("enableChanged",true));
}

 Application File:
creationComplete="initApp(event)"  // in the application header.
private function initApp(e:FlexEvent):void
{
valueOfBusinessPartner = 
Application.application.parameters.businessPartnerValue;
valueOfAuthCode = Application.application.parameters.authCodeValue;
valueOfAppiaWs = Application.application.parameters.appiaWsValue;
if (valueOfAuthCode == "QA")
{
header.lblConnectionType.text = "QA-build"
}
loadWsXML(e);
loadBpXML(e);
loadAcXML(e);

bm = BrowserManager.getInstance();
bm.init("", "OfficeFone Dashboard - Site Administrator");
bm.setTitle("OfficeFone Dashboard - Site Administrator");
this.addEventListener("enableChanged", getSiteDetailsHandler);
}

Any  one see where I've gone wrong or what I've missed?  I tried putting 
 tags around the Event method but no love , I've tired the 
MetaDataEvent (that the only option when I ctrl-SpaceBar) EventDispatch is 
soething else I've tired.

Do I need to create a Custom Event Class in the library?  or should I be doing 
this another way...


I am trying to create a component libary to invoke a web service, store the 
data and send out a notification upon completion of the data retrieval.

Thanks...

Eric W Dunn
Adaption Technologies
281-465-3326
ed...@adpt-tech.com



RE: [flexcoders] Dispatching Events from SWC - via Class`

2009-05-01 Thread Tracy Spratt
That is not even a "custom event", it is a flash event with a custom type.

 

The metadata should go above the class definition, but the metadata should
not be necessary.

 

If you are depending on the bubbling, are yo sure the Adaption. class is in
the child hierarchy of the listener?  PopUps, for example are not.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Eric Dunn
Sent: Friday, May 01, 2009 4:23 PM
To: flexcoders
Subject: [flexcoders] Dispatching Events from SWC - via Class`

 






I am trying to creating a custom event in a actionscript class that will be
distributed via a swc file..

I need to notify the parent application of when data is finished loading. 

Here is what I've been playing with: 

Class File: created as a Flex Library Project
package com.adaption.instance
{
import com.adaption.Adaption_SiteDetails_Structure;
import flash.events.Event;  

public class Adaption_SiteDetails_
{
private static var instance:Adaption_SiteDetails_;
public static function get siteDetail():Adaption_SiteDetails_
{
if (instance == null)
{
instance = new Adaption_SiteDetails_;
}
return instance;
}
[Bindable] public var myInstance_SiteDetails:Object = new
Adaption_SiteDetails_Structure;

[Event (name="enableChanged", type="flash.events.Event")]

public function createSiteDetail(dataObject:Object):void
{
siteDetail.myInstance_SiteDetails.businessLine =
dataObject.businessLine;
siteDetail.myInstance_SiteDetails.businessPartnerID =
dataObject.businessPartnerID;
siteDetail.myInstance_SiteDetails.ccEnterpriceID =
dataObject.ccEnterpriceID;
siteDetail.myInstance_SiteDetails.ccGroupID =
dataObject.ccGroupID;
dispatchEvent(new Event("enableChanged",true));
}

 Application File:
creationComplete="initApp(event)"  // in the application header. 
private function initApp(e:FlexEvent):void 
{
valueOfBusinessPartner =
Application.application.parameters.businessPartnerValue;
valueOfAuthCode = Application.application.parameters.authCodeValue;
valueOfAppiaWs = Application.application.parameters.appiaWsValue;
if (valueOfAuthCode == "QA")
{
header.lblConnectionType.text = "QA-build"
}
loadWsXML(e);
loadBpXML(e);
loadAcXML(e);

bm = BrowserManager.getInstance();
bm.init("", "OfficeFone Dashboard - Site Administrator");
bm.setTitle("OfficeFone Dashboard - Site Administrator");
this.addEventListener("enableChanged", getSiteDetailsHandler);
}

Any  one see where I've gone wrong or what I've missed?  I tried putting
 tags around the Event method but no love , I've tired the
MetaDataEvent (that the only option when I ctrl-SpaceBar) EventDispatch is
soething else I've tired. 

Do I need to create a Custom Event Class in the library?  or should I be
doing this another way... 


I am trying to create a component libary to invoke a web service, store the
data and send out a notification upon completion of the data retrieval. 

Thanks... 

Eric W Dunn
Adaption Technologies
281-465-3326
ed...@adpt-tech.com





[flexcoders] Re: Accessing query string vars in Flex HTML wrapper and passing them into Flex App

2009-05-01 Thread weezee49
--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> Hmm, maybe some scope or timing issue?
> 
>  
> 
> Change this:
> 
> <%
> String uid = (String)request.getParameter("uid");
> String cid = (String)request.getParameter("cid");
> %>
> 
>  
> 
> Put it in the script block where the flash version variables are declared,
> and debug to make sure they are getting set correctly.
> 
>  
> 
> Also, you can get the passed in parameters directly, like this:
> 
> var _sPassedUrlParms = new String(document.location).split('?')[1];  //Get
> any passed-in querystring parms
> 
>  
> 
> then pass that into the SF in the AC_FL_RunContent() function:
> 
> "flashvars", _sPassedUrlParms,
> 


Using the document.location has done the trick.  Thanks!



Re: [flexcoders] Window Shade component

2009-05-01 Thread Jeffry Houser

 I thought there was one in Flexlib. 

Charles Parcell wrote:
> I am looking for a Window Shade component to use in my application. Can 
> someone point me in the right direction?
>
> Thanks,
> Charles P.
>
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>
>   

-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust




RE: [flexcoders] I am so confused about the coordinate and transformation in AS 3

2009-05-01 Thread Alex Harui
Don't know which other learning material to point you to, but the ASDoc for 
Stage says that you shouldn't set the transform so it is likely that setting 
parts of the transform may not work either.

Sounds like transforming S is working as expected as far as visuals are 
concerned.  When I have an interactivity problem, I next look at the 
interactivity properties like buttonMode, mouseEnabled and mouseChildren.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of ACasualObserver
Sent: Friday, May 01, 2009 1:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] I am so confused about the coordinate and transformation 
in AS 3





We have crated a subclass of Sprite (let's call it S) and added it to the 
stage. Then we added another Sprite that draws polygon (P) and a TextField (T) 
to S.

If we get the stage.transform.matrix, scales it, and put it back, P scales 
correctly but T stays at the same location.

If we get the S.transform.matrix, scales it, and put it back, everything scales 
correctly. The problem is that if we right click on an area that use to be 
empty before scale but no empty now, we don't get the context menu.

I have no logical explanation mostly due to lack of experience with AS 3.

Any help is appreciated. If there is book or online article with in depth 
explanation would be very helpful. I have learned AS 3 by reading AS 3 Cookbook 
by O'Reilly and Flex Builder help docs. Any other suggestion for learning 
material?



[flexcoders] Dispatching Events from SWC - via Class`

2009-05-01 Thread Eric Dunn

I am trying to creating a custom event in a actionscript class that will be 
distributed via a swc file.. 

I need to notify the parent application of when data is finished loading. 

Here is what I've been playing with: 

Class File: created as a Flex Library Project 
package com.adaption.instance 
{ 
import com.adaption.Adaption_SiteDetails_Structure; 
import flash.events.Event; 

public class Adaption_SiteDetails_ 
{ 
private static var instance:Adaption_SiteDetails_; 
public static function get siteDetail():Adaption_SiteDetails_ 
{ 
if (instance == null) 
{ 
instance = new Adaption_SiteDetails_; 
} 
return instance; 
} 
[Bindable] public var myInstance_SiteDetails:Object = new 
Adaption_SiteDetails_Structure; 

[Event (name="enableChanged", type="flash.events.Event")] 

public function createSiteDetail(dataObject:Object):void 
{ 
siteDetail.myInstance_SiteDetails.businessLine = dataObject.businessLine; 
siteDetail.myInstance_SiteDetails.businessPartnerID = 
dataObject.businessPartnerID; 
siteDetail.myInstance_SiteDetails.ccEnterpriceID = dataObject.ccEnterpriceID; 
siteDetail.myInstance_SiteDetails.ccGroupID = dataObject.ccGroupID; 
dispatchEvent(new Event("enableChanged",true)); 
} 

Application File: 
creationComplete="initApp(event)" // in the application header. 
private function initApp(e:FlexEvent):void 
{ 
valueOfBusinessPartner = 
Application.application.parameters.businessPartnerValue; 
valueOfAuthCode = Application.application.parameters.authCodeValue; 
valueOfAppiaWs = Application.application.parameters.appiaWsValue; 
if (valueOfAuthCode == "QA") 
{ 
header.lblConnectionType.text = "QA-build" 
} 
loadWsXML(e); 
loadBpXML(e); 
loadAcXML(e); 

bm = BrowserManager.getInstance(); 
bm.init("", "OfficeFone Dashboard - Site Administrator"); 
bm.setTitle("OfficeFone Dashboard - Site Administrator"); 
this.addEventListener("enableChanged", getSiteDetailsHandler); 
} 

Any one see where I've gone wrong or what I've missed? I tried putting 
 tags around the Event method but no love , I've tired the 
MetaDataEvent (that the only option when I ctrl-SpaceBar) EventDispatch is 
soething else I've tired. 

Do I need to create a Custom Event Class in the library? or should I be doing 
this another way... 


I am trying to create a component libary to invoke a web service, store the 
data and send out a notification upon completion of the data retrieval. 

Thanks... 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 


[flexcoders] Window Shade component

2009-05-01 Thread Charles Parcell
I am looking for a Window Shade component to use in my application. Can someone 
point me in the right direction?

Thanks,
Charles P.



RE: [flexcoders] Re: Accessing query string vars in Flex HTML wrapper and passing them into Flex App

2009-05-01 Thread Tracy Spratt
Hmm, maybe some scope or timing issue?

 

Change this:

<%
String uid = (String)request.getParameter("uid");
String cid = (String)request.getParameter("cid");
%>

 

Put it in the script block where the flash version variables are declared,
and debug to make sure they are getting set correctly.

 

Also, you can get the passed in parameters directly, like this:

var _sPassedUrlParms = new String(document.location).split('?')[1];  //Get
any passed-in querystring parms

 

then pass that into the SF in the AC_FL_RunContent() function:

"flashvars", _sPassedUrlParms,

 

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of weezee49
Sent: Friday, May 01, 2009 2:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Accessing query string vars in Flex HTML wrapper
and passing them into Flex App

 






--- In flexcod...@yahoogro  ups.com,
"Tracy Spratt"  wrote:
>
> You are already in a script block, so don't include the "<%" script
> directives, just build the string. And don't include the first "&":
> 
> "FlashVars", "uid=" + uid + "&cid=" + cid + "",
> 
> 
When I do this, I get 

Error: 'uid' is unefined

I'm using IE, with JS error messages turned on.





[flexcoders] I am so confused about the coordinate and transformation in AS 3

2009-05-01 Thread ACasualObserver
We have crated a subclass of Sprite (let's call it S) and added it to the 
stage. Then we added another Sprite that draws polygon (P) and a TextField (T) 
to S.

If we get the stage.transform.matrix, scales it, and put it back, P scales 
correctly but T stays at the same location.

If we get the S.transform.matrix, scales it, and put it back, everything scales 
correctly. The problem is that if we right click on an area that use to be 
empty before scale but no empty now, we don't get the context menu.

I have no logical explanation mostly due to lack of experience with AS 3.

Any help is appreciated. If there is book or online article with in depth 
explanation would be very helpful. I have learned AS 3 by reading AS 3 Cookbook 
by O'Reilly and Flex Builder help docs. Any other suggestion for learning 
material?



RE: [flexcoders] Sorting VBox elements based on an XML ID

2009-05-01 Thread Tracy Spratt
Use Repeater, and then just sort the dataProvider.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of fumeng5
Sent: Friday, May 01, 2009 3:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Sorting VBox elements based on an XML ID

 






Hi,

I've got something that I'm trying to troubleshoot and I can't figure it
out. I have an XML file full of elements, i.e.

 
1
First Class


 
2
Second Class


 
11
Subclass of first class


 
21
Subclass of second class


...

Some classes have subclasses, i.e. Class ID 1 has a subclass of Class ID 11.
And Class ID 2 has a subclass of Class ID 21. 

My XML parsing class creates UI elements based on the XML and adds them to a
VBox, i.e. 

private var classXML:XML;
private var classData:XMLList;

for (var i:int=0; i

[flexcoders] Sorting VBox elements based on an XML ID

2009-05-01 Thread fumeng5
Hi,

I've got something that I'm trying to troubleshoot and I can't figure it out. I 
have an XML file full of elements, i.e.

 
1
First Class


 
2
Second Class


 
11
Subclass of first class


 
21
Subclass of second class


...

Some classes have subclasses, i.e. Class ID 1 has a subclass of Class ID 11. 
And Class ID 2 has a subclass of Class ID 21. 

My XML parsing class creates UI elements based on the XML and adds them to a 
VBox, i.e. 

private var classXML:XML;
private var classData:XMLList;

for (var i:int=0; i

[flexcoders] Tree with custom renderer data question

2009-05-01 Thread markgoldin_2000
I have a tree with following data fragment:
   
- 
- 
- 
   
  http://ufd-sql2008test/ReportServer?%2fskuattributesFG&rs:Command=Render&rc:Parameters=false&rc:Zoom=100&ExcludeOnHand=";
 line_id="" dept_id="" salesrepid="650" category="4" exclude="false" 
comments="false" /> 
   
  
  http://ufd-sql2008test/ReportServer?%2fCustomerPoStatus&rs:Command=Render&rc:Parameters=false&rc:Zoom=100&ccustno=&SalesOrder=&CustomerPO=&Sku=&OrderDate=&ShipDateFrom=&ShipDateTo=";
 line_id="" dept_id="" salesrepid="650" category="4" exclude="false" 
comments="false" /> 
   
  http://ufd-sql2008test/ReportServer?%2fPPStatus&rs:Command=Render&rc:Parameters=false&rc:Zoom=100&ccustno=";
 line_id="" dept_id="" salesrepid="650" category="4" exclude="false" 
comments="false" /> 
  http://ufd-sql2008test/ReportServer?%2fCustserviceOpenOrders&rs:Command=Render&rc:Parameters=false&rc:Zoom=100&ccustno=";
 line_id="" dept_id="" salesrepid="650" category="4" exclude="false" 
comments="false" /> 
  
  

[flexcoders] Re: Accessing query string vars in Flex HTML wrapper and passing them into Flex App

2009-05-01 Thread weezee49
--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> You are already in a script block, so don't include the "<%" script
> directives, just build the string. And don't include the first "&":
> 
> "FlashVars", "uid=" + uid + "&cid=" + cid + "",
> 
>  
 When I do this, I get 

Error: 'uid' is unefined

I'm using IE, with JS error messages turned on.





[flexcoders] Re: data effect for list control when item changes

2009-05-01 Thread gwangdesign
After poking into the documentation, I kinda guess "replacementItem" might be 
what I need. Anyone know of any examples for it?

Thanks.


--- In flexcoders@yahoogroups.com, "gwangdesign"  wrote:
>
> Hi,
> 
> I am trying to use data effect for a list control, when an item in the 
> dataprovider changes (not deleted or added but some properties change). 
> 
> I am looking for something like this:
> 
> http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/
> 
> but for a list control. For example if the text gets longer in a Text control 
> which serves as the item renderer, every renderer gets expanded; or if I am 
> using an Image control as the item renderer and if one of the image source 
> changes to a higher resolution, the whole listTile should play an effect.
> 
> In the documentation, it says "Data effects make it possible to apply effects 
> to the item renderers in List and TileList controls when the data provider 
> for the control changes." But the examples only show you how to apply effects 
> when items are added/deleted, but not when an item's properties change.
> 
> Thanks.
>




RE: [flexcoders] Accessing query string vars in Flex HTML wrapper and passing them into Flex App

2009-05-01 Thread Tracy Spratt
You are already in a script block, so don't include the "<%" script
directives, just build the string. And don't include the first "&":

"FlashVars", "uid=" + uid + "&cid=" + cid + "",

 

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of weezee49
Sent: Friday, May 01, 2009 1:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Accessing query string vars in Flex HTML wrapper and
passing them into Flex App

 






I have been following the instructions here: http://livedocs.
 adobe.com/flex/3/html/help.html?content=deep_linking_5.html#245869

to capture variable/value pairs from the query string. My URL looks like
this:

http://localhost: 
3000/bin\Mick.html?uid=louise&cid=amat

I have edited the auto-build HTML wrapper by adding 

<%
String uid = (String)request.getParameter("uid");
String cid = (String)request.getParameter("cid");
%>

between  and , and by adding the FlashVars line:
...
} else if (hasRequestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
"src", "Mick",
"FlashVars", "&uid=<%=uid%>&cid=<%=cid%>"+"",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "Mick",
"quality", "high",
"bgcolor", "#869ca7",
"name", "Mick",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe. 
com/go/getflashplayer"
);
...

When I get into my application's applicationComplete handler, and look at
the variable that is supposed to contain "louise", it has "

[flexcoders] Accessing query string vars in Flex HTML wrapper and passing them into Flex App

2009-05-01 Thread weezee49
I have been following the instructions here:  
http://livedocs.adobe.com/flex/3/html/help.html?content=deep_linking_5.html#245869

to capture variable/value pairs from the query string.  My URL looks like this:

http://localhost:3000/bin\Mick.html?uid=louise&cid=amat

I have edited the auto-build HTML wrapper by adding 

<%
  String uid = (String)request.getParameter("uid");
  String cid = (String)request.getParameter("cid");
%>

between  and , and by adding the FlashVars line:
...
} else if (hasRequestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
"src", "Mick",
  "FlashVars", "&uid=<%=uid%>&cid=<%=cid%>"+"",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "Mick",
"quality", "high",
"bgcolor", "#869ca7",
"name", "Mick",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer";
);
...

When I get into my application's applicationComplete handler, and look at the 
variable that is supposed to contain "louise", it has "

RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-05-01 Thread Alex Harui
I'd have to poke through it to be sure, but it should.  Fundamentally, all that 
should be going on there is this:

CairngormNameChangedToProtectTheInnocentModel.getInstance().uploadsFromFoo.addEventListener("result",
 bindingCallback, false, 0, true);

Where bindingCallback looks like:

private function bindingCallback(event:Event):void
{
uploadFromFoo.dataProvider = 
CairngormNameChangedToProtectTheInnocentModel.getInstance().uploadsFromFoo.result
}

There should not be any strong references from 
CairngormNameChangedToProtectTheInnocentModel to the DataGrid.

It gets a bit more tricky with the way MXML generates code and we've found bugs 
in there in the past, but the ones I've explored recently haven't been a 
problem.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Gregor Kiddie
Sent: Friday, May 01, 2009 1:38 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy?




Hang on, now I'm confused...
Does this code result in a weak reference binding?



I was always led to believe it wouldn't.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343
Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ
Registered Number: 1788577
Registered in the UK

Visit our Internet Web site at www.inps.co.ukhttp://www.inps.co.uk/>

The information in this internet email is confidential and is intended solely 
for the addressee. Access, copying or re-use of information in it by anyone 
else is not authorised. Any views or opinions presented are solely those of the 
author and do not necessarily represent those of INPS or any of its affiliates. 
If you are not the intended recipient please contact is.helpd...@inps.co.uk


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Alex Harui
Sent: 28 April 2009 21:24
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy?





A weak reference listener is attached to myAc.  It shouldn't matter what its 
type is (as long as it isn't XML).  The selectedChild of a ViewStack will have 
a reference to the ModuleLoader child which should have a reference to the 
module.  Not sure how you are attempting to unload that module, but once that 
gets cleaned up, the module should go away.  The profiler should help you see 
what is hanging onto the module.

The profiler should also give you good info on who's hanging onto the editable 
copy.

Are you comfortable with working with the Profiler?  Have you looked at the 
profiler "tutorial" on my blog?

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui




[flexcoders] data effect for list control when item changes

2009-05-01 Thread gwangdesign
Hi,

I am trying to use data effect for a list control, when an item in the 
dataprovider changes (not deleted or added but some properties change). 

I am looking for something like this:

http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/

but for a list control. For example if the text gets longer in a Text control 
which serves as the item renderer, every renderer gets expanded; or if I am 
using an Image control as the item renderer and if one of the image source 
changes to a higher resolution, the whole listTile should play an effect.

In the documentation, it says "Data effects make it possible to apply effects 
to the item renderers in List and TileList controls when the data provider for 
the control changes." But the examples only show you how to apply effects when 
items are added/deleted, but not when an item's properties change.

Thanks.





RE: [flexcoders] Re: Runs in debug mode, but not release build

2009-05-01 Thread Alex Harui
There are four combinations to try:  1) debug build in debugger player, 2) 
release build in debugger player, 3) debug build in release player and 4) 
release build in release player.

You've told us #1 works.  If #2 fails, trace statements will help.  If your 
only failure cases are #3 or #4, you'll have to instrument your code to try to 
find the issue.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of jimmy5804
Sent: Friday, May 01, 2009 8:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Runs in debug mode, but not release build





It's a big project. Most of the skins are programmatic, but I've verified all 
the support graphics for the main project are there. Guess I need to go through 
and check libraries.

I don't have a lot of information as to the cause right now. The logs that I 
have appear normal but nothing shows up when it is executed although the 
process continues to run. It may well be a graphic from a support library.

As far as trace, how do you use that in an export release? I created a file 
logger for our logging infrastructure and I'll see what I can come up with.

--- In flexcoders@yahoogroups.com, "Tracy 
Spratt"  wrote:
>
> Are there any support folders or files missing from the export build?
>
>
>
> "long binary search". trace() might be easier and could give you more
> information.
>
>
>
> More information here might help also.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>
> _
>
> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com] On
> Behalf Of jimmy5804
> Sent: Friday, May 01, 2009 1:47 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Runs in debug mode, but not release build
>
>
>
>
>
>
>
>
>
> AIR app. Runs fine in debug, but fails to initialize when build is exported.
> After a long binary search I found it fails silently on addition of a
> particular (important) child. Anyone seen anything like this before?
>



Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-05-01 Thread john fisher


Paul Andrews wrote:
>
> A really difficullt viewpoint to understand.
>
> FB != Flex - there's always the SDK - most people don't use the design view 
> that much - do they?
>   
won't I lose the debugger too? as noted I have to try it... Linux
doesn't have the Design View.


>  but you do 
> seem happy to bet your customers come only from the linux world.
>   
not going to specify any OS for customers, building Flash for web
interfaces.


> I don't have a problem with open source, but many people see it as a mantra 
> for ife, ...

mostly it depends on what you have invested in, I've let my Windows
investment drop in favor of Linux, and I'm not sorry.
>
> I have yet to meet anyone outside the geek/software development world using 
> Linux, 
well we ARE talking about development platforms, not end user platforms.
Anyway netbooks and Android phones are colonizing the lower Windows
space - food for a business discussion elsewhere.




Re: [flexcoders] Re: Flex Builder on Linux been scrapped ?

2009-05-01 Thread john fisher
Well most or all decisions are based on emotion, despite what we
rationalists think, but I take your point.

I'd like to write something here thats actually useful and might
contribute a tiny item to the knowledge pile at Adobe, without boring
everybody with personal details-

1) windows + Adobe puts me over budget at home, and I am accustomed to
using all-open software, and one of the appeals of Flex Builder on Linux
was I could learn it without forking over money. and yes it galls me to
send money to MS.

2) My company is a Linux shop and no license money is available for
experimental projects; CTO wants Java and the only way I can convince
him Flex/Flash is better is to show something else that works.

3) I need to see what its like developing without the Flex Builder
framework. I am already the only one in the building who uses an IDE or
visual debugger.

Just as I had no idea how Sun was going to make money on Java ( opposed
to IBM who does) I don't know how Adobe can make money giving away
tools, but it sure looks like open tools are going to win the battle in
the long run, and proprietary tools will lose market share. Maybe Adobe
can sell the visual designer stuff?

Open source software people are so wary of proprietary tools because we
have seen over and over how tool sets get munged over time, or even
abandoned, how open tools have vastly better tech support, and now
finally with Eclipse, open tools are achieving parity with the visual
IDE stuff from vendors. It seemed to me that Adobe was following a
semi-open model with Flex, for instance open bug reporting, and that
attracted me in the first place.

and so forth

John

daxdr9 wrote:
> If your willing to drop Flex because they don't sell an IDE for Linux, you're 
> basing a technical decision on emotion.
>
>
>   


[flexcoders] Re: Runs in debug mode, but not release build

2009-05-01 Thread jimmy5804
It's a big project. Most of the skins are programmatic, but I've verified all 
the support graphics for the main project are there. Guess I need to go through 
and check libraries.

I don't have a lot of information as to the cause right now. The logs that I 
have appear normal but nothing shows up when it is executed although the 
process continues to run. It may well be a graphic from a support library.

As far as trace, how do you use that in an export release? I created a file 
logger for our logging infrastructure and I'll see what I can come up with.


--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> Are there any support folders or files missing from the export build?
> 
>  
> 
> "long binary search". trace() might be easier and could give you more
> information.
> 
>  
> 
> More information here might help also.
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of jimmy5804
> Sent: Friday, May 01, 2009 1:47 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Runs in debug mode, but not release build
> 
>  
> 
> 
> 
> 
> 
> 
> 
> AIR app. Runs fine in debug, but fails to initialize when build is exported.
> After a long binary search I found it fails silently on addition of a
> particular (important) child. Anyone seen anything like this before?
>




Re: [flexcoders] Re: ADG Code Completion Missing

2009-05-01 Thread Pan Troglodytes
Excellent!  That did the trick.  Thanks for the followup.

On Wed, Apr 29, 2009 at 1:11 PM, valdhor wrote:

>
>
> The problem is that the ADG stuff is missing from the mxml-manifest.xml
> file. The chart stuff is there but no ADG.
>
> To fix, open up ...sdks/3.3.0/frameworks/mxml-manifest.xml in your favorite
> editor. Add the following lines somewhere (I added them in the  section)...
>
> 
>  class="mx.controls.advancedDataGridClasses.AdvancedDataGridColumn"/>
>  class="mx.controls.advancedDataGridClasses.AdvancedDataGridItemRenderer"/>
>
> There may be more that I have missed but those three got me going again.
>
>
> This has been reported as a bug which is supposedly fixed in Gumbo (Which I
> am not using yet).
>
>
> HTH.
>
>
>
> Steve
>
>
>
>
> --- In flexcoders@yahoogroups.com, Pan Troglodytes 
> wrote:
> >
> > Well, either I got confused before and though it was working when it was
> > still broken, or it's more complicated.
> >
> > It's back to not working at all for me under 3.3.0 for any Advanced*
> classes
> > n MXML or ActionScript.
> >
> >
> >
> > On Wed, Apr 29, 2009 at 11:42 AM, Pan Troglodytes chimpathe...@...wrote:
> >
> > > I had the exact same problem with 3.3.0. After switching it to 3.3.0,
> it
> > > wouldn't bring up code completion for either MXML or ActionScript on
> > > AdvancedDataGrid/AdvancedListBase/Advanced*. It would bring it up for
> the
> > > chart classes, though, which are also in the same SWC. Switching it
> back to
> > > 3.2.0 and the code completion would work.
> > >
> > > I found that when I switched it back and forth a few times, it started
> > > miraculously working even for 3.3.0. Seems like something in FB is
> getting
> > > gummed up that eventually resets itself.
> > >
> > >
> > >
> > > On Wed, Mar 18, 2009 at 10:59 AM, valdhor valdhorli...@...wrote:
> > >
> > >> This is the first time that I have actually used the AdvancedDataGrid
> > >> so I went through the instructions at...
> > >>
> > >>
> http://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.html
> > >>
> > >> and the thread at...
> > >>
> > >> http://tech.groups.yahoo.com/group/flexcoders/message/138099
> > >>
> > >> This worked well and I could run the examples and modify them as I
> wanted.
> > >>
> > >> I did notice, however, that there was no code completion available for
> any
> > >> AdvancedDataGrid component.
> > >>
> > >> Am I missing something? A XML file is missing maybe?
> > >>
> > >> Any thoughts would be most welcome.
> > >>
> > >> Steve
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > > --
> > > Jason
> > >
> >
> >
> >
> > --
> > Jason
> >
>  
>



-- 
Jason


[flexcoders] Re: flex builder 3 blazeds and spring

2009-05-01 Thread duncmcm
Thanks Gregor

Would you know of a good article to guide me through the steps of setting up 
blazeds with flex builder 3 standard, and then blazeds to spring-flex and java?

Thanks again

Duncan

--- In flexcoders@yahoogroups.com, "Gregor Kiddie"  wrote:
>
> Standard is fine, you do not need Pro.
> 
>  
> 
> Gk.
> 
> Gregor Kiddie
> Senior Developer
> INPS
> 
> Tel:   01382 564343
> 
> Registered address: The Bread Factory, 1a Broughton Street, London SW8
> 3QJ
> 
> Registered Number: 1788577
> 
> Registered in the UK
> 
> Visit our Internet Web site at www.inps.co.uk
> http://www.inps.co.uk/> 
> 
> The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it
> by anyone else is not authorised. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of
> INPS or any of its affiliates. If you are not the intended recipient
> please contact is.helpd...@...
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of duncmcm
> Sent: 01 May 2009 14:59
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] flex builder 3 blazeds and spring
> 
>  
> 
> 
> 
> 
> 
> 
> Hi
> 
> I hav read a few articles and I am confused as to what I need, flex
> envirnomental wise, I want to connect to blazeds, spring and java via my
> flex builder 3 standard edition, but these articles are saying I cannot,
> and need to use normal eclipse with a flex 3 plugin.
> 
> Is this correct ??
> 
> Could anyone advise of any definitive article I can refer to or what IDE
> versions I need, do I need the flex builder 3 professional edition to do
> this?
> 
> Thanks in advance
> 
> Duncan
>




RE: [flexcoders] flex builder 3 blazeds and spring

2009-05-01 Thread Gregor Kiddie
Standard is fine, you do not need Pro.

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of duncmcm
Sent: 01 May 2009 14:59
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex builder 3 blazeds and spring

 






Hi

I hav read a few articles and I am confused as to what I need, flex
envirnomental wise, I want to connect to blazeds, spring and java via my
flex builder 3 standard edition, but these articles are saying I cannot,
and need to use normal eclipse with a flex 3 plugin.

Is this correct ??

Could anyone advise of any definitive article I can refer to or what IDE
versions I need, do I need the flex builder 3 professional edition to do
this?

Thanks in advance

Duncan





RE: [flexcoders] Runs in debug mode, but not release build

2009-05-01 Thread Tracy Spratt
Are there any support folders or files missing from the export build?

 

"long binary search". trace() might be easier and could give you more
information.

 

More information here might help also.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of jimmy5804
Sent: Friday, May 01, 2009 1:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Runs in debug mode, but not release build

 







AIR app. Runs fine in debug, but fails to initialize when build is exported.
After a long binary search I found it fails silently on addition of a
particular (important) child. Anyone seen anything like this before?





RE: [flexcoders] Error with Flex Builder

2009-05-01 Thread Tracy Spratt
I have gotten this message a few times in the past, but if you just click
through it, it will go away and not come back.

 

Might be nice to know the what/why, though, anybody?

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of christophe_jacquelin
Sent: Friday, May 01, 2009 5:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Error with Flex Builder

 






Hello, 

I have installed Flex Builder on a new computer.

When I want to compile a simple application I have the following error :

Windows - No Disk
Exception Processing Message 0xC013

Thank you for your help.
Christophe, 





[flexcoders] flex builder 3 blazeds and spring

2009-05-01 Thread duncmcm
Hi

I hav read a few articles and I am confused as to what I need, flex 
envirnomental wise, I want to connect to blazeds, spring and java via my flex 
builder 3 standard edition, but these articles are saying I cannot, and need to 
use normal eclipse with a flex 3 plugin.

Is this correct ??

Could anyone advise of any definitive article I can refer to or what IDE 
versions I need, do I need the flex builder 3 professional edition to do this?

Thanks in advance

Duncan




[flexcoders] Re: Can Flex read IPTC or EXIF data on jpegs?

2009-05-01 Thread valdhor
A quick Google search pulled these links...

http://code.shichiseki.jp/as3/ExifInfo/
http://code.google.com/p/exif-as3/
http://blog.kevinhoyt.org/2005/11/01/actionscript-3-meets-exif-21/


--- In flexcoders@yahoogroups.com, "luvfotography"  wrote:
>
> Can Flex display exif data on jpgs?
> How can I extract that data from a picture that I load?
> thanks,
> steve
>




RE: [flexcoders] Draw rectangle to Zoom.

2009-05-01 Thread Kenneth Sutherland
Check out http://kennethsutherland.com/2009/05/01/zooming-example/ for
an example.

 

HTH.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of flexaustin
Sent: 30 April 2009 14:51
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Draw rectangle to Zoom.

 






Was wondering if anyone knew of any examples of adding the ability to
draw a rectangle then zoom the stage to what was in the rectangle?

Think something like draw a rectangle.
Find its bounds.
Create a rect from these bounds.
Then maybe assign this rect to a displayobject scrollrect?



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] Re: Flex Builder on Linux been scrapped ?

2009-05-01 Thread Sam Lai
One more thing - I know I contradicted my earlier post, but there was
just too many things wrong with the last link. Apologies.

2009/5/1 Sam Lai :
> Creepy. Although it's just a patent; there's no evidence it has been
> implemented in Vista/7. Is there?
>
> Personally, I'm more concerned about Google, given their primary
> source of profit is advertising, and they store a substantial amount
> of my email from the past 5 years, plus know nearly every search term
> I've entered. Email plus search terms would be an enormous gold mine
> for advertisers.
>
> As for the last link - most of it exists in Mac and Linux (taking
> Ubuntu as the representative here). Ubuntu knows every package you
> have installed from their repos (along with when, your IP address)
> thanks to HTTP headers. It wouldn't work without it. In Kubuntu
> there's crash reporter that sends data off somewhere too.
> Auto-updating exists in Ubuntu too. And CEIP's are in many apps these
> days - including one you use, Eclipse. CEIPs are optional.
>
> And for terado - that's how IPv4 to IPv6 translation works on every
> platform. The time server has to come from somewhere too, and I don't
> think time.nist.gov would be too happy if every Windows installation
> pointed to that and overloaded their servers.
>
> I could go on, but I think you should download and run Wireshark on
> your OS. Watch what goes out over a few days; I think you'd be
> surprised. OSes nowadays are designed to be connected, and
> (unfortunately) HTTP was not designed to be anonymous.
>
> P.S. I would love it if Ubuntu had a wizard in its install process
> that sent lspci/lsusb to Ubuntu so they can tell me whether or not my
> hardware will be fully supported, *before* I do the installation.
>
> 2009/5/1 Kelly :
>>
>>
>> http://arstechnica.com/microsoft/news/2007/07/microsoft-patents-the-mother-of-all-adware-systems.ars
>>
>>
>> http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PG01&p=1&u=%2Fnetahtml%2FPTO%2Fsrchnum.html&r=1&f=G&l=50&s1=%2220070157227%22.PGNR.&OS=DN/20070157227&RS=DN/20070157227
>>
>>
>> http://news.softpedia.com/news/Forget-about-the-WGA-20-Windows-Vista-Features-and-Services-Harvest-User-Data-for-Microsoft-58752.shtml
>>
>>
>> "The personal information we collect from you will be used by Microsoft and
>> its controlled subsidiaries and affiliates..."
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Paul Andrews wrote:
>>
>> - Original Message -
>>
>> From: Kelly
>> To: flexcoders@yahoogroups.com
>> Sent: Friday, May 01, 2009 2:39 AM
>> Subject: Re: [flexcoders] Re: Flex Builder on Linux been scrapped ?
>>
>> Microsoft deep scans your hard drives and transmits home.
>>
>> This is admitted in their patents.
>>
>> This is data mining on a level Orwell could never have imagined.
>>
>> What evidence do you have that MS is doing this and undermining the security
>> of people who use their OS?
>>
>>
>> 
>


Re: [flexcoders] Re: Flex Builder on Linux been scrapped ?

2009-05-01 Thread Sam Lai
Creepy. Although it's just a patent; there's no evidence it has been
implemented in Vista/7. Is there?

Personally, I'm more concerned about Google, given their primary
source of profit is advertising, and they store a substantial amount
of my email from the past 5 years, plus know nearly every search term
I've entered. Email plus search terms would be an enormous gold mine
for advertisers.

As for the last link - most of it exists in Mac and Linux (taking
Ubuntu as the representative here). Ubuntu knows every package you
have installed from their repos (along with when, your IP address)
thanks to HTTP headers. It wouldn't work without it. In Kubuntu
there's crash reporter that sends data off somewhere too.
Auto-updating exists in Ubuntu too. And CEIP's are in many apps these
days - including one you use, Eclipse. CEIPs are optional.

And for terado - that's how IPv4 to IPv6 translation works on every
platform. The time server has to come from somewhere too, and I don't
think time.nist.gov would be too happy if every Windows installation
pointed to that and overloaded their servers.

I could go on, but I think you should download and run Wireshark on
your OS. Watch what goes out over a few days; I think you'd be
surprised. OSes nowadays are designed to be connected, and
(unfortunately) HTTP was not designed to be anonymous.

P.S. I would love it if Ubuntu had a wizard in its install process
that sent lspci/lsusb to Ubuntu so they can tell me whether or not my
hardware will be fully supported, *before* I do the installation.

2009/5/1 Kelly :
>
>
> http://arstechnica.com/microsoft/news/2007/07/microsoft-patents-the-mother-of-all-adware-systems.ars
>
>
> http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PG01&p=1&u=%2Fnetahtml%2FPTO%2Fsrchnum.html&r=1&f=G&l=50&s1=%2220070157227%22.PGNR.&OS=DN/20070157227&RS=DN/20070157227
>
>
> http://news.softpedia.com/news/Forget-about-the-WGA-20-Windows-Vista-Features-and-Services-Harvest-User-Data-for-Microsoft-58752.shtml
>
>
> "The personal information we collect from you will be used by Microsoft and
> its controlled subsidiaries and affiliates..."
>
>
>
>
>
>
>
>
>
> Paul Andrews wrote:
>
> - Original Message -
>
> From: Kelly
> To: flexcoders@yahoogroups.com
> Sent: Friday, May 01, 2009 2:39 AM
> Subject: Re: [flexcoders] Re: Flex Builder on Linux been scrapped ?
>
> Microsoft deep scans your hard drives and transmits home.
>
> This is admitted in their patents.
>
> This is data mining on a level Orwell could never have imagined.
>
> What evidence do you have that MS is doing this and undermining the security
> of people who use their OS?
>
>
> 


RE: [flexcoders] Would anyone know what Capabilities.os shows for Windows 7 ?

2009-05-01 Thread Jim Hayes
Many thanks!

On reflection, I decided my approach was bad.
I changed it to specifically exclude 95 and 98/ME, but allow any thing
else with "Windows" in it.

Luckily, it seems it would pass on Windows 7 Beta Build 7000 !

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Sam Lai
Sent: 01 May 2009 10:39
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Would anyone know what Capabilities.os shows
for Windows 7 ?

Seeing as no one seems to have replied, I gave it a shot. In a Flex
app running in AIR, it just contains "Windows".

I'm running Windows 7 Beta Build 7000.

2009/4/30 Jim Hayes :
>
>
> I don't have a copy handy, and I'm doing some code on DVD that will
need to
> run for some years (hence I expect to cover windows 7).
>
>
>
> I realise that it may change, or not even be detected by flash player
at the
> moment, but any clue is better than none!
>
>
>
> Many thanks in advance,
>
>
>
> Jim.
>
> __
> This communication is from Primal Pictures Ltd., a company registered
in
> England and Wales with registration No. 02622298 and registered
office: 4th
> Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA,
UK.
> VAT registration No. 648874577.
>
> This e-mail is confidential and may be privileged. It may be read,
copied
> and used only by the intended recipient. If you have received it in
error,
> please contact the sender immediately by return e-mail or by
telephoning
> +44(0)20 7637 1010. Please then delete the e-mail and do not disclose
its
> contents to any person.
> This email has been scanned for Primal Pictures by the MessageLabs
Email
> Security System.
> __
>
>
> 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-
1e62079f6847
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links




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

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


Re: [flexcoders] Would anyone know what Capabilities.os shows for Windows 7 ?

2009-05-01 Thread Sam Lai
Seeing as no one seems to have replied, I gave it a shot. In a Flex
app running in AIR, it just contains "Windows".

I'm running Windows 7 Beta Build 7000.

2009/4/30 Jim Hayes :
>
>
> I don’t have a copy handy, and I’m doing some code on DVD that will need to
> run for some years (hence I expect to cover windows 7).
>
>
>
> I realise that it may change, or not even be detected by flash player at the
> moment, but any clue is better than none!
>
>
>
> Many thanks in advance,
>
>
>
> Jim.
>
> __
> This communication is from Primal Pictures Ltd., a company registered in
> England and Wales with registration No. 02622298 and registered office: 4th
> Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK.
> VAT registration No. 648874577.
>
> This e-mail is confidential and may be privileged. It may be read, copied
> and used only by the intended recipient. If you have received it in error,
> please contact the sender immediately by return e-mail or by telephoning
> +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its
> contents to any person.
> This email has been scanned for Primal Pictures by the MessageLabs Email
> Security System.
> __
>
>
> 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

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



[flexcoders] Error with Flex Builder

2009-05-01 Thread christophe_jacquelin
Hello, 

I have installed Flex Builder on a new computer.

When I want to compile a simple application I have the following error :

Windows - No Disk
Exception Processing Message 0xC013

Thank you for your help.
Christophe, 



RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-05-01 Thread Gregor Kiddie
Hang on, now I'm confused...

Does this code result in a weak reference binding?

 



 

I was always led to believe it wouldn't.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Alex Harui
Sent: 28 April 2009 21:24
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy?

 






A weak reference listener is attached to myAc.  It shouldn't matter what
its type is (as long as it isn't XML).  The selectedChild of a ViewStack
will have a reference to the ModuleLoader child which should have a
reference to the module.  Not sure how you are attempting to unload that
module, but once that gets cleaned up, the module should go away.  The
profiler should help you see what is hanging onto the module.

 

The profiler should also give you good info on who's hanging onto the
editable copy.

 

Are you comfortable with working with the Profiler?  Have you looked at
the profiler "tutorial" on my blog?

 

Alex Harui

Flex SDK Developer

Adobe Systems Inc.  

Blog: http://blogs.adobe.com/aharui  

 



RE: [flexcoders] Adding text to Cursor: Dilemma

2009-05-01 Thread Kenneth Sutherland
Have you checked out the SystemManager, it keeps track of all the
various layers such as tooltips, cursors, popup windows.  If I remember
correctly the topmost level is the tooltips and although the docs
suggest that you can only have 1 tooltip, this is incorrect.

If you made your hovering object implement the IToolTip then you could
just add it by doing something like,

var sm:ISystemManager = Application.application.systemManager;

sm.toolTipChildren.addChild(yourObject);

 

That way it's always top (apart from other tooltips create after your
one) and if you don't require it, just remove it.

If you need it to be on top of other tooltips you just need to use the
setChildIndex whenever another tooltip is generated (put in listeners on
the systemmanager for tooltip events, make sure useCapture is TRUE ).
Again it's been a while since I looked at it, but if I remember
correctly the H & V Sliders do not fire of the tooltip events when they
display the datatip (which is a tooltip). So that's something to look
out for.

 

HTH Kenneth.

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of flexaustin
Sent: 01 May 2009 06:45
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding text to Cursor: Dilemma

 






So I need to add a hover over when I mouse over and object on the stage.
My issue is that I am using a framework that creates these objects and
puts them on a displaylist randomly so they are in no certain order. I
tried putting the hover over on the object but sometimes these object
overlap so my hover is behind some of the objects. I can't bring my
hovered object to the front/top because it has to remain behind a few
items. Probably confused you there, but just no hover over on the actual
moused over object isn't possible.

So I am thinking my two options are create a cursor that has a dynamic
textfield. Or create a floating text field on the main stage that will
turn on or off depending if I am hovering. I prefer the cursor version
but the issue is I don't want the text to count as part of the mouse
when moving around as text in the hover could be quite long thus
hovering over two objects at once.

Suggestions?



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