Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Buttons' Problem..experts Please Help...



The case is basically like this: I got 2 buttons, I named it button1 and button2. The effect I want is like this, when mouseoever button1, the size of the button will become bigger, while mouseout, the button's size will remain in normal condition(smaller size). When I click over button1, the size will become bigger and remain static in bigger size button condition. Then when I mouseover button2, same effect, which is the size of button2 bcomes bigger, and mouseout, the size will change back to normal size. When I click on button2, the size will remain static is bigger size, but button1 will be changed from bigger to smaller. Here is the example, http://www.templatemonster.com/websi...tes/12970.html Can anyone help...many thanks..... ps: as long as it works, regardless what effect for the button, either color been changed, or button size bcomes bigger.....



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 03-11-2007, 05:14 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

]experts Only] :: A Clean Way To Disable Bg Buttons
Hello all,

I'm building an application that hasdialog boxes. I want to disable the background when I open a dialog without using a big transparent button that covers it..
I want a CLEAN way to do that. If an expert knows how please let him reply to this.

best regards,
- m.Saleh

[ Experts Only ] :: A Clean Way To Disable Bg Buttons
Hello all,

I'm building an application that hasdialog boxes. I want to disable the background when I open a dialog without using a big transparent button that covers it..
I want a CLEAN way to do that. If an expert knows how please let him reply to this.

best regards,
- m.Saleh

Loading A Movie Clip Using Buttons, (really Simple For Experts)
hey everyone, i need someone to show me how u can load a movie clip when your mouse cursor goes over a button....



http://www.zekestudios.com/flash/main.html
go to this page and go over the music button... that is close to what i am trying to do...

if u can help me do that then pls answer back,

Thanks!!

EXPERTS ONLY
I have a mc on _root with instance is called "wee". I want to duplicate that mc on _root (so i have many of them). If i cut and paste this code and put it on frame one everything works fine.

duplicateMovieClip ("_root.wee", "uniqueid", 12);
setProperty ("uniqueid", _x, 200);
setProperty ("uniqueid", _y, 200);

BUT, if I cut and paste that code and put in "within" another mc, it does not work? Any ideas why? This mc that I am trying to duplicate has sounds in it... the sounds play... but the images in it don't show up...

I am assuming this has to do somehting with the depth, but i am not sure.

Any ideas?

Thanx for any advice you can give!

-Ryan

For Experts Only.........
Hi
let's assume that I have a sound imported in the flash movie and placed on the main time line.
The current setting for the sound is "Stream".
A function is placed on the first frame.
Now the question is that, I want this function called every time when each word in the sound file is pronounced.
I know that the sound object in flash doesn't support this kind of functionality.
I manage to the same by manually listening the sound and placing que point on the frame and writing call to function each time.
but this is ok for couple of files, I have to deal with hundreds of file.
I will welcome you If any one of you have suggestion.
Thanks in advance
Ajay

Little Help From The Experts
I've been working sometime on trying to create a preloader for external movies (swf's) into my Main Movie. I read this tutorial : http://www.flashkit.com/tutorials/3r...36/more8.shtml

He talks about STATUS.
status = 'loading' = The text effect is loading.
status = 'loaded' = The text effect has loaded.
status = 'waitstart' = The effect is waiting for the command to start playing.
status = 'playstart' = The effect is playing.

This looks like it would be the recipe. But I see no where to use anything called status. I really want to be able to preload external movies so I run clean but I can't seem to find anything that works. I'm fairly new to flash so I don't understand action scipting very much at all. If you have a tutorial for THIS problem alone I would really appreciate it. Thanks for reading!

Experts, I Need Your Help Again
hi,
Please help me to troubleshoot my problem,
as a new actionscript learner, i can't really see my mistake.

i'm making a simple game. i need to use the ifelse loop.
this is how is goes:
i have two scenes(one call game another call quiz)

i have to prevent the ball to drop on the floor, but if it drops onto the ground, i have to answer the questions which is on the second scene(quiz). the problem is how do i make it and stop and scene two (quiz).
can help me?
Please see my script below which i have inserted the "else if"
thanx.

(actionscript on the ball)
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.score += 1;
_root.s1 = _root.score;
reset();
} else if (_root.hitTest(_root.ground)) {
gotoAndStop ("quiz", 1);
} else if (this._y>500) {
reset();
} else {
this._y += itemSpeed;
}
}
my work is @ http://www.geocities.com/wee_wee11/m.fla

EXPERTS ONLY
i put this on my first keyframe in my movie clip. why woln't this work?

mass.shapes[whichShape][whichPoint]
extrude(mass, whichShape, 100); // where 100 would be the thickness of our desired logo.
mass.pts[0] = new Object(); // only objects can have properties
p = mass.pts[0]; // don’t want to write mass.pts[0] a lot
p.x = 5; p.y = 10; p.z = 32; // p now has 3 properties, x, y, z
createEmptyMovieClip("mass", _root.depth++);
mass.pts = new Array();
// only do this once, makes pts an array

