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








Whats Wrong With This Forum?


I've posted questions here queite a few times, and it used to be, i would have really prompt responses. This place was the bomb. Usually you would get inconsiderate idiots who would post a question asked several times before. And sometimes never been posted before. Either way, i think posting a question that has already been asked before isn't a sin. I've asked questions i've done searches on before and couldn't find it, primarily cause i may not know what you call the function that does it or for other reasons. But now we're at a point where people just dont answer questions. Im no pro, but if i stumble accross something that i can help answer for someone i do? I would like for some people that are pros with flash to post answers of why they dont answer some questions?

I work for Created201.com studios, if i can ever help anyone shoot me an email. www.created201.com/




FlashKit > Flash Help > Flash ActionScript
Posted on: 01-30-2003, 05:37 PM


View Complete Forum Thread with Replies

Sponsored Links:

Whats Wrong With This Forum
What is the deal i cant ever see or post anything anymore what has happend. I post messages and get an email telling me someone has replied but i cant find them after i close the link. What is going on? Is anyone else having this problem. i guess i will never know sence i cant look at replies!

View Replies !    View Related
Sorry Wrong Forum
i use this forum because you can get the help you need usually but i can't find a good dreamweaver forum. macromedia forum isn't that great. sorry this isn't flash related but it is flash kit help i'm looking for.

View Replies !    View Related
Definately The Wrong Forum But...
I have a login page on my site, and I want any submitted info going to a .txt file instead of my email. Basically people sign the guestbook and whatever they put submits to my email. How can I make it so that it goes to a txt file? Where each comment goes one after the other. For example

---------------
Blank@aol.com
I love your site!
---------------
blank2@aol.com
Hi!
---------------





Like that.

View Replies !    View Related
Is This The Wrong Forum? (conversion Q.)
Hi, I posted a question
here yesterday asking about how to convert a Flash animation into a YouTube-ready format (.avi, .mov, .wmp, .mpg), and haven't gotten any responses. I'm brand-new to both Flash and this website, and so I'm not sure how this all works. It could be that I just haven't waited long enough for a response, but I have no way to tell if that's the case. Would someone be able to tell me if I haven't gotten any answers because
a) I didn't write my post correctly
b) my problem is a very difficult one and nobody does know the answer
c) I'm posting to the wrong forum
d) none of the above?

If I'm posting to the wrong forum (lots of the posts I've read here seem to be related to actionscript issues, and mine is definitely more graphics and rendering related), I'd like to know where is the appropriate place to ask for help.

Any response would be greatly appreciated!

Gillian

View Replies !    View Related
Oopsie. Wrong Forum. Delete This
Sorry about that. wrong forum.

View Replies !    View Related
I Know This Is The Wrong Forum But How Do I Assign 2 Javascripts To One Link?
Like this:
I want a link to open a pop-up window and at the same time close the current window...

i have the codes here
javascript:window.close();
javascriptopUp('results.html')

the problem is, how do I combine 2 javascripts code into one link? i think this is how it's done. am i right?

<a href="javascriptopUp('results.html')window.close ();">

im just guessing. anyone can help me out?

View Replies !    View Related
I May Have Posted In The Wrong Forum: Sound And A Specific PC
Hi,
http://www.flashkit.com/board/showth...hreadid=510686

Describes a problem I am having with a single machine that will neither detect nor play an MP3 loaded dynamically. Any help on where to start looking is massively appreciated.

BTW, all the files are in the correct place and the site works on every other computer/browser combination I have tried.

Thanks,

Gaius

View Replies !    View Related
Play-once-only Via Cookie (oops, Wrong Forum)
oops, sorry.
deleted this message - 'twas a WMV file on the page that I wanted to prevent re-playing, so not appropriate for this forum. Can't seem to delete message, so I erased original.

bm





























Edited: 10/14/2008 at 11:06:51 PM by Bananzaman

View Replies !    View Related
Whats Wrong
what wrong with this
onClipEvent (load) {
this._x = 0;
}
onClipEvent (enterFrame) {
if (this._x=0) {
r = 1;
}
if (this._x=700) {
r = 2;
}
if (r == 1) {
this._x = this._x+50;
}
if (r == 2) {
this._x = 0;
}
}

