Question about Macromedia Flash MX

1 Answer

To ristrict movieclip on x and y direction using cs3

I want to restrict movieClip in cs3 mc is not properly restrict please give me the solution about that

Posted by Milinda Kulkarni on

Ad

1 Answer

Anonymous

  • Level 1:

    An expert who has achieved level 1.

    Governor:

    An expert whose answer got voted for 20 times.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 12 Answers

Syntex [movieclipname.enabled = false;]

Posted on Oct 17, 2007

  • Anonymous Oct 17, 2007

    syntex[movieclipname._visible = false;]



    please use this code to hide your movie clip.

×

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

2helpful
2answers

ACTIONSCRIPT 3.0 BUILDING SIMPLE WEBSITE FLASH CS4

you can try this site http://www.xnynz.com/.
I built my own website from this site.
It provides best features.
0helpful
1answer

I'm trying to create a control buttons for a flash CS3 movie and will also include another set of buttons that will take you to next scene and previous scenes.

ok, i tell u one thing.

one.fla

frame 1:

create a movieClip at 550x400 and give a instance name as 'movie_mc'

frame 2: Create two buttons as btn1,btn2.give instance as same.

frame 3: press F9 and Give 'stop();'
var count = 0

file1.fla

create animation

file2.fla

create animation

one.fla

next button script is

on(press)
{
count = count+1;
movieclipinstancename.loadMovie("file"+count);
}

previous button

on(press)
{
count = count-1;
movieclipinstancename.loadMovie("file"+count);
}


0helpful
1answer

CS3 Action Scripting - How do i get buttons to link to scenes?

it looks crazy but AS 3.0 is too easy and takes half of the time what you took to learn flash AS 2.0 . Button Script in AS 2.0 is like below and you were able to put the script in buttons/movieClip
on(release){
whatTodo();
}
but in as3.0 only you can use frames to add script and must use listeners for buttons. like
buttonName.addEventListener(MouseEvent.CLICK,dothis);
function dothis(evt:Event){
do_this_function();
}
evt:Event is must. it is passing the event object when u click on button.
0helpful
1answer

Button into MC

Step:1 - Make MovieClip at first keyframe in Scene of Flash
Step:2 - Extend timeline of Scene upto hundered frames
Step:3 - Insert Another Layer at main timeline of scene.
Step:4 - Write [First frame] on textbox at First keyframe of second layer.
Step:5 - Write [100th frame] on textbox at Hunderedth frame of second layer
Step:6 - Insert third layer and write [label:-"a"] at hundredth keyframe on timeline.
Step:7 - Make a button inside MovieClip then write the Code on button writen below
on(release){
_parent.gotoAndStop("a");
}

Step:8 - Look the change in screen.

Note:- The above code is valid for flash versions upto Flash player version Eight.
0helpful
1answer

Loading movie

var loadListener:Object = new Object();
loadListener.onLoadInit = function(target_mc:MovieClip):Void {
target_mc.play();
}
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(loadListener);
var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
mcLoader.loadClip("ani.swf", mc);
0helpful
2answers

Create the buttion in scene convent

create a MC and name it e.g. my_mc
my_mc.onRelease = function(){
getURL("somePage.htm","_blank");
}
0helpful
1answer

Uploading of a swf file into another swf file in a specific locoation

step-1: take rectangle shape
step-2: convert it to movieclip by pressing right mouse button the choose convert to symbol.
step-3: during convert choose the [Registration] as left corner.
step-4: place the movieclip where u need to place in scene and resize it as your requirement.
step-5: this open the movieclip.
step-6: Add new layer in timeline.
step-7: write this code.
this.loadMovie("file_name.swf", get);
step-8: Then test (Run) your movie.
0helpful
1answer

Hotw to create...

1.  Convert all of your small pics into movie clips and name them as scroll1_mc, scroll2_mc, etc.
2.  Select all the movie clips and convert them to a single movie clip and call it as scrollGroup_mc.
3. Again convert the scrollGroup_mc to a movieclip and call it as scroll_mc.
3.  Now, double click the scroll_mc, and create your tween (in your favorite direction) using scrollGroup_mc.
4. Now, attach the following code in the root's timeline. (Make sure that you should not inside of any movieclip)

scroll_mc.scrollGroup_mc.scroll1_mc.onRollOver=function(){
    this._parent._parent.stop();
    this._yscale=400;
}

scroll_mc.scrollGroup_mc.scroll1_mc.onRollOut=function(){
    this._parent._parent.play();
    this._yscale=100;
}

Likewise, you can add this code to scroll2_mc, scroll3_mc etc.

My best advice for these things is instead of repeating the code for all movie clips, you can use OOPS concepts to extend the movie clip class.
0helpful
1answer

To Resize the shape drawn on Movie Clip..

You can press ctrl+alt+s keys, and in the dialog box that appears give values greater than 100 to expand the shape or give values to contract the shape.
0helpful
1answer

Action script

first u create a movieclip then rightclick then "edit in place".then u select that object then convert it to button it is very easy one try it
Not finding what you are looking for?
Macromedia Flash MX Logo

Related Topics:

40 views

Ask a Question

Usually answered in minutes!

Top Macromedia Computers & Internet Experts

Brad Brown

Level 3 Expert

18689 Answers

Kyocera HP Expert
Kyocera HP Expert

Level 3 Expert

532 Answers

Rob Hill
Rob Hill

Level 3 Expert

1426 Answers

Are you a Macromedia Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...