[flexcoders] Re: embeding fonts of a style (Interstate RegularCondensed)
we are having the same issue but with applying styles to Interstate Light: but we're trying to get this to work in AS3 ..and not FLEX.. first we tried doing it this way.. [Embed(source="../fonts/Interstate-Light.ttf", fontName="Interstate-Light", mimeType="application/x-font-truetype")] public static const InterstateTTF:String; [Embed(source="../fonts/Interstate-Bold.ttf", fontWeight="bold", fontName="Interstate-Bold", mimeType="application/x-font-truetype")] public static const InterstateBoldTTF:String; [Embed(source="../fonts/Interstate-Italic.ttf", fontStyle="italic", fontName="Interstate-Italic", mimeType="application/x-font-truetype")] public static const InterstateItalicTTF:String; var defaultStyle:Object = new Object(); defaultStyle.fontFamily = "Interstate"; var style:StyleSheet = new StyleSheet(); style.setStyle(".defaultStyle", defaultStyle); var t:TextField = new TextField(); t.embedFonts = true; t.styleSheet = style; t.htmlText = "My bold text"; then we also tried it using CSS and embedding the font in a swf: package { import flash.display.*; import flash.events.*; import flash.net.*; import flash.text.*; [SWF(width='955', height='600', backgroundColor='#FF', framerate='24')] public class Index extends Sprite { [Embed( source="font.swf", symbol="InterstateLight" )] private var Interstate:Class; public function Index() { Font.registerFont(Interstate-Light); var style:StyleSheet = new StyleSheet(); var normal:Object = new Object(); normal.color = "#FF4900"; normal.fontFamily = "Interstate-Light"; normal.fontLeading = 2; normal.fontSize = 11; var bold:Object = new Object(); bold.color = "#FF4900"; bold.fontFamily = "Interstate-Bold"; bold.fontLeading = 2; bold.fontSize = 11; bold.fontWeight = "bold"; var italic:Object = new Object(); italic.color = "#FF4900"; italic.fontFamily = "Interstate-Italic"; italic.fontLeading = 2; italic.fontSize = 11; italic.fontStyle = "italic"; style.setStyle(".normal", normal); style.setStyle(".italic", italic); style.setStyle(".bold", bold); var label:TextField = new TextField(); label.antiAliasType = AntiAliasType.ADVANCED; label.autoSize = TextFieldAutoSize.LEFT; //label.embedFonts = true; label.multiline = true; label.styleSheet = style; label.htmlText = "HOLA HOLA HOLA HOLA HOLAHOLA DDDHOLAAA"; addChild(label); var tf:TextFormat = new TextFormat("Interstate-Light", 11) var label1:TextField = new TextField(); label1.defaultTextFormat = tf; label1.antiAliasType = AntiAliasType.ADVANCED; label1.autoSize = TextFieldAutoSize.LEFT; label1.embedFonts = true; label1.multiline = true; label1.htmlText = "HOLA HOLA HOLA HOLA HOLA"; label1.y = 100; addChild(label1); } } } any ideas?! time sensitive project.. thanks
[flexcoders] Enterprise Architect + AS3/PureMVC
hello wise list, we just downloaded EA and are trying to figure out how to reverse engineer our PureMVC app. Is there pureMVC template (for code generation) that we need to create for EA? or can someone share theirs? thanks so much
[flexcoders] Re: WANTED: Online help integration, authoring, best practices (for Flex or Ajax)
is it possible to see a sample of this online? thanks artur
[flexcoders] ::: Rich Text Editor // Customization needed
how to: 1 - disable the rollover Link function on words with URLS. ( because this is a usability disaster. ) 2 - restyle words with URLS as #FF and underlined. thanks! artur
[flexcoders] Re: local file thumbnail preview :: possible?
nevermind.. found it: http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/ * thanks Juan!
[flexcoders] local file thumbnail preview :: possible?
using fp 10, is it possible to generate a thumb preview of the user's selected local image files that they want to upload via FileReference.load() ? or some other method? thanks, artur
[flexcoders] Re: What fonts do you embed?
matt, im making a flex app that needs to let the user select their local fonts to embed and upload to our server as shareable swf library? will this feature let us do that? thanks
[flexcoders] Re: [ann] Data Management for Flex and PHP
WOW! excellent..sooo glad to see this is moving along.. cant wait for the Data SYNC feature! (do you think that be ready for will happen in 2008? ) thanks
[flexcoders] Re: Flex app - Browser compatibility and stress testing
has anyone tried http://riatest.com/ ? would love to hear your thoughts.. or is there something better? thanks --- In flexcoders@yahoogroups.com, "sefi.ninio" <[EMAIL PROTECTED]> wrote: > > Hey everyone... > > I was wondering if anyone tried a stress and browser compatibility > testing tool successfully to test Flex application specifically or > flash applications in general... > > I googled and found a few automation tools, but none seems to go the > Flash/Flex alley... > > Sefi >
[flexcoders] Re: ::: uploading Fonts into a live site-->possible?
Runtime Shared Libraries? http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:Flex_3_RSLs
[flexcoders] Re: ::: uploading Fonts into a live site-->possible?
how so? a - its for use for only that user's site..not to share for other people's site..or anywhere else. so its no different if they made their site by themselves with that font. b - youtube solves this by making each user confirm they own their content..ie font in this case.
[flexcoders] ::: uploading Fonts into a live site-->possible?
just wondering if anyone achieved this successfully yet? from both a mac and pc. is this doable via Air? basically embed the user's local font into a "shared" swf. then upload and share that swf's embedded font set with the main site swf? ( after recompiling everything on the server of course ) thanks artur
[flexcoders] newbie q : Application Server Clustering
greetings, Can a Flex 3 app be specially engineered to work with a Application Server cluster? we are using WebOrb 3.0 for php. any links, advice would be greatly appreciated. also any recs on VPS hosts too.. anyone ever host with MediaTemple DS? or Amazon's EC2? thanks! artur
[flexcoders] Re: Tile Component // Mutliple Drag Selection
just to clarify.. im not talking about the ability to drag around multiple tiles. im looking to select multiple tiles via click&drag. while at the same time generating a selection box over the tiles. thanks
[flexcoders] Tile Component // Mutliple Drag Selection
is something like this possible in Flex 3? http://www.design2dev.com/dragSelect.jpg has anyone successfully achieved this? if so..any direction would be greatly appreciated. thanks artur
[flexcoders] newbie : WebORB vs Adobe LiveCycle
just wondering what the advantages are if any besides cost. Can webORB scale well? to handle 50k users? thanks
[flexcoders] internationalization @ switching runtime
forgive my newbie question.. just wanted to find out the best practice on this to date. on how to change all the components' language at runtime. i found 2 methods of doing this: http://flexme.wordpress.com/2007/07/11/internationalization-in-flex/ http://www.herrodius.com/blog/123 http://flexme.wordpress.com/2007/07/11/internationalization-in-flex/ thanks
[flexcoders] Best Continuous Intergration Apps For FlexUnit?
Which app is easy to setup and integrate with FlexUnit ? can Continuum work with FlexUnit? and is it better than CruiseControl? also i noticed Bamboo: http://www.atlassian.com/software/bamboo/ ..but it requires special JUnit Xml formatting http://forums.atlassian.com/thread.jspa?messageID=257243505 my devs and i ( the PM ) dont have any experience with CI. the only tutorial we have found is Cruise+Flex http://www.eyefodder.com/blog/2006/05/continuous_integration_with_fl_1.shtml so any recommendations/advice/tutorials would be helpful.. thanks! artur
[flexcoders] Re: Amazon S3 + Flex Uploader // help!
i am aware of the app.. however its AIR. however - im not building an AIR app. and i cant use it. has anyone on this successfully connected and batch uploaded to S3? without using AIR? thanks artur
[flexcoders] Re: Amazon S3 + Flex Uploader // help!
an AIR solution will not help me..since im not building an AIR app. has anyone successfully managed to Batch Upload ( and auto process ) files to S3? if so can u tell me how? are their libraries ? or classes out there? and should this be strictly done in PHP? or in the Flex App? thanks --- In flexcoders@yahoogroups.com, "Peter Connolly" <[EMAIL PROTECTED]> wrote: > > Take a look at the Salsa sample application. It's an AIR app that > manages files on Amazon S3. >
[flexcoders] Amazon S3 + Flex Uploader // help!
greetings..oh wise list. my 1st post. im trying to find a way ( a class/library ) to BATCH upload from FLEX using fileReference() to Amazon S3. is there some code/samples one is kind enough to share that will automatically via Keys - generate and attach 64-based policies, signatures, etc. and would this be easier to do in PHP? if so, why? and how? any advice, direction, and code sharing would be immense. thanks! artur