Solved

populating smart menu clip with processed xml data

Posted on 2002-05-28
5
197 Views
Last Modified: 2010-04-03
Hi

I have a flash movie with a smart menu clip. At a point, I get xml information from server, then call a function by using "someXML.onLoad = functionName;". In the function, I did a lot of things and call "tell target" to output the processed data in the display area. It worked well on this.

My question is, I also want to extract some data from that piece of xml and use it to populate a smart menu clip. I've tried to save the data in a variable "options" and use also "tellTarget(_root.clipname){ this.items = options.split(",");}" but it did nothing for me. For smart clip, I know it can be populated by loadVariables to load external source, however, my source has been processed internally.

Is there anybody who can help?
0
Comment
Question by:francesluk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 23

Expert Comment

by:Zeffer
ID: 7040484
Try changing the 'tellTarget to 'with'
telltarget is only targeting the path to (_root.clipname)
'with' will target the movie as an object.

Z
0
 
LVL 6

Expert Comment

by:rootdir
ID: 7040615
I need to see your fla file upload somewhere
0
 
LVL 6

Expert Comment

by:rootdir
ID: 7040636
Use XML.addListner you will get what you are looking for

see this example XML:FLEM i_a from bellow url

http://flashexperiments.insh-allah.net/AS-downloads.html

Cheers
RootDir
0
 
LVL 5

Accepted Solution

by:
stef4s earned 100 total points
ID: 7041976
Yeah zeffer has a good point. telltarget is old Flash 4 syntax.
Instead of using telltarget(_root.mc){
gotoAndPlay(2)
}

use _root.mc.gotoAndPlay(2)
0
 

Author Comment

by:francesluk
ID: 7042960
Excellent answer! Thanks!
I've tried to use "with" but it didn't help.
_root.movieClip.XX can work fine.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question