[flexcoders] Access hidden server files in Flex

2009-07-31 Thread shawnsvacha
Hi everyone,

I have a site that contains a large audio library.  I would like the swf to 
access the library, but hide the mp3s from the user so they can't access them 
directly.

Does anyone have a suggestion on how to do this?

Thanks!



[flexcoders] TextEvent.TEXT_INPUT preventDefault not working on Linux

2009-01-16 Thread shawnsvacha
Has anyone run into this before?  On Linux the preventDefault event for a 
TextEvent.TEXT_INPUT event does not hide the characters entered. This works 
fine on OSX 
and Windows, but not Linux.  Here is example code:

?xml version=1.0 encoding=utf-8?
mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute xmlns:ns1=*
ns1:CustomTextField x=10 y=10 width=500 height=22/
/mx:WindowedApplication


package
{
import flash.events.TextEvent;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.text.TextFieldType;

import mx.core.UIComponent;

public class CustomTextField extends UIComponent
{
public function CustomTextField()
{
var _customTF:TextField = new TextField();
_customTF.x = 0;
_customTF.y = 0;
_customTF.width = 480;
_customTF.height = 22;
_customTF.type = TextFieldType.INPUT;
_customTF.multiline = true;
_customTF.autoSize = TextFieldAutoSize.LEFT;
_customTF.wordWrap = true;
_customTF.maxChars = 1024;
addChild(_customTF);

_customTF.addEventListener(TextEvent.TEXT_INPUT, 
dontShowTextInput);

}

private function dontShowTextInput(e:TextEvent):void
{
e.preventDefault();
}
}
}



[flexcoders] Getting TabNavigator to Release Focus

2008-12-28 Thread shawnsvacha
I'm running into a issue with the tabnavigator.

Basically, I am building an AIR app that saves the user's history into
a SQLite table.  One of the items that is getting saved is the tab the
user was last on.  The problem is that when I return the user to that
tab it refuses to release focus.  Since this tab contains a text area,
pressing space while typing in the text area switches tabs.  Now if I
manually navigate to this tab, it works fine -- no switching on space
when typing.  It is only when the tab is automatically selected upon
launch that this happens.

Has anyone seen this before?

Thanks,

Shawn



[flexcoders] Tree3D v2 in Flex?

2008-12-01 Thread shawnsvacha
Just curious if anyone is using Tree3D in Flex.  If so, how difficult
was it to get it working?  Alejandro (the creator) says it is a Flash
component.

Thanks,

Shawn



[flexcoders] Tree3D v2 in Flex?

2008-12-01 Thread shawnsvacha
Tried posting this earlier, but it doesn't look like it went through.

Has anyone had any success in porting Tree3D to Flex?  The developer
says it is a Flash component but doesn't know if it will work in Flex.

Thanks,

Shawn