View Replies !    View Related
Whats Gone Wrong?
when rolling over a button i make the word (roll over) disapper and (the name of the button) appear. There are a few buttons beside each other but if i roll over the buttons too quickly the word (roll over) eventually disappears and appears when i roll over the button which is the complete opposite of what it should do....

heres the code im using :

on (rollOver) {
tellTarget ("/nyc") {
play ();
}
}
on (rollOut) {
tellTarget ("/nyc") {
gotoAndStop (1);
}
}
on (rollOver) {
tellTarget ("/roll") {
gotoAndPlay ("start");
}
}
on (rollOut) {
tellTarget ("/roll") {
gotoAndPlay ("middle");
}
}

View Replies !    View Related
Whats Gone Wrong?
Ok.....On screen i have several buttons. I also have text on screen which says "roll over one" which is a movie clp, when i roll over one of the buttons the text(roll over one)dissapears and (the name of the button) appears.
All the buttons are very close to each and if i roll over the buttons too quickly the word (roll over one) eventually disappears and appears when i roll over the button which is the complete opposite of what it should do....

heres the code im using :

on (rollOver) {
tellTarget ("/name of button") {
play ();
}
}
on (rollOut) {
tellTarget ("/name of button") {
gotoAndStop (1);
}
}
on (rollOver) {
tellTarget ("/roll over one") {
gotoAndPlay ("fade");
}
}
on (rollOut) {
tellTarget ("/roll over one") {
gotoAndPlay ("comeback");
}
}

View Replies !    View Related
Whats Wrong?
I want to get two variables from Ms access database through ASP i put 2 dynamic text fields in my flash movie (field1:name, field2:score)and i put a button on the same layer having action ---------

on (release) {
loadVariablesNum ("get_can.asp", 0, "GET");
}
--------
my asp page is working fine as when i run it separately it gives me both the variables (name ,score) .
So what is wrong?
ASP:------------------
<%
set con = Server.createObject("ADODB.Connection")
Con.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("can.mdb")
set RS=Server.CreateObject("ADODB.Recordset")
name=Trim(Request.QueryString("name"))
testa1=Trim(Request.QueryString("testa1"))
sql="SELECT * FROM table1"
RS.ActiveConnection = Con
rs.open sql
%>
------------------------------
Help me out!

View Replies !    View Related
Whats Wrong With This (MX)
trying to import an external .swf into an MC in MX and i keep getting this error am i doing it wrong? I read the tutorials and this is what it said to do.

Heres the error:

Symbol=Symbol 133, Layer=Layer 2, Frame=1: Line 1: ';' expected
Load Movie ("vcomp.swf", 1)

heres the code its so simple i cant see whats wrong with it unless the tutorial was wrong.

Load Movie ("vcomp.swf", 1)

Any help appreciated thanks.

View Replies !    View Related
IF Whats Wrong Here?
hi there.
i'm trying to check to see if item2 has moved down the distance of _height.item1items +30 else move down _Y +3
but its not working any suggestions?




if(_root.window.item2._y == _root.window.item2._y + _root.window.item1items._height + 30) {
_root.window.item2._y = _root.window.item2._y +3
gotoAndPlay(2);
}
else {
gotoAndStop(1)
}

thanks

danny

View Replies !    View Related
Whats Wrong?
Obviously this code isnt working, whats wrong, it seems perfect to me?
onClipEvent (keyUp) {
if (Key.onKeyUp( key.LEFT)) {
stop();
}
}
onClipEvent (keyUp) {
if (Key.onKeyUp( key.RIGHT)) {
stop();
}
}

View Replies !    View Related
Can You See Whats Wrong Here
Variables - anyone with a spare second?
I am triying to send variables to asp and then return some variables.
The variables that are returned are to be collected in AS and not a text box.

I tried this and it didn't work.

My asp is fine because if no variables get passed from flash it still writes a default value.ie. OrgName=Nothing+there

Can you see whats wrong here

Orgdata = new LoadVars();
Orgdata.srcTopicCombo = _root.c1.getValue();
Orgdata.srcAreaCombo = _root.c2.getValue();

