Re: [Flashcoders] Question: Fullscreen but want to retain a movieClip's width and height
So, which scaleMode should I use if I want to maintain a movieClip's original dimensions while in fullscreen? thx. On Tue, Aug 9, 2011 at 12:11 PM, Carl Welch wrote: > stage.scaleMode=StageScaleMode.NO_SCALE; > > > > On Tue, Aug 9, 2011 at 11:59 AM, Henrik Andersson > wrote: > >> It depends on the set scaling mode of the stage. >> __**_ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.**com >> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders> >> > > > > -- > Carl Welch > http://www.carlwelch.com > http://www.linkedin.com/in/carlwelch > 805.403.4819 > > -- Carl Welch http://www.carlwelch.com http://www.linkedin.com/in/carlwelch 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question: Fullscreen but want to retain a movieClip's width and height
stage.scaleMode=StageScaleMode.NO_SCALE; On Tue, Aug 9, 2011 at 11:59 AM, Henrik Andersson wrote: > It depends on the set scaling mode of the stage. > __**_ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.**com > http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders> > -- Carl Welch http://www.carlwelch.com http://www.linkedin.com/in/carlwelch 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Question: Fullscreen but want to retain a movieClip's width and height
Hi Guys, I'm building a video player with a fullscreen fuction. I am trying to figure out how to maintain a movieClip's (video control bar) original height and width while in fullscreen mode. I can't seem to wrap my head around how to go about it. Can anyone point me in the right direction? Thanks, -- Carl Welch http://www.carlwelch.com http://www.linkedin.com/in/carlwelch 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Rejoindre mon réseau sur LinkedIn
LinkedIn Carl Welch souhaite se connecter à vous sur LinkedIn : -- Je vous invite à faire partie de mon réseau professionnel en ligne sur le site LinkedIn. Accepter l'invitation de Carl Welch http://www.linkedin.com/e/7jv2cs-gp83nnvy-6i/XEzBlT6odM8buZtuxRkFg2aRojmbrRCwd4dkwunRTj8bdkAw2T/blk/I2907634516_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnPoNdjgPdzsMej99bQF4hBhdkz8ObPcTcP0RdPAVczcLrCBxbOYWrSlI/EML_comm_afe/ Voir l'invitation de Carl Welch http://www.linkedin.com/e/7jv2cs-gp83nnvy-6i/XEzBlT6odM8buZtuxRkFg2aRojmbrRCwd4dkwunRTj8bdkAw2T/blk/I2907634516_2/39vdz4Rd3cSdP0VcAALqnpPbOYWrSlI/svi/ -- SAVEZ-VOUS que vous pouvez être le premier informé quand un membre de votre réseau change de poste ? Les "Nouvelles du réseau" sur votre page d'accueil LinkedIn vous informe des évolutions de carrière dans votre réseau. Soyez informé(e) en premier ! http://www.linkedin.com/ -- (c) 2011, LinkedIn Corporation ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Anybody Want to Work in Dubai?
Just don't get caught kissing anybody on the beach. On Thu, Feb 17, 2011 at 6:24 AM, Brad Harris wrote: > Why not? Hmm ... I don't know, the area over there does seem so peaceful and > serene, doesn't it? > > Brad Harris > My profiles: [image: Facebook] <http://www.facebook.com/nom00> > Contact me: [image: Google Talk/] bsharris [image: Y! > messenger/]brad_flash_harris [image: > AIM/] myOysterDamnU > Last Approved Ad Designed: Regency > Pointe<http://www.midnightoildesign.info/index.php?option=com_k2&view=item&id=62:regency-pointe&Itemid=34> > Signature powered by > <http://www.wisestamp.com/email-install?utm_source=extension&utm_medium=email&utm_campaign=footer> > WiseStamp<http://www.wisestamp.com/email-install?utm_source=extension&utm_medium=email&utm_campaign=footer> > > > > On Tue, Feb 15, 2011 at 8:51 PM, Gustavo Duenas < > gdue...@leftandrightsolutions.com> wrote: > >> would like, why not, send me specs. >> >> Gus >> >> >> >> On Feb 14, 2011, at 2:25 PM, David Benman wrote: >> >> For the police? Came across this and thought it was interesting. More iOS, >>> etc., but Flash is required too. >>> >>> >>> http://jobs.gamasutra.com/jobseekerx/viewjobrss.asp?cjid=25107&accountno=57817 >>> >>> David Benman >>> Interactive Developer >>> d...@dbenman.com >>> http://www.dbenman.com >>> (508) 954-1202 (cell) >>> (315) 637-8487 (home office) >>> >>> >>> >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] bounce object off tilted wall
I'd look in this direction: http://www.google.com/search?q=actionscript+3+physics+library Hope this helps. Cheers. -- Carl Welch http://www.carlwelch.com On Tue, Sep 28, 2010 at 10:40 AM, Kevin Newman wrote: > Hi, > > I'm looking for information to help me learn how to bounce an object off > another rotated object (or irregularly shaped object). I've already got > basic collision detection working, and can bounce off straight horizontal > and vertical shapes easily enough (blocks). I'm looking for info on doing > that to an arbitrarily rotated block, or even a round shape, in a realistic > way. > > I'd considered using a physics engine, but that seems like overkill in my > case - I really just need the bounce logic. > > Any ideas or tutorials suggestions are appreciated. :-) > > A bonus would be information that helps me do that to data that isn't on > the display list or DisplayObject derived. > > Thanks, > > Kevin N. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Apple backing off. Why?
Henrick, http://www.wired.com/epicenter/2010/09/ftc-apple/ mwaa-hahahaha. I will enjoy every minute of this. I felt like Steve personally kicked me in the heart when he came out against Flash. His stance has definitely had an impact on my work as a flash developer. My work load when from more than I could handle to pretty much nothing at all. I am bitter to say the least. -- Carl Welch http://www.carlwelch.com 805.403.4819 On Fri, Sep 10, 2010 at 10:55 AM, Henrik Andersson wrote: > Carl Welch skriver: >> >> I don't believe apple really gives a crap about developers. We can >> thank the FTC probe for their sudden change of policy. I still feel >> burnt by Mr. Jobs. >> > > I must have missed that, what probe? > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Apple backing off. Why?
I don't believe apple really gives a crap about developers. We can thank the FTC probe for their sudden change of policy. I still feel burnt by Mr. Jobs. On Fri, Sep 10, 2010 at 2:05 AM, allandt bik-elliott (thefieldcomic.com) wrote: > there's a bit of a developer exodus from iOS to android at the moment > (certainly they're learning to use android alongside it) > http://www.techeye.net/mobile/developers-migrate-from-iphone-to-android-in-droves > / http://econsultancy.com/uk/blog/5514-here-comes-the-android-gold-rush > > <http://www.techeye.net/mobile/developers-migrate-from-iphone-to-android-in-droves>i > think apples crappy behaviour towards their developers is finally paying > them back - web app devs (like flash guys) who converted to apple because of > the app gold rush are looking at android and seeing the user numbers and the > freedoms and thinking 'screw it - i can develop for android in actionscript > for air and if i like it i can learn java' > > suck it apple - i've gone linux > > a > > > > On 9 September 2010 15:38, Gregory Boudreaux wrote: > >> Probably a little of everything. >> >> Also, there's going to be about 50 tablets released in the next year... >> most of which will probably play Flash. >> >> gregb >> >> -Original Message- >> From: flashcoders-boun...@chattyfig.figleaf.com >> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bill S. >> Sent: Thursday, September 09, 2010 9:28 AM >> To: flashcoders@chattyfig.figleaf.com >> Subject: [Flashcoders] Apple backing off. Why? >> >> I would like to understand the real reason why Apple is backing off -- >> as from what I have seen in the past, I can't believe it is for the love >> of developers.. >> >> . Corporate pressure? (which has been hinted at). >> . Possibility of Federal trade restriction lawsuits? >> . possibly a lack of new *significant* apps, as developers began to >> consider other platforms? >> >> >> Personally, I am not interested in the iPad/iPhone as a target, until >> Steve Jobs apologizes. >> (which means, never again ;-) >> >> Lovin' Android, >> ~Bill >> >> -- >> >> Date: Thu, 09 Sep 2010 15:46:00 +0200 >> From: Henrik Andersson >> Subject: [Flashcoders] Apple changes their guidelines >> To: Flash Coders List >> Message-ID: <4c88e518.9090...@henke37.cjb.net> >> Content-Type: text/plain; charset=UTF-8; format=flowed >> >> http://www.apple.com/pr/library/2010/09/09statement.html >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Return of the Blue Lego
I love it. Thanks! On Thu, Apr 29, 2010 at 2:10 PM, Matt S. wrote: > Return of the Blue Lego > Posted at Apr 9, 10 by Grant Skinner « Colorgasm Music Visuali... | > BitmapSlice9: Scale9 fo... » > > As some people have noticed, Apple has eliminated the blue lego icon > that indicates a missing plugin on the iPad. I believe that this is a > not so subtle way of shifting users from believing that the iPad > browser is lacking something, to believing that the site they are > viewing is broken. > > In response to this, I've created the blueLego edition of SWFObject > 2.2. It works exactly the same as regular SWFObject, except it will > display the blue lego icon, with a link to Adobe's get Flash Player > page on iPhone, iPod, and iPad. > > As of April 13, this page correctly displays content explaining to > iPad users why Flash is unavailable on their device. This is the same > content shown on the iPhone, which is described here. You're obviously > free to modify the iDevice alternate content or the code itself to > suit your own needs. > > It is released under the MIT license, and you can download it by > clicking here. Whether it is useful for production or not, I leave to > you. It was created more as a statement than anything. > > > > You can test it by pointing your iDevice browser to this url: > http://gskinner.com/playpen/bluelego/ > > http://www.gskinner.com/blog/archives/2010/04/return_of_the_b.html > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] letter from Steve Jobs on Flash
And here is the TRUE reason Apple wants to kill flash: Apple may charge $1 million to display mobile ads: report http://www.reuters.com/article/idUSTRE63S0IE20100429 On Thu, Apr 29, 2010 at 12:35 PM, Merrill, Jason < jason.merr...@bankofamerica.com> wrote: > > Right now I'm more of the opinion that rolling your eyes and moving on > > > is the right thing to do. > > I'll third that. > > > Jason Merrill > > Bank of America Global Learning > Learning & Performance Solutions > > Join the Bank of America Flash Platform Community and visit our > Instructional Technology Design Blog > (note: these are for Bank of America employees only) > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] List component transparentBackground?
Is it possible to make the List Component's background color transparent. I googled and found this but it doesn't appear to work: list.setStyle("backgroundDisabledColor", "false"); list.setStyle("borderStyle" , "none"); is there something else I need to do? or is it even possible. thx. -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] @#$% New iPhone Developer Agreemen t Bans the Use of Adobe’s Flash-to-iPhone Compiler
After all this discussion, I've decided to suck it up and give these a read: http://developer.apple.com/iphone/library/referencelibrary/GettingStarted/Learning_Objective-C_A_Primer/index.html#//apple_ref/doc/uid/TP40007594 http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/doc/uid/TP30001163 If you can't beat 'em, join 'em. Plus it may turn out to be pretty fun/exciting. Except the part where you get rejected from the AppStore ;) bottoms up! Carl. On Tue, Apr 13, 2010 at 1:22 AM, John McCormack wrote: > The programs on my CDs were written in C++. They make fast, powerful, use > of graphics but took a very long time to write. > > The code in AS3 and C++ isn't that dissimilar. Learning the language isn't > the problem. > > Bringing assets to the screen is difficult in C++. AS3 enables me to do > that much more easily. > > I am always going to use C++ and use Visual Studio's powerful debugger for > my most powerful hungry programs, but Adobe's AS3 is a great way to work. > > John > > > Jon Bradley wrote: > >> Learn C, C++ or Objective-C. They are not that hard, you have much more >> control >> > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] @#$% New iPhone Developer Agreemen t Bans the Use of Adobe’s Flash-to-iPhone Compiler
37 signals just posted a good article: Five rational arguments against Apple's 3.3.1 policy http://37signals.com/svn/posts/2273-five-rational-arguments-against-apples-331-policy --carl On Mon, Apr 12, 2010 at 3:00 PM, Jer Brand wrote: > I apologize in advance for perpetuating this thread. I just can't seem to > do > the right thing and simply shut up. > > Wasn't part of the promise of the SDK that it would be open? That one day > we'd be building apps in Python or C# or whatever language we wanted? When > you get right down to it, isn't Xcode using LLVM? > > Yeah, this is about control, pure and simple. > > Flash CS5, Unity, notepad + LLVM, whatever -- these things used to be my > choice. It is not now. Apple wants to control my development environment > from the computer to the IDE and compiler I am allowed to use. My outrage > is > one of contrast: Exchange the name "Apple" with "Adobe" and this list would > be on fire. Use "Microsoft" and we'd be calling for Balmer's head -- and > we'd probably get it. > > As a developer, I guess I've grown used to a bit more respect from the > platforms I develop for. But as others have said "It's their store, you > don't have to play." > > I'd love to say I won't be building anymore apps -- I will, I've got > clients > who want both iPhone and Android. But the game I started in Unity won't be > coming to iPhone, and that's probably only my loss, really. I can make > peace > with that. > > I will see if I can do it on Android -- maybe Unity will embrace the > platform as an alternative. Hell, I've been lusting over the Mini-5 anyway. > ;-) > > I'm just sad that all the promise turned into an extreme walled garden; > (and > quoting Eric Meyer) Like all walled gardens, the internet will interpret > the > whole thing as damage and eventually route around it. > > Jer ( who will do his best to shut up now ) > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] @#$% New iPhone Developer Agreemen t Bans the Use of Adobe’s Flash-to-iPhone Compiler
Wow thanks for the advice. Crap, it took me almost a year make the switch from AS2 to AS3. How long is going to take to learn obj-c? It's not at all intuitive. Many of us were looking forward to jumping right in with CS5. Now I get to be a newbie again and start from the very beginning? Think about what that involves - remember what it was like to figure out how to use Flash when you first started? I think I will go completely insane if I go through the trouble of learning obj-c (a year, maybe?), asking stupid questions on every iphone dev blog, finally create an App, submit it to the store, only to have it rejected. --Carl On Mon, Apr 12, 2010 at 8:24 AM, Jon Bradley wrote: > I wouldn't call that amazing – I would call that whining. No offense to > Lee, of course. > > Although all of us would love to develop iPhone and iPad applications using > the Flash platform, frankly that is not a proper methodology for developing > for these systems, in my opinion. > > Learn C, C++ or Objective-C. They are not that hard, you have much more > control and you are not at the beck and call of a translation governed by > something like LLVM, which you have no control over. > > - j > > > > On Apr 12, 2010, at 5:00 AM, allandt bik-elliott (thefieldcomic.com) > wrote: > > thanks lee brimelow for this amazing post >> http://theflashblog.com/?p=1888 >> > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] @#$% New iPhone Developer Agreemen t Bans the Use of Adobe’s Flash-to-iPhone Co mpiler
ce Apple is taking. > >>>> These guys have been dealing with what we are dealing with now since > >>>> the iPhone came out. > >>>> > >>>> http://blog.iphone-dev.org/ > >>>> > >>>> My point being that Apple doesn't really have the strong hold they > >>>> think they do when it comes to their SDK. > >>>> Cydia Store is a jailbroken app that lets you sell your own > >>>> applications. They don't take more than Apple would from the sales. > >>>> I think its like a 30% Cydia Store - 70% Developer split. Same as > >>>> Apple. The app uses paypal for purchasing as well. > >>>> You can also develop your app in CS5 and it work. Oh... and no > >>>> developer fees.. (I don't believe) > >>>> They are also talking about jailbreaking iPads. :)) > >>>> Might be worth some peoples time to research. > >>>> > >>>> Best, > >>>> > >>>> Karl > >>>> > >>>> > >>>> On Apr 12, 2010, at 4:00 AM, allandt bik-elliott (thefieldcomic.com) > >>>> wrote: > >>>> > >>>> thanks lee brimelow for this amazing post > >>>> http://theflashblog.com/?p=1888 > >>>> > >>>> > >>>> On 11 April 2010 23:00, Mattheis, Erik (MIN - WSW)< > >>>> ematth...@webershandwick.com> wrote: > >>>> > >>>> > >>>>> OK, that sort of makes sense - the "sort of" because cross-platform > >>>>> compiled apps can already be accepted or rejected at the app store > >>>>> level. If > >>>>> money from developers was a major cash flow avenue, this would make > >>>>> total > >>>>> sense but compared to the app store, it's not, AFAIK. It seems it > >>>>> would be > >>>>> a financial benefit for Apple to have a larger pool of apps to > >>>>> choose to > >>>>> sell or not, regardless of how they were developed. > >>>>> > >>>>> Here's another "settling old scores" theory, but between Apple and > >>>>> Adobe > >>>>> themselves as opposed to the Apple vs MS theory I recently suggested, > >>>>> > >>>>> "In 1996 when Apple was seemingly on the ropes, Adobe made a crucial > >>>>> business decision and one that is coming back to bite them in the > >>>>> ass. They > >>>>> declared that their primary development platform would be Windows; > >>>>> subsequently, every new application or major revision of a product > >>>>> > >> was > >> > >>>>> introduced for Windows first and followed months later, sometimes > >>>>> never at > >>>>> all, by a Mac version." > >>>>> > >>>>> > >>>>> http://innerdaemon.wordpress.com/2010/04/10/sorry-adobe-you-screwed- > >>>>> yourself/ > >>>>> > >>>>> From: flashcoders-boun...@chattyfig.figleaf.com [ > >>>>> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Dave Watts [ > >>>>> dwa...@figleaf.com] > >>>>> Sent: Sunday, April 11, 2010 11:13 AM > >>>>> To: Flash Coders List > >>>>> Subject: Re: [Flashcoders] @#$% New iPhone Developer Agreement Bans > >>>>> the Use > >>>>> of Adobe’s Flash-to-iPhone Compiler > >>>>> > >>>>> > >>>>>> A lot of outrage hass been expressed, but there has to be a "why". > >>>>>> Why? > >>>>>> > >>>>> Because it makes economic sense for Apple, and it hurts a company > >>>>> > >> that > >> > >>>>> Steve Jobs doesn't care for right now. > >>>>> > >>>>> If you don't allow cross-platform tools to work, developers have to > >>>>> explicitly choose your platform. Right now, Apple has the market > >>>>> advantage - lots of people have and want iPhones, iPads, etc. So > >>>>> developers will choose to build for the Apple platform rather than > >>>>> building for multiple platforms, giving the App Store a continui
[Flashcoders] @#$% New iPhone Developer Agreement Bans the Use of Adobe’s Flash-to-iPh one Compiler
http://daringfireball.net/2010/04/iphone_agreement_bans_flash_compiler I can't even explain how frustrated I am about apple. I just feel that Mr Job's is just giving the finger to so many people that have supported and promoted his company since day one. ugh. -- Carl Welch http://www.carlwelch.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 3d on flash
Dude. its easier than you think. Just use mc.x, mc,y, and mc.z (z will push you forward or back in space) there is also mc.rotationX,mc.rotationY,mc.rotationZ. Combine that with the caurina library and you're good to go. g'luck. -Carl. On Tue, Feb 9, 2010 at 7:10 AM, Gustavo Duenas wrote: > I want to make a menu in 3d, something like a letters that moves in depth, > any ideas where can I find a tutorial to work with the 3d engine of flash, > not papervision 3d I mean something of the Flash, I know that fp10 has 3d > support...any help would be appreciated. > > Gustavo > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] and now..CLIENT now hates Flash
This scenario is exactly what I was worried would start happening. I'm glad I live near Hollywood. They love Flash. -- Carl Welch http://www.carlwelch.com On Wed, Feb 3, 2010 at 9:28 AM, Matt S. wrote: > Whatever we might think of this agency or their opinions, we need to > recognize that this is probably what the next year of our lives is > going to look like, and I guarantee you you'll be hearing it from > "respectable" agencies as well. Flash just took a shotgun blast to the > stomach thanks to Steve Jobs and clients have no idea how to react or > who to trust, so they're going to take the easy route and run with the > herd, which in this case just turned tail and ran away from Flash. And > it doesnt help when you have non-Flash developers who are only too > eager to jump in and help dig the grave, or whisper in the ear of > their bosses to ditch Flash already. > > .m > > On Wed, Feb 3, 2010 at 12:09 PM, Christian Pugliese > wrote: >> sorry to say, but not a respectable agency in that case, not even aware of >> what's really going on. >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] WIRED hates Flash
I looked into it last night. It only handles frame based animation. oh well. On Mon, Feb 1, 2010 at 7:58 AM, Merrill, Jason wrote: >>> I think apple store and adobe flash have big chance to be flipfloped > anyway: >>>http://paulirish.com/work/gordon/demos/ > > None of those samples worked for me on IE7. > > It's a great idea ,but I guess I'm skeptical of any Javascript engine > being able to fully replicate all or even most the features of the Flash > player. At least enough to have widespread adoption. Do you know what > percentage of Flash player 10 features this is supposed to be able to > handle? > > > Jason Merrill > > Bank of America Global Learning > Learning & Performance Soluions > > Join the Bank of America Flash Platform Community and visit our > Instructional Technology Design Blog > (note: these are for Bank of America employees only) > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] WIRED hates Flash
OMG! My faith in humanity has been restored! Thanks!!! On Sun, Jan 31, 2010 at 2:46 PM, Laurent Kappler wrote: > Carl Welch a écrit : >> >> This pic perfectly illustrates the Flash-less browsing experience on the >> iPad: >> http://theflashblog.com/images/ipud.jpg >> >> despite the file's name, this is safe for work (this is the one place >> the swf acronym may have caused confusion). >> >> >> > > I think apple store and adobe flash have big chance to be flipfloped anyway: > http://paulirish.com/work/gordon/demos/ > > OPENED FOR GOOD SAKE!! > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] WIRED hates Flash
This pic perfectly illustrates the Flash-less browsing experience on the iPad: http://theflashblog.com/images/ipud.jpg despite the file's name, this is safe for work (this is the one place the swf acronym may have caused confusion). -- Carl Welch http://www.carlwelch.com On Sat, Jan 30, 2010 at 2:01 AM, Anthony Pace wrote: > Angela: That is a great suggestion. > > Normally a client will ask for detection, but some will opt to allow the > user to choose which version as browsers false report and failing gracefully > doesn't always work. > > eg. Which version (plain html with javascript employing hacks to make it > work with each browser, or fun and flashy)? > > So in this case, why not state something similar to what Angela suggested? > if they choose flash, give a link to Apples complaint e-mail and government > consumer affair websites where users can publicly register complaints. > > > On 1/29/2010 8:29 AM, Angela Ferraiolo wrote: >> >> We could be more active. Rather than show the blue logo, we could >> substitute a message that reads "Steve Jobs won't let you see this. >> Please go to the iTunes store and pay him for something to watch." >> Right now we are simply wasting our message opportunity. >> >> >> >> On Fri, Jan 29, 2010 at 8:14 AM, Christian Pugliese >> wrote: >> >>> >>> Lee Brimelow has a fantastic post about this: >>> http://theflashblog.com/?p=1703 >>> >>> >>> >>> >>> On Fri, Jan 29, 2010 at 11:03, artur wrote: >>> >>> >>>> >>>> /i was wondering what the communities thoughts were about this:/* >>>> * >>>> >>>> * >>>> http://www.wired.com/gadgetlab/2010/01/ten-things-missing-from-the-ipad/ >>>> * >>>> >>>> *Flash* >>>> >>>> Many people will bemoan the lack of Flash in the iPad. It wasn't >>>> mentioned, >>>> but eagle-eyed viewers would have seen the missing plugin icon on the >>>> New >>>> York Times site during yesterday's demo, and given that Apple clearly >>>> hates >>>> Flash as both a non-open web "standard" and as a buggy, CPU-hungry piece >>>> of >>>> code, it's unlikely it will ever be added, unless Apple decides it wants >>>> to >>>> cut the battery life down to two hours. >>>> >>>> Who needs Flash, anyway? YouTube and Vimeo have both switched to H.264 >>>> for >>>> video streaming (in Chrome and Safari, at least -- Firefox doesn't >>>> support >>>> it), and the rest of the world of Flash is painful to use. >>>> >>>> In fact, we think the lack of Flash in the iPad will be the thing that >>>> finally kills Flash itself. If the iPad is as popular as the iPhone and >>>> iPod >>>> Touch, Flash-capable browsers will eventually be in the minority. >>>> >>>> >>>> go. >>>> >>>> >>>> -artur >>>> ___ >>>> Flashcoders mailing list >>>> Flashcoders@chattyfig.figleaf.com >>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>> >>>> >>> >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> >> >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] WIRED hates Flash
I personally have been getting more and more upset about apple's stance on Flash. I feel the reason Apple's market share has increased especially in the corporate environment is because designers and flash developers have been evangelizing macs since day one. I feel like its a slap in the face to the people that cheered them on the most. this thought sounded better when I was drunk last night :P -- Carl Welch http://www.carlwelch.com On Fri, Jan 29, 2010 at 10:07 AM, Kevin Newman wrote: > The case is easy: > > 1. It's more expensive to do the same amount of app development with > HTML/Canvas/SVG - because of all the hacks you need (more dev hours). > 2. It won't work in every browser the same way - if at all in some browsers. > 3. It will probably not be as polished, though it may load faster on initial > load (critical concern in some areas). > 4. The browser with the biggest market share still does not support most of > HTML5, and will not support enough of it any time soon, to make certain > things even possible - and is expensive to develop for. > 5. HTML apps will not currently scale as well as Flash/Flex RIAs will, when > they start to get robust. > > All this HTML 5 talk is getting obnoxious - how long before the industry > remembers why we are all on Flash to begin with? > > Now, if you are able to target HTML5 exclusively (iPad/iPhone exclusive web > app), heck just take the work. ;-) > > Kevin N. > > > > On 1/29/10 8:53 AM, artur wrote: >> >> i have an agency client who i get a lot of flash work from. >> >> however they are not technically saavy and they're >> EASILY swayed when they read filth like this! >> >> they simply freak out and want to stop making flash websites all-together. >> WTF?! >> >> so i need to make a STRONG case here. >> >> -a >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] swf and xml caching?
Matt's cachebuster works, but I also add this to the header of your html file (fixes IE related issues): --Carl. On Thu, Oct 29, 2009 at 5:23 AM, David Hunter wrote: > > brilliant thanks for that, i'll give it a go. david > > > From: mattsp...@gmail.com > > Date: Thu, 29 Oct 2009 07:44:39 -0400 > > Subject: Re: [Flashcoders] swf and xml caching? > > To: flashcoders@chattyfig.figleaf.com > > > > The problem is xml caching, which can be fixed with the "cachebuster" > > trick. Where you have the path for the XML, use: > > > > 'http://www.sitename.com/info.xml?cachebuster='+new<http://www.sitename.com/info.xml?cachebuster=%27+new>Date().getTime(); > > > > Because it will generate a unique date and time every single time, it > > will force a fresh load of the xml file rather than grabbing the > > cached version. > > > > google "as3 xml cachebuster" for more info, there might be other > > versions of this trick as well. > > > > .m > > > > On Thu, Oct 29, 2009 at 7:39 AM, David Hunter > wrote: > > > > > > hi, > > > a while ago i did a portfolio site for a photographer which loads lots > of images using an xml file. everything works fine. when you return to the > site it loads more quickly as do the images, i guess because the browser has > cached them. but sometimes after the site has been updated (ie. photos have > been added to the portfolio and put in the xml file) it doesn't recognise > that new content is there and loads the same old photos. only after clearing > cache or private data and then returning to the site does it load the new > images. obviously this is far from ideal. > > > i'm not sure if its because the swf gets cached or the xml gets cached > or both. > > > i've just seen a note on the adobe site about using "Expires" header in > an html page or PRAGMA header to prevent the contents being cached but it > would be great to not cache the swf and xml which are very small files but > cache the images so the site runs quicker. > > > thanks in advance for any help, > > > david > > > _ > > > New Windows 7: Simplify what you do everyday. Find the right PC for > you. > > > > http://www.microsoft.com/uk/windows/buy/___ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _ > Chat to your friends for free on selected mobiles > > http://clk.atdmt.com/UKM/go/174426567/direct/01/___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] as3 to iphone app
Has anyone read the reviews of the apps that were created with Flash? There were many complaints about the apps being really slow. Adobe should think twice before releasing this software unless they are sure it will run as well as a normal iphone app. They are running the risk of losing credibility, including that of the Flash programmer that releases an app with this tool. On Fri, Oct 16, 2009 at 11:02 AM, Kerry Thompson wrote: > Anthony Pace wrote: > > > I am referring to the iphone. > > > > Since it's supposed to be a native app, then why not allow it? Once the > > user installs the program, it can do whatever it wants anyways. A > > normal app can do all kinds of file manipulation and tracking without > > it, so why not just allow lower level access? > > Good question, Anthony. I hope my answer makes as much sense as the > question. > > The difference is that all the object code is produced by the compiler. We > hope the compiler won't produce malware. > > If we were to give lower-level access to machine code written by a human, > you're opening the system to a malware attack. > > I know, there are ways around this. If you know the machine well enough, > and > can read and understand the machine code, you could manually insert > malware. > That takes a pretty sophisticated programmer, and one bent on mischief, but > it could be done, at least in theory. > > Hope that makes sense. > > Cordially, > > Kerry Thompson > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Actionscript class for creating a Spectrogram?
http://tinyurl.com/krezmu ;) On Fri, Aug 14, 2009 at 10:18 AM, Glen Pike wrote: > Look at some of the tutorials online for "computeSpectrum" - you may be able > to acheive what you want with this, but depends on your "sound source". > > johnny lee wrote: >> >> Hi Flashcoders, is anyone aware of an available actionscript class that >> uses >> a Fast Fourier Transform (FFT) to create a Spectrogram in Flash? I'm >> trying >> to record a person's voice and ask the actionscript class to convert the >> audio into a spectrogram that can be displayed and compared in flash. >> >> Thanks, juju >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> > > -- > > Glen Pike > 01326 218440 > www.glenpike.co.uk <http://www.glenpike.co.uk> > > _______ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Playing an encrypted f4v
Thanks for that info. Actually we have a fully licensed version of the Flash Media Server, but to tell you the truth, We didn't care for how the video streams from the server. My client really needs to have smooth seek functions, plus want want to capture screenshots of frames using the bitmap functions (FMS won't let you do this). If there is a way to implement progressive streaming and still maintain a level of security that would be great. They like the responsiveness of the seek controls after the video fully (progressively) downloads. Where as, with FMS the video has to re-buffer... the responsiveness just seem to be lacking. If I am wrong about this, please correct me. Security on this project is key, and of course as luck would have it, one of the higher-ups had Real Player installed and is able to download the videos we are loading. So, that's where the encrypted video request comes in. To test, I was given a f4v encrypted with blowfish. So I'm hoping I can load the f4v as a binary or bytearray -decrypt and play... I'm having doubts that its even possible. On Tue, Jul 14, 2009 at 12:35 AM, Sidney de Koning wrote: > Hi Carl, > > What i think i hear is that your client want their video only to be shown to > certain people. > If that is the case, you can check out this article by ted patrick: > http://onflash.org/ted/2006/03/licensing-drm-and-flash-player.php > > Some other good info comes from here: > http://www.flashcomguru.com/index.cfm/2006/9/7/vcsacp > > I think, but i'm not 100% sure you can also find this feature in Red5 an OS > alternative to Flash Media Server (http://code.google.com/p/red5/) > > Good luck! > > Sid > > > On Jul 14, 2009, at 7:26 AM, Carl Welch wrote: > >> Hi guys, >> >> My client asked if I could load an encrypted f4v, decrypt it and then >> play it. I found the as3Crypto libraries, so I have that part covered. >> Now I'm wondering if its even possible to load the f4v as a binary >> file or something, decrypt and then play it. I've tried a couple of >> tests with an unencrypted file but I can't figure out how to get >> around not using the netstream function. >> >> So basically my question is if this is even possible or am I headed >> down a dead end street? >> >> Thoughts, comments, suggestions? >> >> Thanks. >> >> -- >> Carl Welch >> http://www.carlwelch.com >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Sidney de Koning - be a geek, in rockstar style! > Flash / AIR Developer @ www.funky-monkey.nl > Technical Writer @ www.insideria.com > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Carl Welch http://www.carlwelch.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Playing an encrypted f4v
Hi guys, My client asked if I could load an encrypted f4v, decrypt it and then play it. I found the as3Crypto libraries, so I have that part covered. Now I'm wondering if its even possible to load the f4v as a binary file or something, decrypt and then play it. I've tried a couple of tests with an unencrypted file but I can't figure out how to get around not using the netstream function. So basically my question is if this is even possible or am I headed down a dead end street? Thoughts, comments, suggestions? Thanks. -- Carl Welch http://www.carlwelch.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Problem with links in htmlText
Thanks Taka!!! That worked perfectly!! :) -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 On Jun 5, 2009, at 6:22 PM, Taka Kojima wrote: unescape ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Problem with links in htmlText
sorry, I pasted the wrong result loop: for each (var result:GoogleNewsItem in resultObject.results) { search_mc.searchResults.htmlText = search_mc.searchResults.htmlText +""+result.title+""; } -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 On Jun 5, 2009, at 5:50 PM, Karl DeSaulniers wrote: Can we see your code where you assigning the URL? Sent from losPhone On Jun 5, 2009, at 6:33 PM, Carl Welch wrote: Hi Guys & Gals, I am having a hard time getting htmlText to link their hrefs properly. example here: http://www.carlwelch.com/searchTest.html I have the href target set to "_blank", but when the link is selected, my server address (http://www.carlwelch.com/) gets added to the beginning of the url, like this: http://www.carlwelch.com/http%3A%2F%2Fwww.metnews.com%2Farticles%2F2009%2Fhanl060309.htm ... how can I prevent this from happening??? Thanks!! -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Problem with links in htmlText
I'm using Joris' google search API: import be.boulevart.google.ajaxapi.search.news.data.GoogleNewsItem; import be.boulevart.google.ajaxapi.search.news.GoogleNewsSearch; import be.boulevart.google.events.GoogleApiEvent; import be.boulevart.google.events.GoogleAPIErrorEvent; import be.boulevart.google.ajaxapi.search.GoogleSearchResult; var googleNewsSearch:GoogleNewsSearch=new GoogleNewsSearch(); googleNewsSearch.search("Theft",0,"d","Los Angeles","en"); googleNewsSearch .addEventListener(GoogleApiEvent.NEWS_SEARCH_RESULT,onWebResults); googleNewsSearch .addEventListener(GoogleAPIErrorEvent.API_ERROR,onAPIError); function onWebResults(e:GoogleApiEvent):void { var resultObject:GoogleSearchResult=e.data as GoogleSearchResult; trace("Estimated Number of Results: "+resultObject.estimatedNumResults); trace("Current page index: "+resultObject.currentPageIndex); trace("Number of pages: "+resultObject.numPages); for each (var result:GoogleNewsItem in resultObject.results) { trace(result.title, result.url); searchResults.htmlText = searchResults.htmlText +result.title, result.url; } } function onAPIError(evt:GoogleAPIErrorEvent):void { trace("An API error has occured: " + evt.responseDetails, "responseStatus was: " + evt.responseStatus); } -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 On Jun 5, 2009, at 5:50 PM, Karl DeSaulniers wrote: Can we see your code where you assigning the URL? Sent from losPhone On Jun 5, 2009, at 6:33 PM, Carl Welch wrote: Hi Guys & Gals, I am having a hard time getting htmlText to link their hrefs properly. example here: http://www.carlwelch.com/searchTest.html I have the href target set to "_blank", but when the link is selected, my server address (http://www.carlwelch.com/) gets added to the beginning of the url, like this: http://www.carlwelch.com/http%3A%2F%2Fwww.metnews.com%2Farticles%2F2009%2Fhanl060309.htm ... how can I prevent this from happening??? Thanks!! -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Problem with links in htmlText
Hi Guys & Gals, I am having a hard time getting htmlText to link their hrefs properly. example here: http://www.carlwelch.com/searchTest.html I have the href target set to "_blank", but when the link is selected, my server address (http://www.carlwelch.com/) gets added to the beginning of the url, like this: http://www.carlwelch.com/http%3A%2F%2Fwww.metnews.com%2Farticles%2F2009%2Fhanl060309.htm ... how can I prevent this from happening??? Thanks!! -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Is there an AS3 equivalent of AJAX Suggest (like Facebook autofill searchbox)? is it even possible?
Hi all, I need to make an AS3 version this: http://www.w3schools.com/ajax/ajax_example_suggest.asp I'm thinking I'll query the database for all of the users store that in an array or xml and then attach a listener to the textfield that will search the array everytime a character is added to the textfield Has anyone out there attempted anything like this? Anyone know of an existing class? thanks! -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3: Inserting text into textInput field via code... can't do it?
Hi, I need to place some text into a input text field - the user needs to be able to edit some text (from a database) and submit it back to a database. So far, though, I've been unable to pass any vars to the input textfield like this: datatext.text = database_vars; do I need to handle input textfields differently than a dynamic textfield? thanks. -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Does anyone know if a Flash Map api exists from microsoft?
I'm working on a project for a client that insists that there is a Map API from Microsoft for Flash. I haven't been able to find anything with a google search. Can anyone confirm that such a thing actually exists? I've only been able to find an AJAX solution form msn maps.... Thanks. -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 - How do I apply a function to a dynamically generated movieClip?
Hi Guys, I just realized I can't apply functions to MC's like I did with AS2. I am creating a bunch of movieclips from some data I get from an xml file. I wanted to create a rollover state for each of the mc's, nothing fancy. Would some kind soul give me a nudge in the right direction? Here's what I'm doing wrong: var myFolder:MovieClip = new folder_mcDefault(); myFolder.FolderName.text = FolderNode.name.text(); myFolder.x = 8.5; myFolder.y = 70.2+(i*31); myFolder.BG_Clickon.alpha = 0; myFolder.buttonMode = true; myFolder.addEventListener(MouseEvent.ROLL_OVER, f_rollon); myFolder.addEventListener(MouseEvent.ROLL_OUT, f_rolloff); function f_rollon(evt:MouseEvent){ // Back in AS2, I would have used "this" instead of "myFolder" but that doesn't work either // myFolder.BG_Clickon.alpha = .1; } function f_rolloff(evt:MouseEvent){ myFolder.BG_Clickon.alpha = 0; } -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] changing video playback speed with timer listeners
Hi, I need to build a function that changes the playback speed of a FLV. I am trying to make it so every time you hit the "+" key the FLV plays a little faster, and when you hit the "-" key, it plays a little slower. From what I've read, there is nothing built in. Someone suggested building a timer script to seek a frame forward or back. So, I've done that, but when I hit the keys its just creating a new timer and not killing the old on, leaving me with a bunch of timer firing off at varying times. How can I "KILL" the timer so I can create a new one with a new timerspeed? any clues? thank you! My sorry looking code is below: var myTimerActive:int = 0; var videoSpeed:int = 5000; var videoSpeedVAR:int = 10; var timerTimes:int = 0; // hitting + or - will call videoPlaybackTimer(fastslow) function videoPlaybackTimer(fastslow) { if(fastslow == "faster"){ videoSpeed = videoSpeed+videoSpeedVAR; }else{ videoSpeed = videoSpeed-videoSpeedVAR; } videoSEEK.text = timerTimes+" / videoSpeed: "+videoSpeed; var myTimer:Timer = new Timer(videoSpeed); myTimer.addEventListener(TimerEvent.TIMER, timerHandler); myTimerActive = 1; myTimer.start(); timerTimes++ } function timerHandler(event:TimerEvent):void { stream.seek(stream.time+.1); stream.pause(); } -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 - have a problem parsing my data from JSON
Hi, I'm having a difficult time pulling data out of some JSON I'm currently working with. The following script is something that I found online using Adobe's corelib to parse the JSON, but the sample JSON the guy used was really basic. The one I'm working with has a few levels. For example, how would I pull out the "date_created"? I've tried calling it with dot syntax but I keep getting errors. Can someone shed some light on this for me? Thank you in advance... Cheers! The script I'm using with corelib: import com.adobe.serialization.json.JSON; var loader:URLLoader = new URLLoader() ; var request:URLRequest = new URLRequest() ; request.url = "someJSON_URL" ; loader.load(request) ; loader.addEventListener(Event.COMPLETE, decodeJSON) ; function decodeJSON(event:Event):void { var loader:URLLoader = URLLoader(event.target); var evData:Array = JSON.decode("["+loader.data+"]"); myFlashVars.appendText("\n" + String(evData[0].xml)); for (var key:Object in evData) { myFlashVars.appendText("\n" + "\n" + String(evData[key])); } } My JSON looks like this: { "xml": { "device": { "view": { "action": "getsummary", "device": { "date_created": "2/28/2009 2:59:24 PM", "date_modified": "2/28/2009 2:59:24 PM", "device_id": "", "device_status": "active", "device_type": "other", "friendly_name": "Foo", "make": "Bar", "model": "999", "serial_number": "Test Serial No" }, "error": { "code": 0, "message": "" }, "owner": { "guid": "99", "partner_id": 0 } } }, "session": { "class": "Device", "first_name": "Frank", "guid": "S999", "language": "en-us", "last_name": "Zappa", "partner_id": 0, "proc": "View", "valid": 1 } } } THANKS!!! -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Full screen mode and KeyboardEvents
sheesh. Instead of removing features, I wish they would have built in a warning message telling people to be aware of such activities. Oh well : / Thanks for the info! -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 On Mar 29, 2009, at 4:40 PM, jonathan howe wrote: The reasoning behind disabling all/most (9/10 respectively) keyboard input in fullscreen is because someone could easily make a fake login screen that looks like the OS. Carl, I hope that you don't have too much riding on it being able to do that because I don't know of a workaround (maybe use the browser in fullscreen... ??). If it's not essential that it be web deployed consider AIR... -jonathan 2009/3/29 Fabio Pinatti http://www.adobe.com/devnet/flashplayer/articles/fplayer10_security_changes_03.html#head5 On Sun, Mar 29, 2009 at 6:25 PM, Carl Welch wrote: Hi all, I've built an app uses KeyboardEvents. All works fine until I go into FULLSCREEN Mode, the KeyboardEvents seem to stop working... and, of course when I go back to normal mode the KeyboardEvents start working again. Is there a work around for this issue? Thanks! -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- -jonathan howe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Full screen mode and KeyboardEvents
Hi all, I've built an app uses KeyboardEvents. All works fine until I go into FULLSCREEN Mode, the KeyboardEvents seem to stop working... and, of course when I go back to normal mode the KeyboardEvents start working again. Is there a work around for this issue? Thanks! -- Carl Welch http://www.carlwelch.com http://blog.jointjam.com carlwelchdes...@gmail.com 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 - Checking if root swf has completely loaded before executing script - Help?
Hi Guys. I need to make sure that my swf has completely loaded in the page before I execute a particular script. Any suggestions on how to go about this? Point me in the direction... please? Thanks & Cheers! -- Carl Welch ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] What heck is up with "parent" in actionscript 3?
thanks... I just tried this before seeing your reply... and it worked... YES! MovieClip(parent).callMedia(String("audio")); On Dec 10, 2008, at 2:14 PM, Matt S. wrote: A decent explanation of Parent and how to use it (if you must) in AS3: http://joshblog.net/2007/07/12/disabling-actionscript-3-strict-mode-in-flash-cs3/ I'm not sure what Strk means about "no free flash player supports AS3", since the last time I checked the ADOBE Flash Player was free... .m On Wed, Dec 10, 2008 at 5:00 PM, strk <[EMAIL PROTECTED]> wrote: On Wed, Dec 10, 2008 at 01:49:02PM -0800, Carl Welch wrote: Am I missing something? I'm finding that everything I took for granted in AS2 is now convoluted in AS3... I'm so frustrated. Don't use it ! Running after latest and greatest thing isn't necessarely a good thing. Beside, no free flash player supports AS3 at the moment, so your choice will affect freedom of people to use the content you make available. --strk; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] What heck is up with "parent" in actionscript 3?
No free flash player supports AS3? Really? I'm not so sure about that. plus this project calls for some flash 9 specific imtems such as computeSpectrum and mp4 playback... There has to be a way to make a call to a MC's parent... isn't there? On Dec 10, 2008, at 2:00 PM, strk wrote: On Wed, Dec 10, 2008 at 01:49:02PM -0800, Carl Welch wrote: Am I missing something? I'm finding that everything I took for granted in AS2 is now convoluted in AS3... I'm so frustrated. Don't use it ! Running after latest and greatest thing isn't necessarely a good thing. Beside, no free flash player supports AS3 at the moment, so your choice will affect freedom of people to use the content you make available. --strk; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] What heck is up with "parent" in actionscript 3?
Hi again, I am trying to call a function to a parent of a movieclip. I've tried these two items that I found but to no avail: (this.parent.parent as MovieClip).callMedia(String("audio")); AND: MovieClip(parent.parent).callMedia(String("audio")); Am I missing something? I'm finding that everything I took for granted in AS2 is now convoluted in AS3... I'm so frustrated. -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] as 3 : video class : problem with loading new URLs (playlist)... old video won't stop loading.
Hi all! My client asked me to build a video player with a play list. I'm building it with AS3. The player works fine when I load the first movie... but when I try to play another, the old video seems to keep loading. I've been trying to .close() the video, netstream and the URLRequest when I call a new video, but nothing seems to work properly. Can anyone point me in the right direction? thanks. -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] computeSpectrum not working with mp3 from different server.
Does it matter that I can still hear the sound? It seems weird that I can hear the song playing from a different server but not have the ability to render the computeSpectrum. On Nov 30, 2008, at 5:58 PM, Latcho wrote: SecurityError: Error #2123: Security sandbox violation: SoundMixer.computeSpectrum: http://oniricdev.com/carl/modules/audioPlayer.swf cannot access http://setlist.matisyahuworld.com/2008-11-19-09_Dispatch_The_Troops.mp3 . No policy files granted access. at flash.media::SoundMixer$/computeSpectrum() at audioPlayer_fla::MainTimeline/*drawMyShit*() You have to put a crossdomain.xml file on the mp3-server that grants acces to the swf-server domain: http://setlist.matisyahuworld.com/crossdomain.xml [ with xml inside, not html as it renders now] Put it in root of the swf-server or define non-top-level xml location within the swf by Security.loadPolicyFile(urltocrossdomain); Latcho Carl Welch wrote: Hi guys, I just ran into a funky problem with computeSpectrum. it appears that it won't work if the mp3 isn't located on the same server as the swf calling it. Is there a work around for this issue? I tried using this as a solution but it didn't have any effect at all: import flash.media.SoundLoaderContext; var context:SoundLoaderContext = new SoundLoaderContext(); context.checkPolicyFile = true; _sound.load(new URLRequest('http://server/song.mp3'), context); Here is an example of what I have: swf and mp3 on the same server: http://oniricdev.com/carl/modules/audioPlayer_test.swf mp3 from a server other than the one that is hosting my swf: http://oniricdev.com/carl/modules/audioPlayer.swf Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] computeSpectrum not working with mp3 from different server.
Hi guys, I just ran into a funky problem with computeSpectrum. it appears that it won't work if the mp3 isn't located on the same server as the swf calling it. Is there a work around for this issue? I tried using this as a solution but it didn't have any effect at all: import flash.media.SoundLoaderContext; var context:SoundLoaderContext = new SoundLoaderContext(); context.checkPolicyFile = true; _sound.load(new URLRequest('http://server/song.mp3'), context); Here is an example of what I have: swf and mp3 on the same server: http://oniricdev.com/carl/modules/audioPlayer_test.swf mp3 from a server other than the one that is hosting my swf: http://oniricdev.com/carl/modules/audioPlayer.swf Thanks! -- Carl Welch http://www.carlwelch.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How much would you charge?
The comment about a client being 'none the wiser' and the implication that you're just making the extra dough by handing off some crap someone else did is what's not cool. The point was, if you're repackaging something that someone already did without any value add, then that's dishonest. Hands down, end of story. then stop using Flash and create your own programming language while your at it...if you want to be completely"honest". You pay a fee to use Flash, you also can pay a fee to use an extension (read:component) inside of flash... speaking of components, I hope you don't use the datagrid component either. But hey, go ahead and waste all of your time and program your own - reinvent the wheel, go for it, be super duper "honest" sheeesh. If tools are available to help you finish your work in as little amount of time and with limited amount of de-bugging needed, then use them my point was/is to maximize your dollar to time ratio. If you quote someone $350 dollars for a project and you finish it in an hour, you can say you make $350 an hour... but if it takes you 40 hours to do the same job you make $8.75 an hour. I'm pretty sure that is minimum wage and you might as well go work for Burger King. I don't know about anyone else here, but I'm not in this business to make minimum wage. I have mouths to feed. Dollar to time ratio, baby, that's what its all about when you're a freelancer and I'm a one man sweat shop. No matter what you say or think, you have to be a smart business person too as a good developer/ designer. And for the record I am not affiliated in anyway with slideshowpro. I just think the user interface is about as clean as they come and clients love it... but then again, a lot of clients love powerpoint... so, whatever. On Nov 14, 2008, at 10:56 AM, Jon Bradley wrote: On Nov 14, 2008, at 12:27 PM, Carl Welch wrote: using tools of the trade is far from ripping clients off. Ridiculous statement. It's not ridiculous at all. Read my reply to my initial email where I elaborated a bit more. The comment about a client being 'none the wiser' and the implication that you're just making the extra dough by handing off some crap someone else did is what's not cool. The point was, if you're repackaging something that someone already did without any value add, then that's dishonest. Hands down, end of story. - j ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How much would you charge?
using tools of the trade is far from ripping clients off. Ridiculous statement. As an Example, if I go to a restaurant and order eggs, is the restaurant ripping me off because they don't raise the chickens themselves? , I want breakfast... You are in this business to make money. And if you are like me and juggling a number of clients at any given time, the quicker you finish a job the better. Of course though, I've been using flash since 1996, so I could actually build a "slide show" but I would charge at least $700. On Nov 14, 2008, at 5:59 AM, Jon Bradley wrote: On Nov 14, 2008, at 2:28 AM, Carl Welch wrote: Good point. I'd recommend using SlideShowPro. It's cheap ($29), looks slick, and you'll be done in no time - your client will be none the wiser and you'll be $350 richer. http://slideshowpro.net/ At least there will be an email post in the public domain that shows exactly how "not" to rip off a client. :P - jb ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How much would you charge?
Good point. I'd recommend using SlideShowPro. It's cheap ($29), looks slick, and you'll be done in no time - your client will be none the wiser and you'll be $350 richer. http://slideshowpro.net/ Cheers, -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] On Nov 13, 2008, at 10:25 PM, Hans Wichman wrote: Hi, depends on whether you are writing it from scratch or not. Seeing the huge amount of foto galleries already outthere including open sourced components etc you could save some time by just using one of those. Then it's just implementation time x your hourly rate. greetz JC On Fri, Nov 14, 2008 at 4:02 AM, dr.ache <[EMAIL PROTECTED]> wrote: Anthony Pace schrieb: What is a fair price for a simple photo gallery, in AS3, that loads the photo data from an XML file? I said between $280 to $350; given the hours it would take me, plus some contingency time. Did I under quote? over quote? what do you think? Still new to this independent stuff. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders depends a littlebit how "professional" you gonna build this in terms of visual appearance but thats a normal price for that. I just offered pretty much the same but with the feature that the client can upload his files in a given folder on the server and flash gets all the files via php script, so there is no need for maintaining a xml file. the pictures will be shown in a gridwall 3x4 and blend independendly = 290€ (might be a bit underestimated) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 - problem with sound object
Hi guys, I am working on a mp3 player that receives a javascript call with the name of the file to be loaded. On the first call from JS, it plays fine, but if another file is selected it fails. It only works once, in other words. I tried putting the new Sound() and new SoundChannel() inside of my playAudioA function, but then I just get endless layers of audio, AND my other functions that reference the Sound and the SoundChannel die. Can someone take a look and tell me where I'm going wrong? ExternalInterface.addCallback("playAudio",playAudioA); var s:Sound = new Sound(); var sc:SoundChannel = new SoundChannel(); function playAudioA(audioPath, audioImage, trackid):void { try { s.close(); } catch (error:IOError) { } var req:URLRequest = new URLRequest(audioPath); s.load(req); s.addEventListener(ProgressEvent.PROGRESS, loadProgress); s.addEventListener(Event.COMPLETE, loadDone); sc = s.play(); } Thank you! -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: smoothd.com
I refuse to install MS Silverlight as a matter of principle. On Oct 29, 2008, at 5:30 AM, Meinte van't Kruis wrote: has anyone checked out http://www.smoothhd.com/ seems pretty cool, here's the description; SmoothHD.com is an early glimpse of cutting edge new technology from Microsoft and Akamai that will raise the bar on the consumer video experience. SmoothHD.com is powered by Microsoft Internet Information Server (IIS) 7.0 Smooth Streaming – a unique adaptive streaming technology that dynamically adapts video quality in real-time based on local bandwidth conditions - and Akamai AdaptiveEdge Streaming for Microsoft(R) Silverlight™ , a new solution for enabling high-quality, scalable video experiences over Akamai's global HTTP network of more than 36,000 servers around the world. -- M.A. van't Kruis http://www.malatze.nl/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] problem detecting when progressive video has reached the end - AS3
Hi guys, I am have a difficult time detecting when a progressive video has played to the end. is there listener for this? note: I'm not using the flvPlayback - I'm creating the video using : _video=new Video(510,382); -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Javascript call to Actionscript 3.0 problems
Hi Guys, I'm finally making the painful transition from AS2 to AS3. I am having difficult time getting javascript to send vars to AS3. I've pasted my AS and JS below. Can anyone tell if I am doing something wrong? I tried to follow every tutorial I googled but I just can't seem to make it work. / Actionscript 3.0 / package { import flash.display.Sprite; import flash.text.TextField; import flash.events.MouseEvent; import flash.external.ExternalInterface; import flash.events.Event; public class videoPlayer extends Sprite { public function videoPlayer():void { var videoPath:String; var videoImage:String; ExternalInterface.addCallback("playVideo", playVideo); } public function playVideo(videoPath, videoImage):void { var tf = new TextField(); tf.y = 100; tf.x = 100; tf.height = 40; tf.background = true; tf.backgroundColor = "0x33DD44"; addChild(tf); tf.text = videoPath; } } } / Javascript / function thisMovie(movieName) { if (navigator.appName.indexOf("Microsoft") != -1) { return window[movieName] } else { return document[movieName] } } function playVideo(videoPath,videoImage){ thisMovie('kokua_player').playVideo(videoPath,videoImage); } function initVideo() { playVideo('EarthDayRes1.flv','stillPreview.png'); } THANKS! -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] how are they doing this? Papervision3d or pre-rendered 3d?
I noticed that distortion also, which is why I was confused. I thought maybe that was a signature of papervision. On 9/16/07, Snepo - Arse <[EMAIL PROTECTED]> wrote: > > I disagree, IMO tthe only video involved would be the initial > sequence of the cards falling though that could easily be an image > sequence. > > It is more likely that just the card turning effect is pre-rendered > and the card content is composited at runtime. > > When the card turns you can see a slight crease in the middle of the > content. It appears as though they are blitting the content to two > bitmap objects (one left and one right side) then using a distortion > technique to make the content conform to the card flipping animation. > I would imagine that they have a single pre-rendered animation that > they are applying a hue difference to in order to reuse it for all > cards. They developers also seem to be doing some clever stuff to > make each card unique... so perhaps the static cards are pre-rendered > for each and only the flip animation is re-used. > > Arse > www.snepo.com > www.arseiam.com > > > > > > > > On 17/09/2007, at 7:50 AM, Jon Bradley wrote: > > > It's video. > > > > > > On Sep 15, 2007, at 1:27 AM, Carl Welch wrote: > > > >> Hi All, > >> > >> Does any one know how this site achieved its card flipping effect? > >> Papervision3d or pre-rendered 3d? > >> > >> http://www.tripleslanguage.com/?CMP=BAC-1TO1Q3TP7042 > >> > >> Thanks. > >> > >> -- > >> Carl Welch > >> [EMAIL PROTECTED] > >> 805.403.4819 > >> ___ > >> Flashcoders@chattyfig.figleaf.com > >> To change your subscription options or search the archive: > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> Brought to you by Fig Leaf Software > >> Premier Authorized Adobe Consulting and Training > >> http://www.figleaf.com > >> http://training.figleaf.com > >> > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Carl Welch [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] how are they doing this? Papervision3d or pre-rendered 3d?
Hi All, Does any one know how this site achieved its card flipping effect? Papervision3d or pre-rendered 3d? http://www.tripleslanguage.com/?CMP=BAC-1TO1Q3TP7042 Thanks. -- Carl Welch [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Prevent flash from caching the loaded assets
Can't you just put this in your page header: to prevent caching? -carl. On 8/6/07, eric e. dolecki <[EMAIL PROTECTED]> wrote: > "http://foo.domain.com/images/imageContainer.swf?e="; + getDate() > > all images could be in 1 swf and called out. > > > On 8/6/07, Ian Thomas <[EMAIL PROTECTED]> wrote: > > > > That's a wonderfully neat idea. :-D > > > > Ian > > > > On 8/6/07, Jack Doyle <[EMAIL PROTECTED]> wrote: > > > If you're able to store the images in SWF format instead of something > > like > > > JPG, you could set up your SWFs so that they're covered with a black > > > rectangle MovieClip by default and then you flip the _visible property > > to > > > false in your application when you load them in. That way, if people try > > to > > > look at the SWF from the browser's cache, they'll just see a big black > > > rectangle but within your app, the photo is visible. > > > > > > Just a thought. > > > > > > Jack > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Carl Welch [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash Certification
Hi flashcoders, I am looking into becoming Flash Certified. Does anyone know about how to prepare for taking the exam? What books or programs are available? I can't seem to google a straight answer... and adobe's site is pretty confusing... like a never ending rabbit trail. Thanks for any advice. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] +Infinite Loop -Dignity
I heard using FOR is very slow. Instead, try WHILE (much faster): var i = -1; while (++i wrote: This will happen if elements.length is undefined. i will never equal undefined. Use i < elements.length P >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:flashcoders- >> [EMAIL PROTECTED] On Behalf Of daniel >> Sent: Tuesday, July 10, 2007 11:52 PM >> To: flashcoders@chattyfig.figleaf.com >> Subject: [Flashcoders] +Infinite Loop -Dignity >> >> I feel really stupid right now. No, not that stupid. I mean really >> stupid. >> Take the highest level of stupid you can imagine and double that. Yes, >> now >> you've got it! >> >> I have a class named Game. >> >> Game.start() calls setInterval(this, "update", 1000). >> >> Game.update() calls _gameScene.update(). >> >> _gameScene.update() has the following loop inside of it: >> >> for (var i:Number = 0; i != elements.length; i++) { >> elements[i].animation.update(); >> } >> >> That FOR loop puts my humble PC into a coma. The variable 'elements' is >> not >> undefined, and when I call trace(elements.length) I get '2'. I tried >> clearing ASO cache (whatever that's worth right now) as a silly >> precaution. >> >> Excuse me whilst I hang myself. >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Attaching a change handler to a dynamically generated comboBox
I'm using Flash 9. I just tried using this instead of setChangeHandler: var myComboBox = myScrollBox.createClassChildAt Depth(mx.controls.ComboBox, DepthManager.kTop, {_x:10, _y:10}); myCondition.change = function(eventObj){ // combo = myComboBox.getSelectedItem().data; combo = myComboBox.selectedItem; trace(combo.label); } myComboBox.addEventListener("change", myCondition); ... And it didn't work either. Any advice? Thanks, --Carl On 6/26/07, Rákos Attila <[EMAIL PROTECTED]> wrote: As far I remember setChangeHandler() was used in v1 component library for Flash 6. Are you surely using v1 components? I don't think so, since there was no createClassChildAtDepth(), mx.controls.ComboBox class, etc. In v2 components there is an other way of attaching event handlers (addEventListener, "change" event). Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Carl Welch <[EMAIL PROTECTED]> To: Flashcoders mailing list Date:Tuesday, June 26, 2007, 11:46:14 AM Subject: [Flashcoders] Attaching a change handler to a dynamically generated comboBox --===-- Hello List, I am having an issue with attaching a "change" handler to a ComboBox that is being dynamically generated. What is wrong with this code I am using? var myComboBox = myScrollBox.createClassChildAtDepth(mx.controls.ComboBox, DepthManager.kTop, {_x:10, _y:10}); myComboBox.addItem({label:"Foo", data:"FooBar"}); function comboDisplay(component) { trace(myComboBox.getSelectedItem().data); } myComboBox.setChangeHandler("comboDisplay"); As a test, I tried: myComboBox.onPress = function() { trace(myComboBox.getSelectedItem().data); } ... and it did trace the first item, but of course it wouldn't work as a dropdown anymore. Thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Attaching a change handler to a dynamically generated comboBox
Hello List, I am having an issue with attaching a "change" handler to a ComboBox that is being dynamically generated. What is wrong with this code I am using? var myComboBox = myScrollBox.createClassChildAtDepth(mx.controls.ComboBox, DepthManager.kTop, {_x:10, _y:10}); myComboBox.addItem({label:"Foo", data:"FooBar"}); function comboDisplay(component) { trace(myComboBox.getSelectedItem().data); } myComboBox.setChangeHandler("comboDisplay"); As a test, I tried: myComboBox.onPress = function() { trace(myComboBox.getSelectedItem().data); } ... and it did trace the first item, but of course it wouldn't work as a dropdown anymore. Thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Lightbox & Flash & .mov
I have a client who wants to play quictime .mov (does not want .flv) files in a lightbox.js type thing called from Flash. I found FlashLightBox but it won't pay quicktime files. Does anyone know or has seen anything like this out there in the world? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash https / IE wierdness
We had the same problem. We were banging our heads against the wall trying to figure out why it wasn't working in IE over a https connection until we found this: //header("Expires: Mon, 25 Jan 1970 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0"); //header("Pragma: no-cache"); seem to make it all work in both IE and Firefox. here's a googled cached version of the page explaining this: http://72.14.253.104/search?q=cache:qw2g8oXGQLwJ:www.gmrweb.net/2005/08/18/flash-remoting-https-internet-explorer/+flash-remoting-https-internet-explorer&hl=en&ct=clnk&cd=1&gl=us&client=firefox-a On 6/19/07, Giles Roadnight <[EMAIL PROTECTED]> wrote: Hi All I have a swf that loads an rss feed then loads images and displays them. This works fine on our local dev server, the live server and on the staging server on Firefox. However on the staging server the images do not appear and none of the text in the rss appear either. The only difference is that the staging server is running on https (it comes up with an invalid certificate when you load the site). It's very odd that it works in firefox and not in IE. Does IE handle https urls any different than Firefox? Thanks Hope someone can help. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] combo box problem
No, I'm not loading any external swfs. On 5/30/07, Andy Herrman <[EMAIL PROTECTED]> wrote: Any chance you're loading child SWFs and then trying to attach the combo boxes there? I'm running into some very strange behavior when doing that (will be posting about it in the next day or so once I narrow it down some more). -Andy On 5/30/07, Carl Welch <[EMAIL PROTECTED]> wrote: > > I have the same situation. In mine, I am dynamically generating each > screen as the user navigates. It will work on the first screen that a > series of comboboxes appear, then on the next screen they show up but > don't work. I am completely deleting the movieclip that contains them. > Then I build a new MC container each time a user goes to a different > screen. I thought I was being safe with that set up. > > Kinda relieved I'm not the only one that has run into this problem, > but its imperative that I fix it. > > --Carl > > On 5/30/07, Muzak <[EMAIL PROTECTED]> wrote: > > Explain your setup and maybe show us some code. > > The combobox should just work. > > > > > > > > - Original Message - > > From: "Randy Tinfow" <[EMAIL PROTECTED]> > > To: > > Sent: Wednesday, May 30, 2007 6:29 PM > > Subject: [Flashcoders] combo box problem > > > > > > We're 6 weeks into our last AS2 project, with about a week left for > development. Now we hit what seems like a brick wall. > > > > We select an item from the dropdown and it works fine the first > time. The second time it works okay. The third time it just stops > > working. > > > > There is apparently a reference in the component to the root timeline > that prevents it from operating normally. We've tried > > _lockroot, we've tried swapping depths of __dropdown every single time > you click on the combo box. None of our hacks work. > > > > We tried the bjc bitcomponent combobox and it looks horrendous and > doesn't seem to fire any of the events, either. > > > > Any suggestions? > > > > TIA, > > > > Randy Tinfow > > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > -- > Carl Welch > http://www.carlwelch.com > [EMAIL PROTECTED] > 805.403.4819 > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] combo box problem
I have the same situation. In mine, I am dynamically generating each screen as the user navigates. It will work on the first screen that a series of comboboxes appear, then on the next screen they show up but don't work. I am completely deleting the movieclip that contains them. Then I build a new MC container each time a user goes to a different screen. I thought I was being safe with that set up. Kinda relieved I'm not the only one that has run into this problem, but its imperative that I fix it. --Carl On 5/30/07, Muzak <[EMAIL PROTECTED]> wrote: Explain your setup and maybe show us some code. The combobox should just work. - Original Message - From: "Randy Tinfow" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 30, 2007 6:29 PM Subject: [Flashcoders] combo box problem We're 6 weeks into our last AS2 project, with about a week left for development. Now we hit what seems like a brick wall. We select an item from the dropdown and it works fine the first time. The second time it works okay. The third time it just stops working. There is apparently a reference in the component to the root timeline that prevents it from operating normally. We've tried _lockroot, we've tried swapping depths of __dropdown every single time you click on the combo box. None of our hacks work. We tried the bjc bitcomponent combobox and it looks horrendous and doesn't seem to fire any of the events, either. Any suggestions? TIA, Randy Tinfow ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Need help creating an old-skool arc or circularscrollbar
Seems to me you guys are doing this the hard way. Why not just draw a curved line (with the line tool) then use code to attach/snap the handle to the line, and then just use actionscript to track the Y position of the handle and scroll accordingly? Trig for a simple scroller seems a little convoluted way of going about this simple thing...The end user will never know or appreciate the difference anyway. On 5/24/07, Ash Warren <[EMAIL PROTECTED]> wrote: Thank you both! This is great. I will try and apply the scroller to this code today. Ash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: Thursday, May 24, 2007 1:35 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Need help creating an old-skool arc or circularscrollbar Mark is true. Respect! :-) I used Math.atan(), too and if/else to know, in which quadrant of the circle the drag element is moved. I uploaded my quick&dirty source now. Please be kind! :-) http://lizu.net/circle.swf http://lizu.net/circleSrc.zip it consists of the circle drag mechanism, but I think, the scrolling can be easily applied then with a 'rule of three' and the angle. hth, Matthias 2007/5/23, Mark Winterhalder <[EMAIL PROTECTED]>: > On 5/23/07, Jesse Graupmann <[EMAIL PROTECTED]> wrote: > > > > Trigonometry > > No need, apart from Math.atan2() to get the result -- assuming the > anchor point of the container is in the middle, just normalize the > vector from the centre to the mouse and then scale it to the desired > radius, that's the position of the handle. > > About like this: > > var xmouse = ... > var ymouse = ... > var radius = ... > > var magnitude = Math.sqrt( xmouse * xmouse + ymouse * ymouse ); > > var x = xmouse / magnitude * radius; > var y = ymouss / magnitude * radius; > var angle = Math.atan( ymouse, xmouse ); // devide by Math.PI * 180 if you wish > // now set the position of the handle to x, y and broadcast an event > with the angle. > > If you want to set it to a certain angle (in radians), it should be > something like... > > var x = Math.cos( angle ) * radius; > var y = Math.sin( angle ) * -radius; > > ...which might turn into the wrong direction or be set off by > Math.PI/2, in that case, flip the sign of y and/or add/subtract > Math.PI/2 to the angle. > > HTH, > Mark > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Memory Leaks
Use "while" instead of "for" loop statements. "for" will eat your resources, big time. --Carl On 5/9/07, ben gomez farrell <[EMAIL PROTECTED]> wrote: Usually I just track them down, figure out where my setInterval calls are and try to plot out in what situations they aren't being cleared. You could also put some trace calls in the classes or methods you think are clearing, and if it stops tracing then you know it's gone from memory. Additionally you might want to look into better organizing your setInterval. Maybe put them in an array that you can query. When you clear the interval set that index to null. You could trace the array and see all the non-null values. Maybe you could also make a class to manage your setInterval calls better. A clearAllIntervals method in a interval management class could help out a great deal. I've also had problems before with Delegate memory leaks. There was a great article on Delegate memory management in the last year or so - I can't remember where it was, but you can find a similar one here: http://teknision.blogspot.com/2005/07/delegatesbe-careful.html ben Michael Trim wrote: > Hi Flashcoders, > > What techniques do list members use for tracking down memory leaks in AS2? > > It's a problem with repetitive functions called by setInterval events. > > It's slow and cumulative but if you leave it on you can see the PF and Mem Usage, creep up. > > Can anyone out there share any of their tips, I'm tearing my hair out here, > > Thanks, > > Michael > > > > > Michael Trim > Senior Producer > Instant Business > a: 8-10 Colston Avenue, > Bristol, UK, BS1 4ST > t: +44 (0) 117 915 5175 > msn:[EMAIL PROTECTED] > w: www.ibltd.com > > Company number: 03857884 > Registered office: Prospero House > 46 -48 Rothesay Road, Luton, Bedfordshire, LU1 1QZ > VAT Registration No. GB 753 1706 40 > > The information in this email is confidential and is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, you must not read, use or disseminate the information. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Instant Business Ltd. > > Instant Business servers have scanned this e-mail and any attachments for viruses and every reasonable attempt has been made to ensure that it does not contain any harmful data. > It is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Instant Business Ltd for any loss of data or damage caused as a result of opening this message. > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] xml: CDATA - base-64 encoded graphics
I think its supposed to look like a happy face or something (icons for a rating system). Not sure what attachment you are reffering to. If you are talking about the xml code I pasted in earlier, that is what I recieve. I learned that it is a Base64 binary encoded image. I figured out how to decode it. I guess I'll look into the Loader and loadBytes you mentioned. Thanks On 5/3/07, Ruslan Shestopal <[EMAIL PROTECTED]> wrote: So according to your thumb? Decoded image loos like (see attachment = question-mark) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] xml: CDATA - base-64 encoded graphics
The class worked well. Is there a way I can use BitMapData code to turn the output into an image? this is what is decoded - makes no sense to me: %00JFIF%00%00%00d%00d%00%00%00Ducky%00%00%00%00%00K%00%00%00Adobe%00d%00%00%00%00%00 %00%00 %00 %00%00a%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00 %00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00!"1'¡ARb%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00 %00%00?%00lpF7X' ' u+~¨ p±±L }A° 9¤NR(r)"]§& k^^5Y"t H([EMAIL PROTECTED] thanks. On 5/3/07, Ruslan Shestopal <[EMAIL PROTECTED]> wrote: Hi! Why not you just use base64_decode function with php script? As for the script - this can only be done using AS3 since we dealing with binary data here. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Welch Sent: Thursday, May 03, 2007 8:53 PM To: Flashcoders mailing list Subject: [Flashcoders] xml: CDATA - base-64 encoded graphics Hi guys, I am working on a project where I am loading some xml. one of the nodes is giving me CDATA that is base-64 encoded. Is there any actionscript out there that can decode and assemble a tiny icon? here's what it looks like: thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: xml: CDATA - base-64 encoded graphics
Nevermind. I found this: http://blog.jasonnussbaum.com/?p=108 On 5/3/07, Carl Welch <[EMAIL PROTECTED]> wrote: Hi guys, I am working on a project where I am loading some xml. one of the nodes is giving me CDATA that is base-64 encoded. Is there any actionscript out there that can decode and assemble a tiny icon? here's what it looks like: thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] xml: CDATA - base-64 encoded graphics
Hi guys, I am working on a project where I am loading some xml. one of the nodes is giving me CDATA that is base-64 encoded. Is there any actionscript out there that can decode and assemble a tiny icon? here's what it looks like: thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] about depth
I've been having the same exact troubles. I always assumed that if you load an image into a "createEmptyMovieClip" that the clip will stay at the level you told it to - but that doesn't appear to be the case. On 3/30/07, Gustavo Duenas <[EMAIL PROTECTED]> wrote: Hi My idea is to set a dinamyc background in the layer 1 of my flash (so far it has 10 layers) the code is as: _root.createEmptyMovieClip("myClip", 0); myclip.loadMovie("back1.jpg"); but when It loads the jpg, the jpg is above all the other layers, when I really needed this underneath. Someone knows what should I do? Regards Gustavo Duenas p.S: I don't know much about this depth thing, but I'm really stuck with this problem. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] audio library
Cool. thanks for the link. On 3/27/07, Ron Wheeler <[EMAIL PROTECTED]> wrote: You can only write so much code before you want it to make a little noise. OK so it is a little OT, but less OT than many things that show up. If we do not discuss how OT it is we will not waste too many e-mails. Ron Lars Schwarz wrote: > sorry, but ain't this OT and has nothing to do with coding? > > Am 27.03.2007 um 13:08 schrieb Steven Clark: > >> Does anyone know a good royalty free audio library for corporate >> projects? Or any services like photos.com where you pay a >> subscription. >> Thanks! >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com > > > > > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] MDM Zinc v2.5 Trial _ Writing files to hard drive
Google: http://www.google.com/search?q=zinc+write+files+to+hard+drive 2nd item down on the results page: The Local File System and Flash http://www.communitymx.com/content/article.cfm?cid=107B6 --Carl On 3/23/07, Ned Perry <[EMAIL PROTECTED]> wrote: Hi I need to make a Projector that writes files to the hard-drive. All the content elements are going to be Flash and I was hoping to use Zinc as a wrapper that could handle the file system elements. But I can't find any command to create a file. Does anyone know if there is one? There seems to be loads of stuff to copy and move files etc but not to make one. If there isn't can anyone recommend an alternative to Zinc other than Director. Cheers Ned This e-mail (and any attachments) is confidential and may contain personal views which are not the views of Cimex Media Ltd and any affiliated companies, unless specifically stated. It is intended for the use of the individual or group to whom it is addressed. If you have received it in error, please delete it from your system, do not use, copy or disclose the information in any way nor act in reliance on it and please notify [EMAIL PROTECTED] A company registered in England & Wales. Company Number 03765711 Registered Office : The Olde Bakehouse, 156 Watling Street East, Towcester, Northants NN12 6DB This email was scanned by Postini, the leading provider in Managed Email Security. http://www.postini.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] High CPU usage problems
Hi Coders, I've been having problem with some the apps I've been building. The CPU gets really bogged down like with usage often at 100%.I tend to use alot of tween classes, load external images and XML. I've never really had a good grasp of what to do with things regarding memory usage(programatically). I like to keep all my scripting on one frame and have function do what I need do. Currently, I am having the problem with this project: http://www.artandsignfx.com/temp.html I programmed the "Portfolio Section". Bring up the task manager and watch the performance graph. You can watch it start to bogg down after a while of clicking around the portfolio section. Its loading xmls (one for the Side Menu) and the other for the thumbnails and theire respective data. There are quite a few createMovieClips and AttachMovieClips and some setIntervals - which I do clear when I'm done. When I create a tween object I try to kill it when I'm done using it with "delete myObject;" - not sure if that even works. Can anyone offer any advice or point me in the direction of a really good article regarding this subject?. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] scaling external jpgs or pngs
Hi coders, When down-scaling external (loadMovie) images, It there a secret way to do it without making the image look jagged? Do pngs scale better than jpgs? Thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] xml parse question
What if I don't know what the names are going to be? How can I check how many attributes are in a node? is there anything like .attributes.length (I know that's wrong...) so I can loop through and find out their names? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] On 3/14/07, Andrew Wright <[EMAIL PROTECTED]> wrote: .attributes.imageID .attributes.img .attributes.text etc > Hi coders, > > I just started working on a new project that is requiring me to handle > an xml format that I haven't had to deal with yet. > > Here is an example of what it looks like: > > Font="Black,8,Regular,AlignLeft" onPanel="true" xPos="0.25" > yPos="0.112" /> > > I'm used to parsing xml that looks like this: > > > "foo" > > > How do I parse xml that looks like the first example with multiple > values inside of a single node? > > Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] xml parse question
Nevermind. I found this in one of my many flash books: myAttributes = this.firstChild.childNodes[0].childNodes[0].attributes; for(attributes in myAttributes){ trace(attributes+" : "+myAttributes[attributes]); } On 3/14/07, Carl Welch <[EMAIL PROTECTED]> wrote: What if I don't know what the names are going to be? How can I check how many attributes are in a node? is there anything like .attributes.length (I know that's wrong...) so I can loop through and find out their names? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] On 3/14/07, Andrew Wright <[EMAIL PROTECTED]> wrote: > .attributes.imageID > .attributes.img > .attributes.text > > etc > > Hi coders, > > > > I just started working on a new project that is requiring me to handle > > an xml format that I haven't had to deal with yet. > > > > Here is an example of what it looks like: > > > > > Font="Black,8,Regular,AlignLeft" onPanel="true" xPos="0.25" > > yPos="0.112" /> > > > > I'm used to parsing xml that looks like this: > > > > > > "foo" > > > > > > How do I parse xml that looks like the first example with multiple > > values inside of a single node? > > > > Thanks. > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] xml parse question
Hi coders, I just started working on a new project that is requiring me to handle an xml format that I haven't had to deal with yet. Here is an example of what it looks like: I'm used to parsing xml that looks like this: "foo" How do I parse xml that looks like the first example with multiple values inside of a single node? Thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Scrolling text with dragger??
Steven, I checked out your scroller. It looks cool but I don't understand how to assign a movie clip to it... On 2/6/07, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: I have a scrollbar class I wrote and blogged about. You might find it useful for your needs. http://www.stevensacks.net/2007/02/06/flash-scrollbar-ftw/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Scroll bar math question
Hello All, I have a movieclip that I attach a varying number of other movieclip that are stacked vertically. I am trying to figure out some math that accounts for the varying height of the scrolled movieclip. I am having a problem with the math though. I am using something that looks like: buttonMask._y = 60+(-(this._y)/ratio); the "ratio" variable comes from the movieclip with the stacked (attached) movieclips DIVIDED by the height of my scroll bar. But it doesn't seem to work well. The scroller moves my movieclip too high. I don't even know how to make this sound with out sounding like an idiot Here's my code: //buttonMask is the movieclip that gets the other movieclips loaded into. //line is part of my scrollbar & dragger is my little scroll knob that gets dragged dragger.onPress = function() { startDrag("dragger", true, line._x, 30, line._x, line._height+30); ratio = (buttonMask._height/line._height); this.onEnterFrame = function() { buttonMask._y = 60+(-(this._y)/ratio); /http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] problems with dataGrid.selectedIndex
Pete, I'm an idiot. I checked again if the datagrid was populated before the selectedIndex was called. It wasn't... Now it is and it works... Thanks. On 11/15/06, Carl Welch <[EMAIL PROTECTED]> wrote: No, the dataGrid is definately filled before the selectedInex is called. On 11/15/06, Pete Miller <[EMAIL PROTECTED]> wrote: > Are you by any chance trying to set the selectedIndex before the > dataProvider array has been filled? Presumably myTrack_Pos is known > immediately via the URL query-string, but the datagrid needs time to > become populated (via XML?). > > >> -Original Message- > >> From: [EMAIL PROTECTED] [mailto:flashcoders- > >> [EMAIL PROTECTED] On Behalf Of Carl Welch > >> Sent: Wednesday, November 15, 2006 3:18 PM > >> To: Flashcoders mailing list > >> Subject: [Flashcoders] problems with dataGrid.selectedIndex > >> > >> Oi! > >> > >> I have built a mp3 player using xml to give me all of my links to > >> files, data, etc... > >> The data loads into a datgrid. > >> One of the requirements I needed to meet was to be able use a url > >> query-string to directly link to a mp3 to play on load: exampe: > >> > >> http://mysite/audio.php?titleid=10&trackid=71 > >> > >> This works fine. But I also need to hilite the correct row in the > >> datagrid when I use the query-string when the swf loads. Here's what > >> I'm using: > >> > >> songList_lb.selectedIndex = myTrack_Pos; > >> songList_lb.dispatchEvent({type:"change", target:songList_lb}); > >> > >> It seems like selectedIndex will only work if the user has already > >> clicked on the datagrid. But I want a row to be selected when the swf > >> loads before the user has had a chance to select anything... > >> > >> I hope I am making sense. Thanks. > >> > >> -- > >> Carl Welch > >> http://www.carlwelch.com > >> [EMAIL PROTECTED] > >> 805.403.4819 > >> ___ > >> Flashcoders@chattyfig.figleaf.com > >> To change your subscription options or search the archive: > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> Brought to you by Fig Leaf Software > >> Premier Authorized Adobe Consulting and Training > >> http://www.figleaf.com > >> http://training.figleaf.com > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] problems with dataGrid.selectedIndex
No, the dataGrid is definately filled before the selectedInex is called. On 11/15/06, Pete Miller <[EMAIL PROTECTED]> wrote: Are you by any chance trying to set the selectedIndex before the dataProvider array has been filled? Presumably myTrack_Pos is known immediately via the URL query-string, but the datagrid needs time to become populated (via XML?). >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:flashcoders- >> [EMAIL PROTECTED] On Behalf Of Carl Welch >> Sent: Wednesday, November 15, 2006 3:18 PM >> To: Flashcoders mailing list >> Subject: [Flashcoders] problems with dataGrid.selectedIndex >> >> Oi! >> >> I have built a mp3 player using xml to give me all of my links to >> files, data, etc... >> The data loads into a datgrid. >> One of the requirements I needed to meet was to be able use a url >> query-string to directly link to a mp3 to play on load: exampe: >> >> http://mysite/audio.php?titleid=10&trackid=71 >> >> This works fine. But I also need to hilite the correct row in the >> datagrid when I use the query-string when the swf loads. Here's what >> I'm using: >> >> songList_lb.selectedIndex = myTrack_Pos; >> songList_lb.dispatchEvent({type:"change", target:songList_lb}); >> >> It seems like selectedIndex will only work if the user has already >> clicked on the datagrid. But I want a row to be selected when the swf >> loads before the user has had a chance to select anything... >> >> I hope I am making sense. Thanks. >> >> -- >> Carl Welch >> http://www.carlwelch.com >> [EMAIL PROTECTED] >> 805.403.4819 >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] problems with dataGrid.selectedIndex
Oi! I have built a mp3 player using xml to give me all of my links to files, data, etc... The data loads into a datgrid. One of the requirements I needed to meet was to be able use a url query-string to directly link to a mp3 to play on load: exampe: http://mysite/audio.php?titleid=10&trackid=71 This works fine. But I also need to hilite the correct row in the datagrid when I use the query-string when the swf loads. Here's what I'm using: songList_lb.selectedIndex = myTrack_Pos; songList_lb.dispatchEvent({type:"change", target:songList_lb}); It seems like selectedIndex will only work if the user has already clicked on the datagrid. But I want a row to be selected when the swf loads before the user has had a chance to select anything... I hope I am making sense. Thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] hi-lighting an item in the list component won't work for me.
Hi all, I am trying to dynamically set a particular item in the list component, but it does not seem to work at all. Here's what I'm using: songList_lb.selectedIndex = myTrack_Pos+1; songList_lb.dispatchEvent({type:"change", target:songList_lb}); Any ideas? Thanks! -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] am i stupid?
what about onMouseDown? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 On 11/8/06, John VanHorn <[EMAIL PROTECTED]> wrote: on the root timeline: this.onPress = function(){ trace(this); } does not work? the _root/_level0 movie does not take onPress or onRelease? other events like onMouseMove or onEnterFrame work finewhy not onPress? how have i not run into this before? -- John Van Horn [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] 3-6M Flash contract in Little Rock, AR
me too. I thought it was a 3 to 6 million dollar contract... In my dreams... On 11/6/06, Adam Pasztory <[EMAIL PROTECTED]> wrote: Darn. When I saw the subject, I thought "3-6m" was the pay. ;) On 11/6/06, John Grden <[EMAIL PROTECTED]> wrote: > > maybe we should hand write some job descriptions that make sense, and > point > recruiters to them to help qualify what they're really after and, to a > greater degree, what they're able to realistically find. > > I re-read, thinking that maybe this was multiple positions, but no - it's > for one: "If you are interested in this position...Please only reply if > you > are intermediate in both Flash AND Java > (not one or the other)." > > This is the part that kills me: > > * ActionScript - Low to Intermediate > then... > * Flash/ActionScript Developer: Strong Flash and ActionScript > > On 11/6/06, [EMAIL PROTECTED] < > [EMAIL PROTECTED]> > wrote: > > > > This is my first post. If I'm supposed to post Flash jobs elsewhere, > > please > > let me know. Thanks! > > > > -- > > If you are interested in this position, please send resume to > > [EMAIL PROTECTED] Please include your desired hourly > > rate > > as well. Please only reply if you are intermediate in both Flash AND > Java > > (not one or the other). > > > > Location: Little Rock, AR > > Term: 3-6 month contract, possibly longer > > Hourly Rate: DOE > > > > Requirements: > > > > * Flash Design - Intermediate to Advanced > > * ActionScript - Low to Intermediate > > * Sysadmin experience with J2EE servers: Required for application server > > setup and maintenance > > * Java Developer: This developer should have experience with Servlets > and > > JSP's. I would say intermediate java skills will be fine. > > * HTML/Javascript Developer: Strong Javascript skills > > * Flash/ActionScript Developer: Strong Flash and ActionScript > > * Artist: Some image manipulation skills will be require > > > > Description: Contractor will provide IT services related to a leading > edge > > technology website for a Fortune 500 company. This site is very > > interactive, > > leveraging flash components throughout. The pages are HTML files with > JSP > > sub-pages that are tied together using Javascript. Other sections > include > > a > > 3D image page which use a Viewpoint plugin along with a Java based > > technology. > > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > [ JPG ] > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re: Url query-string in Actionscript 3 (Flash 9 Public Alpha)
nevermind, solved it (or atleast came up with something that works): I found this: http://desdev.blogspot.com/2005/10/getting-querystring-params-to-flash_07.html and is AS3 I used this: try { var keyStr:String; var valueStr:String; var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters; for (keyStr in paramObj) { valueStr = String(paramObj[keyStr]); if (keyStr =="process"){ trackName.text = valueStr; myVar.text = keyStr; } if (keyStr =="mySong"){ mySong.text = valueStr; //myVar.text = keyStr; } if (keyStr =="myTable"){ myTable.text = valueStr; //myVar.text = keyStr; } } } catch (error:Error) { // tf.appendText(error); } Thanks. On 11/2/06, Carl Welch <[EMAIL PROTECTED]> wrote: Hi, I am trying to send an URL query string to AS 3: heres the string: http://someurl/track_visualizer.php?process=foo.mp3&myTable=bar I found this example (12th item down): http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/ Now, I suck at using classes (at the moment) and would just like to put it in the frame with the rest of my script. I've tried to widdle it down but keep getting errors. Can someone point me in the right direction? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Url query-string in Actionscript 3 (Flash 9 Public Alpha)
Hi, I am trying to send an URL query string to AS 3: heres the string: http://someurl/track_visualizer.php?process=foo.mp3&myTable=bar I found this example (12th item down): http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/ Now, I suck at using classes (at the moment) and would just like to put it in the frame with the rest of my script. I've tried to widdle it down but keep getting errors. Can someone point me in the right direction? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Url query-string in Actionscript 3 (Flash 9 Public Alpha)
Hi, I am trying to send an URL query string to AS 3: heres the string: http://..xxx/track_visualizer.php?process=foo.mp3&myTable=bar I found this example (12th item down): http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/ Now, I suck at using classes (at the moment) and would just like to put it in the frame with the rest of my script. I've tried to widdle it down but keep getting errors. Can someone point me in the right direction? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FileReference and mac file types
Thanks guys. First I tried setting the mac file types to tink's list (ie: macType:"MPG3;MP3_;Mp3_;MPEG"). Didn't work. Then I read Josh's page and he suggested not putting any mactype... It worked. Sweet. Thanks again. On 10/29/06, John VanHorn <[EMAIL PROTECTED]> wrote: heres another good article: http://www.joshbuhler.com/2006/05/30/mac-file-types-one-more-thing/ On 10/29/06, Carl Welch <[EMAIL PROTECTED]> wrote: > > I have an project that needs to allow users to only upload mp3 files. > It works fine on a PC. But on a mac the mp3 files are greyed out and > the user is unable to select a file. Here is my code below: What am I > missing? > > > var fileRef:FileReference = new FileReference(); > fileRef.addListener(listener); > browse.onRelease = function() { > upload.enabled = true; > fileRef.browse([{description:"Audio files", extension:"*.mp3", > macType:"mp3"}]); > }; > > > Thanks for your help... > -- > Carl Welch > http://www.carlwelch.com > [EMAIL PROTECTED] > 805.403.4819 > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- John Van Horn [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] FileReference and mac file types
I have an project that needs to allow users to only upload mp3 files. It works fine on a PC. But on a mac the mp3 files are greyed out and the user is unable to select a file. Here is my code below: What am I missing? var fileRef:FileReference = new FileReference(); fileRef.addListener(listener); browse.onRelease = function() { upload.enabled = true; fileRef.browse([{description:"Audio files", extension:"*.mp3", macType:"mp3"}]); }; Thanks for your help... -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Converting a comma delimitted list to an array from MySql
Dod, Thanks! I just tried it and it wasn't really slow at all -- It returned an array length of close to 3000, and I didn't notice any slowdown I love you arse... Yes I am comfortable enough with my sexuallity that I can say that with out wincing... Cheers, -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 On 10/19/06, Carl Welch <[EMAIL PROTECTED]> wrote: Thanks, though, I heard that the split function built into AS is notoriously slow. True? On 10/19/06, Arse @ Snepo <[EMAIL PROTECTED]> wrote: > use the string.split method > > var my_array:Array = my_str.split(","); > > A > > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Converting a comma delimitted list to an array from MySql
Thanks, though, I heard that the split function built into AS is notoriously slow. True? On 10/19/06, Arse @ Snepo <[EMAIL PROTECTED]> wrote: use the string.split method var my_array:Array = my_str.split(","); A Carl Welch wrote: > Oi, All. > > I am recieving a comma delimitted list/String from MySql that looks > like this: > > 0,0,0,26.361817121505737,10.903573036193848,7.390960305929184,24.12494868040085,21.304115653038025,6.756003946065903,11.561043560504913 > > > > I am trying to convert it into an Array. I used to do something like > it in MM Director, but I cannot figure out how to do it in AS. Can > someone help a brother out? > > > Thank you! -- *Anthony Eden*: Inventor at Snepo <http://www.snepo.com/> contact | [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> | 0411 5622 02 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash File Upload using .NET
I've found that when uploading using FileReference, my files end up being read only by the owner (chmod 600). Which in turn doesn't allow the file to be read back into my swf Does anyone know of a way to make it chmod to 644? I 've tried to make php set it to the proper chmod but to no avail. Or maybe someone can enlighten me to what may be causing this I did set the php to safe_mode off - In hopes that would help me solve the issue -- but no, it didn't... Cheers. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Converting a comma delimitted list to an array from MySql
Oi, All. I am recieving a comma delimitted list/String from MySql that looks like this: 0,0,0,26.361817121505737,10.903573036193848,7.390960305929184,24.12494868040085,21.304115653038025,6.756003946065903,11.561043560504913 I am trying to convert it into an Array. I used to do something like it in MM Director, but I cannot figure out how to do it in AS. Can someone help a brother out? Thank you! -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Font color in datagrid component
Thanks, but that still didn't work. Here's a screenshot of what I have now: http://www.carlwelch.com/listBoxsample/listbox.jpg but I'm trying to make it look more like this: http://www.carlwelch.com/listBoxsample/listbox2.jpg this the code I'm using: import mx.styles.CSSStyleDeclaration; if (_global.styles.DataGrid == undefined) { _global.styles.DataGrid = new CSSStyleDeclaration(); } _global.styles.DataGrid.setStyle("alternatingRowColors", [0x00, 0x0B0B0B]); _global.styles.DataGrid.setStyle("color ", 0xFF); _global.styles.DataGrid.setStyle.color = "white"; _global.styles.DataGrid.setStyle("themeColor", "haloBlue"); _global.styles.DataGrid.setStyle("borderStyle", "solid"); _global.styles.DataGrid.setStyle("borderColor", 0x66); if (_global.styles.List == undefined) { _global.styles.List = new CSSStyleDeclaration(); } _global.styles.List.setStyle("color", 0xFF); if (_global.styles.Tree == undefined) { _global.styles.Tree = new CSSStyleDeclaration(); } _global.styles.Tree.setStyle("color", 0x00); On 10/15/06, nelson ramirez <[EMAIL PROTECTED]> wrote: The DataGrid component implements the List component. So you need to set the style for List. if (_global.styles.List == undefined) { _global.styles.List = new CSSStyleDeclaration(); } _global.styles.List.setStyle("color", 0xFF); On 10/15/06, Carl Welch <[EMAIL PROTECTED]> wrote: > > I'm trying to make the color of text white in a datagrid. it doesn't > seem to be working, though. The text looks dark blue against a black > background. Also is it possible to change the color of the top part of > the datagrid. Even though I have the cells set to an alternating color > of black and grey, the column labels stay white. > > I googled but couln't find anything helpful... > > import mx.styles.CSSStyleDeclaration; > if (_global.styles.DataGrid == undefined) { > _global.styles.DataGrid = new CSSStyleDeclaration(); > } > _global.styles.DataGrid.setStyle("alternatingRowColors", [0x00, > 0x0B0B0B]); > _global.styles.DataGrid.setStyle("color ", 0xFF); > _global.styles.DataGrid.setStyle("themeColor", "haloBlue"); > _global.styles.DataGrid.setStyle("borderStyle", "solid"); > _global.styles.DataGrid.setStyle("borderColor", 0x66); > > > Thanks... > -- > Carl Welch > http://www.carlwelch.com > [EMAIL PROTECTED] > 805.403.4819 > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Font color in datagrid component
I'm trying to make the color of text white in a datagrid. it doesn't seem to be working, though. The text looks dark blue against a black background. Also is it possible to change the color of the top part of the datagrid. Even though I have the cells set to an alternating color of black and grey, the column labels stay white. I googled but couln't find anything helpful... import mx.styles.CSSStyleDeclaration; if (_global.styles.DataGrid == undefined) { _global.styles.DataGrid = new CSSStyleDeclaration(); } _global.styles.DataGrid.setStyle("alternatingRowColors", [0x00, 0x0B0B0B]); _global.styles.DataGrid.setStyle("color ", 0xFF); _global.styles.DataGrid.setStyle("themeColor", "haloBlue"); _global.styles.DataGrid.setStyle("borderStyle", "solid"); _global.styles.DataGrid.setStyle("borderColor", 0x66); Thanks... -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] as3 and attachmovie
http://as3.betaruce.com/tut/tut_2/tut_2.html On 7/29/06, Helmut Granda <[EMAIL PROTECTED]> wrote: So the newMC will automatically know to get the next highest depth? And if that is true how about swapping depths with other mcs? ...helmut -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't Kruis Sent: Tuesday, July 25, 2006 10:18 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] as3 and attachmovie Carl, Everything in AS3 is classes, so you can't do anything without using classes. It's actually easier than attachmovie. Just make a var newMC=new MovieClip(); this.addChild(newMC); feels alot cleaner that attachmovie("gf","gf"+_root.getNextHighestDepth(),_root.getNextHighestDepth( )); doesn't it ;). good luck! Meinte ps. you can checkout senocular.com , he has some excellent tutorials on AS3 On 7/25/06, eka <[EMAIL PROTECTED]> wrote: > > Hello :) > > read in french : > > - > > http://iteratif.free.fr/blog/index.php?2006/07/11/44-bibliotheque-part > agee-sous-flash-9 > > attachMovie is remove in AS3 :) Use [embed(source="")] metadata > and create the instance with new MyClass and addChild() method :) > > eKA+ :) > > > 2006/7/25, Carl Welch <[EMAIL PROTECTED]>: > > > > I just downloaded the demo of Flash 9 / as3 and I noticed you can't > > use attachmovie anymore. I've found some new methods on google but > > it seems like the only way I can do it is by using classes. Is there > > another way to handle an attachmovie equivilent without using a > > class in as3? > > > > thanks. > > > > -- > > Carl Welch > > http://www.carlwelch.com > > [EMAIL PROTECTED] > > 805.403.4819 > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] pass variables between classes in AS3
I have an AS3 document class where I load and parse an xml file into an array. I would like to pass that array to a movieclip(?) class - basically its a button that will create new movieclips that will differ based on my xml array. How in the world do I get the array from the document class to other classes... arggg! as3 is blowing my mind. I've googled but I can't find anything that make sense to my as2 brain. Thanks again. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] as3 and attachmovie
doh! I was thrown by the lack of quotation marks for the linkage name. thanks On 7/26/06, Supriya <[EMAIL PROTECTED]> wrote: In the library, right click on the symbol , click on Linkage. There select the checkbox Export for ActionScript. Give a name (gf) in the class field, flash will autogenerate a class for you with that name Now on timeline do this var myGf = new gf() this.addChild(myGf) this is equivalent to attachMovie - Original Message - From: "Carl Welch" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, July 26, 2006 2:44 PM Subject: Re: [Flashcoders] as3 and attachmovie > OK. I am trying to learn how to use classes and have had some success > - But what I just can't seem to grasp in this situation is if I use > this: > > var newMC=new MovieClip(); > this.addChild(newMC); > > instead of this: > attachmovie("gf","gf"+_root.getNextHighestDepth(),_root.getNextHighestDepth > > How do I select "gf" as the movieclip to be added to the stage? > > > Thanks. > > On 7/25/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote: >> Carl, >> >> Everything in AS3 is classes, so you can't do anything without using >> classes. >> It's actually easier than attachmovie. Just make a >> >> var newMC=new MovieClip(); >> this.addChild(newMC); >> >> feels alot cleaner that >> attachmovie("gf","gf"+_root.getNextHighestDepth(),_root.getNextHighestDepth()); >> doesn't it ;). >> >> good luck! >> >> Meinte >> >> ps. you can checkout senocular.com , he has some excellent tutorials on >> AS3 >> >> On 7/25/06, eka <[EMAIL PROTECTED]> wrote: >> > >> > Hello :) >> > >> > read in french : >> > >> > - >> > >> > http://iteratif.free.fr/blog/index.php?2006/07/11/44-bibliotheque-partagee-sous-flash-9 >> > >> > attachMovie is remove in AS3 :) Use [embed(source="")] metadata and >> > create the instance with new MyClass and addChild() method :) >> > >> > eKA+ :) >> > >> > >> > 2006/7/25, Carl Welch <[EMAIL PROTECTED]>: >> > > >> > > I just downloaded the demo of Flash 9 / as3 and I noticed you can't >> > > use attachmovie anymore. I've found some new methods on google but it >> > > seems like the only way I can do it is by using classes. Is there >> > > another way to handle an attachmovie equivilent without using a class >> > > in as3? >> > > >> > > thanks. >> > > >> > > -- >> > > Carl Welch >> > > http://www.carlwelch.com >> > > [EMAIL PROTECTED] >> > > 805.403.4819 >> > > ___ >> > > Flashcoders@chattyfig.figleaf.com >> > > To change your subscription options or search the archive: >> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > >> > > Brought to you by Fig Leaf Software >> > > Premier Authorized Adobe Consulting and Training >> > > http://www.figleaf.com >> > > http://training.figleaf.com >> > > >> > ___ >> > Flashcoders@chattyfig.figleaf.com >> > To change your subscription options or search the archive: >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > >> > Brought to you by Fig Leaf Software >> > Premier Authorized Adobe Consulting and Training >> > http://www.figleaf.com >> > http://training.figleaf.com >> > >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com >> > > > -- > Carl Welch > http://www.carlwelch.com > [EMAIL PROTECTED] > 805.403.4819 > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com