Question about Macromedia Flash MX

1 Answer

Enlarge the image in scrolling sldeshow

Menu.onRollOver = menuOver;

function menuOver() {
this.onEnterFrame = scrollmenu;
delete this.onRollOver;
}

var b = stroke.getBounds(_root);

function scrollmenu() {
if(_xmouseb.xMax || _ymouseb.yMax) {
this.onRollOver = menuOver;
delete this.onEnterFrame;
}

if(menu._x >= 390) {
menu._x = 390;
}

if(menu._x <= -8) {
menu._x = -8;
}

var xdist = _xmouse - 180;

menu._x += Math.round(-xdist / 7);
}

here is the actionscript for scrolling images,in the movie clip through button or image, i simply add a actionscript for enlarge the image...goto and play();, but when press ctr+enter the FLA file,scrolling of images keep going well but when i click on the image for enlarge,scrolling of images is stop.

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 16 Answers

Post your file to trmmedia.com admin for free flash help/fix

Posted on Jul 07, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

How do I retouch my photos that have many color pixels missing?


You can use the "blend" or "smear" feature on either GIMP (free) or PhotoShop by Adobe. This basically has the same effect as rubbing your thumb over words on a freshly written page, smearing the adjacent colors to fill in the blank or degraded spots. It's a nice feature to help fill in "blank" spots in images, especially after editing them for concept drawings and such, or enlarging images which are low-resolution.

Be careful with the tool, you can quickly go overboard.

Dec 31, 2009 | Graphics Publishing, Design & Multimedia...

2 Answers

HOW TO RESIZE PICTURE AT ADOBE??


To resize an image with Adobe Photoshop Elements 4.0 you first need to open the image. After opening the image you will select Image---> Resize---> Image Size. If you select canvas size the image itself will not change.
At the Image Size menu, make sure that the "resample" check box at the bottom of the menu is selected. Then enter the desired resolution and width/height. For printing an image, a resolution of 300 pixels/inch or more is desirable. When images are intended for computer or web display, 72 pixels/inch (sometimes referred to as dpi) is sufficient. You can set the image size in pixels (at the top of the menu) or in inches (at the lower part of the menu). Once the desired sizes are entered you only need to press "ok" for the change to be made.
Photoshop Elements also offers another method of resizing an image. You can use the "crop" function to resize your image quickly. The crop tool looks like a small square with overlapping edges and can also be accessed through the Image menu bar at the top of your screen.

Once the crop tool options bar opens, select "custom" and then enter the desired height/width and resolution. To crop to specific pixels you must enter the letters "px" after the size number in the width/height boxes. If only one dimension is important you can enter information in only one box and let the other dimension be determined purely by where you place the crop line.

After entering your preferences you will click and drag the crop tool across the image to select the part of the image you wish to keep.

Jul 17, 2009 | Adobe Photoshop 7.0 for PC

1 Answer

When I test movie all my scenes loop how do I make each one stop. I have tried stop on both first and last frame of each scene and nothing.


make sure u add stop(); in frames of each scene. And Check whether any play() function in onEnterFrame or ur preloader is exteneded to next frames instead in first frame

Mar 31, 2009 | Virtual Training Company Macromedia Flash...

1 Answer

Fixing small objects


If you mean to enlarge a small low resolution image and make it a large image with good clarity and resolution, basically you can't really do this...

Well you can up to a point, say doubling the pixel size at maximum, but if you don't have the image size and qualitry to begin with, enlarging will rarely produce a clean image if you are enlarging it by a large factor.

Of course you can enlarge some images really well by say 25% by enlarging then using some sharpening filters like "Unsharp Mask" etc. You can get reasonable results this way, but if you are trying to say enlarge a 100 pixel wide image to 1000 pixels wide, it just won't work terribly well no matter how much sharpening or filtering you do!

Hope that helps!

Mar 20, 2009 | Adobe Photoshop CS4 for PC

1 Answer

How rewind a movie clip ?


rewind_btn.onPress = function(){
onEnterFrame = function(){
prevFrame();
prevFrame();
}
}

Feb 03, 2009 | Macromedia Flash MX

1 Answer

Image enlargement in photoshop 7


The first question you've asked would take a full lesson to answer completely. If you select Image > Image Size and then choose the method that works best for the type of image you have. You can try each option, only enlarging as much as you need, and choose Undo to go back to what you started with and then try a different option. Perhaps try only enlarging the image a little and stop when it becomes too grainy.

As to 'special text design,' I have no idea what you're asking. What is it you're having problems with? The interface for text in Photoshop is different than most software, but editing text is possible. I'd suggest using the help menu and learning the basics, since the commands operate so differently in Photoshop.

Jan 06, 2009 | Adobe Photoshop imageready 5.5 for PC

1 Answer

Thumbnails