mass.pts[0] = new Object;
//makes a point where we can add properties
mass.pts[0].x = 0; mass.pts[0].y = 0; mass.pts[0].z = 0;

mass.pts[1] = new Object;
//makes another point
mass.pts[1].x = 40; mass.pts[0].y =40; mass.pts[0].z = 0;

mass.pts[2] = new Object;
//makes another point
mass.pts[2].x = 0; mass.pts[0].y =40; mass.pts[0].z = 0;mass.shapes = new Array ();
// only write this once in the script
mass.shapes[0] = new Array();
// gives room in the first shape for points
mass.shapes[0][0] = 2;
// first point in shape will be the point with ID = 0
mass.shapes[0][1] = 0;
// 2nd point in shape will be the point with ID = 1
mass.shapes[0][2] = 1;
// first point in shape will be the point with ID = 2
// A very useful function for optimization would be to check if a point exists, and if so, whats its ID
// if it doesn’t find one, the function will return –1 (an impossible ID)

function checkPts(mc, x, y, z)
{
f = -1;
for (b = 0; b < mc.pts.length; b++)
{
if (mc.pts[b].x == x)
if (mc.pts[b].y == y & mc.pts[b].z == z)
f = b;
if (f > -1) break;
}
return f;
}
function extrude (mc, from, amount) // which mass, shape, and desired depth
{
// this will go through each point in our shape
for (i = 0; i < mc.shapes[from].length; i++)
{
// let’s check if our point with a change depth (z) already exists
k = checkPts(mc, mc.pts[mc.shapes[from][i]].x, mc.pts[mc.shapes[from][i]].y, mc.pts[mc.shapes[from][i]].z + amount);

if ( k == -1)
{
// if it doesn’t, lets make a new one with the extruded z
k = mc.pts.length;
mc.pts[k] = new Object;
mc.pts[k].x = mc.pts[mc.shapes[from][i]].x;
mc.pts[k].y = mc.pts[mc.shapes[from][i]].y;
mc.pts[k].z = mc.pts[mc.shapes[from][i]].z + amount;
// the only change from the original coordinate is z, depth
}

// lets make a face out of this coordinate, the previous, and their extruded copy
// that means it’ll be on of the sides of the new shape (not top or bottom)
// need to make sure we start on the second coordinate though:
if (i > 0)
{

// make a new face
mc.shapes[mc.shapes.length] = new Array();
mc.shapes[mc.shapes.length-1][0] = checkPts(mc, mc.pts[mc.shapes[from][i]].x, mc.pts[mc.shapes[from][i]].y, mc.pts[mc.shapes[from][i]].z + amount);
mc.shapes[mc.shapes.length-1][1] = checkPts(mc, mc.pts[mc.shapes[from][i - 1]].x, mc.pts[mc.shapes[from][i - 1]].y, mc.pts[mc.shapes[from][i - 1]].z + amount);
mc.shapes[mc.shapes.length-1][2] = mc.shapes[from][i - 1];
mc.shapes[mc.shapes.length-1][3] = mc.shapes[from][i];
}
}
// we still need to make the last face, connecting from the first coordinate, last, and their extruded copies

mc.shapes[mc.shapes.length] = new Array();
mc.shapes[mc.shapes.length-1][0] = checkPts(mc, mc.pts[mc.shapes[from].length-1].x, mc.pts[mc.shapes[from].length-1].y, mc.pts[mc.shapes[from].length-1].z + amount );
mc.shapes[mc.shapes.length-1][1] = mc.shapes[from][mc.shapes[from].length - 1];
mc.shapes[mc.shapes.length-1][2] = mc.shapes[from][0];
mc.shapes[mc.shapes.length-1][3] = checkPts(mc, mc.pts[ mc.shapes[from][0] ].x, mc.pts[ mc.shapes[from][0]].y, mc.pts[ mc.shapes[from][0]].z + amount);

// and lets make the top of the shape
mc.shapes[mc.shapes.length] = new Array();
for (i = 0; i < mc.shapes[from].length; i++)
mc.shapes[mc.shapes.length - 1][i] = checkPts(mc, mc.pts[mc.shapes[from][i]].x, mc.pts[mc.shapes[from][i]].y, mc.pts[mc.shapes[from][i]].z + amount);
}
extrude(mass, 0, 20);
// takes the first shape in our mass and extrudes it 20 pixels
// start with 10 degree angle rotation, and then make it redraw the shape when the mouse moves
// change the 5 to prefrence. Stage.width/2 means middle of the screen. redraw is our render function

