Re: [Flashcoders] Nested SWFs

2008-07-09 Thread jonathan howe
Hi, Mike, The list helped me out last time by pointing me to getDefinitionByName(). You can instantiate a class from the library of a loaded swf with this method. There are some issues sometimes with loaded swfs, as discussed in a previous post:

Re: [Flashcoders] Nested SWFs

2008-07-09 Thread Arka Roy
I don't think this is possible, unless you actually load that asset library from within the page1.swf's document class. Here is how I instantiate assets from an asset library. -- private function loadAssets():void { var req:URLRequest = new URLRequest(

Re: [Flashcoders] Nested SWFs

2008-07-09 Thread Steven Sacks
http://blogs.adobe.com/rgonzalez/2006/06/applicationdomain.html ApplicationDomain is the solution, but even the designer of the class acknowledges it's tricky. Each choice has mutually exclusive consequences. Gaia provides an easy way to manage the domain of loaded swfs, but I can't make it

[Flashcoders] Animating with big output in for example PNG

2008-07-09 Thread Sander Schuurman
Hi, I'm really inspired by guys like Erik Natzke and Jared Tarbell, and I'm trying some of my drawing and animation-skills wich I want to be a png of large resolution in the end. I have the famous png encoding class. (http://www.kaourantin.net/2005/10/png-encoder-in-as3.html) I know of the

RE: [Flashcoders] Basic loop problem (with end of message)

2008-07-09 Thread Andrew Murphy
You're welcome, glad that I was able to help. :) And don't feel bad 'bout it, typos happen to everyone and can be a complete nightmare to sort out. Andrew Murphy Interactive Media Specialist [EMAIL PROTECTED] Delvinia 214 King Street West, Suite 214 Toronto

RE: [Flashcoders] Netstream fails to close

2008-07-09 Thread Alexander, Mary
Does anyone have a solution for AS2? From: [EMAIL PROTECTED] on behalf of Steven Sacks Sent: Tue 7/8/2008 4:46 AM To: Flash Coders List Subject: Re: [Flashcoders] Netstream fails to close And it's worth mentioning this works for AS3 Flash Player 9.0.47 only.

[Flashcoders] htmlText weirdness: when paragraphs become list items

2008-07-09 Thread Paul Jinks
I'm taking cuepoint names from an flv, converting them into an array and displaying the array as htmlText in a dynamic text field as summary points as the flv plays. The flv is actually a QA interview, and I'd like to display the questions differently from the answers. I've found a way to get the

[Flashcoders] Is a precise timer for making rhythms possible?

2008-07-09 Thread Abe Pazos
Hi! this has been probably asked before, but since I don't know how to search the lists (is it possible at all?): I have built a Flash application in AS3 for making algorithmic music. It's currently acceptable for any music except rhythms, because the timers are not precise enough. I have

Re: [Flashcoders] htmlText weirdness: when paragraphs become list items

2008-07-09 Thread jonathan howe
Not to be too disingenuous but you are printing closing tags in there, too, right? Good old /li and maybe /p? -jonathan I had a friend named /li, He cast a spell a spell on me. If me and /li and KG could be three, Flyin' free Tenaciously. On Wed, Jul 9, 2008 at 3:02 PM, Paul Jinks [EMAIL

[Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
Hi List, please is possible to substitute node name in e4x with variable? Anywhere in XML: agency name=NJ Agency namemyAgency/name phone123456/phone

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Christoffer Enedahl
Try this: var nodeName:String = agency; _officesXML.[ nodeName ].(@name == NJ Agency) HTH Christoffer Pavel Kru*šek skrev: Hi List, please is possible to substitute node name in e4x with variable? Anywhere in XML: agency name=NJ Agency namemyAgency/name phone123456/phone /agency

RE: [Flashcoders] Is a precise timer for making rhythms possible?

2008-07-09 Thread Merrill, Jason
Check the Flash_Tiger list archives on Yahoo - we just had a huge discussion about this kind of thing with a question Kerry Thompson asked - about 1-2 weeks ago. Or ask there, Kerry Thompson (who may also be listening here) gathered a lot of info about this development problem. Jason Merrill

Re: [Flashcoders] htmlText weirdness: when paragraphs become list items

2008-07-09 Thread Paul Jinks
That settles it. I'm an idiot. Dunno why, but I thought closing tags weren't necessary in flash html. (forehead hits wall yet again). =) Thanks Jonathan. On Wed, July 9, 2008 2:33 pm, jonathan howe wrote: Not to be too disingenuous but you are printing closing tags in there, too, right? Good

RE: [Flashcoders] How do you do this? (animating gradient fillcolours)

2008-07-09 Thread Jack Doyle
LOL. Yeah, I've peeked at the TweenMax source code a _few_ times. For those who are interested, Rich did a great intro to TweenLite here: http://www.learningactionscript3.com/2008/06/06/tweenlite-introduction/ (thanks Rich) Also, I should mention that the whole TweenLite/Filter/Max family has

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
Hi, Unfortunately this solution is out of action: 1084: Syntax error: expecting identifier before leftbracket. On Jul 9, 2008, at 3:50 PM, Christoffer Enedahl wrote: Try this: var nodeName:String = agency; _officesXML.[ nodeName ].(@name == NJ Agency) HTH Christoffer Pavel Kru*šek

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Christoffer Enedahl
oh sorry, email code. it got a dot too much, here this works: _officesXML[ nodeName ].(@name == NJ Agency) Pavel Kru*šek skrev: Hi, Unfortunately this solution is out of action: 1084: Syntax error: expecting identifier before leftbracket. On Jul 9, 2008, at 3:50 PM, Christoffer Enedahl

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Kenneth Kawamoto
You can do something like this as well - you don't need to know the node name at all: _officesXML.descendants().(hasOwnProperty(@name) @name == NJ Agency) Kenneth Kawamoto http://www.materiaprima.co.uk/ Pavel Kru*šek wrote: Hi, Unfortunately this solution is out of action: 1084: Syntax

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
Work perfectly, thank you very much! On Jul 9, 2008, at 4:51 PM, Kenneth Kawamoto wrote: You can do something like this as well - you don't need to know the node name at all: _officesXML.descendants().(hasOwnProperty(@name) @name == NJ Agency) Kenneth Kawamoto

RE: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Romuald Quantin
This will search through everything if you need: _officesXML..*.(@name == NJ Agency) Romu www.soundstep.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christoffer Enedahl Sent: 09 July 2008 15:51 To: Flash Coders List Subject: Re: [Flashcoders]

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Kenneth Kawamoto
Slightly shorter: _officesXML..*.(hasOwnProperty(@name) @name == NJ Agency) Kenneth Kawamoto http://www.materiaprima.co.uk/ On Jul 9, 2008, at 4:51 PM, Kenneth Kawamoto wrote: You can do something like this as well - you don't need to know the node name at all:

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Kenneth Kawamoto
I don't think that will not work unless every single node in the XML has the attribute called name. hasOwnProperty(@name) checks if the node has the attribute. Kenneth Kawamoto http://www.materiaprima.co.uk/ Romuald Quantin wrote: This will search through everything if you need:

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
Hi, your code can throws error (i try identical code before i sent my question to flashcoders forum), no every one node has necessarily property name On Jul 9, 2008, at 5:15 PM, Romuald Quantin wrote: This will search through everything if you need: _officesXML..*.(@name == NJ Agency)

RE: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Romuald Quantin
Also, Grant Skinner explained that you can avoid: hasOwnProperty(@name) By using : (attribute(name) == NJ) It won't throw an error if the attribute doesn't exist, pretty handy. http://gskinner.com/talks/as3workshop/ slide 91 Romu www.soundstep.com -Original Message- From: [EMAIL

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Kenneth Kawamoto
Yes, I can verify that. Thanks. _officesXML..*.(attribute(name) == NJ Agency) Kenneth Kawamoto http://www.materiaprima.co.uk/ Romuald Quantin wrote: Also, Grant Skinner explained that you can avoid: hasOwnProperty(@name) By using : (attribute(name) == NJ) It won't throw an error if the

RE: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Romuald Quantin
Yeah well, this wasn't the important thing, but the syntax with the wildcard. The best would be: _officesXML..*.(attribute(name) == NJ Agency) It will search in everything and won't throw an error if the property name doesn't exist. If the name is not unique, it will a problem though, or you

RE: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Romuald Quantin
I've tried it yet. But I guess you might need to write it like that? _officesXML..*.(attribute(@name) == NJ Agency) Romu www.soundstep.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: 09 July 2008 16:42 To: 'Flash Coders

[Flashcoders] loaderURL from child object

2008-07-09 Thread Helmut Granda
Hello, Is there anyway to get the address of the child swf loaded into the parent? for example if I load FILEB.SWF into FILEA.SWF and FILEA.SWF lives in blah/blah/blah... is there anyway to get blah/blah/blah/FILEA.SWF instead of the parent address witht loaderURL? TIA

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Kenneth Kawamoto
It's attribute(name), not attribute(@name) Kenneth Kawamoto http://www.materiaprima.co.uk/ Romuald Quantin wrote: I've tried it yet. But I guess you might need to write it like that? _officesXML..*.(attribute(@name) == NJ Agency) Romu www.soundstep.com -Original Message- From:

Re: [Flashcoders] Netstream fails to close

2008-07-09 Thread Steven Sacks
Move to AS3. ;) Alexander, Mary wrote: Does anyone have a solution for AS2? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Netstream fails to close

2008-07-09 Thread Kerry Thompson
Steven Sacks wrote Move to AS3. ;) Alexander, Mary wrote: Does anyone have a solution for AS2? LOL. One of the best pieces of advice I've seen on the lists! You made my day, Steven. Cordially, Kerry Thompson ___ Flashcoders mailing list

RE: [Flashcoders] Is a precise timer for making rhythms possible?

2008-07-09 Thread Kerry Thompson
Hi! this has been probably asked before, but since I don't know how to search the lists (is it possible at all?): It's possible, but the Flashcoders archives got zapped when they had hardware problems last year. We also have archives on Flash_Tiger, as Jason mentioned. I have built a Flash

Re: [Flashcoders] Saffron Modeler - what happened to it

2008-07-09 Thread Steven Sacks
On 30 Jun 2008, at 17:11, Sidney de Koning wrote: there is loads of activity on sam's twitter account http://twitter.com/SamuelAgesilas Ugh. His twitter is the reason I hate twitter. You know why Saffron isn't getting done? Because Sam's got a twitter account and he's using it. A LOT.

[Flashcoders] Can this guy do anything for you?

2008-07-09 Thread Rash, Courtney
KOSOFSKY,DAVID ID# 11950024 Courtney Rash IT RECRUITER 500 Lanidex Plaza, 2nd Fl, Parsippany, NJ 07054 888.395.9245 T 973.434.6177 F 973.434.6170 http://www.teksystems.com http://www.teksystems.com/

Re: [Flashcoders] variable in e4x filtering

2008-07-09 Thread Pavel Krůšek
thanks to all for help. _officesXML..*.(attribute(name) == NJ) works for all of us perfectly :) Grant Skinners slides (as3 workshop) are pretty good... On Jul 9, 2008, at 6:11 PM, Kenneth Kawamoto wrote: It's attribute(name), not attribute(@name) Kenneth Kawamoto

[Flashcoders] Re: loaderURL from child object

2008-07-09 Thread Helmut Granda
hello all, I just wanted to re-write my question in case I didnt make sense. So what I want to know is the path of where the file is located on the server. Say you have html -loaderFileSWF -sub1 ---sub2 sub3 /MyFileGoesHere.SWF if loaderFileSWF loads MyFileGoesHere.SWF is there anway to

Re: [Flashcoders] How do you do this? (animating gradient fillcolours)

2008-07-09 Thread Helmut Granda
For some odd reason when I run a movie in AS2 I always get the following warning Warning: 'gs' has no property '_visible' latest version of tweenlite... You wont see that on the output panel but it is written to the flashlog.txt... interesting huh? On Wed, Jul 9, 2008 at 9:02 AM, Jack Doyle

[Flashcoders] Flex/ ActionScript Help

2008-07-09 Thread Rash, Courtney
Hello All, I am currently seeking a talented Flex developer; I thought perhaps those who work within the skill set would be the best resource for advice. I am trying to learn as much as I can about the technology and the Flex community so that I can be an effective source for consultants and

Re: [Flashcoders] Flex/ ActionScript Help

2008-07-09 Thread Helmut Granda
Hey Courtney, Richard already spammed our board couple of months ago, maybe he has a list of contacts already that he can share. Here is his info: Richie Farmer TECHNICAL RECRUITER T 865.769.8441 F 865.769.8469 http://www.teksystems.com/ On Wed, Jul 9, 2008 at 3:38 PM, Rash, Courtney

RE: [Flashcoders] Flex/ ActionScript Help

2008-07-09 Thread Merrill, Jason
There is a job list set up on Yahoo specifically for Flex people called Flexjobs. I would go there: http://tech.groups.yahoo.com/group/flexjobs/ I'd be happy to answer a few questions offlist or by phone about the Flex skillset in general if you would like to e-mail me directly. Jason Merrill

RE: [Flashcoders] How do you do this? (animating gradient fillcolours)

2008-07-09 Thread Jack Doyle
That is odd - never heard of that one before. Let's talk off-list and I'm sure we can figure out what the problem is. Send me your FLA if you don't mind, and let me know if you're on a Mac or PC. If anyone else has any theories, I'd welcome them. Jack -Original Message- From: Helmut

[Flashcoders] AS3 events, events, events ...

2008-07-09 Thread [EMAIL PROTECTED]
The AS3 event framework still leaves me slightly puzzled. For one, I'm not sure why there's no EventListener class, or why they didn't name EventDispatcher something else, like EventProxy or EventBiatch, anyway, ignore that - I'll layout a question. Let's say you have 5 classes, all of which