That sounds like your computer is running out of system memory. Instead of crashing, today's computers simply use the hard disk drive (HDD) as memory, when memory runs low, which often will cause the computer to seem very slow and when trying to run a huge memory 'hog' like Photoshop CS2 may eventually cause the computer to lock up (crash). Try increasing your RAM by purchasing more. If money is an issue (these days isn't it an issue for everyone?) you may find a bargain shopping on e-Bay or other re-seller. I bought the extra memory in my computer at about 25% of what it would have cost me in the store. I have 6GB of memory, and can have as many applications open as I like, with no resulting lag. It's great.

Oct 22, 2008 | Adobe Photoshop CS2 for PC

1 Answer

Flv player


hi rananjay is here. try this script....

// flv player..
// developer.. Rananjay Singh
// video instance name = thevideo
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
the_video.attachVideo(ns);
ns.play("vegas.flv");
//made control on new layer button name = Rewind button,play button
rewindbutton.onRelease = function() {
 ns.seek(0);
};
playbutton.onRelease = function() {
 ns.pause();
};
//loader..
// made new symbol named loader with strock
// inside this select the fill color & make new mc named loadbar
var videoInterval = setInterval(videstatus, 100);
var amountloaded:Number;
function videostatus() {
 amountloaded = ns.bytesLoaded/ns.bytesTotal;
 loader.loadbar._width = amountloaded*217.9;
 // 217.9___ width of loadbar
}
// flv setting-- framerate = 1.1,,, frame every 30
// make anew mc for seekbar named scrub
// then it place on loadbar
var duration:Number;
ns["onMetaFata"] = function (obj) {
 duration = obj.duration;
 loader.scrub._x = ns.time/duration*208.9;
 //208.9 width of loadbar
};
// scrubbar firs see what area cover loadbar 0 to x
var scrubInterval;
loader.scrub.onPress = function() {
 clearInterval(videoInterval);
 scrubInterval = setInterval(scrubit, 10);
 this.startDrag(false, 0, this._y, 208, this._y);
};
loader.scrub.onRelease = function() {
 clearInterval(scrubInterval);
 videoInterval = setInterval(videstatus, 100);
 this.stopDrag();
};
function scrubit() {
 ns.seek(Math.floor((loader.scrub._x/208)*duration));
}
//buffering---- made a videosize blackmc & inside that give text alpha animation,, named buffer
ns.setBufferTime(30);
ns.onStatus = function(info) {
 //if(info.code ==)..... see netstream class in help & compleate it
};
// custom ontextmenu..
var themenu:ContextMenu = new ContextMenu();
themenu.hideBuiltInItems();
_root.menu = themenu;
var i1:ContextMenuItem = new ContextMenuItem("video controls", trace);
var i2:ContextMenuItem = new ContextMenuItem("play/pause video", pauseit);
var i3:ContextMenuItem = new ContextMenuItem("replay video", replayit);
var i4:ContextMenuItem = new ContextMenuItem("copy right", trace);
themenu.customItems[0] = i1;
themenu.customItems[1] = i2;
themenu.customItems[2] = i3;
themenu.customItems[3] = i4;
// after that create two functions for context menu
function pauseit() {
 ns.pause();
}
function replayit() {
 ns.seek(0);
}
// and now prepratin foe volume control
//make a four stage movi clip for sound .. named normal,onover,mute , muteover
_root.createEmptyMovieClip("vsound", _root.getNextHighestDepth());
vsound.attachAudio(ns);
var so:Sound = new Sound(vsound);
so.setVolume(100);
// button name = mute
mute.onRollOver = function() {
 if (so.getVolume() == 100) {
  this.gotoAndStop("onover");
 } else {
  this.gotoAndStop("muteover");
 }
};
mute.onRollOut = function() {
 if (so.getVolume() == 100) {
  this.gotoAndStop("normal");
 } else {
  this.gotoAndStop("mute");
 }
};
mute.onRelease = function() {
 if (so.getVolume() == 100) {
  so.setVolume(0);
  this.gotoAndStop("muteover");
 } else {
  so.setVolume(100);
  this.gotoAndStop("onover");
 }
};

Oct 29, 2007 | Macromedia Flash MX

1 Answer

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.

Oct 11, 2007 | Macromedia Flash MX

2 Answers

Movie clip script problem


hi rananjay is here the link is given bellow ,where you find your solution http://www.actionscript.org/resources/articles/538/1/Creating-a-Scrolling-menu/Page1.html

Sep 16, 2007 | Macromedia Flash MX

Not finding what you are looking for?
Macromedia Flash MX Logo

Related Topics:

348 people viewed this question

Ask a Question

Usually answered in minutes!

Top Macromedia Graphics Publishing, Design & Multimedia Software Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18304 Answers

Tony

Level 3 Expert

2598 Answers

Sunny Solanki
Sunny Solanki

Level 2 Expert

261 Answers

Are you a Macromedia Graphics Publishing, Design and Multimedia Software Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...