ReceiveData = new LoadVars();
ReceiveData.onLoad = fOnLoad;

SendData.sendAndLoad("combosearchresults.asp", ReceiveData);


function fOnLoad(success) {
if (success) {
OrgName = ReceiveData.OrgName;
} else {
myAlertFunction("error");
}
}

View Replies !    View Related
Whats WRONG
Can someone please tell me what is wrong with this:

on (release) {
loadVariablesNum("addtime.php? starttimehr="+starttimehr.getSelectedItem().label+
"&starttimemins="+starttimemins.getSelectedItem(). label, 0, "POST");
gotoAndPlay(20);
}

Its just selecting the item out of the combo box and POSTing the value to a php script.

No values are returned

Thanks

View Replies !    View Related
Whats Wrong ?
if ya look at my .swf on http://frent.topcities.com/belgium8819.swf
my preloader doesn't do a thing how come ? ( to see the fla ==>> http://frent.topcities.com/belgium8819.fla )
if it's all wrong can ya fix it please then , i would really appreciade it

View Replies !    View Related
Whats Wrong Here
cant get this to work right ?????
useing flash 5

View Replies !    View Related
Whats Wrong, Fps Or Something Else?
http://bluefrost.intraweb.net


The thing is that Ive recieved comments about the loader being skippy. The white thing covering the main content. The one that comes in from the left and out.

I have FPS at 36 so that shouldnt be the problem.

Its a white square that have a mask over it. Is there a way to make this run more smooth???

Click the home button over and over again and youll see what Im talking about.

Edit:
Oh, and its not just the white that comes in covering the content but also when its loaded and the main/home image appears. I use a mask on that one. The mask has a tween and comes in from the left.

Suggestions on how to make it smooth?

View Replies !    View Related
Whats Wrong With This?
onClipEvent (enterFrame) {
if (_root.player.hitTest(_root.trashcan) && trashhit == 0) {
_root.trashcan.gotoAndPlay("hit");
trashhit = 1;
}
}


It doesnt go to the frame.

View Replies !    View Related
How Can I Know Whats Going Wrong?
Hello.
My swf shows a message saying:" A script i this mvie is making flash playre run slow. If it keeps playing, it may stop the computer. Do you want to abort the script?"
I answer "YES", but i dont know what, in my code, is making the flash player to run slow.
Is there a way to see what line is making it? When it stoped?

View Replies !    View Related
Whats Wrong?
<?
$dbHost = "localhost";
$dbUser = "root";
$dbPass = "";
$dbName = "nnn";
$table = "alumnos";

$link = @mysql_connect($dbHost, $dbUser, $dbPass);

if (!$link)
{
$bien=false;
echo "&bien=$bien&";
exit;
}

if (!@mysql_select_db($dbName))
{
$bien=false;
echo "&bien=$bien&";
exit;
}

$query2 = "SELECT MAX(COUNT(d1)) from alumnos";
$result2 = mysql_query($query2);
$ide=$result2;

echo (mysql_error());
mysql_close($link);
echo $ide;
?>

View Replies !    View Related
Whats Wrong Here? Please Help...
Please take a look at my .fla.... and can someone tell me why the first button works but non of the others do?? I scaled down the file a lot so it should be very readable... all actions are located in the actions layer... oh at its was build using 2004...

link to .fla
http://www.carlosrapa.com/TESTER.fla

Thanks a Bunch,
Carlos

View Replies !    View Related
Does Anyone Know Whats Wrong With This
Ive got an image that is converted in to a movie clip.
The movie clip is on my main timeline with this action on the clip:

onClipEvent (load) {
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this._alpha>1) {
this._alpha -= 10;
}
}

It doesn't work if anyone has any suggestions please let me know.
thanks

View Replies !    View Related
Whats Wrong?
Can someone take a look at my site and tell me what I'm doing wrong... I'm new to this actionscripting thing and am getting more confused, the more I look at it!!

Is a very simple website, at this stage all of the pages are the same apart from the heading..... they will be changed later!! I just want to get the navigation working!!

I have all the buttons in a mc called "buttons" funnily enough!! and all the pages in a movieclip called "pages", each frame where the content is, is labeled and has a stop action it!!

