[Flashcoders] Display Non-English Characters from XML?

2007-07-23 Thread Marc Hoffman
I am having trouble getting non-English characters to show up in Flash when they're read from an XML doc. For example, the French e with accent, as in resume (résumé). Here's what my xml doc looks like -- seems I'm doing something wrong, but I can't figure out what. By the way, I'm saving it

RE: [Flashcoders] AS2 Shared Fonts and dynamically created textFields

2007-07-23 Thread Michael Ypes
Hey Ivan, Now your code is free :) Can you quickly confirm how you embedded the fonts at runtime without embedding the shared library at author time. I have done it based on something similar to yours but by someone else on flash coders. Is it because it is embedded into the external flash

RE: [Flashcoders] Display Non-English Characters from XML?

2007-07-23 Thread Michael Ypes
Are you sure that the font supports é. If you are using unique font sets then they may not be in the font set. An easy way to test is to just create a static field in the flash file and cut and paste the text from the xml into the textfield and see if the character displays. What font are you

[Flashcoders] Never Mind :) [Was: Display Non-English Characters from XML?]

2007-07-23 Thread Marc Hoffman
Sheepishly, I must admit I forgot to embed the extended Latin I character set in my dynamic text field. As soon as I did that, of course, the accented characters were displayed. Honestly, I've had to do this enough times, I don't know why I forgot this time. Marc At 12:22 AM 7/23/2007, you

Re: [Flashcoders] How can you measure performance of your movie?

2007-07-23 Thread Earthling
Is there a program that records cpu/memory use as you run through a flash movie? Any help appreciated You could start by selecting 'Generate Size Report' in the 'Publish Settings'. This will give you a list of all the objects used in your Flash movie, though obviously it won't tell you

Re: [Flashcoders] [RESOLVED] Incredible Crashing Flash

2007-07-23 Thread Cedric Muller
Oh I really thought I was crazy ... I have been reporting this BUG to Adobe (previously: Macromedia) and Apple for 3 generations now . Some developpers even contacted me directly: I prepared the FLAs and everything. They acted like if they were really trying to understand and fix

Re: [Flashcoders] Cross domain policy's and loading child SWF's

2007-07-23 Thread R�kos Attila
You do not need crossdomain.xml for loading SWFs from different domains, this is not restricted. The only restriction which applies in this case concerns the control of the loaded movie. If the domain of the loader differs from that of the loadee, the loader is not allowed to access anything

Re: [Flashcoders] swf obfuscation - new challenge

2007-07-23 Thread Wagner Amaral
I got it too, not so hard (used Tamper Data - Firefox plugin) Also, I'd like to point out a security vulnerability in your PHP code: $content = file_get_contents(pathToRealSwf/$data); You're not escaping or validating in any way the data coming from the user (through HTTP GET), so you're open

Re: [Flashcoders] Flash movie background color not showing in Firefox browser...

2007-07-23 Thread Francis Turmel
Here's a wild guess: Could you be using both an embed and an object tag when you're embedding? Maybe you're defining the bgcolor attribute in the embed tag only and not in the object? Firefox would use the embed tag and IE the object tag. That's really the only thing that could be browser

Re: [Flashcoders] swf obfuscation - new challenge

2007-07-23 Thread Jim Berkey
Thank you Rákos, I see now how one can get the data from Fiddler, I got it quite easily without knowing or seeing the location of the file online, just saving the response was enough. Of course, now with Amaral's input on the php file, it is easily readable, so the location can be easily

[Flashcoders] ASDoc with Flash CS3

2007-07-23 Thread Sherri
Just wondering if anyone has successfully used ASDoc with AS3 classes for flash? I have used it for Flex projects no problem (so I don't need help with that). but it seems to take a lot of tinkering to get it to work with Flash projects and I still have the asdoc tool failing. If not, I'd be

Re: [Flashcoders] ASDoc with Flash CS3

2007-07-23 Thread James Marsden
Hey Sherri, I got it working, but it took a lot of code tweaking - I'd converted a game engine from AS2, so there were endless compile errors on syntax etc. J Sherri wrote: Just wondering if anyone has successfully used ASDoc with AS3 classes for flash? I have used it for Flex projects

RE: [Flashcoders] ASDoc with Flash CS3

2007-07-23 Thread Sherri
YAY! Someone got it working. I'm getting a bunch of compile errors too, so I tried setting -strict=false but that seemed to just break it altogether... is it possible for you to send me a snippet of what worked for you? It might show me what I'm missing. *.* Sherri -Original Message-

RE: [Flashcoders] ASDoc with Flash CS3

2007-07-23 Thread Frank Pepermans
I have this in a .bat file in the root of the project I want to export in asdoc @ECHO OFF :BEGIN C:\Program Files\Adobe\Flex Builder 3\sdks\moxie\bin\asdoc.exe -source-path . -doc-sources . -main-title Documentation -window-title Documentation -output asdoc PAUSE NUL :END This generally works,

[Flashcoders] Setting symbolBackgroundColor for CheckBox

2007-07-23 Thread chris duke
Trying to setup a CheckBox component to show red/green when its checked correctly/incorrectly and I am having trouble setting the symbolBackgroundColor style to make it show red or green. If i understand the steps I'm taking are: Drag CheckBox onto stage and name it cb1. Goto File-import

Re: [Flashcoders] swf obfuscation - new challenge

2007-07-23 Thread Alan MacDougall
Danny Kodicek wrote: The only method I can think of that might do what you're looking for is to have some of the actual code work on the server. So for example you'd do something that has a fundamental effect in the game, but you make its code run on your server instead of on the client and

Re: [Flashcoders] ASDoc with Flash CS3

2007-07-23 Thread James Marsden
Here's my snip: // naviation to FlexSDK cd ../../Program Files/FlexSDK/bin // Run ASDoc asdoc -source-path S:\demo\game\source\com -doc-classes prism.engine.World -main-title Prism Game Engine Documentation -window-title Prism Game Engine Documentation -output S:\demo\game\source\docs

[Flashcoders] Seamless tabbing

2007-07-23 Thread Zárate
Hi people, I was wondering if anyone knows if Adobe is planning to bring Seamless tabbing work on non-IE browsers. I have a proof of concept working on FF but involves a fairly amount of JS and ActionScript. I would really appreciate if anyone can point me to anyone else trying this (whether

RE: [Flashcoders] swf obfuscation - new challenge

2007-07-23 Thread Danny Kodicek
The only method I can think of that might do what you're looking for is to have some of the actual code work on the server. So for example you'd do something that has a fundamental effect in the game, but you make its code run on your server instead of on the client and just return the result

[Flashcoders] flash developers project

2007-07-23 Thread digits033
I need the services for an advanced Flash developer on a RIA product configurator. Please reply off-list if you are interested in learning more. Thank you. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] ASDoc with Flash CS3

2007-07-23 Thread Sherri
Hi Frank, I'm not using any .swc's in this project... perhaps that's causing my problem. I did actually get -exclude-classes [className] to work... but only if I also use -exclude-dependencies true If any classes you document are including classes you want to exclude, they magically get

Re: [Flashcoders] flashvars repeater?

2007-07-23 Thread Kevin Newman
Anyone who might be following, It seems kind of silly, but you have to use MMplayerType to pass in the player Type instead of using your own variable name. From the Adobe Flash Detection Kit: function loadComplete() { loaderClip.redirectURL = _root.MMredirectURL; loaderClip.MMplayerType

Re: [Flashcoders] Casting to Array

2007-07-23 Thread Steven Sacks
The solution I used works much the same way as Ian's: essentially it takes advantage of the fact that Flash's compiler isn't able to check the object type of sub-items of an object or array, so it ignores them (and assumes you've done your job correctly). Danny, It seems to me if you're

Re: [Flashcoders] How to use media server alongwith webserver for video streaming

2007-07-23 Thread Bob Wohl
You store the FLVs on the flash media server and then all data would be stored on the server. All FMS does is pipes the video for you, you get to handle everything else like any other web app. On 7/23/07, creativity [EMAIL PROTECTED] wrote: Hi, Can anyone guide me on how to use flash media

[Flashcoders] ComboBoxV2 Preloader problem

2007-07-23 Thread Holth, Daniel C.
Hello, We have a main_preloader.swf that loads our main_app.swf. The main_app.swf has a ComboBox V2 component. When main_app.swf is run by itself, it works beautifully, but when its loaded into the main_preloader.swf the ComboBox is broken. It highlights when clicked, but won't open or do

Re: [Flashcoders] Casting to Array

2007-07-23 Thread Ian Thomas
On 7/23/07, Steven Sacks [EMAIL PROTECTED] wrote: If you look at it objectively, you're adding extra lines of code for no reason. AS2 has absolutely no gains from strict typing. The compiled code doesn't gain anything - but if (like me) you're writing code libraries to be used by other

Re: [Flashcoders] Casting to Array

2007-07-23 Thread Ian Thomas
Steven, I do see what you're getting at - having reviewed Danny's code, in this instance, you're right (and I was being too general and should have paid more attention!). In the more general case, I disagree that AS2 gains nothing from type-checking. But you weren't being general. :-) Ian On

Re: [Flashcoders] Casting to Array

2007-07-23 Thread Steven Sacks
You're hacking it either way. This one function is not going to cause coder confusion. You're leaving the type off so you can pass any type. Considering you type everything else, it's pretty obvious to anyone who looks at it what's going on. Adding extra lines of code that put a parameter

Re: [Flashcoders] Casting to Array

2007-07-23 Thread Steven Sacks
In the more general case, I disagree that AS2 gains nothing from type-checking. But you weren't being general. :-) I thought I was, but I realize now that I made a flawed assumption. You don't know my coding practices and how I write everything as strict as I can and use MTASC for

[Flashcoders] Slightly OT: Flex vs. Flex Builder

2007-07-23 Thread Mendelsohn, Michael
Hi list... Is there an actual difference between Flex and Flex Builder or is it the same thing? - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Why is the CS3 IDE intercepting keypresses?

2007-07-23 Thread Joshua Sera
Why the devil is the IDE intercepting keypresses whike I'm testing a movie? Like, if I test movie, then hit Z, instead of sending that keypress to the movie, it thinks, Oh, The user's testing a movie, he must want to select the zoom tool! and selects the zoom tool. Is this some fancy new feature?

[Flashcoders] Hebrew input

2007-07-23 Thread Pieter Michels
Hi, I'm building an application that requires users to be abe to type in almost any language. It has basically two types of fields: 1 input and 2 dynamic fields. I was able to get things working in the Flash IDE where I could type in hebrew and any other language and got correct output in the

RE: [Flashcoders] Slightly OT: Flex vs. Flex Builder

2007-07-23 Thread Dave Watts
Is there an actual difference between Flex and Flex Builder or is it the same thing? FlexBuilder is an Eclipse plugin that lets you easily develop Flex applications. The Flex SDK is available separately for free, and is also bundled with FlexBuilder. Dave Watts, CTO, Fig Leaf Software

Re: [Flashcoders] Why is the CS3 IDE intercepting keypresses?

2007-07-23 Thread Helmut Granda
On 7/23/07, Joshua Sera [EMAIL PROTECTED] wrote: Why the devil is the IDE intercepting keypresses whike I'm testing a movie? Like, if I test movie, then hit Z, instead of sending that keypress to the movie, it thinks, Oh, The user's testing a movie, he must want to select the zoom tool! and

[Flashcoders] bitmapData object placing.

2007-07-23 Thread ilteris kaplan
Hello FlashCoders, I am loading an image into a MC and then copying this into a bitmapData object and then creating multiple bitmap objects in order to copy various parts of this image. What I am wondering is, in order to display those slices on the screen in different locations I can

RE: [Flashcoders] Slightly OT: Flex vs. Flex Builder

2007-07-23 Thread David Ngo
Actually, FlexBuilder comes in two flavors: 1 is an Eclipse plug-in to use with an existing Eclipse installation. The other is a stand-alone IDE (essentially the same as Eclipse 3.1 with some modifications for Flex-specific functionality) billed as FlexBuilder. -Original Message- From:

Re: [Flashcoders] Why is the CS3 IDE intercepting keypresses?

2007-07-23 Thread Charles Parcell
Are you running the Player in the IDE as a tab or as a window? Try it as a window. Charles P. On 7/23/07, Joshua Sera [EMAIL PROTECTED] wrote: Why the devil is the IDE intercepting keypresses whike I'm testing a movie? Like, if I test movie, then hit Z, instead of sending that keypress to

[Flashcoders] OT: Adobe onAIR bus making a pit stop in North Carolina

2007-07-23 Thread ben gomez farrell
Hey everyone, I apologize if this is off topic, cause I'm basically advertising something, but I thought there would be some folks on here definitely interested in this. I know there's at least a couple folks on this list from North Carolina, as I've talked to ya briefly. I'm the Raleigh

Re: [Flashcoders] OT: Adobe onAIR bus making a pit stop in NorthCarolina

2007-07-23 Thread Jobe Makar
Awesome! Finally something is happening in my own back yard :) Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-882-1121 - Original Message - From: ben gomez farrell [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] Why is the CS3 IDE intercepting keypresses?

2007-07-23 Thread Joshua Sera
BREATHE Thanks. Very helpful. --- Helmut Granda [EMAIL PROTECTED] wrote: On 7/23/07, Joshua Sera [EMAIL PROTECTED] wrote: Why the devil is the IDE intercepting keypresses whike I'm testing a movie? Like, if I test movie, then hit Z, instead of sending that keypress to the movie, it

Re: [Flashcoders] Hebrew input

2007-07-23 Thread John Dowdell
Pieter Michels wrote: [Any tips on getting Hebrew to display in Adobe Flash Player?] Not many, I'm afraid. Right-to-left scripts turn out to be more complex than might be anticipated. Most applications rely on system-level support, which is okay for your own machine, but harder when playing

[Flashcoders] Options for generating pdf files

2007-07-23 Thread Mendelsohn, Michael
Hi list... I'm working on an app that generates a pdf based on user settings. It will be about 20 pages in length, with some graphics but mostly formatted text. I had been planning to embed this swf in Director and use the pdf xtra. However, I'm wondering what other options are out there.

[Flashcoders] How to determine when an externally loaded swf has ended playing.

2007-07-23 Thread Christopher Whiteford
I have a situation where I don't have control of the external swf files that my prog is using. I have created a movieClip that uses a movieClipLoader and loads an external swf into it, I am trying to detect when the end of that external swf has been reached.

Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields

2007-07-23 Thread Ivan Dembicki
Hello Michael, - my english is bad but I will try. I think a fonts inside shared libraries have different realisation than movies in libraries. Previously if font is shared than this font have something like property I'm shared and can be used outside his movie. Second difference is garbage

RE: [Flashcoders] Options for generating pdf files

2007-07-23 Thread Dave Watts
I've never used Cold Fusion before, but I hear there's pdf generation capability in it. Would Flash + CF work best, or are there other routes to take? Yes, there's very nice PDF generation in CF 7, and even better PDF generation in the upcoming CF 8. Now that Adobe owns it, the sky's the

RE: [Flashcoders] AS2 Shared Fonts and dynamically created textFields

2007-07-23 Thread Michael Ypes
Hey buddy Your English is great :) I can't speak any other language so I appreciate your effort. I get the idea of what you are talking about and roughly guessed the same thing. The great thing is that you can do this sort of thing and it is so simple to do that so many developers will find

Re: [Flashcoders] Casting to Array

2007-07-23 Thread Danny Kodicek
You're hacking it either way. This one function is not going to cause coder confusion. You're leaving the type off so you can pass any type. Considering you type everything else, it's pretty obvious to anyone who looks at it what's going on. Adding extra lines of code that put a parameter

Re: [Flashcoders] Hebrew input

2007-07-23 Thread Danny Kodicek
Hi, I'm building an application that requires users to be abe to type in almost any language. It has basically two types of fields: 1 input and 2 dynamic fields. I was able to get things working in the Flash IDE where I could type in hebrew and any other language and got correct output in

Re: [Flashcoders] Casting to Array

2007-07-23 Thread Steven Sacks
That's a fair point. It's more the principle of the thing - it was frustrating not to be *able* to make it strict. But yes, leaving off the :Object would be a better solution. Well, you can't do argument overloading in AS2 (nor AS3, I believe), so you can't have pure polymorphism in Flash

Re: [Flashcoders] Casting to Array

2007-07-23 Thread Danny Kodicek
That's a fair point. It's more the principle of the thing - it was frustrating not to be *able* to make it strict. But yes, leaving off the :Object would be a better solution. Well, you can't do argument overloading in AS2 (nor AS3, I believe), so you can't have pure polymorphism in Flash

[Flashcoders] Video recording using Flash

2007-07-23 Thread Imran M Yousuf
Dear Users, I have posted a simple blog on Video Capturing using Red5 and Flash. I need your help in hosting the demo, can someone please help me? Thanks in advance, Imran ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

[Flashcoders] Fw: Video Capturing and streaming

2007-07-23 Thread Imran M Yousuf
The link to the post is as follows: http://imyousuf-tech.blogspot.com/ Imran - Forwarded Message From: Imran M Yousuf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 8:32:17 AM Subject: Video Capturing and streaming Dear Users, I have posted a simple blog on

[Flashcoders] Fw: Video recording using Flash

2007-07-23 Thread Imran M Yousuf
The link to the post is as follows: http://imyousuf-tech.blogspot.com/ Imran - Forwarded Message From: Imran M Yousuf [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 24, 2007 8:34:09 AM Subject: Video recording using Flash Dear Users, I have posted a