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
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 Display Modes
  #1 (permalink)  
Old September 10th, 2007, 11:30 AM
Registered User
 
Join Date: Apr 2005
Location: Havana, Havana, Cuba.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with loadMovie

Hi. I'm new in flash . I'm usign Flash 8 Professional.

This code must load an image.

this.createEmptyMovieClip("movie1",this.getNextHig hestDepth );
movie1._width=50;
movie1._height=50;
movie1.loadMovie("image.jpg");

but the image does not appear.

Reply With Quote
  #2 (permalink)  
Old September 29th, 2007, 11:43 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

Actionscript can be so twitchy sometimes. It looks like it should work. Try specifying a hardcoded depth like 5 and see if that works. That's just a stab in the dark though.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Reply With Quote
Reply


Thread Tools
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
Loading a SWF into existing FLA using LoadMovie nancy Flash (all versions) 4 January 5th, 2011 10:24 AM
Some problems Sheraz Khan C++ Programming 3 April 11th, 2008 03:42 PM
validate.asp problems and logon.asp problems p2ptolu Classic ASP Databases 0 February 16th, 2005 01:34 PM
loadMovie Problems Ben Horne Flash (all versions) 1 February 11th, 2005 06:17 PM
loadMovie causing window status problems Snib Flash (all versions) 0 July 21st, 2004 06:32 PM



All times are GMT -4. The time now is 06:31 PM.


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