The buttons have the action

on (release) {
tellTarget ("main") {
gotoAndStop("home");
}
}


But the buttons don't work.....!! What am I doing wrong...... cause its driving me nuts, my computer is about to have a meeting with the pavement!!

cheers!!

View Replies !    View Related
Whats Wrong About This.....?
on (release) {
temp = mask.menu;
mask.menu = 2;
}
on (release) {
if (mask.menu < temp); {
tellTarget ("knipper") play();
}
if (mask.menu > temp); {
tellTarget ("knipperlinks") play();
}
}

-------------------------------------------------------------

in this script the buttons (7 of them) are named "mask.menu = 1 (untill 7)"

if the mask.menu of the the button you click on is lower than the one you clicked on before "knipper" has to play....if it's higher than the one you clicked on before "knipperlinks" has to play


thnx

View Replies !    View Related
Could Some One Tell Me Whats Wrong?PLS
I have a problem with my gallery photos.
The problem is: I was updating my pitures and for the gallery #1 there are 2 picts that does,t show there.I've tryed everything and still not there.
I have the original files on CD, than what i did was erase everything from the ftp thing and upload it again.Also it did't work.
The funny thing is on my computer it does work but when i transfer
it to the ftp there 2 pics missing.

www.tjdesigners.com/foto

Could you kindly help me on this?
Many many thanks!

View Replies !    View Related
Whats Wrong With My If?
im making an online gallery for my friends and family, but something is going wrong with the if command:

on (press) {
if ph1.text = "Belle in Poolroom" {
gotoAndPlay(7);
}
if ph1.text = "st. Pauls from Millenium Bridge" {
gotoAndPlay(10);
}
}

the actionscript error report says i need to put in some (, but i dont know where?

thanks,
jellyrools

View Replies !    View Related
Whats Wrong With My Jpg's?
can someone tell me why when i load the swf directly, the jpg's look fine, and when you load the html page they look pixelated & jagged?

html
swf

if you look at some of the prom & wedding pictures, and at the edge of their clothing, the edges seem ragged, not as smooth & clear as in viewing the swf file directly. The last picture, with the dogs, the mans face seems unclear & the neck line of the womans shirt is ragged looking.

No scaling, the images are imported exactly the size I want them to be. 80% quality, tried 100% -doesn't make a difference. Match movie, no borders.

Perhaps it is a problem with being embeded in html?
I have seen many photography flash sites, & the pictures look great, so I know this can be worked out, just don't know how.

would there be a better method of having flash display jpg's?
what about using loadmovie with non-progressive jpg's, would that work better?

heres the fla file zipped:
ace fla file

thanks

View Replies !    View Related
Whats Wrong With This
whats wrong with this script , i want to change back and forth from frame 1 to frame 2 on a movieclip instance i made
i put this code on the instances action
and the clip has exactly to frames

onClipEvent(load){
stop();
_root.frame_num=this._currentFrame
}
on(Release){
if(this._currentframe==(2))
{this.gotoAndStop(1);
_root.frame_num=this._currentframe}
if(this._currentframe==(1))
{this.gotoAndStop(2);
_root.frame_num=this._currentframe}
}
thanxs

View Replies !    View Related
Whats Going Wrong Here ?
on my flash site im loading in a few other swf files onto the page with this code

stop();
newscontainer.loadMovie("news.swf");
photoboothcontainer.loadMovie("photobooth.swf");


the files are loading in ok but the timeline DOESNT STOP???

WHY IS THIS ????????

View Replies !    View Related
Whats Wrong
here is what i have.

code:

onClipEvent (load) {
mpoint = new object();
}
onClipEvent (mouseMove) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
mpoint.x = this._xmouse;
mpoint.y = this._ymouse;
localToGlobal(mpoint);
_parent.dragger.loc = mpoint.y;
} else {
}
}


can someone tell me what wrong with it?

i will include the .fla
so someone can take a look at it.

View Replies !    View Related
Tell Me Whats Wrong With This
im having some trouble with my frogger game again. this time every time i jump onto a car the animation freezes. if im just sitting there and a car hits me it works fine. it only freezes if i jump directly into a car.

