Solved

can xml target jpgs in the fla library?

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.

730 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