How Do You Adjust BPM To FPS?
I believe you must convert a sound sample from beats per minute (BPM) to frames per second (FPS) for syncronization in Flash MX. The question I have is what is the mathematical equation for this transformnation???
FlashKit > Flash Help > Flash MX
Posted on: 03-04-2004, 01:39 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
To Adjust Stage Size, Or Adjust The Code ?
HI
got 4 different lines i want to interact with a content box. each time the box / picture increases in size or moves around, the lines reshape to frame it.
i just included the following code for each of the four different lines :
Code:
BotL.onResize = function() {
this._width = Stage.width;
};
TopL.onResize = function() {
this._width = Stage.width;
};
LeftL.onResize = function() {
this._height = Stage.height;
};
RightL.onResize = function() {
this._height = Stage.height;
};
then i increased the stage size. its now at 1300 x 470.
then i published at 100%.
you can check the new result (very ropey, i have got a lot of work to still do - but you can get the drift) at
http://www.geocities.com/elopah/
you will see what i mean.
next query is this though :
the lines dont quite make it all the way to the edge of my screen. what should i adjust next ? increase the stage size or look again at the code ? still not sure of the next step forward, or maybe perhaps there is a third way ??
check the .fla below for more.
-thanks and have great weekend.
Adjust Brightness
How would I adjust the brightness of a movie clip through actionscripting?
Thanks.
Trying To Adjust: SetInterval
on the main timeline (actions frame) I have the following:
function moveBackImageA() {
_root.back_a_image.back_mask_a.move = true;
}
function move1() {
setInterval(moveBackImageA, 6000);
}
then on an MC I have:
on (release) {
_root.move1();
}
What I would like to facilitate is having the setInterval command clear after the function is used once, so that when called again, the setInterval begins counting 6 seconds again... and so so, and so on.
This script is being used to create a delay, when a MC is released, for 6 seconds, then perform an action.
Can anyone help me add to this code or define it better to do this.
Much Thanks
How To Adjust Sizing?
I'm trying to make the swf file show only the image I want... problem is, no matter how much I adjust the height size under properties, there's always some white background showing. Width-wise is fine, however.
Does Flash Adjust?
heres the site im currently working on http://www.xscapeproductions.com/capital/ my question is is there any way for flash to adjust to ones screen size, this site doesnt look bad on 1024 by 768, but if someone has there reoslution any higher it looks like s--t!! anyway please let me know if theres a way to resize flash according to screen sizes
thnx
sean
Adjust Curves
i think i saw this transition effect various times, but can't remember any site. anyway is it possible to make a transition which looks like your adjusting the curves in photoshop until the image on which the transition is made is totally white. not just the plain old tinting...
hope you understand what i mean.
Loadmovieclip And Adjust _x _y
var myMCL:MovieClipLoader = new MovieClipLoader();
myMCL.loadClip("external.swf", 5, {_x:515, _y:349});
The above code is not working is there a different way to handle this?
need to control the _x and _y when it loads.
thanks guys
Volume Adjust
i have a sound clip in my movie and was wondering if there is a way to slowly have the volume fade away in the background over a duration of time.
Adjust Size All At Once
I am looking to make the project I am working on larger, including the stage and everything on it all at once... how could I go about making this adjustment, and would it adjust all the shape tween sizes also, etc?
FLV Adjust Sound
Is there a way to adjust the sound volume of a FLV file? I've got an flv playing into an embedded video component. I'm not using the media playback component (which has the sound adjustment built in). Rather I'm using the embedded video component so I can load in movies with variables. I'm using the attachVideo method and am creating a video object called my_Video. It seems as if I should be able to call the object like my_Video.setVolume(20) or whatever.
I'm creating the netConnection just like the help outlines.
Code:
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection:
netConn.connect(null);
// Create a NetStream object and define an onStatus() function:
var netStream:NetStream = new NetStream(netConn);
// Attach the NetStream video feed to the Video object:
my_Video.attachVideo(netStream);
Thanks for any and all help.
Joshua
Adjust My Code Please
Can anybody please help me to take the random off this code so imput values stay in order
(Newbie)
on (release) {
deck0 = "1p";
deck1 = "10p";
deck2 = "50p";
deck3 = "£1.00";
deck4 = "£5.00";
deck5 = "£10";
deck6 = "£50.00";
deck7 = "£100.00";
deck8 = "£250.00";
deck9 = "£500.00";
deck10 = "£750.00";
deck11 = "£1,000.00";
deck12 = "£3,000.00";
deck13 = "£5,000.00";
deck14 = "£10,000.00";
deck15 = "£15,000.00";
deck16 = "£20,000.00";
deck17 = "£35,000.00";
deck18 = "£50,000.00";
deck19 = "£75,000.00";
deck20 = "£100,000.00";
deck21 = "£250,000.00";
leng = 22;
q = 0;
while (Number(q)<Number(leng)) {
rand = random(22);
if (eval("deck" + rand) == "empty") {
q = q-1;
} else {
set("shuffle" +q, eval("deck" + rand));
set("deck" + rand, "empty");
}
q = Number(q)+1;
}
q = 0;
txtDisplay0 = shuffle0;
txtDisplay1 = shuffle1;
txtDisplay2 = shuffle2;
txtDisplay3 = shuffle3;
txtDisplay4 = shuffle4;
txtDisplay5 = shuffle5;
txtDisplay6 = shuffle6;
txtDisplay7 = shuffle7;
txtDisplay8 = shuffle8;
txtDisplay9 = shuffle9;
txtDisplay10 = shuffle10;
txtDisplay11 = shuffle11;
txtDisplay12 = shuffle12;
txtDisplay13 = shuffle13;
txtDisplay14 = shuffle14;
txtDisplay15 = shuffle15;
txtDisplay16 = shuffle16;
txtDisplay17 = shuffle17;
txtDisplay18 = shuffle18;
txtDisplay19 = shuffle19;
txtDisplay20 = shuffle20;
txtDisplay21 = shuffle21;
}
many thanks
Bern
FLV Adjust Sound
Is there a way to adjust the sound volume of a FLV file? I've got an flv playing into an embedded video component. I'm not using the media playback component (which has the sound adjustment built in). Rather I'm using the embedded video component so I can load in movies with variables. I'm using the attachVideo method and am creating a video object called my_Video. It seems as if I should be able to call the object like my_Video.setVolume(20) or whatever.
I'm creating the netConnection just like the help outlines.
Code:
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection:
netConn.connect(null);
// Create a NetStream object and define an onStatus() function:
var netStream:NetStream = new NetStream(netConn);
// Attach the NetStream video feed to the Video object:
my_Video.attachVideo(netStream);
Thanks for any and all help.
Joshua
Adjust Color With AS
I would like to adjust color(brightness, contrast, saturation and hue) with AS. I found out that i could do this with ColorMatrixFilter. But i don't know how to adjust this ' 4 x 5 matrix transformation on the ARGB color and alpha values' to correspond to brightness, contrast, saturation and hue that i set in filters panel when making tween's? Can somebody explain this to me or give some link to understand this?
thanx
CAN YOU ADJUST EASING THROUGH ACTIONSCRIPT?
I am animating a bunch of individual symbols or graphics for a website. I am trying to go as low as I can on the memory this will require. I have a file that shows the letters moving with the alpha changing and also with easing from -100 to 100. I wish I could attach the file somehow on here for people to look at. Basically, I need to know if it's possible to actionscript an action that has a letter fading in and moving to the left and then moving back to the right with easing all in one frame or whatever takes the least amount of memory possible. You can email me at jakesdesign@hotmail.com to let me know if you could be of any help!
Thanks
Adjust Design IE Window
i know that you can adjust the collor and even the layout of the IE window but i dont know where to start on this one
is it a script dat does the trick
or is it possible in flash mx because i've seen some very good designs amazing if thats only java ...
any sugestions?
greetz
envoy
Adjust Movie To Fit In An 800 X 600 Document?
I'm new at this and originally I had developed a whole animated scene in a document, size 1024 x 768 in Flash MX, with several layers. I realized after that a lot of people still set their resolution to 800 x 600, but when I changed the document size to that, my scene is now taking place off on the side outside in the grey area. Can someone tell me how I can shift the whole scene to the middle of the workboard without having to deal with changing it frame by frame?
How Can I Adjust The Sound With The Words
hi all if i want to make a flash card what is the best way to adjust the sound with the words
because i face a problem that in flash every thing is ok the words appeare with sound but when i put the flash in html page every thing become slow why ?????
note that the words i broken them and i use stroke . ( to every sintance )
--> Re-adjust Scenes In Mx 2004?
Hey team....I've been trying to figure out how to re-arrange my scenes in 2004. The option *used to be* under "Modify-->Scene", but that option no longer exists...at least not there or anywhere else I'd look. I've been looking for an hour now.
CAN ANYONE HELP?!?
Thank you!
adrianj
Adjust Brightness On Rollover...?
Hi Guys,
Is it possible to adjust the brightness property of a button using scripting rather than using a movieclip and telling the movieclip to play on rollover etc.
I've posted an example of what I mean.
Pdue
Can Anybody Adjust This Preloader Script?
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = Math.round(bytes_loaded/(bytes_total)*100);
_root.loadbar._width = getPercent*100;
_root.loadtext = "LOADING: "+Number(getpercent)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay("play");
}
// LOAD EXTERNAL SWF's
loadMovie("swf/navigation.swf", "_root.nav");
loadMovie("swf/subnav.swf", "_root.subnav");
loadMovie("swf/musictrack.swf", "_root.music");
What i want to do is include these external swf's as part of the preloader. I want to check if the _root timeline *AND* these 3 swf's are completely loaded before playing the site. The external swf's are about 300k each.
Any help will be greatly appreciated
Is It Possible To Dynamically Adjust Kerning?
greetings!
i'm trying to create a tool where users can adjust the kerning of a dynamic textbox and see the difference reflected in the textbox after they've submitted the values.
i know that the textField object allows you to modify a lot of values, but kerning isn't one of them (though leading is. go figure). and i'm using the textField object to dynamically adjust stuff like leading, alignment, and such.. but i can't figure out how to do the kerning..
any ideas?
ALSO, while i'm on the topic.. why does the align property for the textField object only have left, center and right, but not justified? is there a way to add justified in?
thanks!
Resolution Adjust Without Popup
Hello
i got the javascript in order for a site to readjust its size according to the viewers screen resoution using popups.
But can someone tell me how to do this without it being a popup and maybe even automatically so without needing a button.
cheers
ScrollPane.. Adjust Pane
Hi there,
Im populating a scrollPane with an MC from my library during runtime...and the weird thing is that sometimes the scrollers are on and sometimes they're not...even though they allways should be on...is there something I could have overlooked..
Adjust Scrollbar Functionality
I have a family photo album that just went up and I know the photo navigator is too difficult for the older crowd. I want to change the mouseover scrolling nav to a scrollbar.
http://www.matthewterry.net/ridgeandsarah.html
The scroller I've used for other projects is great and intuitive - just not intuitive enough for me to figure out how to change it to scroll horizontally, instead of vert.
I've included everything for adjustment in the file, I just am wasting too much time and need to get this updated fast!
I would truly appreciate the help if anyone's willing!!!
Thanks,
Matt
Adjust Color Filter
Hello all. I know you can control filters dynamically in Flash 8 (such as DropShadow, Blur, etc.). I can't find a way to control the Adjust Color filter dynamically though. Anyone know how to do this?
[F8] Adjust Frame Rate In MC?
Hello All
I have a MC of a squiggling line that grows, as if your drawing it. I want to speed up the rate the line grows but I have used the minum amount of frames I need for the animation. My question is can you speed up/change the frame rate of an individual MC that is in a timeline with a different frame rate? Basically have the movie clip play at a different frame rate than the parent timeline? Can this be done using action scripting?
thanks for any help
L
How To Adjust Volume Of Whole Movie
Hello I have 10 flash files that have videos inside them
I want to make all these flash files to have the same sound volume, but the
video clips inside are not the same volume.
What I would need is some way to control the overall volume of the swf
movie,
some kind of control that I could for example give a +5 boost on one swf
file and
a -3 lowering of volume on another swf file.
Is this possible? I don't want these controls to be visible.. no need
I created these in flash MX (6)
but I also have flash 8 and CS3 if this cant be done in flash MX.
thanks
[F8] Trying To Adjust An Mc Based On An XML Attribute
Hi everyone
I have a site (that I didn't build) that's displaying most of its content from an xml file. When an section of the site is clicked, it loads up an popup-looking mc and displays the content.
I've been given some extra content to add to the site in the form of a 'tips' section. The onRelease behaviour is supposed to be the same but I need to display an alternate popup background.
What I've done is set up this new content what an additional attribute called type="tip" in the xml file and what I was hoping to do is have the popup mc look to the xml file, see if the type attirbute is there and if it is, load an alternate background into place. If not, just carry on loading the existing popup background.
My xml path is:
myXml.firstChild.childNodes[1].childNodes[2].childNodes[nodeID].attributes.type
... where nodeID represents one of the content sections, 6 of which are the new tips.
I can't get my head around how to look for 'tip' though and use it as a variable. All sections don't have this attribute so it would typically return 'undefined'.
[CS3] - How Does FMIS Adjust Bitrate?
Hey all... thanks for looking...
I'm not sure how flv's are adjusted for the bandwidth.
Are there several versions of a video and the Flash Server picks the one appropriate to the bandwidth... or is it like Windows Media where there's just one flv file and the Server degrades or refines the video it sends based on the bandwidth?
Thank you!
[f8]Dynamically Adjust The X Position
Hi,
I want to adjust the x postsition of movieclips that I attach onto the stage using attachMovie(). Basically they are all attaching one on top of the other. I would like them to attach along the x position at the _width + a number of my choosing.
I usually do this by delcaring a variable outside of the for() loop and then adjust that value in side the for() loop. Unfortuately this is not working for me.
Any ideas
[F8] Can't Adjust Textfield Height
I have a dynamic text field that I want to change the height. I use text._height = new_height. But trace of the _height is a totally different number. Why is that? I have spent hours trying to make it work. I really need some help:-(
Here is the sample project.
http://www.gotomyhome.com/temp/test.fla
Thanks
Audio In Swf. How To Adjust Volume?
I have an audio player that works great. Problem is I now want to try and make a volume control.
How do I adjust the sound of audio being played in a swf loaded into an empty movie clip?
Code:
// Dummy movie clip to contain audio
_root.createEmptyMovieClip("audioContainer", 10);
_root.audioContainer.loadMovie(_root.audioTrack[_root.currentTrack]["swfPath"]);
How can I access what ever audio is being played in
Code:
_root.audioContainer
and control it's volume, mute it etc.
Adjust Flash To Fit Screen
Hi,
I'd like to create a movieclip that adjusts to the display resolution.....just like the background in www.niketown.com.
Could somebody help me?
thanks
Adjust Pop-up Window Size
I want to control the size without any handles or toolbar of a new window opening up, anyone knows how to do that?
This is what I got which open up a normal browser window.
PHP Code:
var link:URLRequest = new URLRequest("http://www.website.com");
instanceName.addEventListener(MouseEvent.CLICK, linkOne);
function linkOne(event:MouseEvent):void
{
navigateToURL(link1);
}
How Do I Adjust The Way The Website Displays?
Hello... I am very new to Flash and need some help. I purchased a pre developed template from Template Monster... however it was designed to be 766 x 790 px... so it is very narrow, small & hard to read.
I adjusted the HTML publish settings to Scale = Default (show all)... and now it is much more readable however there are some things I don't like about it:
1) It aligns to the left... and when I center it... you have to use the scroll bar to see it.
2) You currently have to scroll to see the bottom most text.
Basically, I have noticed that top notch websites like Amazon always take up the entire screen, and seem to be correctly sized.
How do I accomplish the following objectives without simply stretching & distorting the content?
> Take up the entire width of the screen
> No need to scroll down to see the bottom.
If it help, I am providing a link to my site.
http://www.wellness-rd.com/
Thanks!
Will My Website Adjust To Different Resolutions?
Hello all,
I am new to Flash web design, so bear with me :)
I started to design a web site which stage size is 1152 px x 720 px.
If the users' browsers are set to a resolution that is smaller than my web site, will all the swf resize itself to appear entirely in the browser of the user?
And if the users' browsers are set to a resolution that is BIGGER than my web site, will the swf stretch to adapt to this resolution?
Thanks :)
Gz
Need To Adjust This Thumbnail Gallery
Trying to figure this out. I am trying to load the images that are being displayed into a scroll pane. HEre is where you can download the source for the file.
http://www.kirupa.com/forum/attachment.php?attachmentid=30984&d=1132576428
I have tried using the linkage but with no success any ideas.
Thanks...
Adjust Color Filter
Why can't it be adjusted with actionscript like the others? If you can, how?!
Adjust Time Between The Scenes
hello,
I want to navigate from one scene to the other scene after 5 seconds.
please anyone help me the code to write in actionscript.
Regards,
Vikram
Can't Adjust Textfield Height
I have a dynamic text field that I want to change the height. I use text._height = new_height. But trace of the _height is a totally different number. Why is that? I have spent hours trying to make it work. I really need some help:-(
Here is the sample project.
http://www.gotomyhome.com/temp/test.fla
Thanks
How To Adjust Framerate?[renamed]
I just got Flash yesterday and am making a few cheap cartoons, however they run very quickly and I was wondering how you could lower the framerate or whatever in order to view them properly. Thanks.
Code To Adjust Brightness
Does anyone knows how can i adjust brightness with actionscript,
is just that im a begginer and only know to adjust alpha, but now I want to adjust the brightness to a graphic that`s inside a movie,
How can I,........ please help
Auto Adjust And Keep Proportions
Hi,
Does anybody knows how to auto adjust flash to the size of the window but preserving the size of the objects in the movie?.
These are two fantastic examples of that:
http://www.musicalarchitect.com/
http://www.mocafusion.com/
(try to resize the window and look how the objects adjust to the new size of the window)
I hope someone knows how to archive that.
Thanks
Adjust Scrollbar Depth – Help Pls
Trying to limit scrollbar scrolling... can anyone help pls?
Currently it scrolls the full depth of mc and what i'd like it to do is limit the scroll up to a set point, which in my case is a black box...
See code below and i've also attached the fla.
Cheers in advance for any help.
////// code on the timeline //////
initStageWidth = 950;
initStageHeight = 100;
mouseWheelIncrement = 160;
mouseListener = new Object();
_root.background._height = _root.main._height;
mouseListener.onMouseWheel = function(delta) {
if (delta<0) {
mainTargetY = mainTargetY-mouseWheelIncrement;
if (mainTargetY<Stage.height, 1) {
mainTargetY = Stage.height, 1;
}
}
if (delta>0) {
mainTargetY = mainTargetY+mouseWheelIncrement;
if (mainTargetY>mainInitY) {
mainTargetY = mainInitY;
}
}
};
Mouse.addListener(mouseListener);
mainInitY = main._y;
scrollbarInitY = scrollbar.scrollbutton._y;
scrollOn = false;
mainTargetY = mainInitY;
scrollbarTargetY = scrollbarInitY;
scrollbar.scrollbutton.useHandCursor = false;
scrollbar.scrollbutton.onRollOver = function() {
if (!scrollOn) {
this.gotoAndPlay("over");
}
//pulsante RollOver
};
scrollbar.scrollbutton.onDragOver = scrollbar.scrollbutton.onRollOver;
scrollbar.scrollbutton.onRollOut = function() {
this.gotoAndPlay("out");
};
scrollbar.scrollbutton.onPress = function() {
scrollOn = true;
this.startDrag(false, this._x, scrollbarInitY, this._x, scrollbarInitY+scrollAreaHeight);
};
scrollbar.scrollbutton.onMouseUp = function() {
if (scrollOn) {
scrollOn = false;
this.stopDrag();
if (!scrollbar.scrollbutton.hitTest(_xmouse, _ymouse)) {
scrollbar.scrollbutton.gotoAndPlay("out");
}
}
};
scrollbar.scrollbutton.onEnterFrame = function() {
if (scrollOn) {
mainTargetY = mainInitY-(main._height-Stage.height)*(scrollbar.scrollbutton._y-scrollbarInitY)/scrollAreaHeight;
} else {
scrollbarTargetY = -(main._y-mainInitY)*scrollAreaHeight/(main._height-Stage.height)+scrollbarInitY;
if (Math.abs(scrollbar.scrollbutton._y-scrollbarTargetY)>2.000000E-001) {
scrollbar.scrollbutton._y = scrollbar.scrollbutton._y+(scrollbarTargetY-scrollbar.scrollbutton._y)/2;
}
}
if (Math.abs(main._y-mainTargetY)>2.000000E-001) {
mainOldY = main._y;
main._y = main._y+Math.ceil((mainTargetY-main._y)/2);
mainMovement = mainOldY-main._y;
blur.blurY = Math.floor(Math.abs(mainMovement));
main.filters = [blur];
}
};
Stage.scaleMode = "noScale";
Stage.align = "TL";
import mx.transitions.Tween;
var ridi:Object = new Object();
ridi.onResize = function() {
Stage.addListener(ridi);
scrollAreaHeight = Stage.height-scrollbarInitY*2-scrollbar.scrollbutton._height;
var myTween:Tween = new Tween(scrollbar, "_x", mx.transitions.easing.Strong.easeOut, scrollbar._x, Stage.width-scrollbar._width, 1, true);
var myTween:Tween = new Tween(main, "_x", mx.transitions.easing.Strong.easeOut, main._x, 0, 1, true);
};
scrollAreaHeight = Stage.height-scrollbarInitY*2-scrollbar.scrollbutton._height;
var myTween:Tween = new Tween(scrollbar, "_x", mx.transitions.easing.Strong.easeOut, scrollbar._x, Stage.width-scrollbar._width, 1, true);
var myTween:Tween = new Tween(main, "_x", mx.transitions.easing.Strong.easeOut, main._x, 0, 1, true);
////// code within mc //////
import mx.transitions.Tween;
posX = _root.asse._x-this._parent._x;
posY = _root.asse._y-this._parent._y;
bt.onRelease = function() {
_root.mouseListener.onMouseWheel = false;
_global.poss = _root.mainTargetY;
movee();
bt_back._visible = true;
this._parent.swapDepths(100);
bt._visible = false;
var myTween:Tween = new Tween(_root.scrollbar, "_x", mx.transitions.easing.Strong.easeOut, _root.scrollbar._x, 560, 1, true);
var myTween:Tween = new Tween(mc_Image, "_y", mx.transitions.easing.Strong.easeOut, mc_Image._y, _root.asse._y-this._parent._y, 35, false);
var myTween:Tween = new Tween(mc_Image, "_x", mx.transitions.easing.Strong.easeOut, mc_Image._x, _root.asse._x-this._parent._x, 35, false);
var myTween:Tween = new Tween(bt_back, "_x", mx.transitions.easing.Strong.easeOut, bt_back._x, 0-this._parent._y, 35, false);
var myTween:Tween = new Tween(bt_back, "_y", mx.transitions.easing.Strong.easeOut, bt_back._y, 0-this._parent._x, 35, false);
var myTween:Tween = new Tween(mask, "_y", mx.transitions.easing.Strong.easeOut, mask._y, _root.asse._y-this._parent._y, 35, false);
var myTween:Tween = new Tween(mask, "_x", mx.transitions.easing.Strong.easeOut, mask._x, _root.asse._x-this._parent._x, 35, false);
var myTween:Tween = new Tween(mask, "_width", mx.transitions.easing.Strong.easeOut, mask._width, Stage.width, 35, false);
var myTween:Tween = new Tween(mask, "_height", mx.transitions.easing.Strong.easeOut, mask._height, Stage.height, 35, false);
var myTween:Tween = new Tween(bt_back, "_width", mx.transitions.easing.Strong.easeOut, bt_back._width, Stage.width, 35, false);
var myTween:Tween = new Tween(bt_back, "_x", mx.transitions.easing.Strong.easeOut, bt_back._x, 0-this._parent._x, 35, false);
var myTween:Tween = new Tween(bt_back, "_y", mx.transitions.easing.Strong.easeOut, bt_back._y, 0-this._parent._y, 35, false);
var myTween:Tween = new Tween(bt_back, "_height", mx.transitions.easing.Strong.easeOut, bt_back._height, Stage.height, 35, false);
_root.mainTargetY = 0;
};
bt_back.useHandCursor = false;
bt_back._visible = false;
bt_back.onRelease = function() {
_root.mouseListener.onMouseWheel = function(delta) {
if (delta<0) {
_root.mainTargetY = _root.mainTargetY-_root.mouseWheelIncrement;
if (_root.mainTargetY<Stage.height-_root.main._height) {
_root.mainTargetY = Stage.height-_root.main._height;
}
}
if (delta>0) {
_root.mainTargetY = _root.mainTargetY+_root.mouseWheelIncrement;
if (_root.mainTargetY>_root.mainInitY) {
_root.mainTargetY = _root.mainInitY;
}
}
};
bt_back._visible = false;
_root.mainTargetY = poss;
var myTween:Tween = new Tween(_root.scrollbar, "_x", mx.transitions.easing.Strong.easeOut, _root.scrollbar._x, 550-_root.scrollbar._width, 1, true);
var myTween:Tween = new Tween(mc_Image, "_y", mx.transitions.easing.Strong.easeOut, mc_Image._y, 7.5, 35, false);
var myTween:Tween = new Tween(mc_Image, "_x", mx.transitions.easing.Strong.easeOut, mc_Image._x, 270.7, 35, false);
var myTween:Tween = new Tween(bt_back, "_x", mx.transitions.easing.Strong.easeOut, bt_back._x, 7.5, 35, false);
var myTween:Tween = new Tween(bt_back, "_y", mx.transitions.easing.Strong.easeOut, bt_back._y, 270.7, 35, false);
var myTween:Tween = new Tween(mask, "_y", mx.transitions.easing.Strong.easeOut, mask._y, 7.5, 35, false);
var myTween:Tween = new Tween(mask, "_x", mx.transitions.easing.Strong.easeOut, mask._x, 270.7, 35, false);
var myTween:Tween = new Tween(mask, "_width", mx.transitions.easing.Strong.easeOut, mask._width, 232, 35, false);
var myTween:Tween = new Tween(mask, "_height", mx.transitions.easing.Strong.easeOut, mask._height, 80, 35, false);
var myTween:Tween = new Tween(bt_back, "_width", mx.transitions.easing.Strong.easeOut, bt_back._width, 232, 35, false);
var myTween:Tween = new Tween(bt_back, "_height", mx.transitions.easing.Strong.easeOut, bt_back._height, 80, 35, false);
myTween.onMotionFinished = function() {
bt._visible = true;
};
};
How To Adjust Framerate?[renamed]
I just got Flash yesterday and am making a few cheap cartoons, however they run very quickly and I was wondering how you could lower the framerate or whatever in order to view them properly. Thanks.
Code To Adjust Brightness
Does anyone knows how can i adjust brightness with actionscript,
is just that im a begginer and only know to adjust alpha, but now I want to adjust the brightness to a graphic that`s inside a movie,
How can I,........ please help
AS - Adjust Color Effect Through AS
I recently worked on a project that required fade-in and out of images using the Adjust-Color filter effect. I didn't have a lot of time - so for 2 hours I tried finding a way to do it using actionscript for no avail... the desired effect is produced when assigning a movie clip the adjust-color filter, and setting both "brightness" and "contrast" to 100 - then animating them (using let say 20 frames) back to 0. the result is a 'burn-out' effect which is pretty cool compared with a regular fade in. You can see what it looks like if you go to www.monster.com (the main flash piece on the page).
So - if anyone could shed some light on the subject, I'm sure a lot of people would find it handy.
Dynamically Adjust Frame Rates?
Hi Guys and Gals,
Can you shed any light on the problem below please?
I have a main movie, fps 14 and an intro which has fps 30. The intro.swf is loaded into a container clip on the main timeline ( the container clip is called intro_shell )using the "loadMovie" a/s.
This is where the problem starts........into.swf plays at the parent frame rate of 14 fps instead of 30 fps. So how can I change the frame rate for the duration of the intro then go back to 14 fps when its finished...I am sure that I have seen this done somewhere before?
Any help / pointers in the right direction will be gratefully recieved.
Thanxs Bac2
|