Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 10th, 2005, 11:31 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: York, , United Kingdom.
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default Layers driving me up the wall

I have a movie that uses as its background a movie clip into which is loaded a swf file. I'm using Flash MX 2004.

This background movie clip is sat on its own layer, which appears as the last layer in the list in the layers tab.

Everything works ok apart from a movieclip on a higher layer, which is hidden behind this background. I've moved this movieclip to other layers, but no matter where I place it, it still appears at the back. I've also tried right clicking on the clip and doing 'bring to front', as well as right clicking on the background and doing 'send to back'.

Furthermore, I've done a load of messing about with the 'swapDepths()' function, because both movieClips are populated with images at runtime (the one that disappears has a jpg loaded into it, the one that's always on top has the swf). Clip1, the swf, has a depth of -16383, Clip2, the jpg, has a depth of -16381. When I do Clip2.swapDepths("Clip1"), nothing happens.

Could someone help me with why this is happening, because as far as I can see there is no logical reason for this (AARRRGGGHHH!)

Thanks
Reply With Quote
  #2 (permalink)  
Old January 10th, 2005, 04:44 PM
Friend of Wrox
 
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

I've had a problem with this same thing before. What works for me is moving the layer itself so that what I want to be visible during the animation is. With that said, only move the layer itself. Not what's on it.

Ben Horne
-------------------------
I don't want to sound like I haven't made any mistakes. I'm confident I have.

Most likely using FireFox and concocting my next Macromedia Flash project
Snibworks Forums Moderator

Welcome to the New Age
Reply With Quote
  #3 (permalink)  
Old January 12th, 2005, 10:20 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: York, , United Kingdom.
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Thanks for the response, I got around it by renaming the object. I must have had some action script somewhere that was messing it up, but I'll be damned if I can find it!

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
This is driving me nuts... Klesk C# 3 January 27th, 2006 06:51 PM
Driving me mad - getting a div to display in IE elfranko HTML Code Clinic 0 December 21st, 2005 10:49 AM
Off the wall question UNCLEBENZ Excel VBA 0 October 9th, 2005 08:01 AM
Driving me nuts! bhd8ball Classic ASP Professional 2 January 7th, 2005 12:55 AM
This is driving me nuts!!! (datagrid in .ascx) dragonoodle General .NET 2 December 13th, 2004 03:48 PM



All times are GMT -4. The time now is 09:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.