another problem i have is that there is soposed to be a fly that pops up randomly at the top.if i jump into the frogs home while the fly is there its soposed to show an animation that says 200, to show that i got points. that doesnt work either.

so if one of you people that are way smarter than i am can tell me whats wrong that would be great.

here is my fla: http://esgaroth.servebeer.com/frogger.fla

here is the swf: http://esgaroth.servebeer.com/frogger.swf

View Replies !    View Related
Whats Wrong?
im trying to link to another scene:

my code is...

on (release) {
gotoAndPlay("Scene 7", 1);
}


and i get this error....



**Error** Scene=Scene 4, layer=Layer 1, frame=1:Line 1: '{' expected
on (release), {gotoAndPlay(Scene 7,1);}

Total ActionScript Errors: 1 Reported Errors: 1

View Replies !    View Related
Whats Wrong With My I
Hi All, Could someone else please look at this and see if you can tell me why my i wont work

Set up:
Loading info from a xml file
PicObject = new RSXML2b();
var xml_file:String = "pics.xml";
PicObject.Open(xml_file);
PicObject.onLoad = function() {
var nr = this.GetNumRows();
Pic = {};
Pic.titles = [];
Pic.thumb = [];
Pic.description = [];
//populate array
for (i=0; i<nr; i++) {
//fill the arrays
Pic.titles[i] = this.GetResult("title");
Pic.thumb[i] = this.GetResult("thumb");
Pic.description[i] = this.GetResult("description");
this.MoveNext();
}
};

Pic.titles[i], Picthumb[i] and Pic.description[i] trace out fine.

Now if I put in

clip3MC.dig01_mc.loadMovie("images/"+Pic.thumb[i]+".jpg");
clip3MC.dig02_mc.loadMovie("images/"+Pic.thumb[i]+".jpg");
clip3MC.dig03_mc.loadMovie("images/"+Pic.thumb[i]+".jpg");
clip3MC.dig04_mc.loadMovie("images/"+Pic.thumb[i]+".jpg"); above the MoveNext(); function.

I get the same image, My i is not incromenting (or I am just having a brain fart) If I hard code the Pic.thumb[1] it works great but I don't want to code 80+ lines.

Thanks
Bobby
Let me know if you need ALL the code

View Replies !    View Related
Whats Wrong?
Code:
onClipEvent (enterFrame) {
if (Key.isDown(Control)) {
this.gotoAndStop(2);
}}
I'm not getting an error message but it wont work.

View Replies !    View Related
Please Help Not Sure Whats Wrong
Hello all,

I am having a major issue. I have main movie with two spots in it that have smaller movies loaded into them when you click a "web" or "logo" button.



this all works fine until you click the web or logo buttons more than once,
when you do this my main flash movie seems to reload and loop over and over (check the source files and you will see).

I use hittest and setInterval in my movies, would this have anything to do with it? Or could it be my preloaders? I have checked everything to the best of my knowledge and I can't pin-point it so any help would be great!

SOURCE FILE

Thanks Again

View Replies !    View Related
Whats Wrong With This
this script doesnt work, trying to define an array of object locations


PHP Code:




var buttons:Array = Array(_root.choice.1.centre, _root.choice.2.centre, _root.choice.3.centre, _root.choice.4.centre)







it just wont have it and i cant fault it

need to use it to cuminatively change the background colour of 4 different objects, unless anyone knows a better way than cycling though them in a for loop

cheers

View Replies !    View Related
Whats Wrong
Hey i´m relatively new to action scripting and i´m trying to make a simple object to follow the mouse when it moves into a certain area --> like a menu bar.

The first already works but now i´m trying to tell it to only follow the mouse when its above the top 60 pixels of the document.

Here is my code

onClipEvent (load) {
_x = 0;
_y = 0;
speed = 1;
}

onClipEvent (mouseMove) {
endX = _root._xmouse;
endY = _root._ymouse;
}
onClipEvent (enterFrame) {
If(_root._ymouse <= 60) { <---- does not work
_x += (endX-_x)/(20);
_y += (endY-_y)/(20);
};
}

thx a lot
Alex

View Replies !    View Related
Can Anybody See Whats Wrong Here...?
Ok can anybody see where im going wrong here? All I want it to do is to go to a certain frame depending which 'braket' the random number falls between.


