Re: [flexcoders] How to unset a color from an external CSS file

2010-03-19 Thread Jamie S
In your CSS, try using... backgroundColor: ClassReference(null); Jamie On Fri, Mar 19, 2010 at 2:13 PM, reflexactions wrote: > > > A backgroundColor is defined in a base class. > > I need to set it to undefined in an external CSS to stop it from drawing. > > In css if I use undefined or null I

Re: [flexcoders] Extending interfaces

2010-01-08 Thread Jamie S
Shouldn't it be: public function set data(value:*):void { _data = value; } Jamie On Fri, Jan 8, 2010 at 5:58 AM, bmsleite wrote: > > > Hi everyone, > > I hope you guys can help me out with this doubt regarding interfaces that > extends from other interfaces. > > The scenario is the following:

Re: [flexcoders] Re: Flex on MAC

2010-01-04 Thread Jamie S
I use MAMP Also. I didn't have to mess with the host file to use localhost. This may be an obvious question but are you pointing to the correct port? I think MAMP uses and 8889 by default. Jamie On Mon, Jan 4, 2010 at 1:33 PM, Penny Laus wrote: > > > > > On Sun, Jan 3, 2010 at 2:58 PM, Dav

Re: [flexcoders] Re: Is 3.5 nightly SDK more stable than 3.4.1?

2009-11-30 Thread Jamie S
I too will be looking forward to 3.5. I ran into so many issues with 3.4 that I finally just had to downgrade. Jamie On Mon, Nov 30, 2009 at 3:52 PM, tntomek wrote: > > > Awesome Matt, always excited when more stuff is fixed. > > > --- In flexcoders@yahoogroups.com , Matt > Chotin wrote: > > >

Re: [flexcoders] my SWFLoader wont give me the correct width and height

2009-06-19 Thread Jamie S
the UPDATE_COMPLETE that follows the COMPLETE event. > > > > Alex Harui > > Flex SDK Developer > > Adobe Systems Inc. > > Blog: http://blogs.adobe.com/aharui > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Ja

Re: [flexcoders] my SWFLoader wont give me the correct width and height

2009-06-18 Thread Jamie S
e" handler. > > > > Gordon Smith > > Adobe Flex SDK Team > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Jamie S > Sent: Thursday, June 18, 2009 3:27 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders]

[flexcoders] my SWFLoader wont give me the correct width and height

2009-06-18 Thread Jamie S
I'm using a SWFLoader to load in an image and i have a handler function for COMPLETE. In this load complete handler, i'm trying to get the size of the SWFLoader instance by using swfLoader.width, swfLoader.height but it always gives me 0. if I set a breakpoint, i can see that the $width and $height

Re: [flexcoders] Re: Run swf on server

2009-05-06 Thread Jamie S
Or did you have some other way of notifying the client-side app that > the image had been generated on the server? Also, what server-side language > did you use? > Thanks again! > > LT > > --- In flexcoders@yahoogroups.com, Jamie S wrote: >> >> I was in a similar boa

Re: [flexcoders] Re: Run swf on server

2009-05-04 Thread Jamie S
I was in a similar boat, having to generate an image server-side to that matches what the user sees in a flash movie client-side. Unfortunately there is no command-line version of Flash but AIR is almost as good. You can launch an AIR app from the command-line on the server and pass it in your data

Re: [flexcoders] Re: Framework Caching Affecting Security Settings?

2009-03-13 Thread Jamie S
tered this same bug and wonder if there was ever a >> resolution? >> >> As a work around, I have removed every bit of "security enabled" code >> (no javascript to actionscript calls) from my home-rolled rsl libraries. >> >> Is there a way to build the SWC/SWFs

Re: [flexcoders] FW: Sandbox violation:Access denied

2009-01-30 Thread Jamie S
Try using Security.allowDomain() in the swf you are loading in. Jamie On Fri, Jan 30, 2009 at 7:15 AM, Sanket kumar Subhash Ghorpade wrote: > > > > > > > Hi, > > I wrote an application that has an SWFLoader to load another swf > > movie/application into the main application. > > The serv

Re: [flexcoders] Recommendation: Presenting Video on the web

2008-12-19 Thread Jamie S
The question suggests a bit of misunderstanding of the platforms. Flash and Flex are two different platforms for arriving at the same result, a swf that runs in the Flash VM. And either is capable of achieving that result. That said. When it comes to video, the component libraries provided in Flas

Re: [flexcoders] What is the largest Flex app?

2008-12-18 Thread Jamie S
Flex apps have the advantage of being a static binary and therefore can easily be served from a CDN if you are talking high-traffic apps. So I agree that the issue of scale is less about Flex and more about the back end. But if you just need an example to show your boss, take a look at elfyourself

Re: [flexcoders] Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Jamie S
It would be pretty hard to get a Flex app down under 100k. The Framework itself is larger than that. You could try framework caching. But if you really want a small file size, you might have to use Flash. On Tue, Dec 16, 2008 at 5:10 PM, devenhariyani wrote: > Hey guys, > > I recently posted a t

Re: [flexcoders] Re: fp10, fb 3, and profiling

2008-11-26 Thread Jamie S
still launches > Firefox and gives the same error. I changed them in Window --> Preferences > --> Flex --> Profiler, that's the correct place right? > > d. > > On Tue, Nov 25, 2008 at 6:13 PM, Jamie S <[EMAIL PROTECTED]> wrote: >> >> I have seen this mess

Re: [flexcoders] Re: fp10, fb 3, and profiling

2008-11-25 Thread Jamie S
I have seen this message too after upgrading to Flash 10. Usually trying to launch the application a couple of times or switching to another browser to profile in fixes it. Jamie On Tue, Nov 25, 2008 at 6:29 AM, Derrick Anderson <[EMAIL PROTECTED]> wrote: > The error I get is "Profiling can only

Re: [flexcoders] States and Flash components

2008-11-25 Thread Jamie S
Your PagingFlexWall class must inherit from mx.flash.UIMovieClip or mx.flash.ContainerMovieClip in order to take advantage of states in Flex. Jamie On Tue, Nov 25, 2008 at 11:20 AM, Amy <[EMAIL PROTECTED]> wrote: > Hi, all; > > I am using a Flash component that's been wrapped using the Flash > Co

Re: [flexcoders] I just ran software update on Mac OS X, now FB cannot locate the debugger

2008-10-21 Thread Jamie S
The Flash 10 debug player can be found here: http://www.adobe.com/support/flashplayer/downloads.html On Tue, Oct 21, 2008 at 9:40 AM, Jamie S <[EMAIL PROTECTED]> wrote: > Software Update on OSX regularly updates the Flash Player because of > security vulnerabilities. It's actu

Re: [flexcoders] I just ran software update on Mac OS X, now FB cannot locate the debugger

2008-10-21 Thread Jamie S
Software Update on OSX regularly updates the Flash Player because of security vulnerabilities. It's actually a good thing to do on their part because it means that most mac users are not vulnerable to Flash Player security holes in older versions but it also means that it overwrites the debug versi

Re: [flexcoders] Re: TextArea Issue - adds an extra "\r"

2008-10-01 Thread Jamie S
This is exactly what's happening. I ran into this problem with text input fields on windows computers. The solution is to replace all "\r\n" character sequences with "\n" when accepting user input text that could contain carriage returns. Jamie On Wed, Oct 1, 2008 at 9:39 AM, wesley.petrowski <[E

Re: [flexcoders] Re: Flex Efficiency

2008-07-17 Thread Jamie S
I have found that the mx.effects classes are very CPU intensive. I have a project in which I had to replace all of the Move and Fade effects with my own because they wew causing the CPU ( especially on Windows ) to choke. Jamie On Thu, Jul 17, 2008 at 7:46 AM, Alex Harui <[EMAIL PROTECTED]> wrote

Re: [flexcoders] How do I position a custom tooltip?

2008-07-14 Thread Jamie S
try making an event handler for the toolTipShow event and repositioning it within the handler. not elegant but it works. jamie On Mon, Jul 14, 2008 at 2:30 PM, luvfotography <[EMAIL PROTECTED]> wrote: > I'm creating a custom tooltip and there's not enough room in the > bottom right > corner to di

Re: [flexcoders] flex components in pure as3 app - possible?

2008-07-11 Thread Jamie S
Qi Labs has a good article on using Flex components in Flash ( which is kinda like what you are trying to do ) http://labs.qi-ideas.com/2007/12/25/using-flex-compiled-code-within-flash/ basically you package up all of the Flex framework classes you need and all of their dependancies and turn it i

Re: [flexcoders] Framework Caching Affecting Security Settings?

2008-07-09 Thread Jamie S
e: > Can you put together a mini-example of the issue so we can see more > specifics? > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Jamie S > Sent: Thursday, July 03, 2008 11:48 AM > To: flexcoders@yahoogr

[flexcoders] Framework Caching Affecting Security Settings?

2008-07-03 Thread Jamie S
Does Framework Caching affect the security settings? I was banging my head against a wall because my app was throwing security violations all over the place when an outside swf ( or JavaScript ) tried to access the main app. I was using Security.allowDomain("*") but it was being ignored completely

[flexcoders] Security and ExternalInterface

2008-07-03 Thread Jamie S
I'm having a problem with getting Security Sandbox Violations while trying to allow a JavaScript file ( specifically the history.js file used for deep linking ) to call in to my swf when the swf is loaded in from a different domain. Even though I used Security.allowDomain("*") in my swf, I still ge

Re: [flexcoders] Forcing an itemRenderer to reRender

2008-06-20 Thread Jamie S
I had a similar problem that i fixed by listening for the 'dataChange' event and invalidating the display list Jamie On Fri, Jun 20, 2008 at 9:06 AM, djhatrick <[EMAIL PROTECTED]> wrote: > I am doing some real tricky stuff with itemRenderers, how Do i refresh > a particular itemRenderer or refres

Re: [flexcoders] Re: some one must know this!!! Please tell me!!!

2008-04-12 Thread Jamie S
What? You don't have enough work clinkinbeard? :) Jamie S On Sat, Apr 12, 2008 at 8:51 PM, ben.clinkinbeard <[EMAIL PROTECTED]> wrote: > > > > > > > Can someone figure out who has the highest message-per-thread average? > I've got to be close to the top

Re: [flexcoders] Link Inside of TextBox

2008-03-31 Thread Jamie S
I've done this recently using the htmlText property of the Label component and using a regular tag. Flex doesn't style it to look like a normal link ( blue underlined ) but you can do that with a tag. What's cool is you can use an event instead of a url ( something like ) and handle the the even

Re: [flexcoders] Re: Any reason to use Flash CS3 over Flex?

2008-03-31 Thread Jamie S
A very rich graphical experience would be another. For instance I was at a talk given by the http://www.bigspaceship.com/ guys and they said they mostly use Flash. And looking at their sites it's easy to see how what they do would be pretty hard to pull off in Flex. But if you are strictly talking

Re: [flexcoders] TextArea and line endings

2008-02-26 Thread Jamie S
I just had to deal with this problem. Just replace "\r\n" with "\n". myText.replace("\r\n", "\n"); Jamie On Tue, Feb 26, 2008 at 2:55 PM, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > > > > > > > We have a TextArea that displays text pulled in from a database. That > text uses Windows line endin

Re: [flexcoders] RE: Flex, Thermo, Flash - Why Thermo? Make Flash & Flex Happy Together...

2008-02-01 Thread Jamie S
I don't think IDE is the issue (I use Textmate sometimes). Even MXML compiles down to ActionScript. But try using any .as file from the Flex Framework in Flash _or_ Flash Component .as file in Flex... You are looking at nightmareish integration problems as the OP has found out. I like Flex a lot,

Re: [flexcoders] Re: Error #2025 - Clash between Flex 3 (Beta 2) & Flash CS3 (Possible Bug)

2008-01-31 Thread Jamie S
Justin, Totally agree. I've ranted about it on other discussions . In my opinion the Flex team got a lot of things right but the one thing they got wrong is not considering how Flex can work well with Flash. It seems like as more people get involved in Flex, this question comes up more and more.

Re: [flexcoders] internet explorer problem

2008-01-24 Thread Jamie S
If you are trying to load a bunch of images at once, try spreading out the loading process a bit. I encountered the same problem ( although in my case IE was the only browser that loaded correctly ). My solution was to load them one-by-one from a queue. It made the loading process take longer but i

Re: [flexcoders] AIR Code Signing Certificates Pricing

2008-01-24 Thread Jamie S
I think the only certs AIR accepts are Thawte and VeriSign. So of the two Thawte is cheaper. Jamie On Jan 24, 2008 3:46 PM, Dale Fraser <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hello, > > > > I see that Thawte do code code signing certs for $299 > > https://www.thawte.com/process/retail/new

Re: [flexcoders] mp3 audio gauge:highs,lows etc

2008-01-10 Thread Jamie S
Yes. You can use flash.media.SoundChannel.leftPeak and flash.media.SoundChannel.rightPeak for simple volume. To do something more complicated use flash.media.SoundMixer.computeSpectrum() Jamie On Jan 10, 2008 5:02 PM, mrazar6 <[EMAIL PROTECTED]> wrote: > > > > > > > is there any kins of compnent

Re: [flexcoders] Enumerable classes

2008-01-10 Thread Jamie S
Tracey I have written a class that does just that. It's very similar to the Enumerable module in Prototype or Ruby. It's part of my open source framework JumpShip http://www.osflash.org/jumpship or grab it here: http://svn1.cvsdude.com/osflash/jumpship/AS3/com/jsjstudios/jumpship/core/JSEnumerable

Re: [flexcoders] Flash - limiting how many times it plays

2008-01-07 Thread Jamie S
This is easiest to do in Flash by adding a stop(); to the end of the frame-based animation. But it you must do it in Flex you could add an enterFrame listener to the Flash animation and checking if currentFrame == totalFrames and if so forcing it to stop. something like: handleEnterFrame(event:Eve

Re: [flexcoders] Sorting nested collections in Value Objects? (DataServices or RemoteObject fills)

2007-12-27 Thread Jamie S
The true advantage of a rich client is it's ability to handle these kinds of tasks without having to burden the server so by all means, do the sort on the client. As for which part of an MVC framework should do the work (your question implied you are using MVC... right?), I think it could be debat

Re: [flexcoders] Timer running fast in Firefox than in IE with same time interval?

2007-12-27 Thread Jamie S
I've run into the same problem recently while trying to make a timer for a video player. Timer is not accurate at all and can vary greatly depending on the interval. I agree with Fredreico, the ENTER_FRAME event is far more reliable at producing accurate time intervals. Jamie On Dec 26, 2007 4:05

[flexcoders] Cairngorm architecture question

2007-12-14 Thread Jamie S
I've started using Cairngorm for a project and I'm trying to stick closely with the design philosophy but I'm running into problems. Here's the situation... My application has to instansiate one of a number of view classes based on an xml config file. But within the context of Cairngorm I don't se