?
Solved

populating smart menu clip with processed xml data

Posted on 2002-05-28
5
Medium Priority
?
210 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 400 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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 how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

752 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