...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Thursday, September 30, 2010 11:27 PM
To: Flash Coders List
Subject: RE: [Flashcoders] FLV audio doesn't stop
>> You might want to try to pause the video before stopping, unloading and
>>
>> Try pausing, stopping then closing.
OK I'll give it a shot.
// Maybe also replace the above line with //_flvPlayback.close(); //Kind of
reaching on this one. :)
Yeah, lol, there is no _flvPlayback.close() method, but there is an
_flvPlayback.closeVideoPlayer(0); method - I'll try that too.
Thanks Cor and everyone - SoundMixer.stopAll() seemed to work best for me -
it's not happening anymore no matter how hard I try to break it. Next time
around, I'll use LoaderMax from greensock (which I had known about that before
I started!) or the roll my own with the Netstream classes. But r
You don't say.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kevin Newman
Sent: Thursday, October 07, 2010 2:11 PM
>> The Yahoos ate them.
I guess that could be true if this were a Yahoo list or he sent it from a Yahoo
account. :)
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
Flashcoders mailing list
Flashcoders@chattyf
>> I want to do it dynamically... the data in the movieclips will be
>> changing
Yeah, you can't do that.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
--
This message w/attachment
And don't forget the free Droid 2s they gave us and Martha Stewart paying a
visit. :)
Also, AIR for TV was awesome - I watched some You Tube and HBO content on one
of the test TVs using an AIR app, and it was a smooth nice experience.
The hardware accelerated 3D racing game was indeed awesom
Did anyone who attended Max this year hear anything about the status of
Actionscript 4? I heard a lot about new tools and HTML 5 support and junk, but
I meant to ask the Adobe guys about Actionscript 4 and forgot. And I had ample
opportunity too.
Anyone heard or know anything about Actionscr
Thanks Kerry - yeah, I have seen that Moock article, but I'm looking for
something more recent.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chat
I've been trying out my copy of Intellij IDEA (Ultimate edition) I got at Max
this year, and I'm really digging it for Actionscript projects. I am normally
a FlashDevelop user, but it has some really nice features FlashDevelop doesn't.
There are a few things FlashDevelop does better, but overa
Exhausted Google.
Setup: Pure AS3 project in Flashbuilder, I have embedded an external .swf into
the main .swf using an [Embed] metadata tag.
[Embed(source="source/deploy/ScenePresenterTimeline.swf")]
public var ScenePresenterTimeline:Class;
...
var scenePresenterTimelineSprite:Sprite = new Sce
ica Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Wednesday, December 01, 2010 11:51 PM
To: Flash Coders List
Subject: [Flashcoders] Event listening on an embedded .s
He means use a .swf decompiler application to see what the resulting code looks
like that your Actionscript compiler generated. Here's a pretty good and free
one:
http://www.sothink.com/product/flashdecompiler/download.htm
I agree with the others, I don't see anything wrong with your code. Is
Have you tried putting everything in a fresh new .fla? Sometimes .flas get
corrupt. And are you using a document class?
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chatty
What happens when you put a trace in your Document class? And you're sure the
document class is still linked to the .fla? (properties panel)
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flas
Your best bet might be same project, different .fla (or pure AS3 project in
Flashbuilder). If that fails, not sure - re-install Flash Pro?
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashco
rning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Friday, December 10, 2010 12:55 PM
To: Flash Coders List
Subject: [Flashcoders] RE: swf not comp
>> I've written 36 classes for this project, totaling 430kb, with a few more
>> still to go.
>>Additionally, I'm importing some third party classes.
>> I'm wondering if I'm running into some undocumented as3 code limit.
Oh, thinking about this more, I should have mentioned. Flash CS5 is HORRIB
>>I've never used Flashbuilder/Flex before.
>>My project is mostly purely code, just a few visual assets,
>>but it would probably take me some time to learn my way around the software.
>>:-(
It's not that hard to set up really. You just create a pure AS3 project and
point Flashbuilder to yo
guess it's probably not a compiler issue, just that the IDE is buggy and
unstable. Given its evolution and the quality of the last few major versions,
I'm not surprised, sadly.
Cheers
Juan Pablo Califano
2010/12/10 Merrill, Jason
> >> I've written 36 classes for this proj
>> They need their skin symbols. And they need their swc too, without it they
>> can't be included by the compiler.
>> Putting the component in the library links in the swc in addition to copying
>> the skin symbols.
First, you're assuming all components are visual, but second, visual component
You shouldn't be manually calling an event handler in your code. If you want
multiple event handler functions to run the same set of code, then create a
third function that they all call.
function onSomething(event:Event):void
{
doIt();
}
function onSomethingElse(event:Event)
{
t past of writing AS3 I called Event Handlers
with an argument of 'null' sometimes to save on function single-liners like
doIt();
Best
Thomas
--
Message: 9
Date: Thu, 16 Dec 2010 19:48:16 -0500
From: "Merrill, Jason"
Subject: RE: [Flashco
Irony of ironies would be if that developer introduced that bug into the game
because of something you suggested to him in response to a question here. :)
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message---
Intellij IDEA has a Generate > Implement Methods for AS3, but I haven't quite
figured out how it works yet.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.c
Could be a sign of list maturity. As the list audience grows in skill set,
people have to ask fewer questions until we reach a point where the list has
served its ultimate purpose and fulfilled its destiny and can move on to a
higher plane, kind of like Yoda. Perhaps we're all gurus now. :)
O
>> but if I'm not mistaken, those were used in the AS2 days to attach a class
>> to a MovieClip
Not necessarily in this case though. In AS3 you can use things like
getDefinitionByName() or getQualifiedClassName() to dynamically reference or
dynamically instantiate an instance of a class. Sinc
>> those constants serve no purpose, as to get to them you have to know their
>> package anyway.
OK, but one of those constants DOES contain the package name. And how do you
know they serve no purpose? You're right that they serve no code-purpose in
that class, but they could in theory be used
Take a peek at what the textformat property is asking for. You're essentially
trying to set "[object Textformat]", which is a string. You can't create a
textformat by saying, "[object TextFormat]" as TextFormat. Plus, [object
TextFormat] is now how you dynamically refer to classes, even if tha
>> Well, it was a bit more than just a guess :)
What I meant by a guess was the purpose of the constants. It appears to just
be used for debugging / metadata purposes.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
>> That's not how boilerplate signatures work. I strongly doubt Jason has the
>> ability to disable them.
>> He could use a personal address instead of his work address, but there are
>> plenty of reasons for him not to do that, I'm sure.
Exactly - I have no control over the signature as I'm on
>>Sigh. Why oh why does Adobe come up with bugs in newer versions of software
>>where it worked fine in CS3?
My experience was that Premiere CS3 did not export the cuepoints with the FLV -
that was a bug. I had to use some of the free tools out there like RichFLV to
add the cuepoints back i
Yeah, Adobe historically seems to have a lot of issues with this. AfterEffects
CS3 had the FLV cuepoint export problem as well, which drove me insane for
about 2-3 days.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Orig
oders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Thursday, January 20, 2011 9:44 AM
To: Flash Coders List
Subject: [Flashcoders] RE: slightly OT: Soundbooth for flv cuepoints
Yeah, Adobe historically seems to have a lot of issues with this. AfterEffects
CS3 had the FLV cuepo
Just curious, what's Activescript?
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of lists..
>> http://www.nusphere.com/kb/phpmanual/install.windows.activescript.htm
>> @leandroferreira*
Yeah, possible, but somehow I don't think so. I think they meant Actionscript,
since they talked about "Activescript 3... non-timeline, part-time AIR/FLASH
development".
Jason Merrill
Instructional
>> I think its called a typo.
Ha, well, not a typo when they do it more than once. Uh, yeah, we were just
having fun ribbing the OP. They meant Actionscript.
And lol @mattspeig's reply.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
--
This appears to be a spam-bot post. If anyone can ban this account, I vote for
it.
mTropolis was a multimedia authoring tool that died way back in 1998, and had
nothing to do with 3D.
otakhi.com - broken, confusing, poorly done (fake?) website.
Jason Merrill
Instructional Technology Arch
>> You can also publish web app and objects you built to the oTakhi app store
>> and charge money for it.
>> This is not a spam...
OK, so you're not a bot, but I don't see how this isn't spam. Your e-mail is
the very definition of spam. And no, I don't care to talk off-list to spammers.
Unless
>> That was why this is a response to an existing thread in which someone
>> mentioned mTropolis and not a new thread.
Ironically, I believe it was me that mentioned mTropolis way back.
>>I mean to offer new information and option to the world of multi-media
>>authoring.
What you offer is a
>>"What are you complaining about? The show is free!" by David Letterman
And so are telemarketer calls, junk mail, banner ads, leaflets, and
infomercials. If you like, I'll call you at home tonight and spend an hour
reading the Wikipedia page entries on Area codes to you. That's free for you
>> Use oTakhi or not is your call it is just one more option to your tool
>> set.
...that you're blatantly and unapologetically trying to use this list to
market. This list is to ask and answer Flash questions, not market products.
So you're right about one thing, we've gone on about this
>> This doesn't have to be a particularly accurate thing - I just want it to
>> sound something like a piano.
I was going to say something similar to what Kerry said - taking samples from
the real world as separate MP3 files. It would seem to be pretty easy (albeit
somewhat time consuming) to
I wonder how much of that you could realistically control using volume settings
in Actionscript on the sound? Not realistic enough?
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-bo
Wow, that just about describes my ideal job. Very cool. Tempting...
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig
In that case, could be a security sandbox issue.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Be
7;t
work. I'm tracing if it's an IOError...nope, and I'm tracing if it's a
SecurityError...nope again.
Stumped beyond stumped,
- MM
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill
boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Thursday, February 17, 2011 4:17 PM
To: Flash Coders List
Subject: RE: [Flashcoders] IE8 not loading flv files
Could you put it on a web server? Might make life easier for you, but don
Or if you switch to a Flash wrapper tool like mProjector or Zinc.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.fi
f America Global Learning
___
From: jared stanley [mailto:jared.stan...@gmail.com]
Sent: Wednesday, February 23, 2011 12:09 PM
To: Flash Coders List
Cc: Merrill, Jason
Subject: Re: [Flashcoders] flash.filesystem not in Flash?
i think AIR has negated the need for these windowle
I haven't followed this thread, but the two most common errors when trying to
implement full-screen mode are 1) not enabling it in the HTML () and 2) trying to initiate it from a
non-user action (like when your app starts up). The call to initiate
full-screen mode has to be initiated by a user
Yep, this list has been getting rather quiet of the past month or two. Odd.
So has Flash_Tiger.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailt
>> Then you need to provide each user with a computer controlled by you and a
>> competent guard
>> You clearly haven't heard of
And he's clearly new to this stuff as he said is his original post, so lay off
& play nice. There's no reason to respond to people like that. The whole
reason for th
I would agree with Henrik. Using the Vector class would be better in this case
(or if Vector is confusing even just Array - Vector is just a typed array where
you declare the data type and enforce it). And doesn't seem to me you need to
separate "hour digits" from "minunte digits" - you're just
I believe F4V is for H.264 video, AAC or MP3 audio only. Could that be the
reason?
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-b
I posted this on Flexcoders, but didn't get any responses.
I am skinning a Spark Panel with a Flex 4 Skin MXML class, and using some
bitmaps for fills. I have researched and seem to be doing it right, but the
graphics in the filled areas get stretched anyway. I have defined the
rectangular area of
I have found every now and then certain fonts don't play well with Flash and
there isn't much you can do if they don't work. There are a few fonts I have
which simply don't embed, and the failure is silent.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
l will work fine - I tested that, but would
rather keep it pure AS.
On Mon, Apr 11, 2011 at 2:56 PM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:
> I have found every now and then certain fonts don't play well with
> Flash and there isn't much you can do if t
ing one of those instead.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Se
...
That's not all, you need to compile with the Free SDK not the Open Source SDK.
The reason is, that the AFEFontManager is not open source and not included into
the Open Source SDK. Took me a while to find it out.
Best,
Jens
Am 12.04.2011 08:04, schrieb Merrill, Jaso
>> Basically, I needed a way to test if my class was assigned to the FLA as a
>> Document Class,
>>or, if it was assigned to movieclip/sprite in library (export for
>>actionscript) and added to stage manually.
This is one of those occasional questions where I would ask, even if you could
do th
>>The only example that seems to work is to make the movieClip a global
>>variable,
>>which seems to me to violate everything I have ever been taught about
>>programming.
>>Which is to say that one should use global variables as sparingly as
>>possible.
>>I have written thousands of lines of
A couple of things:
1. "Var" should be lower-case "var". You probably have it as "var" in your
code and your e-mail client capitalized it for you (or you mis-typed), but if
you want is to trouble-shoot, I would post it as it is in your code. If it is
"Var" in your code, it should throw a comp
I miss the good old days when Adobe's local help was easy to access and find
information. I find better results with Google.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@ch
MP4 does not support Actionscript, so that won't work. Any interactive buttons
you have seen on similar sites are built with something else other than Flash.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message
ash framework are compatible.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jas
I'm going crazy trying to drill down into a XMLList which has namespaces
declared. I have been able to go into a few layers of the original XML with
namespaces using namespace definitions in AS3, but now I am stuck at the last
level.
The XMLList I have pared it down to has a length of 1 and has
s be what your looking for?
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/
XMLList.html#hasComplexContent()
Best,
Karl
On Apr 28, 2011, at 9:32 PM, Merrill, Jason wrote:
> I'm going crazy trying to drill down into a XMLList which has
> namespaces declared. I have be
rsday, April 28, 2011 11:28 PM
To: Flash Coders List
Subject: Re: [Flashcoders] XMLList & Namespace Madness
Or even this??
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/
XML.html#text()
I believe this one strips out namespaces.
Best,
Karl
On Apr 28, 2011, at 9:32 PM, Merrill, Ja
- onLoad vs onData".
Granted it is an AS2 post, but I think the logic is possibly the right
direction for the resulting data.
Not sure if this is the fix for your situation, but I hope so.
HTH,
Best,
Karl
On Apr 28, 2011, at 10:44 PM, Merrill, Jason wrote:
> Thanks Karl.
>
&g
>> Once you have the XML instance, just call the namespace method with the
>> prefix to get the correct Namespace instance to use.
>> Or even simpler, create the Namespace object directly from the used url.
If you followed the thread, that's what I was doing and it wasn't working.
Jason Merrill
Here is my final utility function to disable XML namespaces if anyone finds
this useful:
/**
* This method will disable, but not remove namespace declarations
in an XML document. Namespace declarations
* are altered from using a color designator (:) to a rep
f.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ross Sclafani
Sent: Friday, April 29, 2011 3:18 PM
To: Flash Coders List
Subject: Re: [Flashcoders] XMLList & Namespace Madness
typo
On Apr 29, 2011, at 2:54 PM, Merrill, Jason wrote:
> colo
======
regards,
Muzak
- Original Message -
From: "Merrill, Jason"
To: "Flash Coders List"
Sent: Friday, April 29, 2011 4:32 AM
Subject: [Flashcoders] XMLList & Namespace Madness
> I'm going crazy trying to drill down in
If you have experience with some of the free isometric game engines out there,
which one is superior? It seems As3IsoLib and FFilmation are bubbling to the
top in my research, but not sure which one is the best in terms of:
1.Performance (including z-sorting)
2.Ease of Use
3.Feat
-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Friday, May 27, 2011 10:54 AM
To: Flash Coders List
Subject: [Flashcoders] Recommendations for isometric engines
If you have experience with some of the free isometric game engines
>> Here's an odd one: what font do you use in the Actionscript editor window?
Wait - hold the phone, you're editing Actionscript with the Flash IDE? If so,
we need to TALK man.
(
http://www.flashdevelop.org/wikidocs/index.php?title=Main_Page (free,
awesome)
http://www.jetbrains.com/
2 PM
To: Flash Coders List
Subject: Re: [Flashcoders] RE: Flash AS editor preferences question
I use Anonymous <http://www.ms-studio.com/FontSales/anonymous.html>
On Thu, Jun 2, 2011 at 10:16 AM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:
> >> Here's an
>> but I need to have the fla source file to modify the code
I think a better approach is to:
1. Learn how to load XML and get the data.
2. Learn how to create display objects with code, animate and present them.
3. Learn how to load external images.
Jason Merrill
Instructional Technology Arc
>> When you work in the Flash IDE though (sorry Jason)
Ugh. :)
I agree though, using "this" has an advantage of code hinting for the class, in
other tools tool like Flashbuilder. However, I never use it, it's redundant
and agree with Moock it only adds visual clutter. Rarely is using "this"
Are there some properties of Spark components you can only set with MXML?
Why is it I can do this:
but when I do this:
var borderContainer:BorderContainer = new BorderContainer;
I can't then do this:
borderContainer.borderColor = 0x99;
?
Using Flashbuilder 4, code hinting does
>> var kids = xmlData.children(); // gets me the CDATA content without the
>>
>> var kidscdata:String = kids[0].toString();
That seems unnecessary unless I don't understand your question. Wouldn't var
kids:String = theXMLNode.text() work?
Jason Merrill
Instructional Technology Architect
iginal Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson
Sent: Monday, June 20, 2011 11:21 AM
To: Flash Coders List
Subject: Re: [Flashcoders] E4X: reading CDATA
Merrill, Jason skriver:
>>> var kids
>>. The toString() method did fine for my purposes. :-)
OK, maybe I don't understand your XML structure. Why would what you settled on:
var kids:XMLList = xmlData.children();
var kidscdata:String = kids[0].toString();
be a better solution for you than this?
var myString:String = xml
Yeah, I mean in that case, just call the text() node of the XML node. Much
simpler and you'd get the same result.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: flashcoders-boun...@chattyfig.
>> If you have a CS5 suite do you get a free upgrade to CS5.5?
Can't help you with your other questions, but I do know the answer to that one
is unfortunately no.
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Me
rom Flash CS5.
> >
> > I saw online there was an Android extension by adobe but they have
> > taken
> it
> > down since the release of CS5.5.
> >
> > Thanks all,
> >
> >
> > On 21 June 2011 14:43, Merrill, Jason
> > > >wro
Robotlegs +1
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Joel Stransky
Sent: Thursday, June 23, 2011 5:37 AM
To: Flash Coders List
Subject: Re: [Flashcoders] PureMVC vs Cairngorm // who's better?
I hav
I'm importing FXGs via code in a pure AS3 FP10 project (Flex 4 SDK). According
to what I could find in Gumbo docs, FXGs implement the IGraphicElement
interface. However, that interface doesn't seem to be recognized as code
hinting in my pure AS3 (Flex 4 SDK) FlashDevleop project. Is the inter
s as well.
> >>
> >> jord
> >> --
> >> Jordan L. Chilcott
> >>
> >> Sent from my iPhone... because I can
> >>
> >> On 2011-06-23, at 9:23 AM, "Merrill, Jason" <
> jason.merr...@bankofamerica.com> wrote:
> >>
>
I just use Joel Hook's stuff. I wouldn't know if Lindquist's methods are
better, but Hooks classes work just dandy. I use any of the Signals-specific
stuff for Robotlegs like SignalMediator instead of Mediator, SignalCommand
instead of Command (though in general, you can just use Command) and
>
>
>
>
>
>
>
>
>
>
>
>
>> That's not valid XML
(fyi It's missing the closing tag on the third node.)
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
--
>>(fyi It's missing the closing tag on the third node.)
I meant the second node, not third...
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
-Original Message-
From: Merrill, Jason
Sent: Friday, July 22
at said, I'm only on my third Robotlegs project now).
Jason Merrill
Instructional Technology Architect
Bank of America Global Learning
___
From: David Wilcox [mailto:dwgoldfi...@gmail.com]
Sent: Sunday, July 24, 2011 1:27 AM
To: Merrill, Jason
Subject: Re: [Flashcod
You just need a recursive loop to do this. So I would write a function that
handles each node level individually, adding to a class-level private property
called something like, _totalItems. The function basically checks the XML node
to see if it has any children. If it does, it calls itself,
m" + ((i == 0) ? "" : i)]];
> }
> totalItems = xmlItem.item.length;
>
>
>
> I am doing this: ["whichItem" + ((i == 0) ? "" : i)] because I have no
> idea where that value comes from or what its for...
>
>
>
>
>
>
> On Thu, Aug 11, 20
>>" If the XML gets larger and deeper, that function would fail... "
- why would it fail? (assuming that the level var could be whatever you want?
(OK, I am not trying to argue with you here, I promise)
Because that's exactly it, if the levels got deeper, you would have to know how
deep in ord
>>(I try not to do more than people ask for. It's easy to get sucked into
>>solving a larger problem than was asked)
Yes, I agree totally, that can be a problem for sure.
>> - apparently he already knows how deep to go. his original post said "switch
>> (level) {"
Yeah, understood. I was just
>> Then I think I hit on what Jason was suggesting:
Not really. :) I think you're over complicating this. This is all I was
suggesting you do from my original suggestion, it's pretty straightforward
(this is a test case you could copy paste and run):
//DUMMY DATA:
var myXML:XML =
lashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason
Sent: Saturday, August 13, 2011 9:58 PM
To: Flash Coders List
Subject: RE: [Flashcoders] Simplify XML Call
>> Then I think I hit on what Jason was suggesting:
Not really. :
501 - 600 of 2047 matches
Mail list logo