mass.ayaxis = 10; mass.axaxis = 10;
mass.onMouseMove = function()
{
this.axaxis+= (_root._xmouse - Stage.width/2)/5;
this.ayaxis+= (_root._ymouse - Stage.height/2)/5;
redraw(mass, axaxis, ayaxis);
}
function redraw(mc, xAngle, yAngle)
{
// figures out the new coordinates
rotate3D(mc, xAngle, yAngle);

// clear the previously rendered shape
mc.clear();

//for each shape in our mass
for (x = 0; x < mc.shapes.length; x++)
{
// red fill with alpha opacity of 20
mc.beginFill(0xff0000, 20);
// black 1pt outline with alpha 20
mc.lineStyle(1, 0x000000, 20);

// start at our first point
mc.moveTo(mc.pts[mc.shapes[x][0]].sx, mc.pts[mc.shapes[x][0]].sy);

for (var k = 1; k < mc.shapes[x].length; k++)
{
// and draw to our last point
mc.lineTo(mc.pts[mc.shapes[x][k]].sx, mc.pts[mc.shapes[x][k]].sy);
}

// connect the last dot to the original and end the fill
mc.lineTo(mc.pts[mc.shapes[x][0]].sx, mc.pts[mc.shapes[x][0]].sy);
mc.endFill();
}
}
function rotate3D(mcArray, xa, ya)
{
// perspective scale, lower to make interesting
camdepth = 300;
c = mcArray;
rad = Math.PI/180;
cosYangle = Math.cos(ya*rad);
sinYangle = Math.sin(ya*rad);
cosXangle = Math.cos(xa*rad);
sinXangle = Math.sin(xa*rad);

// figure out the rotated coordinates and rendering position
p = mcArray.pts;
for (i = 0; i < mcArray.pts.length; i++)
{
tempz = (p[i].z*cosYangle)-(p[i].x*sinYangle);
tmpx = (p[i].z*sinYangle)+(p[i].x*cosYangle);
tmpz = (p[i].y*sinXangle)+(tempz*cosXangle);
tmpy = (p[i].y*cosXangle)-(tempz*sinXangle);

// the actual screen coords
zratio = camdepth/(tmpz +camdepth);
p[i].sx = (Stage.width/2)+ tmpx *zratio;
p[i].sy = (Stage.height/2) - tmpy *zratio;
}
}

For Experts To See
counter = 2;
do {
duplicateMovieClip("Wb1","Wb"+counter, 0);
duplicateMovieClip("Bb1","Bb"+counter, 0);
duplicateMovieClip("Wr1","Wr"+counter, 0);
duplicateMovieClip("Br1","Br"+counter, 0);
duplicateMovieClip("Wk1","Wk"+counter, 0);
duplicateMovieClip("Bk1","Bk"+counter, 0);
counter = counter-1;
} while (counter>1);

Experts Can You Help?
i would like to know how i can put a link or button into my flash movie that when clicked on , sets my site as the users home page, if anyone knows i would be very grateful.

Cheers
Acestu

? For The Experts
I have just completed a website for my client. From the very beginning, I let them know the load time may be substantial (between 1-3 minutes on a fast line - beware non cable, dsl users ) because of the amount of pictures they need in their site -though there is a slightly interesting preloader and after that the WHOLE site is loaded so no more wait time, but still, this week I'm going to decrease that wait time, it's annoying to me.

So my question is.... would you experts advise....

1) splitting the site into completely different swf files (mainly in the vertical market sections, where all the pics are) and adding preloaders to those sections, thus splitting the wait time amongst the whole site.

2) using the "loadmovie" commands (which I've never used, but I'm sure could figure out easily, but will this really decrease the size enough even with all the pics?)

or
3) is their some way to go into the site as the rest of the site is loading? kind of like real streaming or something?

here's the website

http://www.leopardo.com
thanks!

kubitz

i'd be happy to send my email address to those who'd like to see more....
thanks!!
[color=royalblue][color=darkred][color=burlywood]

Help From Experts
I need to load randomly 3 images in 3 Movie CLips on the stage.
The instances of the MCs are:
image_holder1
image_holder2
image_holder3
I'd like to compact my script and make all the work wiith only a
function and a loop.
I think 3 functions are too much 'cause they do the same identical
work.

I'd like to set a fade transition too between the pics and
change the image_holder sequence randomly, not only 1 2 3.
Thanx a lot guys!
A greet from Italy...


My script (it works but i think it is a good script!)



waitTime = 3000;
num_img = 19;
var photo = new Array();

// image_holder1
function loadRandomImage1(img_rnd) {
img = "images/champ"+img_rnd+".jpg";
this.image_holder1.loadMovie(img);
photo[1] = img_rnd;
}

function randomImage1() {
img_rnd = Math.floor(Math.random()*num_img)+1;
loadRandomImage1(img_rnd);
}
sI1 = setInterval(randomImage1, waitTime);


// image_holder2
function loadRandomImage2(img_rnd) {
img = "images/champ"+img_rnd+".jpg";
this.image_holder2.loadMovie(img);
photo[2] = img_rnd;
}

