?
Solved

Probably Simple Flash Question.

Posted on 2003-03-20
10
Medium Priority
?
138 Views
Last Modified: 2010-04-03

Ok this is what I'm trying to do, I'm somewhat familar with flash, I can make movies and buttons, but that's about it.

This is what I'm trying to do.

Here's an example:

I want to show a list of shapes on the right side.
I want to show a list of colors on the left side.
I want to show a list of pictures on the top.

In the Center I have an empty square.

Person, can click on a color, and then click on shape, and that shape and color appear in the center.

Then they click on a picture and that shows up in the center square, but UNDER the shape.

Basiclly that's what I want. More complicated though.

Summary:

Some how I list a bunch of icon buttons, and depending on what icon they chose and what color they chose I show them a matching shape.  Even if I have to every possible combo.
And they can click on another set of graphics and it shows up on a layer underneath the first selected icon.

I hope that makes sense.

Kind of like you can dress of a doll, and you can choose pictures of shirts and pants, and colors, and they appear in the center, and you can pick the doll that's under the clothes to change.

Wish I could find an example.

0
Comment
Question by:fredmastro
[X]
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
  • 5
  • 5
10 Comments
 
LVL 6

Accepted Solution

by:
henryww earned 500 total points
ID: 8181679
ok ... kind of understand ...

so u have a doll ... and some shirts and some pants in different columns /row and u have them all listed ...
good ...

the problem is?? i am not really sure.

are u having problems to duplicate movieclips?
if so, this is what u can try

a simple way.
create ur pants & shirts & dolls with no buttons
name them accordingly on the stage, say doll1,doll2 ... etc

create a transparent buttons to use, one is good enough, u can recycle it ..

drage the button on top of each movieclip ...
write action to call a function to do the dulpication and align the new movieclip

ie:

// on ur doll1 button
on(release) {
   dupDoll(_root.doll1);
}

// on ur doll2 button
on (release) {
  dupDoll(_root.doll2);
}

// on the main timeline u will have the function to do the duplication
function dupDoll(mcDoll){
   // duplicate
   mcDoll.duplicateMovieClip("myDoll",1);
   // align the new clip
   _root.myDoll._x = 100;
   _root.myDoll._y = 100;
}


repeat for ur pants & shirts
BUT ...
remember to change the function so it dup to a higher level for the stuffs u want on top ...like
function dupPants(mcPants){
   // duplicate
   // dup the pants on level 2, so it will cover ur doll underneath ..
   mcPants.duplicateMovieClip("myPants",2);
   // align the new clip
   _root.myDoll._x = 100;
   _root.myDoll._y = 100;
}

try and see if this helps

cheers
0
 
LVL 2

Author Comment

by:fredmastro
ID: 8184121
I think this will work, I have to play around with it.  Before I accept your answer, are you willing to provide me a sample of something for many more points? You name the points.  Something I can work off of and copy and paste and change around all the pics.
0
 
LVL 2

Author Comment

by:fredmastro
ID: 8184454
Example of how it might work:
In the center you have an empty shield
You can scroll through and change the color of that shield.

Then you can pick a pattern that goes over the shield on a new layer, and you can then also pick a color for that pattern.

Then you can choose an emblem to go on the pattern in the center of the shield and also choose a color for the emblem.

If you want to make a sample for me I'll give you buca points, if not I'll give you the points for your other answer anyway.  Let me know.  This offer only for henryww.  Anyone else, I'll make a new question for you if you want to provide it for me.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 2

Author Comment

by:fredmastro
ID: 8184657
I'm trying this in Flash MX btw.
0
 
LVL 6

Expert Comment

by:henryww
ID: 8187433
ok thanks for the offer, .... and the answer is accepted already ... so ...

i don't mind giving u an example, and no extra points is needed ... well, well, i suppose u have done it already ... let me know if u have more problem with that ...

cheers
0
 
LVL 2

Author Comment

by:fredmastro
ID: 8188138
Ok can I email you? I think I found another way I want to do this....

I think I'll just post up a new question.

Going to use JavaScript talking to Flash Movie.
0
 
LVL 2

Author Comment

by:fredmastro
ID: 8188141
Mines fredmastro@fredmastro.com
0
 
LVL 6

Expert Comment

by:henryww
ID: 8189240
i am sure there are many other ways to do that :)

u can send me email at henryww@hotmail_com

cheers
0
 
LVL 6

Expert Comment

by:henryww
ID: 8189241
i am sure there are many other ways to do that :)

u can send me email at henryww@hotmail_com

cheers
0
 
LVL 6

Expert Comment

by:henryww
ID: 8189242
i am sure there are many other ways to do that :)

u can send me email at henryww@hotmail_com

cheers
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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 set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

765 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