473,765 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

duplicated movie clip not loading images

6 New Member
HI...
I have one movieclip named "thump_mc" which consists a loader component "myLoader". I am trying to duplicate that movie clip and load picture to it.But the images are not loading to the duplicated movie clips. Pleease help me.

for (var i = 1; i<=15; i++) {
_root["thump_mc"].duplicateMovie Clip("thump_mc" +i, i+32);
_root["thump_mc"+ i]._x = i*75;
_root["thump_mc"+ i].myLoader.loadM ovie("5.jpg");
}
Feb 6 '07 #1
1 2113
syamlalz
6 New Member
HI..all now its working.But not loading images when this is inside a function....


HI...
I have one movieclip named "thump_mc" which consists a loader component "myLoader". I am trying to duplicate that movie clip and load picture to it.But the images are not loading to the duplicated movie clips. Pleease help me.

for (var i = 1; i<=15; i++) {
_root["thump_mc"].duplicateMovie Clip("thump_mc" +i, i+32);
_root["thump_mc"+ i]._x = i*75;
_root["thump_mc"+ i].myLoader.loadM ovie("5.jpg");
}
Feb 7 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3327
by: torbs | last post by:
I have a problem when I use javascript to get the length and position of a movie I recieve from a rtsp stream. The length and position is extremely high and not the actual length and position of the movie. When I try Real Player and it's methods I recieve a length and position of 0.
10
4907
elamberdor
by: elamberdor | last post by:
Hello All! Well, I can load in swf's just loverly, but what I have is a sliding menu, with buttons in it, that when pressed, load an image into an empty movieclip. I really just need to know how to target back to the _root of the whole movie. It works great when the buttons and empty movieclip in the same stage or same movie clip, however I need to work out the right script to target right back to the root where i want the image to sit,...
0
1087
by: nandoo19 | last post by:
I want to duplicate say five instances of a movie clip. Then on each of the five duplicated movies i want to load a different movie clip. How do I write a code for it?
0
2858
by: RLW | last post by:
Hi, I inherited a Flash usability problem: It's a self assessment test created in Flash. I think it was originally built using individual flash files for each question and arrays. Now it has been modified slightly. Each question is in it's own movie clip and the whole test (all the questions) is in a container clip. When the user checks a box they can no longer scroll using the MouseWheel on a PC.
2
3678
by: robtyketto | last post by:
Greetings, I have workable code to allow movie clips to be dragged around. However I can't find an example of a drag n drop where the movie clip has to be placed with a certain range/xy cordinates on a movie clip. For example I have a .gif of a grid of 2x2 squares how do I setup different instances of movie clips for each square to be able to detect when a object and has been dropped into it (A bit like when you can define hit areas on...
1
2088
Fary4u
by: Fary4u | last post by:
Hi i'm trying to design the picture gallery ever thing works fine but whn i've make test movie or export the swf file it's runs fine but problme i'm using this with in movie clip & i think so problm with level i've tried _level10 & 11 Also i've tried with _root & parent but no success any body know's where is the problem ?
1
5458
by: gusheneshin | last post by:
hi everyone im Using this code to Creat a Movie Clip and load a movie "SWF" into this Flash ------------ stop(); loady._x = 226.4;this.createEmptyMovieClip("loady",5);
1
3001
by: angelicdevil | last post by:
ok wat i m trying to do it get flash to read a xml file and load the titles in xml as a button into the imagetitles movie clip made on stage in flash . so that when i click on a title it displays the corresponding image, name and description form the xml onto the stage in respective movie clips. but its not loading the xml titles into the imagetitles movie clip i m uploading the zip file of the xml that i have at present ...plz check and...
0
1977
by: angelicdevil | last post by:
i hvae a movie clip tht loads thumbnails from images folder by reading the location of image from xml file... the problem is i have put up a scroll bar but its not working i.e its not scrolling the thumbnails' movie clip contents i m uploading the fla...plz see and help ...plz point out the line of code i need to change i think its the scrolling function. thanx
0
10161
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9955
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9833
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.