function randomImage2() {
image2 = false;
while (image2 == false) {
img_rnd = Math.floor(Math.random()*num_img)+1;
if (img_rnd != photo[1]) {
image2 = true;
}
}
loadRandomImage2(img_rnd);
}
sI2 = setInterval(randomImage2, waitTime);

// image_holder3
function loadRandomImage3(img_rnd) {
img = "images/champ"+img_rnd+".jpg";
this.image_holder3.loadMovie(img);
photo[3] = img_rnd;
}

function randomImage3() {
image3 = false;
while (image3 == false) {
img_rnd = Math.floor(Math.random()*num_img)+1;
if ((img_rnd != photo[1]) && (img_rnd != photo[2])) {
image3 = true;
}
}
loadRandomImage3(img_rnd);
}
sI3 = setInterval(randomImage3, waitTime);

Any Experts Here?
Hi.

I am developing a flash site for a client, everything will be done via one interface and one page. All the content will load into a portion of the page when the user clicks certain buttons etc.

I can get around ways to do this - like jumping to frame 100 for About. then jump to frame 200 for contact etc -but this is such a bad way to build flash sites I am sure - it also causes problems if I want to have a transition effect between pages.

So how do you go about doing it properly. Most sites I see have a pretty little preloader between pages so i presume they are just loading a movie clip?

Second Question

I am also developing an effect very similar to this red bar here:
http://www.p-diddy.com/pd/index.html

My code works, but it works when you move your mouse over the whole movie area, rather than a portion of the movie (which is what i want). I presume masks will fix this in appearance,,bunt is there a way to create the effect within a pre defined area of the flash movie?

Any help on both topics most appreciated.

thanks

JP

Where Are All The Experts
ok here goes again none seems to be able to answer this problem
I have tried to get this problem answered on the forums for a week or so now and have had no responce can someone please help
I have a movie that someone passed to me and it works ok to a degree
What i need is a bidding device
the user enters a bid between a lowest and highest number
say between 60 pence and £200.90
i need the entered bid to be check to see if it is allowed
the attached movie doesnt understand say a bid of £1.50 and treats it as less than the lowest bid allowed of 60pence
The movie must also recognise a 2 digit bid and asume it is a pence bid
The entered bid then must be passed on to a backend script
Is this done passing the varible through a form
I hope i have explained enough
Please help me out
Mank thanks

Any Experts ?
Hi Buddies,

I have a strange pbm here. I have one flash swf with a height of 5000 px(its needed). Inside i have one Panel with a height of 4000 px and beneath dat i have some more controls upto a height of 4800 px.
Wat my pbm is if i run dis application(i.e embed de swf in a html page) in IE it wont render any components beyond the height of 4100 (approx) it is displaying simply texts nothing else.
But if i run de compiled swf it shows i mean it renders everything very fine.

Anybody knows wat de reason, whether it is IE pbm or Flash player in IE has some pbm..... please tell me

Any suggestion wud be great

Any Experts ?
Hi Buddies,

I have a strange pbm here. I have one flash swf with a height of 5000 px(its needed). Inside i have one Panel with a height of 4000 px and beneath dat i have some more controls upto a height of 4800 px.
Wat my pbm is if i run dis application(i.e embed de swf in a html page) in IE it wont render any components beyond the height of 4100 (approx) it is displaying simply texts nothing else.
But if i run de compiled swf it shows i mean it renders everything very fine.

Anybody knows wat de reason, whether it is IE pbm or Flash player in IE has some pbm..... please tell me

Any suggestion wud be great

Only For Experts
I'm not really sure how or why this is happening but maybe someone knows, or it has happened to them before. So I made this flash website and it is a base swf file that loads several other files (text and swf) into the first level of the root movie. The problem i am having is that sometimes the images won't load at all. I know that it isn't the external swf file that is the problem because other aspects of the movie will load, just not the images. I thought it might have something to do with the mask that is in the file but someone suggested it might be a actionscript problem. Has anyone had this problem.
if you need the fla files i would be glad to send them.

Experts Help ...
hey guys...

basically what i need is for these 'tile' movie clips to shuffle position everytime i press the green button but i cant do it...

also each 'tile' should have a different number on it but obviously because the tiles are all instances of the same movie clip, what i do to one happens to all... so i need the tiles to have different numbers and also to shuffle positions everytime i press the green button (named 'shuf')...???

at the moment all i have is basically this....

1 movie clip named 'tile' (this is basically just a square) and i have put 16 different instances of 'tile' on the stage (4x4)...
each of the instances is name (tile1, tile2, til3 ...tile16)..all these tiles have been arranged in a 4x4 grid format...and i need the tiles to shuffle but hold the position of the grid (if u know what i mean)....

ok also i have a button on the stage called 'shuf'

now what i need is each clip to display a different number on it (i.e. 1-16) and than when i click on 'shuf' the tiles should randomly change position but hold a position on the 4x4 grid..... so all tiles have to shift their position and take another position on the grid which was previously occupied by another tile (before shuffling)...

also these tiles need to be clickable (so as to highlight when they have been clicked).......maybe they should br buttons instead of movie clips........?

all u experts
PLEASE HELP...

Hi Experts....This One Is For You....
Facing a problem with datagrid.....

I want to render the datagrid column..
In that rendered column I want to render with movieclip & textField. Also after rendering cell I want to make textfield to be editable (I know column.editable = true but as you will load two components so this will not work..)..

So any solution...any sort of help will be appreciated....
Thanks guys..you rock.....!

For The Experts...
Ok how do i load movieclips instead of numbers....

heres the code...


init();
function init() {
timeline = _root;
iconlinkage = "smallIcon_mc";
squarecount = 34;
maxcolumns = 8;
//
x_border = 2;
y_border = 22;
//
leftbound = 50;
topbound = 50;
//
maxScale = 300;
normalScale = 100;
//
icons = [];
for (var i = 0; i<squarecount; i++) {
var ico = timeline.attachMovie(iconlinkage, "ico_" +i, i);
var idx = i%maxcolumns;
var idy = Math.floor(i/maxcolumns);
//
ico.sx = ico._x=leftbound+(idx)*(ico._width+x_border);
ico.sy = ico._y=topbound+(idy)*(ico._height+y_border);
//
if (icons[idy] == undefined) {
icons[idy] = [];
}
ico.idx = idx;
ico.idy = idy;
ico.label = i
ico.onRollOver = function() {
scaleIcon(this, maxscale);
};
ico.onRollOut = function() {
scaleIcon(this, normalscale);
};
//
icons[idy][idx] = ico;
}
}
//
function moverows(idx, idy, mc) {
var i = 0;
while (i+idx<maxcolumns) {
i++;
icons[idy][idx+i]._x = mc._x+x_border+mc._width+(i-1)*(icons[idy][idx+i]._width+x_border);
}
}
function scaleIcon(mc, endScale) {
mc.scaleTo(endScale, .3, "easeoutback", 0, {updfunc:moverows, updscope:_root, updargs:[mc.idx, mc.idy, mc]});
}

For The Experts...
Ok how do i load movieclips instead of numbers....

heres the code...


init();
function init() {
timeline = _root;
iconlinkage = "smallIcon_mc";
squarecount = 34;
maxcolumns = 8;
//
x_border = 2;
y_border = 22;
//
leftbound = 50;
topbound = 50;
//
maxScale = 300;
normalScale = 100;
//
icons = [];
for (var i = 0; i<squarecount; i++) {
var ico = timeline.attachMovie(iconlinkage, "ico_" +i, i);
var idx = i%maxcolumns;
var idy = Math.floor(i/maxcolumns);
//
ico.sx = ico._x=leftbound+(idx)*(ico._width+x_border);
ico.sy = ico._y=topbound+(idy)*(ico._height+y_border);
//
if (icons[idy] == undefined) {
icons[idy] = [];
}
ico.idx = idx;
ico.idy = idy;
ico.label = i
ico.onRollOver = function() {
scaleIcon(this, maxscale);
};
ico.onRollOut = function() {
scaleIcon(this, normalscale);
};
//
icons[idy][idx] = ico;
}
}
//
function moverows(idx, idy, mc) {
var i = 0;
while (i+idx<maxcolumns) {
i++;
icons[idy][idx+i]._x = mc._x+x_border+mc._width+(i-1)*(icons[idy][idx+i]._width+x_border);
}
}
function scaleIcon(mc, endScale) {
mc.scaleTo(endScale, .3, "easeoutback", 0, {updfunc:moverows, updscope:_root, updargs:[mc.idx, mc.idy, mc]});
}

For Experts ONLY (Question)
Looking for a site where i can learn about CGI from the scratch i need to learn everything ALL THE BASICS ALL THE TERM AND EVERYTHING THAT RELATIVE TO IT.

note: plz i don't need site with tutorials cuz i wont understand them i need to learn from the scratch (WHAT CGI is ALL THE RELATIVE TERMS HOW TO START HOW TO WHAT SO EVER).
[Edited by FaNDeR on 10-10-2001 at 03:42 PM]

Can Someone Help Me? Easy For Experts
I am a new user of Swish and created a web movie navigation page. I have actions set for on press for my differnt locations on the page etc. When you hit back, the movie plays over again. My question is, how do you only view the movie once? For instance, you open my page and you see a 15 sec movie and it lists all the links you can visit. If you hit back the movie starts again and you have to wait until finishes playing to hit something again. This cycle repeats every time you come back to the page and it starts again. I know there is a way to do this, so hopefully one of you experts and help me out. Thanks guys/gals!