Code:
stop;
//this is the function that gets called by the setInterval function
function pause() {
//tell it what to do
clearInterval(pause_int);
//this clears the interval
if (this.wait<=60000) {
_root.gotoAndPlay(2);
} else if ((wait<=120000) && (wait>=60001)) {
_root.gotoAndPlay(33);
} else if ((wait<=180000) && (wait>=120001)) {
_root.gotoAndPlay(57);
} else if ((wait<=240000) && (wait>=180001)) {
_root.gotoAndPlay(74);
}
}
//set a variable to contain how long to pause
//the set interval takes milliseconds as its parameter
//so to pause 1- 5 seconds, the number needs to be between 1000 and 5000
var wait = Math.ceil(Math.random()*15)*30000;
//call the setInterval function
//we also need to set an object to contain the setInterval so we can clear it
//that is what pause_int is
pause_int = setInterval(pause, wait);
Any thoughts???

View Replies !    View Related
Please Can Someone Tell Me Whats Wrong Here
I have 3 movieclips and a button on the stage.

I have this in frame 1 of an actions layer and when you click the button the 3 movieclips are supposed to play. The trace outputs the correct instance name (box1, box2, box3)




stop();
but1.onRelease = function() {

for (y=1; y<=3; y++) {

mc = "box"+y;
mc.play();

trace(mc);
}
}


thanks for any help.

View Replies !    View Related
Whats Wrong With This AS?
I'm doing a log in page for an admin back end my code is as follows for my submit button...


Code:
loginbutton_mc.onRelease = function(){
if (user="admin", pass="password") {
gotoAndStop("right");
} else {
gotoAndStop("wrong");
}
}
i have a box for user and a box for password (which have the vars user and pass), i have 2 other frames labled right and wrong, i can get to the right frame every time (even without filling anything in, which defeats the point).

What am i doing wrong?

I used to have a nice little log in script that was attached to the button, but i can no longer find it...

Can anyone help?

Christopher Mitchell

View Replies !    View Related
Whats Wrong
I'm going crazy trying to load an external swf into a scrollpane, i can do it
but to stop and play it i use onEnterFrame() and after getBytesLoaded() functions but it never recognize the bytes loaded and so i cannot stop the internal swf execution
here i attach a piece of code where the scrollpane instance is called with eval("movies_mc.scrollpaneist"+tt) where movies_mc is a movieclip ( a box) where the scrollpane is created at runtime and tt a simple counter.

please help me understand why it doesn't work ...


