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
Solved

can xml target jpgs in the fla library?

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adobe Flash Player won't install on Windows 7 3 259
Shouldn't i be able to use an old win xp machine as an internet radio? 7 130
Adobe Indesign CS6 4 131
Flash ActionScript 6 57
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 been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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 the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

809 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