JP

Are You Experts In Web Technology
Hi
I have a very serious problem regarding the browser cache size.
Currently I am working on a education project.It has a lot of flash files.the test version is now crossing 3 MB limit.
If the full flage project is ready it may cross much more limit of th ebrowser cache.
if the user is viewing all the modules the browser is throwing exception that cache memory is full.
Now to avoide this problem I want to clear the cache of the browser on the fly.
Is there is any method in javascript or in asp or by any other possible way to achieve the same.
Any suggestion is highely helpful for me.
thanks in advance .

Experts Needed
i have a movie that has 3 mc's that move away from each other with a collision script

onClipEvent (enterFrame) {
if (this.hitTest(_root.fashion.move.menu.a2)) {
setProperty (this.a3, _x, _x+5);
}

but when this movie is loaded with a button in to a other movie i have to keep pressing the button to let the script do his work.
to see what i mean check http://www.egbertzwier.com and then press the FASHION button.
if someone can help me that would be perfect.
thanx.

Experts, Questions Here... =)
Ok, hm...I want to make a full page, can anyone show me step by steps? I'll ask one question at a time first, so please fill me in... =)
First, heres and example... http://www.tidy.com
Ok, it starts with an intro, then goes to the mainpage... =P
First, how do I do integrate all that? Like first it loads up some stuff (Preloaders I think). Then it goes to the mainpage...and I dunno how they did it, but it seems to work no matter wut resolution you're at...the windows seems to adjust itself~ Does anyone know how to do that? So does this mean I should first write up an HTML code, then start the page? Or do I do the Flash first, then adjust according to HTML? I can't tell if thatz many small flash files integrated...or is the page ONE big Flash file? Hm...anyone know?

Flash Experts Only
I know many times people here have discussed on the issue of key detection.

But again here goes another problem,
we all know how to detect a KeyDown position by:_

onClipEvent (keyDown) {
if (key.isDown(KEY>UP)) {
trace ("KEY UP is DOWN");
}
}
and in order to determine the key up its simple

onClipEvent (keyUp) {
trace ("KEY UP is UP");
}

ofcourse this works but not on the UP key being put up, but with any key. We dont have the option of specifying which key UP.

Logic for this may go like this
If theres a key pressed down, then apparently the
immediate key up will be from the same key itself.
BUt what if i press one key down and then press another key down and the release the later one ???

any answer s.....

Experts,help Me If You Can Pleaseeeee.
please refer to this website
where i posted my question.

http://board.flashkit.com/board/show...hreadid=322752

i'm waiting for your reply.
Your help will be much appreciated

Best Regards.

Flash Experts
Is There a way to tween a dynamically imported JPG in a movie clip??? If so how can it be done?

I Need Advice From The Experts
I want to start learning flash but which one flash 5 or Flash MX I need advice thanks

Question To Experts
How come my animations are better when i preview it on flash or when i play it in flash player but when it comes to preview play or play my animation on browser.. it seems to be slower.. any suggestion on how to retain the speed when played in browser mode?

Experts Question
hi
this is for experts and a thers but especially for ,,senocular, cartbert, marmotte, and other seniors,,

i need to load mp3 files from database,,
i have a html page where thousands of songs are listed ,,when a user checks his sond,,that value or name'll be sent to database,,now i want tat particular selected song to be player ina flash file later in ne page
all the mp3s are stored in one folder

plzz get me out of this ,,

thanx

Two Questions For Experts...please See
Thanks in advance,

Q1: Can I create a folder in the same directory where the swf is located with a name entered by the user in a text field using flash 5

Q2: What's the syntax to go to a label whose name is contained in a variable? Something like this:

label = playSong;
gotoAndPlay(label);

Can these things be done?
Thanks

Question For The EXPERTS.....
At my job, a certain department wants to be able to access several MS Access files from online. I had set up a secure login section for users to go through first, but then a guy from the other department tells me, "Is there anyway we can access these files without having to download them??"

so my question to you guys is..........is there a way to set up these huge files without people having to actually download them onto their hard drive first??

Thanx in advance......

Experts Needed..please
i have been working on a combo box and a push button for days now... how can I set it up properly (like updating it back to the original state after each usage) and send the information they inserted back to me so I can analyze the data??? i know about the button options like label and data(do i have to change anything in that row?) but I have a big time putting the action script together and its driving me crazy.please help

Actionscript Experts, Please Help
Ok, i have posted about this 3 times (over the course of the last month) and no one ever was able to answer this. it SEEMS like it should be simple enough, i just can't figure out how to do it.