Code:
function loadswf(scrollpane,cfile:String)
{

var clipper:MovieClip = scrollpane.content.pane_mc.createEmptyMovieClip("clipper_mc", getNextHighestDepth());
clipper.createEmptyMovieClip("holder2", getNextHighestDepth());
scrollpane.setScrollContent(clipper.holder2);
clipper.holder2.loadMovie(cfile); //it' loaded

//clipper.holder2.lineStyle(3, 0x0000FF, 100);
//clipper.lineStyle(3,0x000000,100);
//clipper.moveTo(0,0);
//clipper.lineTo(0,100);
//var ext:String=cfile.substring(cfile.lastIndexOf("."),cfile.length);
clipper.onEnterFrame = function()
{
writeln(_root.clipper.getBytesLoaded())
writeln(_root.clipper.holder2.getBytesLoaded())
writeln(_this.getBytesLoaded())
writeln(_root.clipper.holder2.getBytesLoaded())

//always 0 !!!!!!!!!!!!!!!!!!!

if (_root.clipper.holder2.getBytesLoaded()>0)
{ //it never enters hererere !!!!!!!!!!!
writeln("gogogogo")
if (this.holder2.getBytesLoaded()<this.holder.getBytesTotal())
{

} else
{

View Replies !    View Related
Whats Wrong With This
i need help with a game I'm making
so where did I go wrong


onClipEvent (load) {
moveSpeed=10;
}

onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this._x+=moveSpeed; }
if (Key.isDown(Key.LEFT)) {
this._x-=moveSpeed; }
running.gotoAndPlay(running)
}

View Replies !    View Related
Whats Wrong With This?
I am trying to develop a drag and drop basket type thing.
I have a small animation before the user can drag and drop where i don't want the movie clip to be draggable, once the animation has stopped I want to trigger the start drag action.

The follwing code is inside a movieClip in scene 1. I have set up a variable so when the animation is playing the variable is false, then true once the animation is over. The


ActionScript Code:
on (press) {
    if (_root.var_clothes=true) {
        startDrag("");
    } else if (_root.var_clothes=false) {
        stopDrag();
    }
}
on (release) {
    if (_droptarget eq "/cart") {
        ipod.gotoAndStop(2);
}
I thought this would be simple but I have either done something slightly wrong or have the completely wrong idea on this
Any suggestion would be greatly appreciated.

Thanks
P

View Replies !    View Related
Whats Wrong
IVe now managed to find out the level the movie clip is on by putting this onto the clip

Code:
onClipEvent(load){
trace(targetPath(this));
}
now im still having trouble as i need to set each of the levesl on the code:


Code:
while(eval('_level0.personname'+i)!=null)
{
_level1.linktxt._y = _level1.linktxt._y + 20;
_level1.linktxt.duplicateMovieClip("_level1.linktxt"+i,j);
eval('_level1.linktxt'+i).linkloc = eval('_level0.personname'+i);
i++;
j++;
}
does that code look right? have i out the level stuff in the right place inside the eval bits? should the level bit go outside the eval?

im so close to getting this to work <_<

View Replies !    View Related
Whats Wrong With This Please?
Below is the code which is used to trigger the transitions. For reference 'home' is movieclip and 'homestate' is a button in the movieclip.

home.homestate.onRelease=function(){
if(_root.section!="home.swf"){
_root.section="home.swf";
_root.transition.gotoAndPlay("closing");
}
};

I'm happy with the code because I understand it. However my problem is that I want to include to more actions to this script

on(rollOver){
gotoAndPlay("rollover);
}

and

on (rollOut){
gotoAndPlay("rollout");
}

I try incorporating these actions into the first script but I get an error.

home.homestate.onRelease=function(){
if(_root.section!="home.swf"){
_root.section="home.swf";
_root.transition.gotoAndPlay("closing");
}
};
home.homestate.on(rollOver){
_root.home.gotoAndPlay("rollover");
}
home.homestate.on(rollOut){
_root.home.gotoAndPlay("rollout");
}

whats wrong with the code some please help me its driving me nuts.

View Replies !    View Related
Whats Wrong?
//gotoAndPlay(1);
//{
//function loop(){
//(_currentframe-1);
//}
//start.onPress = function() {
//}
//}

iknow i have // so thats not it..
have just 1 frame so how mdo i complete the comand?+

View Replies !    View Related
Whats Going Wrong?
Hello!
I am having trouble with making this site.
I made the main swf that will contain links to load all the other external swf's. That part works fine, it loads the other swf's and stuff. The external swf i am making has the following code on a bar on the bottom:

Code:
onClipEvent (enterFrame) {
if((_root._xmouse<= 920) && (_root._ymouse<=450))
{
_root.bar._x -= 3
}
else
{
_root.bar._x -= 0
}
}
this works fine when i test the movie by itself. But when i load this movie as a external swf it doesn't work. it loads but the bar at the bottom doesn't move.
I think it is doing this because the _xmouse and _ymouse are now looking at the main movie clip and not the external movie. Is there any way to redirect the _xmouse and _ymouse properties to the external movie clip? I.e. something like _root.details._xmouse ( where details is the name of the external movie clip)?
Thankyou!
P.S.
if you need the fla's tell me.

View Replies !    View Related
Whats Wrong? Please Help
Hi!

I need some help can some one tell my why this code don't work:


Code:
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
_y += 1;
}
if (Key.isDown(Key.UP)) {
_y -= 1;
}
if (Key.isDown(Key.LEFT)) {
_x -= 1;
}
if (Key.isDown(Key.RIGHT)) {
_x += 1;
}
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x -= 1;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x += 1;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y -= 1;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y += 1;
}
}
I got one object caled walls and one caled ball(there is there I put the code).

Thanks
Albert

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved