Solved

can xml target jpgs in the fla library?

Posted on 2009-05-17
1
155 Views
Last Modified: 2012-05-07
Ive got a bit of problem. Im loading external jpgs into a movie which will scale up and down quite dramatically. I need imagesmoothing to be on, but a bug in flash player 8 means this cant be done for dynamically loaded images. Unfortunately i have to use flash 8. Im thinking, I could load all of the images into the fla library and then apply image smoothing from the library porpoerties. Im just not sure how to get xml to traget these images.

Unfortunatly I have to use the xml file and I also have to use flash 8 due to the comiller Im using.

Thnx in advance
0
Comment
Question by:sousflai
1 Comment
 
LVL 37

Accepted Solution

by:
CyanBlue earned 500 total points
ID: 24407524
Well...  Your basic command will be something like this to attach asset from the library assuming that you have the linkage identifier set up...

some_mc.attachMovie("linkageIdentifier", "newName", depth);

So, if you can get the "linkageIdentifier" out of XML and drop it into that attachMovie() line, that's all you need to do...

Do you currently have a routine that loads XML file and parse/store it into an array in ActionScript???  If not, that probably is the first step you'll need to start working on...

CyanBlue
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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 load their YouTube profile onto Flash Media Live Encoder.
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.

770 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