I want a scrollbar for a dynamic text field (multiline and wrap) that will disappear totally when it is not needed (i.e. when there is not enough text to require scrolling). basically, i need it to look at the text going into the dynamic text field, and determine if it's overflowing the box or not. because i am using a variable width fontset, i can't just say IF (it's < xxx characters) {such and such happens} because in that fontset "wwwwwwww" takes up a lot more room than "llllllll".

but i also know that somehow most component scrollbars have a check built in, i just can't figure out how it determines this. because when there is not enough text to overflow the box, the "dragbar" on the scroll plane is not there (or invisible). and when there is enough text (just like in this input box i'm writing this in) then it appears... and resizes according to the content amount, but i don't care about that. i just want a scrollbar that will disappear totally when it is not needed.

PLEASE, any constructive advise is welcome!!!!

if you can tell me how to check if text in a dynamic text field is going out of the box, then i can probably do the rest myself. i just have NO idea how to do this with actionscript.

Experts Needed
I need some help, i'm trying to make a circle with variable titles around it in flash. the titles come from a php/mysql database. the attachment shows how it supposed to be... Anybody an idea how i can generate that in flash?
thanks

Experts Need Assistance
Hi,

I'm new at flash animation, I currently own Flash MX, and i know pretty much the basics, motion tween etc. I would like to learn how to make the flash cartoons in flash, but don't know how to start. Most tutorials, don't really teach you about how to animate like the people of newgrounds. If anyone would be kind enough to be sort of a tutor that i can apprentice off of that would be great. We could communicate through MSN messenger. Add me at kevx25@hotmail.com. This will be alot of help. Thank you

Kevin

AS 2.0 Experts For Prob That Seems Like A Bug To Me
I have this code inside a method of my ColourTween class:
code: _intervalID = setInterval(this, "update", ms);

Normally it runs fine but I create an instance of class ColourTween from within an event handler the above doesn't work: the method update never gets called.
eg.
code:
_root.onMousedown(){
var colTween:ColourTween = new ColourTween(_root.box, "ff00ff");
colTween.beginHex("0099cc", 30, 300);
}


AS 2.0 is cool but I didn't have this problem with actionscript 1.
What am i doing wrong?
Thanks
Dene

Transparance Again ? Experts ?
Transparant pop up
Hi!

I came a cross a nice promothing, the pop up is tear the
hole in the website, and thats without a plugin ( no need to download )

I have the IcePlayer, but the reader needs to download a player before they can se it.

This pop up don´t need that, the question is how they do that ???

It´s Flash ofcource...

Take a look at the picture, sorry no link to show you in real, the
promothing ends last week a think

Thanks
Swed

Experts Only I Need Your Help HAAARRRDDD
Ok..ok... this isn't a very hard question... but at least i got your attention.

We've all been to those flash websites where when you move your mouse over an image a little text caption appears giving you a quick description of the image.

It's the ones where the text box basically attaches itself to your mouse... so if you move your moues aroudnt eh image... this little text box follows.

I'm sure this is a simple case of changing your cursor or something... but I'm no sure.

Anyone know where there is an example of how this is done. I tried doing searches on google over and over and foudn nothing.

Thanx for your time

Ryan

Flash Experts
Hi, I just wanted to know if their where any people on these forums that are willing to do some work (with pay) for a webpage that need some pics. The URL is: www.virtualbodybuilder.com This site is what the URL states, its a virtual bodybuilding site. What the site need are some small cartoon pics of different bodybuilding looks. It sounds like fun, i'm just no good with flash. I do not work for this company im just a member of the forums doing my part to make the game much better. Here's the message from the administrator:

"Hi All,

If you are a capable Flash artist and would like to assist in the development of the game please read on:

I need to get some drawings done (in a fun cartoon style) of a bodybuilder in 100 (!) different phases - from weedy to monstrously huge, and from obese to shredded to kingdom come.

For each of the ten levels of size I need ten different pictures showing the effects of their bodyfat levels.

Each picture needs to be divisible into the different bodyparts so that if a vbb has big arms and little legs for instance a composite picture can be created showing this.

If you would like to take up this work, please pm me with a example drawing for a huge ripped bodybuilder and a weedy fat one.

Payment will be negociated.

Thanks,

Daz"

If your interested please email me at canterburybulldogs_1@hotmail.com OR just reply to this post.

Thanks for your time. Mr_Tank

Any 'Experts' Want To Answer This...
Things may have changed with Flash since I was trying to solve this problem, but at the time this was the answer...:

An .swf requires all the frames to be loaded before Flash starts to play frame 1 of the .swf. Therefore any preloader will not appear because it won't detect frame 1 until all the frames of the .swf have been loaded, and therefore it's conditions are met straight away for it to allow the .swf to start playing (after a lenghty wait if it is a video clip!)

Does any Expert out there know how to use a preloader for an external .swf loading?

Any Experts With Using Functions Here?
I got a simple problem but its proving tough for me, trying to dynamically tell a certain movieclip to go to a certain frame.

Depending on the situation I want to move one of 9 movieclips to a certain frame, the movieclip instances are named bg1 through to bg9

Ok so I've got something like this:

function whatever(chooseMC){
chooseMC.gotoAndStop("myFrame");
}

whatever(bg3);

ok now that works fine, no problem there, but if those 9 movieclips reside within another movieclip called say "myBigMc" it doesn't seem to work:


function whatever(chooseMC){
myBigMc.chooseMC.gotoAndStop("myFrame");
}

whatever(bg3);

any ideas why the above don't work and how I can fix it?

Experts Needed..
this is what i have:

movieA, main menu
movieB, (is a popup window. a flash button in it)
movieC, includes a music

A and C are in the same page. B is popup


this is what i want:

pressing a button in movieA displays movieB(popup) and stop the moviec music.
pressing a button in movieB closes movieB and restore the music.


this is the problem:

it works good in my computer, but after uploading to the website, can't stop the music.


this is the scripts:

in movieA button>>>

on (release) {
getURL("JavaScript: popupflashworks01();");
my_frame = 5;
talkingAtoB = new LocalConnection();
talkingAtoB.send("simple_lc", "communication", my_frame);
}


in movieB popup, close button>>>

on (release) {
getURL ("javascript:window.close()");
my_frame = 10;
talkingAtoB = new LocalConnection();
talkingAtoB.send("simple_lc", "communication", my_frame);

}


in movieC music>>>

FRAME 1:
stop();
listeningLC = new LocalConnection();
listeningLC.communication = function(my_frame){
gotoAndStop(my_frame);
};
listeningLC.connect("simple_lc");

FRAME 5:
startFadeOut = true;

this.onEnterFrame = function(){
if(startFadeOut){
if(so.getVolume() > 0) {
so.setVolume(so.getVolume() - rate);
} else {
so.setVolume(0)
startFadeOut = false;
}
}
}


FRAME10:
startFadeIn = true;

this.onEnterFrame = function(){
if(startFadeIn){
if(so.getVolume() < 100) {
so.setVolume(myMusic.getVolume() + rate);
} else {
so.setVolume(100);
startFadeIn = false;
}
}


what's wrong with those codes?

Experts: I DO Need Your Help (Flash Bug?)
This matter is something I haven't been able to solve for long and now I'm really desperate to find out an answer.
Here's a link to a very simple zip file (as example) containing the conflictive fla and other files, for those of you who may want to have a look at it.

TO SIMPLIFY THINGS:
It seems that whenever I use a couple of AS instructions in order to load some Dynamic text from a text file, Forms which are based in formmail, stop working (no matter if these forms are made of dynamic or static text). Why??

INTO MORE DETAILS:
In the attached fla example file here, I've simplified things very much by just leaving 2 Forms (one made with Dynamic text and another one without any dynamic text on it).
Very peculiar, if in frame 1 I call the variables from the text file:
code: webcontent= "File.txt"
loadVariablesNum (webcontent, 0);
the 2 Forms stop working properly: The static one doesn't even seem to submit data. The dynamic one, it seems data has been sent but data is never received.
As soon as I delete these 2 lines of AS, they work properly again (although of course, no words can be seen in the Form made with dynamic text).

Both submit buttons contain the following AS:
code: on (release) {
subject = "Customer Form from your Web";
recipient = "info@mydomain.com";
loadVariables ("http://www.mydomain/cgi-bin/formmail.pl", "", "POST");
_root.Form.gotoAndStop ("Thanks");
}
So...I don't have the least idea of what's going on with this all.
Perhaps any of you could explain what's wrong with such a simple thing like this and how to avoid this strange behaviour.

Thank you very much!

Actionscript Experts Please
hello, please check the attached FLA. this is my reference file.

the file is basically includes 11 buttons and clicking each button will cause a text effect appears.

how can i change to only one text effect occurs without the button(s)?

and if possible, could anyone explain me how those scripts work in the file?

thank you very much

<<<EXPERTS ONLY? Interactive Map
Hi! I need some piece of advice. I have to develope an interactive airplane routes map. The map will show you the diferent connections between cities.

I guess this should be XML project, but not sure, the animation of the lines (curved) from one city to another are too many. There are too many combinations also.

Whatever...help needed!


Z.

Help Needed ...Only Experts Need Look
Hello All,
I have a problem with a flash movie I created, I have 100 movie symbols that I want to load / unload (At random) on the click of a button ie when you click on the button movie symbol 1 unloads and movie symbol 2 loads. This all has to be done on the first frame of the timeline.

To try and make this work I created an array to store the movie symol names and put this code into the button to be clicked:

on (click)
{
unloadMovie ("_root.hole3");
}
on (release)
{
attachMovie(array[random(100)], "hole3", 1);

hole3._x=490;
hole3._y=-290;

}

Basically it will work one time and one time only, HELPPPPPPPPP MEEEEEEE PLEEEEAAASSSEEE
Cheers

Copyright © 2005-08 www.BigResource.com, All rights reserved