[flexcoders] Adding Headers to Web Service for Compression

2012-04-02 Thread Angelo Anolin
Hi FlexCoders,

Anyone here has a working example of adding headers to the web service call 
such that Accept-Encoding gzip compression is added to the request headers?

I have already enabled compression on the IIS 6 (Windows 2003) server and from 
the IE9 developer tools, I can see that the Request Header has a key pair of 
Accept-Encoding : gzip, deflate, but for some reason, the server is not 
compressing the data.

Appreciate your inputs.

Thanks.

Angelo

[flexcoders] matrix math examples / scaling + transforming an image...

2012-04-02 Thread grimmwerks
Ok I'm going nuts trying to update something that was working in F3 to 4.6 and 
it's just not working as expected;  I've two images, one being a smaller 
navigator view of the larger image.   

The user can change the scale of the area to be viewed, and on the smaller 
'map' view there's a little draggable bounding box to show the area that you're 
viewing on the larger image that has now scaled up - complicated explanation, 
but it's exactly the way photoshop works in terms of showing where you are on a 
scaled -in image. The scaling bit works fine.

I'm allowing the user to drag the small navigator and as it moves the larger 
image tries doing a transform so that you see -- scaled in again - exactly what 
is to be seen in the smaller bounded area.  It's not exactly right.

Garry Schafer
grimmwerks
gr...@grimmwerks.com
portfolio: www.grimmwerks.com/






[flexcoders] Flash Player 11.2 issue

2012-04-02 Thread Ranggalawe
Hello, 

I noticed that my application started to behave differently in in FP 
11.2.202.228. It's a webmapping application with standard navigation: 
zoomin-out,pan,mouse zoom etc built using older Flex 3.6 SDK targetting flash 
player 11 (replacing swc with the latest build).
 
Here are some observable behaviors:
1. This is not significant: Padding in some label using embedded font 
   are missing. i fix this by explisitly defining width for 
   each label.
2. Most interactions getting much slower. These are very obvious when 
   one zooms in and out, dragging mdi windows( flexlib), dragging 
   marker, etc.

Browser: Chrome 18.0.1025.142
Flash player: 11.2.202.228

Everything looks normal and highly responsive when i try running the same 
application in Firefox 4.01 using FP 11.1.102.55 release. 

Can someone please explain this? 





[flexcoders] Orange Question Mark - FB 4.6 Can't see mx:ComboBox that is defined in XML

2012-04-02 Thread hawkcode2
Hi,
 
I am pulling my hair out.
 
I have FB 4.6 and am doing a mobile project. Only using FB not using anything 
else.
 
 
 
I have Several Comboboxes Defined in XML and am accessing 2 different ones here:
 
private function test():void
{
   
dgType.x=10;
ddlUnits.x=10;  
}
 
Next to the ddlUnits is an Orange Circle with Question Mark. (Access to 
undefined property ddlUnits)
 
Yet as you see below it is defined in the xml:
 
 
mx:ComboBox id=dgType x=12 y=203 width=255 height=41 
change=//mpitchspec()
 click=dgResults.dataProvider = null selectedIndex=0
 x.landscapePhone=530 y.landscapePhone=10 
width.landscapePhone=153
 height.landscapePhone=65
 x.portraitPhone=260 y.portraitPhone=92 
width.portraitPhone=210
 height.portraitPhone=65
  s:ArrayList
fx:Object label=Type data=1/
fx:Object label= data=2/
  /s:ArrayList
   
/mx:ComboBox
  
 

mx:ComboBox id=ddlUnits x=10 y=32 width=255 height=54 
change=//changepitch()
 fontFamily=Georgia fontSize=30 selectedIndex=1
 x.landscapePhone=204 y.landscapePhone=10 
width.landscapePhone=153
 height.landscapePhone=65
 x.portraitPhone=10 y.portraitPhone=92 
width.portraitPhone=210
 height.portraitPhone=65
  s:ArrayList
fx:Object label=SI/Metric data=1/
fx:Object label=Imperial data=2/
  /s:ArrayList
/mx:ComboBox
 
-
 
 
I have read every post i could find on this and nothing seems to apply. I can 
see  all the components in design view just fine.
 
These kind of things shake my confidence in Adobe.
 
Anybody have a clue?
 
Thanks 
 
Rich



Re: [flexcoders] Orange Question Mark - FB 4.6 Can't see mx:ComboBox that is defined in XML

2012-04-02 Thread Alex Harui
Mx components are not made available to mobile projects by default.  You can 
add mx.swc to your project if you want, but you should try to use all Spark 
stuff.


On 4/2/12 6:04 PM, hawkcode2 r...@ralbrecht.net wrote:






Hi,

I am pulling my hair out.

I have FB 4.6 and am doing a mobile project. Only using FB not using anything 
else.



I have Several Comboboxes Defined in XML and am accessing 2 different ones here:

 private function test():void
 {

 dgType.x=10;
 ddlUnits.x=10;
 }

Next to the ddlUnits is an Orange Circle with Question Mark. (Access to 
undefined property ddlUnits)

Yet as you see below it is defined in the xml:


 mx:ComboBox id=dgType x=12 y=203 width=255 height=41 
change=//mpitchspec()
 click=dgResults.dataProvider = null selectedIndex=0
 x.landscapePhone=530 y.landscapePhone=10 width.landscapePhone=153
 height.landscapePhone=65
 x.portraitPhone=260 y.portraitPhone=92 width.portraitPhone=210
 height.portraitPhone=65
 s:ArrayList
 fx:Object label=Type data=1/
 fx:Object label= data=2/
 /s:ArrayList

 /mx:ComboBox



 mx:ComboBox id=ddlUnits x=10 y=32 width=255 height=54 
change=//changepitch()
 fontFamily=Georgia fontSize=30 selectedIndex=1
 x.landscapePhone=204 y.landscapePhone=10 width.landscapePhone=153
 height.landscapePhone=65
 x.portraitPhone=10 y.portraitPhone=92 width.portraitPhone=210
 height.portraitPhone=65
 s:ArrayList
 fx:Object label=SI/Metric data=1/
 fx:Object label=Imperial data=2/
 /s:ArrayList
 /mx:ComboBox

-


I have read every post i could find on this and nothing seems to apply. I can 
see  all the components in design view just fine.

These kind of things shake my confidence in Adobe.

Anybody have a clue?

Thanks

Rich






--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui