Solved

can xml target jpgs in the fla library?

Posted on 2009-05-17
1
154 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SWF won't scale? 4 520
flash cs6 4 344
I'm running a risk by using Adobe Flash in my site ? 9 117
PDF: Display my cards game? 8 96
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now