Question

Problem w/ SWF Library Import

Asked by: AlexSilverman

Hey,

Having a problem importing a SWF into another Flash file. When I get the file into the library it is flickering and appears to only be showing the first frame. Imported SWF's before with no problem, including ones with all of the aspects that this has (motion guide, masks, etc...), so no idea what is wrong with this one.

When the SWF is just opened on its own it works fine, or when I use loadMovieNum to get it into a file, but I want to have it in the Library to bring into the movie and make operations on, rather than giving every instance a level or whatever.

Any thoughts on why a SWF import would suddenly go bad?

Thanks.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-04-22 at 12:46:22ID21399324
Tags

swf

,

import

,

library

,

problem

Topic

Adobe Flash

Participating Experts
2
Points
500
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Importing swf doesn't import all of the motion
    I've got a client who's flash author is now gone and the only thing they have left is the .swf. I tried to Import the swf and 90% of the action gets imported. However, there's a sphere that "orbits" during the movie. When imported, the sphere is just sitting th...
  2. swf link (load movie)
    Hi, I'm doing a presentation with Flash Mx and I've 10 different movies to link each others... I've a menu with ten buttons which link to swf's. I use the load movie method : on (press) {loadMovie("fan_heaters.swf",1); } Is there another way to link ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: negatyvePosted on 2005-04-22 at 15:35:43ID: 13847060

>Any thoughts on why a SWF import would suddenly go bad?

It depends on how the external swf is done. Usually with import you lose any nested animations, and any animation created with actionscript. Are you sure that there's nothing you can do using loadMovie? Actually, you could play your swf, stop it, preload it, hide and show, and so on: you do not need to import it, if you don't have to modify it..

 

by: AlexSilvermanPosted on 2005-04-22 at 15:52:34ID: 13847111

Well, my main problem is that I'm trying to throw a mask on top of the Motion Guide Tween, the area has to be see-through in the eventual SWF this is going into... so that is what I was trying to do when it broke on the import.

The thing is sorta like a speedometer, and the idea being to eventually control it with gotoAndStop(frame) when it is all said and done... There will be four instances in the eventual thing. I'm away from work at the moment, so can't play with it until monday.

 

by: negatyvePosted on 2005-04-22 at 15:57:11ID: 13847129

I think I don't understand.. You have to load your swf in a motion guided clip behind a mask?

 

by: BillystyxPosted on 2005-04-22 at 16:48:31ID: 13847287

I do not really understand what you are after here either - but I would agree with negatyve in the fact that if it is not working properly, try loadMovie instead.
The thing is, in a loaded swf with loadMovieNum, some paths in AS will need to be redefined to the level of the loaded swf (like _level1 for example) for them to work, because things with the _root alias will refer to the root of the main swf in some cases, not to the root of the loaded swf.
But in loadMovie, this does not happen, because you are loading to depths in the main swf, not levels.
This may help you, but it is hard to tell if this is the direct problem...
Can you explain further?

Billystyx

 

by: AlexSilvermanPosted on 2005-04-22 at 22:47:08ID: 13848678

part of the motion guided animation needs to be masked... and can't seem to drop a mask on top of that... maybe i'm just doing this wrong, but it didn't seem to accept it in the timeline of the SWF where the motion guide was being done. as currently constructed the motion guide needs a mask to knock out some of what is going on beneath what i want visible to the user, so trying to do that...

the next step being taking it into the "master" swf, and controlling the frame it is on.

 

by: BillystyxPosted on 2005-04-22 at 23:27:32ID: 13848760

Is the masking and animation in the loaded swf or is it that you want the masking and motion guiding to be done from the main on the loaded swf. If the latter I would suggest reworking the loaded swf to incorporate the motion and masking inside it.
Or post us a linkto the swf/fla so we can better understand.

Billystyx

 

by: AlexSilvermanPosted on 2005-04-23 at 08:31:06ID: 13850547

i'm at home, so don't have access to it right now.

i want the masking done prior to incorporating it into the swf that the user will actually interact with, at least this is what i was trying to accomplish yesterday prior to loading the thing into another swf to layer it behind a mask. is it possible to drop the motion guide layer setup behind a mask in the timeline? it wasn't letting me do this when i was trying to do it yesterday, obviously that would be the easiest way to deal with the masking issue.

so that led to me trying to drop it into a second swf in order to mask it before getting it to the "final" swf... where i noticed that the stupid thing wouldn't import to the library properly... causing these problems.

as far as what is visually trying to be accomplished:

it's a speedometer, so what needs to get masked is the bottom edge of the the "visible area" so that the bottom of the needle is hidden when it shouldn't be visible to the user. the needle is on a bit of a radial move so when at the far left and far right of the speedometer less of it is visible than when it is in the middle... that is what the mask is trying to take care of.

so basically what i got is an arcing display, which the needle is tracking across and i don't want anything beneath the bottom of the display visible, and by necessity the needle needs to have rooom beneath this line.

 

by: BillystyxPosted on 2005-04-23 at 09:50:57ID: 13850792

Do you even need a mask?
You could add a layer over the needle on the bottom edge, the same colour/pattern as the bg colour underneath it and this, it seems would solve your problem..
O/W on Monday when you do have access to the file, please post a link to the swf so we can see what you mean, or upload the fla and we can take a look.

Billystyx

 

by: AlexSilvermanPosted on 2005-04-23 at 10:08:46ID: 13850859

certainly...

yeah, just throwing a layer on top would be the way to go, the problem is that the background isn't a consistent color. not a huge problem, would just need to finagle some stuff to get the different instances looking right. this is a workable solution, just not a clean one.

i've never played with a loadedmovie directly, can you do "gotoAndStop" to it, i imagine they would let you....

 

by: BillystyxPosted on 2005-04-23 at 13:18:38ID: 13851467

no problem with it - so long as you reference it correctly.
ie, _level1.gotoAndStop(3);//for loadMovieNum("myswf.swf",1);
or
container.gotoAndStop(3);//for container.loadMovie("myswf.swf");
Billystyx

 

by: BillystyxPosted on 2005-05-10 at 02:10:31ID: 13966541

how did you go? Are you still having problems with it?

Billystyx

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...