[Flashcoders] Why is URLStream.connected always true?

2011-04-06 Thread Alexander Farber
Hello flashcoders,

does anybody please know, why is URLStream.connected
is always true in my simple test program at
http://stackoverflow.com/questions/5571175/why-is-urlstream-connected-always-true
?

Thank you
Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] NativeWindowBoundsEvent.updateAfterEvent() ?

2011-04-06 Thread Ross Sclafani
hello_

I am creating a window docking system using transparent NativeWindows, and I 
achieve snapping by moving the contents within the NativeWindows when the 
correct amount of edge overlap occurs.

it's working fine, but i'm running into a problem where the NativeWindows 
appears to be moving before the contents are moved into the snap-position, 
giving it a jitter, rather than a sturdy snapped-edge feeling.

is there an equivalent to MouseEvent.updateAfterEvent() when dealing with 
NativeWindows? 

TL;DR:

I need changes to the DisplayList to keep up with the 
NativeWindowBoundsEvent.MOVING event I am handling.

thanks,

Ross P. Sclafani
design / technology / creative

http://ross.sclafani.net
http://www.twitter.com/rosssclafani
(347) 204.5714



let go of even your longest held beliefs,
the only truth is in observation.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Simulating image in textfield in AIR

2011-04-06 Thread Mattheis, Erik (MIN-WSW)
Meaning I can load the asset from a location other than the library? Testing, 
it strips out img tags whether the content is from the library, file system or 
network.

I'm interpreting "For AIR content in the application security sandbox" to mean 
content displayed within a textfield in the AIR app.

On 4/6/11 11:42 AM, "Henrik Andersson"  wrote:

Mattheis, Erik (MIN-WSW) skriver:
> " For AIR content in the application security sandbox,

You don't have to run in the application security sandbox.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flex 4 Skinning & 9-Slice Scaling of Bitmaps

2011-04-06 Thread Merrill, Jason
I posted this on Flexcoders, but didn't get any responses.

I am skinning a Spark Panel with a Flex 4 Skin MXML class, and using some
bitmaps for fills. I have researched and seem to be doing it right, but the
graphics in the filled areas get stretched anyway. I have defined the
rectangular area of the "scalable" area of the bitmaps correctly as far as I can
tell. What am I doing wrong?

The following code is the part of the Spark Panel for the title bar fill:








The following is for the background fill of the Spark Panel:










I've also tried as an alternative to BitmapFill, using an  tag and embed metadata:

[Embed(source="assets/images/panel1_titleAreaWithTab.png", scaleGridTop='17',
  scaleGridBottom='19', scaleGridLeft='175', 
scaleGridRight='485')]



What am I missing? Thanks,

Jason Merrill
Instructional Technology Architect
Bank of America  Global Learning





___

--
This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited. 
Unless specifically indicated, this message is not an offer to sell or a 
solicitation of any investment products or other financial product or service, 
an official confirmation of any transaction, or an official statement of 
Sender. Subject to applicable law, Sender may intercept, monitor, review and 
retain e-communications (EC) traveling through its networks/systems and may 
produce any such EC to regulators, law enforcement, in litigation and as 
required by law. 
The laws of the country of each sender/recipient may impact the handling of EC, 
and EC may be archived, supervised and produced in countries other than the 
country in which you are located. This message cannot be guaranteed to be 
secure or free of errors or viruses. 

References to "Sender" are references to any subsidiary of Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this EC may have additional 
important disclosures and disclaimers, which you should read. This message is 
subject to terms available at the following link: 
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you 
consent to the foregoing.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] scrollpane component question: test if content is within view

2011-04-06 Thread Mendelsohn, Michael
Hi list...

I'm trying to test if something is within view of the scrollpane component it's 
sitting in.  My logic isn't quite right, and I thought someone might have an 
opinion.  It half works...

Thanks!
- Michael M.



var pt:Point = new Point(objInScrollPane.x, objInScrollPane.y);
var realPt:Point = localToGlobal(pt);
// withinViewTester is a rectangular shape hidden on the stage to test against
var withinView:Boolean = withinViewTester.hitTestPoint(realPt.x, realPt.y);
if(withinView == false) TweenLite.to(sp, .3, 
{verticalScrollPosition:(border.parent.y/spSource.height) * 
sp.maxVerticalScrollPosition});
// will scroll but it's being tested on the static shape on the stage, so not 
entirely accurate




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Simulating image in textfield in AIR

2011-04-06 Thread Henrik Andersson

Mattheis, Erik (MIN-WSW) skriver:

" For AIR content in the application security sandbox,


You don't have to run in the application security sandbox.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Simulating image in textfield in AIR

2011-04-06 Thread Mattheis, Erik (MIN-WSW)
I'm trying to include an image tag linking to a library item in the htmlText
of a TextField in an AIR app. Not possible apparently,

" For AIR content in the application security sandbox, AIR ignores img tags
in HTML content in ActionScript TextField objects. This is to prevent
possible phishing attacks,"
http://livedocs.adobe.com/flex/3/html/security_3.html

How can I get the same effect?

_ _ _
Erik Mattheis | Weber Shandwick
P: (952) 346.6610
M: (612) 377.2272


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders