thanks for the first answer, works a treat, i'm not really sure what other
stuff is though!
thanks,
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Hans Wichman
Sent: 28 August 2009 10:35
To: Flash Coders
Hi,
you are looking for:
this[createSubNav+page]();
HTH
JC
On Fri, Aug 28, 2009 at 11:20 AM, thomas horner
tho...@megawattmedia.co.ukwrote:
this is possibly a very basic problem, I'm still building my dynamic
global sub nav, slooowly.
what I want to know if can I add a string to a
ps a better option might be a parameter and a switchstatement
On Fri, Aug 28, 2009 at 11:20 AM, thomas horner
tho...@megawattmedia.co.ukwrote:
this is possibly a very basic problem, I'm still building my dynamic
global sub nav, slooowly.
what I want to know if can I add a string to a
ok my menu goes on almost there now...
i have now launched the a function from my inital menu level to create the
sub nav for that page as per earlier help;
im basically using the same code for creating my inital menu, but i want to
only create buttons for the children of the button i've just
ok in the following xml how would i create a loop just from the children of
his
for each (var section:XML in siteNav.section.subsection) {
site
section name=about src=index/nav/about keep=false/
section name=hers src=index/nav/hers keep=false
sorry worked it out - was easy and obvious - doh!
for each (var section:XML in siteNav.section[3].subsection) {
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of thomas
horner
Sent: 28 August 2009 12:06
oops the code down there should be:
function updateContent(e:Event):void {
container.gotoAndStop(2);
link = String(e.target.frameLink);
counter = 0;
if (content[link].tit != undefined)
{
container._tit.text = content[link].tit;
Hello!
In the following code, i tell the Flash runtime to go to frame2 and
update the content of this frame.
The problem is that, the first time this function runs it throws the error:
TypeError: Error #1009:
I believe that happens because it tries to update container._tit
before render the
this is possibly a very basic problem, I'm still building my dynamic
global sub nav, slooowly.
what I want to know if can I add a string to a function,
I have my initial first level navigation, I click a button and then if the
button has children in that section it says true and then
i need to add an graphical end qoute to a line of text.
but the image keeps breaking over into a new line.
is there a clever workaround?
i have a nasty deadline!
thanks
--
*artur :.*
- *www.artur.com*
- *ar...@artur.com*
- *ph:646.797.3320*
but doesn't update the _tit textfield.
Wait, hold the phone, what kind of site are you building?
Jason Merrill
Bank of America Global Learning
Learning Performance Soluions
Monthly meetings on making the most of the Adobe Flash Platform -
presented by bank associates, Adobe engineers,
from my wise colleague Ben Fhala,
basically this is the only way:
we need to find the last char of the sentence, in this case a period
and attach an image.
var mcQuote = new lmcQuote();
isWhite = false; //hack
var box:Object = txt.getCharBoundaries(txt.text.lastIndexOf(.)+2);
HEy Jason, don't worry, that's not a porno web site.
tit is for title ..:D
if that's not the answer you were expecting, it is not a website, it
is a powerpoint-like-presentation to be run off-line, with a whole
bunch of an endless content (that is, a terrible nightmare), that i
have to pick
I answered you yesterday, did you not see my post?
Jason Merrill
Bank of America Global Learning
Learning Performance Soluions
Monthly meetings on making the most of the Adobe Flash Platform -
presented by bank associates, Adobe engineers, and outside experts in
the borader multimedia
Howdy Jason,
Didn't see a reply from you come through. Just you query (tit)... ;),
then
the email that said you answered it before. Nothing in between them.
That happens to me on this list sometimes, but only this list. Seems
this list only accepts pure text formatted e-mails and if you forget
But what's weird is it did show up for me on the list - just not you
two
Jason Merrill
Bank of America Global Learning
Learning Performance Soluions
Monthly meetings on making the most of the Adobe Flash Platform -
presented by bank associates, Adobe engineers, and outside experts in
I´ve realized actually that flash recognizes the XMLList as having 9
children, ignoring the tags slide
when I was expecting three children , each one of them with also 3
children ( the tags item).
Why?
2009/8/28 Isaac Alves isaacal...@gmail.com:
Hello list,
I have the following XML ( i get
Hello list,
I have the following XML ( i get that by tracing
tabsContentSlideshow which is a XMLList.
I-d like to use something like
tabsContentSlideshow[slide][1]
slide is an integer, so for example, if the slide 2 is showing, this
statement would return the first node item inside the second
tabsContentSlideshow.children()[slide].children()[1]
2009/8/28 Isaac Alves isaacal...@gmail.com
Hello list,
I have the following XML ( i get that by tracing
tabsContentSlideshow which is a XMLList.
I-d like to use something like
tabsContentSlideshow[slide][1]
slide is an integer, so for
First off, XML can only have one root node, thus you're probably getting
some weird errors.
If you enclose all of your xml within slides/slides, you should be fine.
- Taka
On Fri, Aug 28, 2009 at 11:53 AM, Isaac Alves isaacal...@gmail.com wrote:
I´ve realized actually that flash recognizes
Ok I´ve realized now something.
I had before in the script:
tabsContentSlideshow = myXML.slideshow.children();
I´ve replaced with:
tabsContentSlideshow = myXML.slideshow;
Then if i trace tabsContentSlideshow.children()[0] it will show :
slide
item label=ss1_title link=#
Isaac,
I wanted to show you, and anyone interested, that your idea of frame label
navigation in conjunction with XML is doable.
To use this example just start a fresh fla, build out the fla according to
the structure laid out under 'Structure:' in the comment below, then copy
and paste the
22 matches
Mail list logo