[flexcoders] Re: How can detect Flash setting manager popup?

2009-07-08 Thread wjacker2
Awesome Kaspar, that's really help me. Thanks.

--- In flexcoders@yahoogroups.com, "kaspar.luethi"  wrote:
>
> the sad truth is: you can't, except when using a workaround.
> 
> register and vote:
> http://bugs.adobe.com/jira/browse/FP-41
> 
> trick is to try to write bitmap data to the stage, which is forbidden when 
> security dialog is open.
> 
> you cannot detect when and what was changed, though.
> 
> in my case it did not help, since in some cases i have a video shown, where i 
> do not have bitmap access - so access to stage is forbidden then to.
> 
> maybe there is another workaround for this?
> 
> there is also the microphone.muted property you can check if access to mic is 
> allowed.
> 
> k.
>  
>  
> p.s.
> public class SettingsWatcher extends Sprite
> {
>   private var dummyBitmap:BitmapData = new BitmapData(1, 1);
>   private var drawObject:IBitmapDrawable;
>   private var open:Boolean = false;
>   private var triggered:Boolean   =   false;
>   
>   public function SettingsWatcher(stage:IBitmapDrawable):void {
>   drawObject = stage;
>   var timer:Timer =   new Timer(500);
>   timer.addEventListener("timer", onTimer);
>   timer.start();
>   }
> 
>   public function isOpen():Boolean {
>   return open;
>   }
> 
>   public function isTriggered():Boolean   {
>   return triggered;
>   }
> 
>   public function setTriggered(value:Boolean):void {
>   triggered   =   value;
>   }
>   
>   public function onTimer(event:TimerEvent):void {
>   try {
>   dummyBitmap.draw(drawObject);
>   if(open) {
>   dispatchEvent(new   
> Event("SecurityDialogClosed"));
>   }
>   open = false;
>   }   catch   (error:Error)   {
>   open = true;
>   }
>   }
> }
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "wjacker2"  wrote:
> >
> > Hi All,
> > 
> > I write a flex application embed to our website,in the flex application 
> > will used microphone.this flex will be show on the web when the flash 
> > setting manager displayed,in the other time it will be hide out.but i can 
> > not find a way for detect flash setting manager popup from search on 
> > google.i write a flag for mark when i used microphone first time, it looks 
> > fine until user select the Rember checkBox in the flash setting manager 
> > panel.In that case next time for visit the website the flash setting 
> > manager not display anymore because flash player already rember user's 
> > selection.
> > 
> > very appreciate any feedback.
> > 
> > Thanks,
> > Jack
> >
>




RE: [flexcoders] Flex 4 System Manager idle threshold

2009-07-08 Thread Alex Harui
I don't see an easy way to change it.  Probably have to monkey-patch it

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 superabe superabe
Sent: Wednesday, July 08, 2009 5:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 4 System Manager idle threshold





Is there a way to change the "idle time threshold" for the Flex 4 
SystemManager. ?

I'd like to change the idle time to be 2 seconds but the value seems to be read 
from a private static const in SystemManager and set to a default of 1 second?

TIA,

superabe



[flexcoders] Re: dynamic image gallery

2009-07-08 Thread stinasius
hi i have changed the dataprovider of the gallery from an array to an 
arraycollection, what an trying to archive is that when someone clicks on the 
list a different set of images is loaded in the gallery, that mean i would like 
to update the arraycollection with a new set of images when an item in the list 
is clicked. i still have failed to get the images to load dynamically but when 
i hard-code the image path in the collection the images loaded. but i think am 
making progress but i need help on what to do to update the collection with 
dynamic image paths. here is my new code.

"gallery.mxml"


http://www.adobe.com/2006/mxml"; layout="absolute" 
xmlns:ns1="components.*">








{imgid_home.text}


 
 



{dataAr1.getItemAt(0).img1}
{dataAr1.getItemAt(0).img2}
{dataAr1.getItemAt(0).img3}
{dataAr1.getItemAt(0).img4}


   


   




assets/homeprofile_pics/extra_pics/{homeImages.img4}



"imageName.mxml"


http://www.adobe.com/2006/mxml"; dataProvider="{dataAr}" 
labelField="location" creationComplete="Init()" change="ClickEventHandler()" 
selectedIndex="0">





 




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



"imgGallery.mxml"


http://www.adobe.com/2006/mxml"; width="100%" height="100%">



  











"Thumbnail.mxml"



http://www.adobe.com/2006/mxml"; 
width="100" height="110"
paddingTop="0" paddingBottom="0"
verticalScrollPolicy="off" horizontalScrollPolicy="off"
verticalGap="0" horizontalAlign="center" >  




  







[flexcoders] Re: Nested Objects with webORB PHP

2009-07-08 Thread raja_s_patil
thanks valdhor

>
> Just treat them as you normally would. WebORB's serialization/deserialization 
> should take care of everything for you.
> 
> I have used nested objects (Or objects containing other objects) when sending 
> from PHP to Flex. I have not done it the other way but would expect it to 
> work the same.
> 

Well i tried PHP to Flex successfully works nicely.
but Flex to PHP receives Object as VOPurchase order but
following code causes some problem

$arr = array();
foreach($voPO as $key => $val)
{
$arr[$key] = $val;
}

return $arr;

I suspect that object sent and received from flex is not exactly 
same as object voPO created natively in PHP. B'coz same code works
fine if i create it just above the $arr statement and returns
array to flex nicely. But when I try to do with parameter 
received from flex "channel disconnect" error is reported.

>
> If you are having problems try seeing exactly what you are sending/receiving 
> with Charles (http://www.charlesproxy.com).
> 

Thanks for the link. But its a commercial project any free
or open source utility (win/lin) such as charles ? 

Thanks and best regards

Raja




[flexcoders] How to link effects so that one starts after one finishes?

2009-07-08 Thread gmoniey22
I have two components, and I want to swap between them using wipe down/up. i.e. 
click a button, the visible panel slides down, and after that panel is no 
longer visible, the other panel slides up and takes its place.

I have tried something like the following (please excuse the crude example), 
but the effects occur at the same time, and it doesn't look that good.


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


















[flexcoders] Possible to change the Fill Color for ColumnSeries on itemRollOver?

2009-07-08 Thread gmoniey22
Is it possible to change the fill color of 1 column when the mouse is over it? 
I can't seem to figure it out I have something along these lines:







   



   




And my hover function looks like:

private function updateHoverColor(event:ChartItemEvent):void {  

   var col:ColumnSeriesItem = ColumnSeriesItem(event.hitData.chartItem);
   col.fill =  hoverBarColor;
}

Unfortunately, nothing happens. No errors are thrown, but the color of the 
column which is being hovered over is not changed.

I also tried adding the mouseOver/rollOver callbacks to the ColumnSeries, and 
used a function as such:

private function updateHoverColor(event:ChartItemEvent):void {
   event.target.setStyle("fill", hoverBarColor);
}

but that resulted in the color of all of the columns to change.

Anyone have any ideas?

Thanks!




[flexcoders] Flex 4 System Manager idle threshold

2009-07-08 Thread superabe superabe
Is there a way to change the "idle time threshold" for the Flex 4
SystemManager. ?

I'd like to change the idle time to be 2 seconds but the value seems to be
read from a private static const in SystemManager and set to a default of 1
second?

TIA,

superabe


[flexcoders] 3.3 API confusion

2009-07-08 Thread Brian Sterling
I'm confused.

The livedocs show a new addAll() method in ListCollectionView:

  
http://livedocs.adobe.com/flex/3/langref/mx/collections/ListCollectionView.html#addAll()

However, even after installing SDK 3.3 from

  http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk

, I was unable to to use it.  Also, the source in the 3.3 SDK does not show it.

So I decided to download the latest documentation from the "Complete Flex 3 
documentation" section on

  http://www.adobe.com/support/documentation/en/flex/

to compare.  The language reference in the download does NOT have the addAll() 
method, and in addition, it is marked as version 3.2!

Is there some place to find the documentation corresponding to the last stable 
release, which is 3.3?  Or am I missing something?

Thanks,
Brian

PS:  To add to my list of problems, the Yahoo Group search is only showing 
results up through mid-March.



Re: [flexcoders] mx:DataGridColumn

2009-07-08 Thread Richard Rodseth
You mean something like:


  [Bindable]
  public var columnName:String;


http://www.adobe.com/devnet/flex/quickstart/using_data_binding/

On Wed, Jul 8, 2009 at 2:05 PM, ram ramesh  wrote:

>
>
> Hi,
> I need to implement the below concpet.
> The value for "headerText" of  mx:DataGridColumn should be a dynamic value
> from Action Script setting variable.
> Any sample code please send to me
>
>
>
>  
>


RE: [flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-08 Thread Alex Harui
You can fake a link-report or use compiler options to exclude any class you 
want.

In Flex3 ResourceMgr is baked into frame1 so it will be linked in.  In Flex4 it 
wont.  If you're not shipping until after October or so, you might want to move 
to Flex 4.

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 Dan
Sent: Wednesday, July 08, 2009 3:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Horrible... 3 seconds initialization time for the 
first frame? Frustrated





One more question, the ResourceManager are new element in Flex3, what if we 
don't want that (we have our own language bundle) can we removed that? As from 
the rpt file, there are so many new classes introduced in Flex 3, is there any 
compilation arguement have to be set, from livedocs, it seems even we set the 
language to null, by default it set as us_en.

Dan

--- In flexcoders@yahoogroups.com, "Dan" 
 wrote:
>
> Hi Alex,
>
> Thanks, then my question is, can the classes in Frame1 of a Module be 
> offloaded to RSL or by Link-Report?
>
> My applications are using nearlly hundred of Module, maybe due to what you 
> mentioned about Frame1 class cannot be offloaded, Flex 3 has much more 
> classes in Frame1 then in Flex 2. In Flex 2, some of the Modules of my 
> application has only a few bytes, but in Flex 3, they become 4 TIME LARGER!!!
>
> So, even a Module Frame1 code cannot be offLoaded? (These classes should be 
> in the application already...) That is quite a bad news, as the total Modules 
> size of the application now has nearlly DOUBLE for nothing...
>
> Any good suggestion?
>
> Regards
> Dan
>
> --- In flexcoders@yahoogroups.com, Alex 
> Harui  wrote:
> >
> > What goes on in server communications is not my area. Try posting again 
> > with RPC or AMF in the subject. It might then get read by those experts.
> >
> > I thought utility.swc got folded into framework.swc as well. Flex.swc is 
> > for folks not using the UI framework.
> >
> > Any classes used in Frame1 cannot be offloaded to the RSL. We did some 
> > refactoring in Flex4 so more classes can get offloaded to the RSL.
> >
> > Anything you don't need at startup should be in a module that gets loaded 
> > later.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com] On 
> > Behalf Of Dan
> > Sent: Tuesday, July 07, 2009 1:51 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Horrible... 3 seconds initialization time for the 
> > first frame? Frustrated
> >
> >
> >
> >
> >
> > Hi,
> >
> > First of all, thanks for your response!
> > Thanks for reminding about the progressive download, I think the 3 seconds 
> > is still to that response time which I mislead by the Charles figure and 
> > think that it already downloaded.
> >
> > But there is still one thing that delay the first AMF call. I noticed there 
> > is an unknown amfsecure (yes, i am using https) call before any amfsecure 
> > call issue, and it make a one second delay. Is that for estabishing the 
> > channel? Anyway to improve this?
> >
> > Cached framework for framework.swz, rpc.swz and datavisualization has been 
> > used. BTW, why signed library for utility.swc and flex.swc are not 
> > available, because they are too small???
> >
> > Last but not least, is it true that , some of the class like RSLItem from 
> > Adobe, even we use link-report, cannot be removed from a swf? Cause with an 
> > parent application with hundreds of modules to load, that small amount of 
> > depulication in modules means a great issue in terms of total bandwitdh 
> > cost..
> >
> > Regards
> > Dan
> >
> > --- In 
> > flexcoders@yahoogroups.com,
> >  Alex Harui  wrote:
> > >
> > > Using the cached framework should help.
> > >
> > > If you test from FlexBuilder you may not get correct streaming. Try 
> > > testing using http: instead of file:
> > >
> > > Also, there is a bug if you use # in the URL. It blocks streaming of the 
> > > SWF and delays startup time. Do you see a progress bar at all?
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: 
> > > flexcoders@yahoogroups.com
> > >  
> > > [mailto:flexcoders@yahoogroups.com]
> > >  On Behalf Of Dan
> > > Sent: Monday, July 06, 2009 8:56 PM
> > > To: 
> 

Re: [flexcoders] "undefined" in stack trace (Console), stack overflow

2009-07-08 Thread Erik de Bruin
Hi,

Thanks for your swift reply.

I did a check to see if what you suggest might be the case, by
inserting a trace() in all the event dispatch and handler functions,
but nowhere in the chain does this type of recursion occur.

I do however see that the entire chain is run dozens of times, while
the data structure is build from the data in the database. But this is
expected behavior, and the case remains that this code functions
flawlessly in the online version (again, build from the same
codebase).

Any suggestions on how to proceed with debugging, as well as why the
stack trace shows a single final line with only the word "undefined"
in it, are much apreciated.

Regards,

EdB

On Wed, Jul 8, 2009 at 5:44 PM, thomas
parquier wrote:
>
>
> You may have one type of event (A) handled in a function which dispatches
> another type of event (B) handled in a function which dispatches an event of
> type A. If dispatching occurs before handler functions return you may get a
> stack overflow.
>
> thomas
> ---
> http://www.web-attitude.fr/

> msn : thomas.parqu...@web-attitude.fr
> softphone : sip:webattit...@ekiga.net
> téléphone portable : +33601 822 056
>
>
> 2009/7/8 erikdebruin_nl 
>>
>>
>> Hi,
>>
>> I've Googled me senseless, but I can't find a clue to my latest problem:
>>
>> When I run my application in the browser, all is fine. When the same app
>> in AIR (we've build it so the same codebase is shared between on- and
>> offline versions), I get an exception and the last line in the stack trace
>> (as shown in the Console) reads "undefined". The error dialog the player
>> throws up (after clicking on the "Resume (F8)" button in the debug
>> perspective) tells me a "stack overflow" happened.
>>
>> The "funny" thing is, when I disable the code that seems to be the cause
>> (taking my clues from the stack trace), the problem remains, but the stack
>> trace tells me another line is the problem... and so on and on.
>>
>> Google tells me that a stack overflow mostly has to do with rampant
>> recursion, but my app doesn't use recursion anywhere. It does however use a
>> lot of event chains. Do these count as "recursion"?
>>
>> What does it mean that the last line of the stack trace reads "undefined"?
>>
>> Any suggestions about further debugging my problem are very welcome!
>>
>> Thanks in advance,
>>
>> EdB
>>
>
> 



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


[flexcoders] best way to summarize and display data

2009-07-08 Thread Ramsey, Robert L
Hi,

I'm trying to think of the best way to let a user summarize and display data.  
The data is in xml format and looks like this(simplified some):




Foo
01-01-2009
Alice


Foo
01-02-2009
Alice


Foo
01-01-2009
Bob


Bar
01-01-2009
George


Bar
01-02-2009
Alice


Bar
01-03-2009
Alice


Foo
01-05-2009
Eve


Spaz
01-01-2009
Eve



What I think I want is a four column advanceddatagrid in tree view.  The first 
column would contain the "group"  and the other three would just be name, date, 
user.  There would be three buttons, each with a different grouping.  So if I 
click the Name button, it would look something like this:

Group   NameDate  User
Foo
>  Foo01-01-2009  Alice
Foo01-02-2009  Alice
Foo01-01-2009  Bob
Foo01-05-2009  Eve
Bar
>  Bar 01-01-2009  George
Bar 01-02-2009  Alice
Bar 01-03-2009  Alice
Spaz
>  Spaz   01-01-2009  Eve


If the user clicked the Date button it would look like:
Group   NameDate  User
01-01-2009
>  Foo01-01-2009  Alice
Foo01-01-2009  Bob
Bar 01-01-2009  George
Spaz   01-01-2009  Eve


And so forth.  Each grouping would be collapsible since it is in tree view.  
Does anyone have any pointers on the best way to do this?

Thanks,

Bob





[flexcoders] mx:DataGridColumn

2009-07-08 Thread ram ramesh
Hi,
I need to implement the below concpet.
The value for "headerText" of  mx:DataGridColumn should be a dynamic value from 
Action Script setting variable.
Any sample code please send to me


  

Re: [flexcoders] Re: Fishbone Chart/Ishikawa Chart

2009-07-08 Thread Pedro Sena
I will take a look at Degrafa.

The link is very interesting.

Thanks for the feedback.

PS

On Wed, Jul 8, 2009 at 1:30 PM, Richard Rodseth  wrote:

>
>
> Also take a look at Degrafa. And I recently saw this:
>
> http://www.insideria.com/2009/07/axiis---an-introduction-and-tu.html
>
>
> On Wed, Jul 8, 2009 at 8:55 AM, valdhor wrote:
>
>>
>>
>> I don't know of anything available at this time.
>>
>> You may like to make a suggestion to ILOG (
>> http://www.ilog.com/products/ilogelixir/) and/or Fusion (
>> http://www.fusioncharts.com/flex/) to add this type of chart.
>>
>> Best Regards
>>
>> Steve
>>
>>
>> --- In flexcoders@yahoogroups.com , Pedro
>> Sena  wrote:
>> >
>> > Someone? :(
>> >
>> > On Mon, Jul 6, 2009 at 5:37 PM, Pedro Sena  wrote:
>> >
>> > > Hi Guys,
>> > >
>> > > I need to develop a fishbone(Ishikawa) chart .
>> > >
>> > > I would like to know if someone already did it and can point me some
>> > > resource/link, even paid softwares I'm accepting.
>> > >
>> > > I could generate it in PHP also, if it's not available in flex.
>> > >
>> > > Create 'by hand' such a chart would be very complicated, I suppose.
>> > >
>> > > Thanks for your time,
>> > >
>> > > --
>> > > /**
>> > > * Pedro Sena
>> > > * Systems Architect
>> > > * Sun Certified Java Programmer
>> > > * Sun Certified Web Component Developer
>> > > */
>> > >
>> >
>> >
>> >
>> > --
>> > /**
>> > * Pedro Sena
>> > * Systems Architect
>> > * Sun Certified Java Programmer
>> > * Sun Certified Web Component Developer
>> > */
>> >
>>
>>
>  
>



-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/


Re: [flexcoders] Re: Fishbone Chart/Ishikawa Chart

2009-07-08 Thread Richard Rodseth
Also take a look at Degrafa. And I recently saw this:

http://www.insideria.com/2009/07/axiis---an-introduction-and-tu.html

On Wed, Jul 8, 2009 at 8:55 AM, valdhor  wrote:

>
>
> I don't know of anything available at this time.
>
> You may like to make a suggestion to ILOG (
> http://www.ilog.com/products/ilogelixir/) and/or Fusion (
> http://www.fusioncharts.com/flex/) to add this type of chart.
>
> Best Regards
>
> Steve
>
>
> --- In flexcoders@yahoogroups.com , Pedro
> Sena  wrote:
> >
> > Someone? :(
> >
> > On Mon, Jul 6, 2009 at 5:37 PM, Pedro Sena  wrote:
> >
> > > Hi Guys,
> > >
> > > I need to develop a fishbone(Ishikawa) chart .
> > >
> > > I would like to know if someone already did it and can point me some
> > > resource/link, even paid softwares I'm accepting.
> > >
> > > I could generate it in PHP also, if it's not available in flex.
> > >
> > > Create 'by hand' such a chart would be very complicated, I suppose.
> > >
> > > Thanks for your time,
> > >
> > > --
> > > /**
> > > * Pedro Sena
> > > * Systems Architect
> > > * Sun Certified Java Programmer
> > > * Sun Certified Web Component Developer
> > > */
> > >
> >
> >
> >
> > --
> > /**
> > * Pedro Sena
> > * Systems Architect
> > * Sun Certified Java Programmer
> > * Sun Certified Web Component Developer
> > */
> >
>
>  
>


[flexcoders] Re: "undefined" in stack trace (Console), stack overflow (2nd try)

2009-07-08 Thread valdhor
A co-worker had the same error the other day (In the web application though, 
not in AIR): Stack Overflow.

In his case it turned out to be "rampant" events. He made sure to use 
event.stopImmediatePropagation() when the event was no longer required to 
bubble and the error went away.

This may not fix your problem but it is well worth doing.


HTH.


Steve



--- In flexcoders@yahoogroups.com, "erikdebruin_nl" 
 wrote:
>
> Hi,
> 
> I've Googled me senseless, but I can't find a clue to my latest problem:
> 
> When I run my application in the browser, all is fine. When the same app in 
> AIR (we've build it so the same codebase is shared between on- and offline 
> versions), I get an exception and the last line in the stack trace (as shown 
> in the Console) reads "undefined". The error dialog the player throws up 
> (after clicking on the "Resume (F8)" button in the debug perspective) tells 
> me a "stack overflow" happened. 
> 
> The "funny" thing is, when I disable the code that seems to be the cause 
> (taking my clues from the stack trace), the problem remains, but the stack 
> trace tells me another line is the problem... and so on and on.
> 
> Google tells me that a stack overflow mostly has to do with rampant 
> recursion, but my app doesn't use recursion anywhere. It does however use a 
> lot of event chains. Do these count as "recursion"?
> 
> What does it mean that the last line of the stack trace reads "undefined"?
> 
> Any suggestions about further debugging my problem are very welcome!
> 
> Thanks in advance,
> 
> EdB
>




[flexcoders] Re: Fishbone Chart/Ishikawa Chart

2009-07-08 Thread valdhor
I don't know of anything available at this time.

You may like to make a suggestion to ILOG 
(http://www.ilog.com/products/ilogelixir/) and/or Fusion 
(http://www.fusioncharts.com/flex/) to add this type of chart.


Best Regards




Steve

--- In flexcoders@yahoogroups.com, Pedro Sena  wrote:
>
> Someone? :(
> 
> On Mon, Jul 6, 2009 at 5:37 PM, Pedro Sena  wrote:
> 
> > Hi Guys,
> >
> > I need to develop a fishbone(Ishikawa) chart .
> >
> > I would like to know if someone already did it and can point me some
> > resource/link, even paid softwares I'm accepting.
> >
> > I could generate it in PHP also, if it's not available in flex.
> >
> > Create 'by hand' such a chart would be very complicated, I suppose.
> >
> > Thanks for your time,
> >
> > --
> > /**
> > * Pedro Sena
> > * Systems Architect
> > * Sun Certified Java Programmer
> > * Sun Certified Web Component Developer
> > */
> >
> 
> 
> 
> -- 
> /**
> * Pedro Sena
> * Systems Architect
> * Sun Certified Java Programmer
> * Sun Certified Web Component Developer
> */
>




[flexcoders] How to set TileList autoscroll sensitivity during drag and drop live scrolling

2009-07-08 Thread flexwdw
Hey all,

I have a TileList with rather large tiles and a sometimes small view.  At 
times, this means that only two rows are shown in the tile list view.  I need 
the functionality to drag and drop items in the tile list for sorting.  

The problem is that the sensitivity of the live scrolling in the TileList 
during drag and drop is extreme.  I can't drag in between rows at all without 
the list scrolling all the way to the bottom.  

So, I need to adjust this sensitivity.  I do not see anything in the docs 
related to this.  I was hoping it was basing it's calculation on the size of 
the drag source.  Making it smaller didn't have an effect.  I am assuming I'm 
going to have to override and re-implement something in TileList to fix this.  
That's a really lousy solution from a maintainability perspective.  Is there a 
way to set this I'm not seeing?

thanks!  



Re: [flexcoders] "undefined" in stack trace (Console), stack overflow

2009-07-08 Thread thomas parquier
You may have one type of event (A) handled in a function which dispatches
another type of event (B) handled in a function which dispatches an event of
type A. If dispatching occurs before handler functions return you may get a
stack overflow.

thomas
---
http://www.web-attitude.fr/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net 
téléphone portable : +33601 822 056


2009/7/8 erikdebruin_nl

>

>
>
> Hi,
>
> I've Googled me senseless, but I can't find a clue to my latest problem:
>
> When I run my application in the browser, all is fine. When the same app in
> AIR (we've build it so the same codebase is shared between on- and offline
> versions), I get an exception and the last line in the stack trace (as shown
> in the Console) reads "undefined". The error dialog the player throws up
> (after clicking on the "Resume (F8)" button in the debug perspective) tells
> me a "stack overflow" happened.
>
> The "funny" thing is, when I disable the code that seems to be the cause
> (taking my clues from the stack trace), the problem remains, but the stack
> trace tells me another line is the problem... and so on and on.
>
> Google tells me that a stack overflow mostly has to do with rampant
> recursion, but my app doesn't use recursion anywhere. It does however use a
> lot of event chains. Do these count as "recursion"?
>
> What does it mean that the last line of the stack trace reads "undefined"?
>
> Any suggestions about further debugging my problem are very welcome!
>
> Thanks in advance,
>
> EdB
>
>  
>


[flexcoders] Re: setStyle not valid

2009-07-08 Thread Tim Hoff

styleLabel.setStyle("fontSize", 72);
-TH

--- In flexcoders@yahoogroups.com, j2me_soul  wrote:
>
> I try to change the style at runtime
>
> 
> 
>
> private function butClickHandler(event:MouseEvent):void
> {
> /* it doesn't work */
> styleLabel.setStyle("font-size", 72);
> }
>



[flexcoders] Re: Establishing a AMF Secure connection need 1 second delay!!!?

2009-07-08 Thread valdhor
I don't use secure communications (My applications are deployed in an intranet) 
but I just had a look at my communications in Charles.

On startup I create two remote objects that call a total of three remote 
methods. Each remote object sends a "Command Message" of 2.3KB which takes 
160ms. The first RO makes two calls which takes 288ms and uses a total of 
8.1KB. The second RO makes a single call which takes 369ms and uses a total of 
2.5KB.

By my reckoning that is 977ms for 15.2KB of data. One thing I don't know is if 
each RO call is made concurrently. If so (And I believe it is) then the max 
time taken for all calls is 529ms.

Perhaps it is something else going on in your application? Can you create a 
test case that shows the delay?


Best Regards




Steve


--- In flexcoders@yahoogroups.com, "Dan"  wrote:
>
> Hi,
> 
> Does anyone notice that it takes nearlly ONE second for the first AMF or 
> AMFsecure call to establish? Is there way to make this time shorter?
> 
> The observation is from when the swf is loaded, imediately a amfsecure A' 
> call is made, from a Charles proxy, there is another unknown amfsecure call 
> before that and has a one second delay before the A' really emit.
> 
> Regards
> Dan
>




[flexcoders] Re: Accesing Webservices behind Firewall

2009-07-08 Thread valdhor
So long as the server hosting WebORB can access the Web Service behind the 
firewall, then you can use WebORB.

Just download the latest version of WebORB.


--- In flexcoders@yahoogroups.com, "vin.flex"  wrote:
>
> Hi there,
> 
> I have developed a Flex app with .NET webservices as the
> backend. Webservices are deployed beind firewall. How can I access
> those webservices from my client side Flex app.
> 
> Can I access using proxie using Weborb? If so what is the edition I
> need to use. Can any body guide me in this issue?
> 
> thanks
> vin
>




Re: [flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-08 Thread Anatole Tartakovsky
Dan,   The classes explicitly referenced in SystemManager are always linked
in the first frame. That said, given the fact that you have open source SDK,
you can play quite a few tricks on Flex/linker.
First, if you are loading in the application domain you can place your own
SystemManager of ~0 size with no references in your modules code hence
removing all the baggage you are complaining about.
Second, on
RSLItem and more importantly on RSLItemsLoader classes - you can
implement modifications in the source code to minimize number of
server requests for RSLs already loaded, do multistreaming in some
cases and customize loading process in runtime to your liking.
You are on open source platform - anything goes.

I believe some of these tricks are documented in application performance
chapter in our upcoming flex book from oreilly - should be out soon.
Regards
Anatole Tartakovsky
Farata Systems



On Wed, Jul 8, 2009 at 12:46 AM, Alex Harui  wrote:

>
>
>  What goes on in server communications is not my area.  Try posting again
> with RPC or AMF in the subject.  It might then get read by those experts.
>
>
>
> I thought utility.swc got folded into framework.swc as well.  Flex.swc is
> for folks not using the UI framework.
>
>
>
> Any classes used in Frame1 cannot be offloaded to the RSL.  We did some
> refactoring in Flex4 so more classes can get offloaded to the RSL.
>
>
>
> Anything you don’t need at startup should be in a module that gets loaded
> later.
>
>
>
> 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 *Dan
> *Sent:* Tuesday, July 07, 2009 1:51 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Re: Horrible... 3 seconds initialization time for
> the first frame? Frustrated
>
>
>
>
>
>
>  Hi,
>
> First of all, thanks for your response!
> Thanks for reminding about the progressive download, I think the 3 seconds
> is still to that response time which I mislead by the Charles figure and
> think that it already downloaded.
>
> But there is still one thing that delay the first AMF call. I noticed there
> is an unknown amfsecure (yes, i am using https) call before any amfsecure
> call issue, and it make a one second delay. Is that for estabishing the
> channel? Anyway to improve this?
>
> Cached framework for framework.swz, rpc.swz and datavisualization has been
> used. BTW, why signed library for utility.swc and flex.swc are not
> available, because they are too small???
>
> Last but not least, is it true that , some of the class like RSLItem from
> Adobe, even we use link-report, cannot be removed from a swf? Cause with an
> parent application with hundreds of modules to load, that small amount of
> depulication in modules means a great issue in terms of total bandwitdh
> cost..
>
> Regards
> Dan
>
> --- In flexcoders@yahoogroups.com , Alex
> Harui  wrote:
> >
> > Using the cached framework should help.
> >
> > If you test from FlexBuilder you may not get correct streaming. Try
> testing using http: instead of file:
> >
> > Also, there is a bug if you use # in the URL. It blocks streaming of the
> SWF and delays startup time. Do you see a progress bar at all?
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com  [mailto:
> flexcoders@yahoogroups.com ] On Behalf Of
> Dan
> > Sent: Monday, July 06, 2009 8:56 PM
> > To: flexcoders@yahoogroups.com 
> > Subject: [flexcoders] Horrible... 3 seconds initialization time for the
> first frame? Frustrated
> >
> >
> >
> >
> >
> > Hi,
> >
> > Does anyone have any idea on why it takes nearlly 3 to 4 seconds after a
> swf completely downloaded, is it SystemManager initialized and go to the
> second frame of the movie?
> >
> > It is such a great penality for an web application.
> > Should I put tasks, such as automatic login to the preloader, in order to
> shorten this penality period??? Otherwise, no matter whatever tuning
> techique flexcoders applied, the Adobe penality is still too great.
> >
> > I understand there should be initialization time, and that may depends on
> the client machine configuration. However, for a simplest swf with an
>  tag only mxml, a log is being output on the onEnterFrame
> event, it already takes 3 to 4 seconds for the first log after the swf
> complete download, (time logged from Charles), it is so frustrated...
> >
> > Does it means that we have no way for a faster response time if we choose
> Flex? (Didn't mention about the download time for swf already...)
> >
> > Anyone can help?
> > Dan
> >
>
>   
>


Re: [flexcoders] Re: Flash MiniBuilder: online AS3 IDE

2009-07-08 Thread Victor
Yes, quite a few things were fixed, but the verify error seem to come from an 
older version of FlashPlayer
The app needs Player 10, as it uses Vector and lots of other new features.

Please comment on my blog if you are interested in the project, I'll be off 
this list, it has too much activity for me.

About plans, planty of plans. But I'll not venture to make it public as I don't 
know how much time I'll have.
At a minimum, anyone will be able to install it on his blog to show his AS3 
examples in an interractive way.

Best regards,
Victor
http://www.victordramba.com/






From: Sam Lai 
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 8, 2009 6:58:24 AM
Subject: Re: [flexcoders] Re: Flash MiniBuilder: online AS3 IDE





I guess Victor fixed a few things after you tried it valdhor, because
it works fine for me. I'm using Chrome and I believe the release
player though, so that might be why.

Pretty cool, would be nice to have a bit more response from the
compiler when compiling though.

What are the big plans for this, apart from being a cool proof of concept?

2009/7/8 valdhor :
>
>
> On going to that page I get...
>
> VerifyError: Error #1033: Cpool entry 58 is wrong type.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ TextArea_ disabledImage is not defined.
> ReferenceError: Error #1065: Variable OrangeLookAndFeel_ Button_defaultIm age
> is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ TableHeader_ cell_rolloverIma ge is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ Frame_maximizeIc on_rolloverImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ SplitPane_ arrowUp_defaultI mage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ TabbedPane_ arrowRight_ rolloverImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ ScrollBar_ arrowLeft_ disabledImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ ScrollBar_ thumbVertical_ iconDisabledImag e is not 
> defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ SplitPane_ arrowLeft_ rolloverImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ RadioButton_ pressedImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ TabbedPane_ closeButton_ pressedImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ ToggleButton_ pressedImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ Frame_maximizeIc on_defaultImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ ProgressBar_ horizotalFGImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ TextField_ uneditableImage is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ SplitPane_ arrowRight_ defaultImage is not defined.
> ReferenceError: Error #1065: Variable OrangeLookAndFeel_ System_hResizeCu rsor
> is not defined.
> ReferenceError: Error #1065: Variable
> OrangeLookAndFeel_ CheckBox_ disabledImage is not defined.
>
> plus hundreds more.
>
> I finally gave up.
>
> --- In flexcod...@yahoogro ups.com, "Victor D."  wrote:
>>
>> This project, currently named ActionScript MiniBuilder, features
>> code assist (code completion) for ActionScript 3 and compilation of
>> one-file AS3 SWF. It runs in your browser, you only need Flash Player
>> 10 and Java. The code assist part is written in pure ActionScript. The
>> compiler runs in a Java applet.
>>
>> Check it out:
>> http://www.victordramba.com/?p=31
>>
>
>
> 

   


  

[flexcoders] "undefined" in stack trace (Console), stack overflow

2009-07-08 Thread erikdebruin_nl
Hi,

I've Googled me senseless, but I can't find a clue to my latest problem:

When I run my application in the browser, all is fine. When the same app in AIR 
(we've build it so the same codebase is shared between on- and offline 
versions), I get an exception and the last line in the stack trace (as shown in 
the Console) reads "undefined". The error dialog the player throws up (after 
clicking on the "Resume (F8)" button in the debug perspective) tells me a 
"stack overflow" happened. 

The "funny" thing is, when I disable the code that seems to be the cause 
(taking my clues from the stack trace), the problem remains, but the stack 
trace tells me another line is the problem... and so on and on.

Google tells me that a stack overflow mostly has to do with rampant recursion, 
but my app doesn't use recursion anywhere. It does however use a lot of event 
chains. Do these count as "recursion"?

What does it mean that the last line of the stack trace reads "undefined"?

Any suggestions about further debugging my problem are very welcome!

Thanks in advance,

EdB



[flexcoders] "undefined" in stack trace (Console), stack overflow (2nd try)

2009-07-08 Thread erikdebruin_nl
Hi,

I've Googled me senseless, but I can't find a clue to my latest problem:

When I run my application in the browser, all is fine. When the same app in AIR 
(we've build it so the same codebase is shared between on- and offline 
versions), I get an exception and the last line in the stack trace (as shown in 
the Console) reads "undefined". The error dialog the player throws up (after 
clicking on the "Resume (F8)" button in the debug perspective) tells me a 
"stack overflow" happened. 

The "funny" thing is, when I disable the code that seems to be the cause 
(taking my clues from the stack trace), the problem remains, but the stack 
trace tells me another line is the problem... and so on and on.

Google tells me that a stack overflow mostly has to do with rampant recursion, 
but my app doesn't use recursion anywhere. It does however use a lot of event 
chains. Do these count as "recursion"?

What does it mean that the last line of the stack trace reads "undefined"?

Any suggestions about further debugging my problem are very welcome!

Thanks in advance,

EdB



[flexcoders] Re: Flex Browse File & Video

2009-07-08 Thread gilbert_mizrahi
In AIR loading a video works fine.
In Flex (FP10) I was able to load the file as a ByteArray, but I don't know how 
to "process" it to view it on a VideoDisplay or FLVPlayback component.

I asked that question in another thread, but got no answers.

--- In flexcoders@yahoogroups.com, "Battershall, Jeff"  
wrote:
>
> I've done similar things with AIR and images but not with video.  Seems to me 
> you might be able to do it with FileReference.load(), which gives you access 
> to the btyearray of the uploaded file.  Requires FP10.  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of Adrian Resa Jones
> Sent: Tuesday, July 07, 2009 2:19 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex Browse File & Video
> 
> Maybe I'm missing somethingCan you use the flex file browse as a source 
> so that users can preview video before uploading it? Do I need to know where 
> the file comes from? I saw another question about this here and did not see 
> an answer.
> 
> --- In flexcoders@yahoogroups.com, "Adrian Resa Jones"  wrote:
> >
> > 
> > I want to provide a preview function prior to uploading a file. 
> > > 
> > > Well, what's your use case ? Why do you care where the file comes > from ?
> >
> 
> 
> 
> 
> 
> 
> --
> 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
>




Re: [flexcoders] Re: Flex in eclipse

2009-07-08 Thread Tom Chiverton
On Wednesday 08 Jul 2009, vladakg85 wrote:
> I found some tool AXDT it works fine, but only thing I miss is debuger, I
> don't know how to add breakpoint and watch my variables while code
> executes, somebody know?

I'm not aware of a (free) Eclipse-integrated debugger. You can use 'fdb' from 
the SDK from the command line, of course.

-- 
Helping to elementarily grow CEOs as part of the IT team of the year, '09 
and '08



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] setStyle not valid

2009-07-08 Thread j2me_soul
I try to change the style at runtime 
 
 
 

   private function butClickHandler(event:MouseEvent):void
   {
/* it doesn't work */
styleLabel.setStyle("font-size", 72);
   }


[flexcoders] Re: how to set a layout object's height to 100%?

2009-07-08 Thread kenny14390
percentHeight is probably what you want, but another way to achieve 100% height 
is so set top=0 and bottom=0. This is the natural way to achieve 100% in the 
design mode of Flex Builder.

--- In flexcoders@yahoogroups.com, coder3  wrote:
>
> 
> Hi All
> 
> I create an object as Grid, and i need to set the height to 100%. how to do
> it in script?
> 
> for example:
> 
> var grid:Grid = new Grid();
> 
> for(..)
> {
>   var gridrow:GridRow = new GridRow();
>   
>   grid.addChild(gridrow);
> }
> 
> //now how to set grid.height = 100% instead of grid.height=222???
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/how-to-set-a-layout-object%27s-height-to-100---tp24386393p24386393.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>




[flexcoders] help with a flex project

2009-07-08 Thread Gustavo Duenas
Hi Guys, long time no see, I was wondering if you could know how can  
I do this:


I have some flv. videos, I write them up into a an xml list.

Ok, I want to make a repeater that once It get clicked launch the  
video in a window .


everyone could help with a step by step guide or at least point me to  
some tutorial.


I'm using flex 3.


regards,

Gustavo







[flexcoders] Re: Fishbone Chart/Ishikawa Chart

2009-07-08 Thread Pedro Sena
Someone? :(

On Mon, Jul 6, 2009 at 5:37 PM, Pedro Sena  wrote:

> Hi Guys,
>
> I need to develop a fishbone(Ishikawa) chart .
>
> I would like to know if someone already did it and can point me some
> resource/link, even paid softwares I'm accepting.
>
> I could generate it in PHP also, if it's not available in flex.
>
> Create 'by hand' such a chart would be very complicated, I suppose.
>
> Thanks for your time,
>
> --
> /**
> * Pedro Sena
> * Systems Architect
> * Sun Certified Java Programmer
> * Sun Certified Web Component Developer
> */
>



-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/


[flexcoders] Establishing a AMF Secure connection need 1 second delay!!!?

2009-07-08 Thread Dan
Hi,

Does anyone notice that it takes nearlly ONE second for the first AMF or 
AMFsecure call to establish? Is there way to make this time shorter?

The observation is from when the swf is loaded, imediately a amfsecure A' call 
is made, from a Charles proxy, there is another unknown amfsecure call before 
that and has a one second delay before the A' really emit.

Regards
Dan



[flexcoders] Re: Flex in eclipse

2009-07-08 Thread vladakg85
I have installed WTP, associate mxml with XML editor, add xsd schema in xml 
catalog...but don't work :(

I found some tool AXDT it works fine, but only thing I miss is debuger, I don't 
know how to add breakpoint and watch my variables while code executes, somebody 
know?


--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> On Tuesday 07 Jul 2009, vladakg85 wrote:
> > Ok, I downloaded xsd4MXML project and opened it in Eclipse...Build...It
> > works... but what do I get with this? Am I wrong in something?
> 
> You get a .xsd file, which gives you syntax highlights and insight for MXML 
> files.
> 
> You can install it via a procedure like : 
>1. Install the web tools ('WTP')
>2. Associate *.mxml files with the XML Editor in preferences, general, 
> editors)
>3. Add the schema itself in preferences, web and xml, xml catalog, add 
> user. The 'keytype' is the namespace name.
> 
> 
> -- 
> Helping to completely enhance integrated bandwidth as part of the IT team of 
> the year, '09 and '08
> 
> 
> 
> 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: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-08 Thread Dan
One more question, the ResourceManager are new element in Flex3, what if we 
don't want that (we have our own language bundle) can we removed that? As from 
the rpt file, there are so many new classes introduced in Flex 3, is there any 
compilation arguement have to be set, from livedocs, it seems even we set the 
language to null, by default it set as us_en.

Dan

--- In flexcoders@yahoogroups.com, "Dan"  wrote:
>
> Hi Alex,
> 
> Thanks, then my question is, can the classes in Frame1 of a Module be 
> offloaded to RSL or by Link-Report? 
> 
> My applications are using nearlly hundred of Module, maybe due to what you 
> mentioned about Frame1 class cannot be offloaded, Flex 3 has much more 
> classes in Frame1 then in Flex 2. In Flex 2, some of the Modules of my 
> application has only a few bytes, but in Flex 3, they become 4 TIME LARGER!!! 
> 
> So, even a Module Frame1 code cannot be offLoaded? (These classes should be 
> in the application already...) That is quite a bad news, as the total Modules 
> size of the application now has nearlly DOUBLE for nothing...
> 
> Any good suggestion?
> 
> Regards
> Dan
> 
> --- In flexcoders@yahoogroups.com, Alex Harui  wrote:
> >
> > What goes on in server communications is not my area.  Try posting again 
> > with RPC or AMF in the subject.  It might then get read by those experts.
> > 
> > I thought utility.swc got folded into framework.swc as well.  Flex.swc is 
> > for folks not using the UI framework.
> > 
> > Any classes used in Frame1 cannot be offloaded to the RSL.  We did some 
> > refactoring in Flex4 so more classes can get offloaded to the RSL.
> > 
> > Anything you don't need at startup should be in a module that gets loaded 
> > later.
> > 
> > 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 Dan
> > Sent: Tuesday, July 07, 2009 1:51 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Horrible... 3 seconds initialization time for the 
> > first frame? Frustrated
> > 
> > 
> > 
> > 
> > 
> > Hi,
> > 
> > First of all, thanks for your response!
> > Thanks for reminding about the progressive download, I think the 3 seconds 
> > is still to that response time which I mislead by the Charles figure and 
> > think that it already downloaded.
> > 
> > But there is still one thing that delay the first AMF call. I noticed there 
> > is an unknown amfsecure (yes, i am using https) call before any amfsecure 
> > call issue, and it make a one second delay. Is that for estabishing the 
> > channel? Anyway to improve this?
> > 
> > Cached framework for framework.swz, rpc.swz and datavisualization has been 
> > used. BTW, why signed library for utility.swc and flex.swc are not 
> > available, because they are too small???
> > 
> > Last but not least, is it true that , some of the class like RSLItem from 
> > Adobe, even we use link-report, cannot be removed from a swf? Cause with an 
> > parent application with hundreds of modules to load, that small amount of 
> > depulication in modules means a great issue in terms of total bandwitdh 
> > cost..
> > 
> > Regards
> > Dan
> > 
> > --- In flexcoders@yahoogroups.com, 
> > Alex Harui  wrote:
> > >
> > > Using the cached framework should help.
> > >
> > > If you test from FlexBuilder you may not get correct streaming. Try 
> > > testing using http: instead of file:
> > >
> > > Also, there is a bug if you use # in the URL. It blocks streaming of the 
> > > SWF and delays startup time. Do you see a progress bar at all?
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com 
> > > [mailto:flexcoders@yahoogroups.com] 
> > > On Behalf Of Dan
> > > Sent: Monday, July 06, 2009 8:56 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Horrible... 3 seconds initialization time for the 
> > > first frame? Frustrated
> > >
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > Does anyone have any idea on why it takes nearlly 3 to 4 seconds after a 
> > > swf completely downloaded, is it SystemManager initialized and go to the 
> > > second frame of the movie?
> > >
> > > It is such a great penality for an web application.
> > > Should I put tasks, such as automatic login to the preloader, in order to 
> > > shorten this penality period??? Otherwise, no matter whatever tuning 
> > > techique flexcoders applied, the Adobe penality is still too great.
> > >
> > > I understand there should be initialization time, and that may depends on 
> > > the client machine configuration. However, for a simplest swf with an 
> > >  tag only mxml, a log is being output on the onEnter

[flexcoders] Re: Horrible... 3 seconds initialization time for the first frame? Frustrated....

2009-07-08 Thread Dan
Hi Alex,

Thanks, then my question is, can the classes in Frame1 of a Module be offloaded 
to RSL or by Link-Report? 

My applications are using nearlly hundred of Module, maybe due to what you 
mentioned about Frame1 class cannot be offloaded, Flex 3 has much more classes 
in Frame1 then in Flex 2. In Flex 2, some of the Modules of my application has 
only a few bytes, but in Flex 3, they become 4 TIME LARGER!!! 

So, even a Module Frame1 code cannot be offLoaded? (These classes should be in 
the application already...) That is quite a bad news, as the total Modules size 
of the application now has nearlly DOUBLE for nothing...

Any good suggestion?

Regards
Dan

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> What goes on in server communications is not my area.  Try posting again with 
> RPC or AMF in the subject.  It might then get read by those experts.
> 
> I thought utility.swc got folded into framework.swc as well.  Flex.swc is for 
> folks not using the UI framework.
> 
> Any classes used in Frame1 cannot be offloaded to the RSL.  We did some 
> refactoring in Flex4 so more classes can get offloaded to the RSL.
> 
> Anything you don't need at startup should be in a module that gets loaded 
> later.
> 
> 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 Dan
> Sent: Tuesday, July 07, 2009 1:51 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Horrible... 3 seconds initialization time for the 
> first frame? Frustrated
> 
> 
> 
> 
> 
> Hi,
> 
> First of all, thanks for your response!
> Thanks for reminding about the progressive download, I think the 3 seconds is 
> still to that response time which I mislead by the Charles figure and think 
> that it already downloaded.
> 
> But there is still one thing that delay the first AMF call. I noticed there 
> is an unknown amfsecure (yes, i am using https) call before any amfsecure 
> call issue, and it make a one second delay. Is that for estabishing the 
> channel? Anyway to improve this?
> 
> Cached framework for framework.swz, rpc.swz and datavisualization has been 
> used. BTW, why signed library for utility.swc and flex.swc are not available, 
> because they are too small???
> 
> Last but not least, is it true that , some of the class like RSLItem from 
> Adobe, even we use link-report, cannot be removed from a swf? Cause with an 
> parent application with hundreds of modules to load, that small amount of 
> depulication in modules means a great issue in terms of total bandwitdh cost..
> 
> Regards
> Dan
> 
> --- In flexcoders@yahoogroups.com, Alex 
> Harui  wrote:
> >
> > Using the cached framework should help.
> >
> > If you test from FlexBuilder you may not get correct streaming. Try testing 
> > using http: instead of file:
> >
> > Also, there is a bug if you use # in the URL. It blocks streaming of the 
> > SWF and delays startup time. Do you see a progress bar at all?
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com] On 
> > Behalf Of Dan
> > Sent: Monday, July 06, 2009 8:56 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Horrible... 3 seconds initialization time for the 
> > first frame? Frustrated
> >
> >
> >
> >
> >
> > Hi,
> >
> > Does anyone have any idea on why it takes nearlly 3 to 4 seconds after a 
> > swf completely downloaded, is it SystemManager initialized and go to the 
> > second frame of the movie?
> >
> > It is such a great penality for an web application.
> > Should I put tasks, such as automatic login to the preloader, in order to 
> > shorten this penality period??? Otherwise, no matter whatever tuning 
> > techique flexcoders applied, the Adobe penality is still too great.
> >
> > I understand there should be initialization time, and that may depends on 
> > the client machine configuration. However, for a simplest swf with an 
> >  tag only mxml, a log is being output on the onEnterFrame 
> > event, it already takes 3 to 4 seconds for the first log after the swf 
> > complete download, (time logged from Charles), it is so frustrated...
> >
> > Does it means that we have no way for a faster response time if we choose 
> > Flex? (Didn't mention about the download time for swf already...)
> >
> > Anyone can help?
> > Dan
> >
>




Re: [flexcoders] Problem with calling customcomponent second time.

2009-07-08 Thread niamath basha
don't call it on creationComplete
instead call it on 'show' event.

With Regards,
Niamath Basha
www.niamathbasha.wordpress.com



On Wed, Jul 8, 2009 at 12:55 PM, Ganesh Suyampirakasam <
ganesh.suyampiraka...@yahoo.co.in> wrote:

>
>
> Hi
>
> I have two Link button,
>
> First button contain canvas with more fields,similar way second also
> contain few fields
>
> One field is Customcomponent,ie combox.
>
> In 1st link button the combo will load with creation complete.
>
> in second link button i can have the option to add few moreentries to the
> combo which is in 1st link button.
>
> Once i click 1st link button it will get loaded and when i try to come to
> 2nd button and i add one more name at that time combo is not getting
> refreshed with the new data.
>
> Problem is i am calling customcomponnt in creationcomplete.so for the
> second time when i click on 1st link button how to reload that combo.
>
> Thanks
>
> Ganesh
>
> --
> See the Web's breaking stories, chosen by people like you. Check out Yahoo!
> Buzz .
> 
>


[flexcoders] Problem with calling customcomponent second time.

2009-07-08 Thread Ganesh Suyampirakasam
Hi

I have two Link button,

First button contain canvas with more fields,similar way second also contain 
few fields

One field is Customcomponent,ie combox.

In 1st link button the combo will load with creation complete.

in second link button i can have the option to add few moreentries to the combo 
which is in 1st link button.

Once i click 1st link button it will get loaded and when i try to come to 2nd 
button and i add one more name at that time combo is not getting refreshed with 
the new data.

Problem is i am calling customcomponnt in creationcomplete.so for the second 
time when i click on 1st link button how to reload that combo.

Thanks

Ganesh



  Looking for local information? Find it on Yahoo! Local 
http://in.local.yahoo.com/

[flexcoders] How can change the font direction?

2009-07-08 Thread j2me_soul
There are many titlewindows in my application, so I have to lay out them in 
order.
I wanna change the panel size, position, and the direction of panel title in 
order to display the title readability when the titlewindow is vertical.
But I can't find a wish way to change the directio of the title.



Re: [flexcoders] Re: Flex in eclipse

2009-07-08 Thread Tom Chiverton
On Tuesday 07 Jul 2009, vladakg85 wrote:
> Ok, I downloaded xsd4MXML project and opened it in Eclipse...Build...It
> works... but what do I get with this? Am I wrong in something?

You get a .xsd file, which gives you syntax highlights and insight for MXML 
files.

You can install it via a procedure like : 
   1. Install the web tools ('WTP')
   2. Associate *.mxml files with the XML Editor in preferences, general, 
editors)
   3. Add the schema itself in preferences, web and xml, xml catalog, add 
user. The 'keytype' is the namespace name.


-- 
Helping to completely enhance integrated bandwidth as part of the IT team of 
the year, '09 and '08



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] how to set a layout object's height to 100%?

2009-07-08 Thread thomas parquier
The little unknown percentHeight property should work :

> percentHeight = 100;
>

thomas
---
http://www.web-attitude.fr/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net 
téléphone portable : +33601 822 056


2009/7/8 coder3 

>
>
>
> Hi All
>
> I create an object as Grid, and i need to set the height to 100%. how to do
> it in script?
>
> for example:
>
> var grid:Grid = new Grid();
>
> for(..)
> {
> var gridrow:GridRow = new GridRow();
> 
> grid.addChild(gridrow);
> }
>
> //now how to set grid.height = 100% instead of grid.height=222???
>
> --
> View this message in context:
> http://www.nabble.com/how-to-set-a-layout-object%27s-height-to-100---tp24386393p24386393.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>
>  
>


[flexcoders] how to set a layout object's height to 100%?

2009-07-08 Thread coder3

Hi All

I create an object as Grid, and i need to set the height to 100%. how to do
it in script?

for example:

var grid:Grid = new Grid();

for(..)
{
  var gridrow:GridRow = new GridRow();
  
  grid.addChild(gridrow);
}

//now how to set grid.height = 100% instead of grid.height=222???


-- 
View this message in context: 
http://www.nabble.com/how-to-set-a-layout-object%27s-height-to-100---tp24386393p24386393.html
Sent from the FlexCoders mailing list archive at Nabble.com.