This Damn Thing Is Doing My Nut If Not Working
Hi guys, I am totally stumped. In stead of explaining everytrhing i will get straight to the point
frame 1: load image count server returns 12. So we have our first var imgCount = result_lv.imgCount
Frame 2 setup all other needed vars:
ActionScript Code: var imgCount:Number = result_lv.imageCount;var nextX:Number = 0;var nextY:Number = 0;var curCol:Number = 0;var counter:Number = 1; Frame 3 run setup to display images. This is were the intial problem starts The if dosnt run, dosnt do anything.
ActionScript Code: if (counter < imgCount) { holder.attachMovie ("imgHolder", "mod" + counter, counter); // holder["mod" + counter]._y = nextY; holder["mod" + counter]._x = nextX; // holder["mod" + counter].imgUrl = "media/models/" + _parent.new_edit_id + "/model_pics/" + counter + "_thumb.jpg"; gotoAndPlay (4);}
if i change imgCount from the returned result from the server to a static number then it runs and all is well. WTF gives????
This is really really doing my head in and i have already wasted one day trying to figure it out.
Please someone put me out of my missery. please......
Paul
Ultrashock Forums > Flash > ActionScript
Posted on: 2006-03-01
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
This Damn Thing Is Doing My Nut Help Please, "if" Not Working
Hi guys,
I am totally stumped. In stead of explaining everytrhing i will get straight to the point
frame 1:
load image count server
returns 12. So we have our first var imgCount = result_lv.imgCount
Frame 2 setup all other needed vars:
code:
var imgCount:Number = result_lv.imageCount;
var nextX:Number = 0;
var nextY:Number = 0;
var curCol:Number = 0;
var counter:Number = 1;
Frame 3 run setup to display images. This is were the intial problem starts
The if dosnt run, dosnt do anything.
code:
if (counter < imgCount) {
holder.attachMovie ("imgHolder", "mod" + counter, counter);
//
holder["mod" + counter]._y = nextY;
holder["mod" + counter]._x = nextX;
//
holder["mod" + counter].imgUrl = "media/models/" + _parent.new_edit_id + "/model_pics/" + counter + "_thumb.jpg";
gotoAndPlay (4);
}
if i change imgCount from the returned result from the server to a static number then it runs and all is well.
WTF gives????
This is really really doing my head in and i have already wasted one day trying to figure it out.
Please someone put me out of my missery. please......
Paul
This Damn Thing Is Doing My Nut Help Please, "if" Not Working
Hi guys,
I am totally stumped. In stead of explaining everytrhing i will get straight to the point
frame 1:
load image count server
returns 12. So we have our first var imgCount = result_lv.imgCount
Frame 2 setup all other needed vars:
ActionScript Code:
var imgCount:Number = result_lv.imageCount;
var nextX:Number = 0;
var nextY:Number = 0;
var curCol:Number = 0;
var counter:Number = 1;
Frame 3 run setup to display images. This is were the intial problem starts
The if dosnt run, dosnt do anything.
ActionScript Code:
if (counter < imgCount) {
holder.attachMovie ("imgHolder", "mod" + counter, counter);
//
holder["mod" + counter]._y = nextY;
holder["mod" + counter]._x = nextX;
//
holder["mod" + counter].imgUrl = "media/models/" + _parent.new_edit_id + "/model_pics/" + counter + "_thumb.jpg";
gotoAndPlay (4);
}
if i change imgCount from the returned result from the server to a static number then it runs and all is well.
WTF gives????
This is really really doing my head in and i have already wasted one day trying to figure it out.
Please someone put me out of my missery. please......
Paul
This Damn Thing Is Doing My Nut Help Please, "if" Not Working
Hi guys,
I am totally stumped. In stead of explaining everytrhing i will get straight to the point
frame 1:
load image count server
returns 12. So we have our first var imgCount = result_lv.imgCount
Frame 2 setup all other needed vars:
ActionScript Code:
var imgCount:Number = result_lv.imageCount;var nextX:Number = 0;var nextY:Number = 0;var curCol:Number = 0;var counter:Number = 1;
Frame 3 run setup to display images. This is were the intial problem starts
The if dosnt run, dosnt do anything.
ActionScript Code:
if (counter < imgCount) { holder.attachMovie ("imgHolder", "mod" + counter, counter); // holder["mod" + counter]._y = nextY; holder["mod" + counter]._x = nextX; // holder["mod" + counter].imgUrl = "media/models/" + _parent.new_edit_id + "/model_pics/" + counter + "_thumb.jpg"; gotoAndPlay (4);}
if i change imgCount from the returned result from the server to a static number then it runs and all is well.
WTF gives????
This is really really doing my head in and i have already wasted one day trying to figure it out.
Please someone put me out of my missery. please......
Paul
Can't Get This Damn Thing To Work
I'm about to explode into many pieces!
I am having a nightmare getting buttons in my movie to communicate with movie clips also in the movie.
It's pretty simple stuff. If I have a button called "Home" - doh, thats original! I want to change part of a movie clip on the stage, ie the size, alpha or even just tell the son of a ***** to go to another frame.
It works fine if it's say "gotoAndPlay 1", it'll go for it and play the main timeline in Scene 1 no worries.
However if I ask the pain in the arse to play frame 1 in movieclip_home, it's having none of it and won't play ball.
Can anyone help? Theres a beer in it for you if you can, otherwise my head is gonna melt and that would be a shame!
Ollie
Centring The Damn Thing
Hi,
Does anyone know how to centre the movie in html when I upload it. I can centre it horizontally but vertically is more of a tricky subject...
I leave it it to you..
postatomic
Help I Cant Stop The Damn Thing From Skipping
I made a web site with alot of stuff moving, and its skipping. i know this is a problem with flash but is there and easy way to fix it. i dont know much about action script but i spent alot of time on this and i cant use it.
n e help will be nice
thanks
gadgets
The Whole Thing Runs So Damn Slow.......help
Okay, I have a website essentially. ALl in flash. But it seems like whenever I try to do something mildly complex, like have a movie loaded into a top level or have a movie clip running, or import a flashtyper effect, that everything
crawls to a halt.
I mean the whole thing goes real slow.....like it's stutters.
This is very frustrating. I have the frame rate at 30, and each element should run fast and smooth.
WHat can I do to make things run more fluidly, how can I optimize the thing. I mean shouldn't everything be loaded in my computer when I test the movie. it's as if it's loading it new every time.
WHat can I do?
Thanks.
SendAndLoad .. Why Wont Ze Damn Thing POST
Usually I just use loadVariablesNum to POST my variable data to an asp script ... which works fine ... but now I'm trying to use a </i>loadVars</i>.sendAndLoad("blahblah.asp", returnData, "POST") .. method and the damn thing will not POST any data .. I've got the script generating an email that just has a Request.Form("<i>variable</i>") (obviously to a variable that contains data) .. and it will not send me anything .. yet if change back to the loadVariablesNum .. the email will return the form data I requested.
.. which would be all cool .. but I need to use the sendAndLoad feature .. as my script is going to be returning some xml .. but I cant even get that far because it seems the data is not even being posted.
any ideas if there is a specific in using the sendAndLoad funciton that differes from the way I have used it above .. or does it simply not work at all.. thx in advance .. I am using Flash MX (v6)
Why Is This Thing Not Working
OK,
This is really starting to frustrate me. First off, I made the necessary changes to my Flash site so that the external movie that loads in the "Artwork" section unloads itself at frame 160. I uploaded the changed SWF file to my website server at Geocities but the external movie won't unload from the internet. Thinking it might be a Flash Player verion conflict, I changed the publish version to Flash 6 and exported the movie as usual. However, I went to preview the movie on my local folder at it still says Macromedia Flash Player 7.
WHY?????????
Almost Finished But One Thing Still Isn't Working.
Ok, this movie works fine when I am looking at just the movie.
It is the more and back part that I am having problems with. It should shuffle the pictures around like it does in this movie:
Movie by self
But when I load it into my main movie it no longer works, can someone help me figure out why.
Click on the Portfolio button
Also, please look around the site for any other bugs. Thanks you are a wealth of knowledge.
Menu Scroller Almost Done One Thing Not Working...
Well I almost have this menu scroller working and I am all siked but one thing on it is not working... when I take my mouse off the movie clip i want the menu to stop moving, for some reason it keeps moving up. I have been playing with this script for a while and I think it needs someone else to help out. I am attaching the file here.
Watch when you scroll down for a bit, then you take your mouse out of the area it scrolls back up... i want it to stay put.
use the code, free sourcing it!
thanks.
[textField] Why Isn't This Ismple Thing Working
this won't work...
ActionScript Code:
ceateTextField("txt", 0, 150, 150, 150, 20);
txt.text = "hello";
I tried to put a _root before the createTextField, still showes ntohing on my screen when I test the movie...any idea why?
I Have A 360 Degree Quicktime Thing, But It Ain't Working In My Flash.
I have one of those 360 degree quicktime files, that lets you scroll around a room. Like virtual reality.
I want to put it in my flash site, but the file itself has a .PANO format. ....and flash doesn't recognize it. I don't understand it, because it seems to open as quicktime, and it works, but it doesn't have a .mov format to it?
What is PANO? And how can I make this work?
Thanks,
Button Isnt Working ( External .swf Thing )
ok, im not very good at explaining things but ill do my best.... :-
i have two .swfs... one is called big.swf ( played in fullscreen mode ) and the other is called content.swf ( this is the .swf that is called into the big.swf )
and in my content.swf is a navigation menu... which would lead to other parts of the content file. the first button that i made works perfectly, even when i play it in the big.swf....
but the second button is all messed up !! it supposed to lead to a frame ( still in the content.swf ) called "media". now, this button works fine when i test the content.swf alone... but when i play it in the big.swf, it deletes the content.swf from the big.swf instead , leaving me with a blank screen..... (i hope im still making sense)
i have no idea what im doing wrong since i put the exact same code on the second button as the first button....
here is the code on my button :
on(rollOver){
this.gotoAndplay("over");
on(release){
_parent.gotoAndPlay("media");
_parent.removeMovieClip("container");
}
as you can see, there is an on(rollOver) command.. that's because its really a button placed in a Movie Clip ( since i wanted to have roll over and roll out effects on my button - the fade in .. fade out kind of effect )
the _parent.removeClip("container") is for removing a movie clip that is found in a section of the container.swf. that code is also found in the first button.. so i dont think that that's the problem...
can any of you guys point out what im doing wrong?? i really need help on this...
Button Isnt Working ( External .swf Thing )
ok, im not very good at explaining things but ill do my best.... :-
i have two .swfs... one is called big.swf ( played in fullscreen mode ) and the other is called content.swf ( this is the .swf that is called into the big.swf )
and in my content.swf is a navigation menu... which would lead to other parts of the content file. the first button that i made works perfectly, even when i play it in the big.swf....
but the second button is all messed up !! it supposed to lead to a frame ( still in the content.swf ) called "media". now, this button works fine when i test the content.swf alone... but when i play it in the big.swf, it deletes the content.swf from the big.swf instead , leaving me with a blank screen..... (i hope im still making sense)
i have no idea what im doing wrong since i put the exact same code on the second button as the first button....
here is the code on my button :
on(rollOver){
this.gotoAndplay("over");
on(release){
_parent.gotoAndPlay("media");
_parent.removeMovieClip("container");
}
as you can see, there is an on(rollOver) command.. that's because its really a button placed in a Movie Clip ( since i wanted to have roll over and roll out effects on my button - the fade in .. fade out kind of effect )
the _parent.removeClip("container") is for removing a movie clip that is found in a section of the container.swf. that code is also found in the first button.. so i dont think that that's the problem...
can any of you guys point out what im doing wrong?? i really need help on this...
[F8] Can Someone Explain To Me Why This Simple Thing Isnt Working? (variables)
Ok so here's the thing. I have a scene that starts by setting a variable as var jog = 0;
Then i have 2 buttons inside a movie clip.. what i want is that when we press those buttons i want it to go to a certain frame depending on the variable value. Simple right? Well thats what i thought...
Anyway i put ac on the buttons that are on button 1:
on (release) {
_root.jog++;
_root.gotoAndStop(5);
}
and on button 2:
on (release) {
_root.gotoAndStop(5);
}
Meaning that button 1 would add 1 to the go variable and button 2 wouldnt add anything.
Ok so they both lead to the same animation. But at the end of the animation i have the following action script:
if (jog == 1) {
_root.gotoAndStop(6);
} else {
_root.gotoAndStop(7);
}
But it always goes to frame 7!! even if i click button 1. Something is not right. and if i take out 1 = after the if it always goes to frame 6.
I uploaded an example so if anyone can help me i would really apreciate it. I converted it to flash mx 2004 for maximum compatibality.
Thank you again for viewing the topic. Probably a stupid question but i really cant find what is wrong!
Variables Not Working, Trying To Make Character Creation Thing
The variables I make don't work, I would type out my problem but I just spent an hour typing it all out then the ****ing forums logged me out, sent me to an error page when I logged in saying invalid thread specified and when I press back all my ****ing post was gone.
So I'll guess I'll just post the fla.
Try copying the two movie clips onto another frame AFTER the current frame, it's suppose to remember the customization.
http://aa.1asphost.com/SinisterClock/A Clock Dream.flaOh and the 3D thing on the last frame, it's not mine, I got it off a swift 3D competition website.
Page Flip Book Working Great, But For ONE Thing
Hi,
For those of you who have wondered how to make the book page flip effect, its basically already made here: http://76design.com/shiftcontrol/index.php/2005/07/03/dynamic-page-flip/
And the forum for it is here: http://76design.com/pageflip/index.php
Ok, so I got it working nicely, BUT, and you gotta love it when there's a BUT!
I have a little issue with preloading each page individually. I added
this.txt.text = this.p;
in function enterMe() and this works excellent in Opera, it starts loading the percent right away.
In FireFox it doesnt show anything at all not even 0, and then all of a sudden, after like a minute it QUICKLY goes through the whole percentages, from 0 - 100 in a second and then the page appears.
In IE 6 & 7 it stalls at 0, and the all of a sudden the page appears.
I posted this same issue at their forum, but there only around 50 registered users, and obviously it will take for ever for someone to respond. You can see the topic and my post is that last one: http://76design.com/pageflip/viewtopic.php?id=10 You can also download the full source from here.
Most people use IE, so how could you make it to work properly in IE and FF ?
You can see my version of it working here: http://webstudiopanama.com/panama980/ And please post your result from vieweing, as far the preloading of every page. FYI, each page is 250-350k in filesize.
Any help appreciated! Thank you!!!
Making A Thing Any Of Which Will Interact With Any Of Another Type Of Thing
Well i know that title was a bit vague but heres what im trying to do, ive been larning to use flash for the past couple weeks, I'm using flash MX, i am expeirienced in other programming languages. What id like to do is to make an object, in this case a turet, which has code in it and can be duplicated, i know how to do that part, but, i want to be able to make it and copy it, and also have an enemy i can copy, a zobie, and have any of the turrets shoot at any of the zombies that get close. They cant all be pre scripted with eachothers names because i want to be able to create either after the program starts.
Basically, the zombies come out all over during the program and the player clicks where he wants to put turrets and those turrets shoot at whichever zombie is closest to them. Im sure its not that hard, and probably would involve arrays, but since im still learning how flash works im not sure how it can be done. Any help is apriciated, thanks. While i wait for a reply I'm going to read some more on how arays work in flash since i think they may be the answer.
Thing Thing Arena Type Game.
I want to make a shooting game, but I had a question first. How can I make the hand follow the cursor constantly, but never leave a restricted area? I would like to know how, thanks.
Damn
Hey,
my site is http://www.angelfire.com/dc/itproject0 . The problem is that the guy sitting on the chair gets stuck half way through, that little movie clip of that dude is suppose to loop, not get stuck half way through...Before I added the background effect everything was ok.
DAMN BUG IN MX Or Me?
I've got a big problem and let me know if i'm not the only one. Follow the steps and tell me what happens:
1. Run Flash MX
2. Open New .fla
3. Select the Oval Tool
4. Draw a cute Oval on the stage [any damn size...i dont care]
5. Apply Radient Color
5.1 Try applying a shade of red, yellow and green. [again..i don't care..]
6. Leave that Oval alone and draw another one right next to it.
6.1 Yes, it would leave back the same colors drawn for the earlier one..
7. Change the radial colors to anything else e.g. blue, pink, orange.
8. Now,
I WANNA ADD ANOTHER COLOR TO THE FIRST OVAL KEEPING ITS OWN COLORS AS IT IS!! HOW THE BLOODY ******* DO I DO THAT ?!#?$!@?#%? !% YoU CLICK ON THE DAMN FIRST OVAL AND THE COLOR MIXER PALLETE DOESN'T CHANGE!!!
9. Suggestions anybody?
BTW, I've tried it with Flash 5 and that's not the case...it kindly helps you to append colors to the previously created oval...
If Anyone knows the real way to work this out then please let me know...I'm dying to get this str8!!
Damn Pop Up Help
I have been using the pop up generator page thing to make the code for my pop up screens, only problem is, there is options to show the address bar and status bar and toolbar (The one with the icons) But how do u get it to show the other toolbar (The one with File, Edit, View, Favourites)?
Any help apreciated.
Damn This AS3 :lol:
Okay. Another issue. I'm creating everything in my sound spectrum class through AS3. I started to draw few Sprite class and now I added two more, and now it gives me error Sprite can't be loaded?
I've checked I'm using Actionscript 3.0, I have import flash.display.Sprite; command in there. Still? Allso I've tried import flash.display.*; But no...
Anyone gots any ideas? I've shutted Flash and re-opened it... NO! AS3 sucks... (ofcourse it's good but this makes me crazy here :twisted: )
Damn You XML Damn You
Hello I have built borrowed and stole some ideas on this simple XML slide show. However I am having a few issues.
I am trying to build it where when the play_btn is pressed it will play through all my pis. I have it workin going to next pic and I have it going back to the 1st pic but I don't know how to just let it play throug.
The 2nd issue I am having is when it gets to the end pressing the next_btn it doesn't just loop to the begining instead it goes blank and if I am in Flash it gives me an error of undefined.
here is my code within the main timeline
Code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
webDescription = [];
linkDescription = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
//description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
//webDescription[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
//linkDescription[i] = xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p],1);
//desc_txt.text = description[p];
//title_txt.text = webDescription[p];
//link_txt.htmlText = linkDescription[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p],1);
desc_txt.text = description[p];
title_txt.text = webDescription[p];
link_txt.htmlText = linkDescription[p];
picture_num();
}
}
function playImage() {
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0],1);
desc_txt.text = description[0];
title_txt.text = webDescription[p];
link_txt.htmlText = linkDescription[p];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
Here is my code nested inside the buttons mc.
Code:
next_btn.onRelease = function() {
_root.nextImage();
//trace("next btn");
};
back_btn.onRelease = function() {
_global.myRoot.remoteReset();
//_global.picture.unloadMovie();
_root.firstImage()
};
play_btn.onRelease = function() {
//trace("play");
};
stop_btn.onRelease = function() {
//trace("stop");
};
Now there is one more item I would like to address and I have no clue how to do this but basically my first picture is just for when you come into the page, if and when you all help me with my looping issue I want to skip over this picture until I call it back.
Thanks,
tmo
Damn Smartclips
I have a dynamic text inside a smartclip and i need it to show a variable, but it wont understand. how can i make it work???
This is how the dynamic text is set:
name | value
nome | _root.dj
Damn Flash
Hi,
I'm having a problem which I can't solve. I want to get the tv-lines (on every 2 pixels a line) effect in flash. I did It first in Photoshop but when I imported It into flash It's all scrambled. After that failure I tried to do It in flash, but It's still crappy.
Is there a way to get these lines in good quality in flash?
I've seen It on other sites before so I know It's possible.
Plz help me out!
Thx
Damn Levels
Hi, it's the rush time and I have a **** with a loadmovie/multiple level site!
this is the problem:
I have a main.swf, in this one you can open a menu
this loadmovie is loaded on the 2nd level
This menu can open the third loadmovie on the third level.
Now that I have trhee levels actives, I have to close the third by a button and told a clip on the root of level 2 to play the next frame of himself...
the command is called by a telltarget on a button, on the third level!!!
on (release, releaseOutside) {
tellTarget ("level2._root.menu_secondaire") {
nextFrame ();
}
_root.gotoAndPlay("Fermeture");
}
menu_secondaire is the clip instance's name
WHY DOESNT WORK!!!!!!!!!
thanks a lot!
Ben
Damn....button
hi,
On my timeline frame 1 - I have a button. On 2nd frame I have a mc (instance: just)
How I can make to play the mc via my button by using actionscript?
I've trid this code but nothing :
(button) : on (press) {
just.gotoAndPlay (2);
}
Damn Annoyed
My nav system @
http://www.djdusky.co.uk/test
(the squares)
is really annoying me. I know there's a way to stop the words 'sticking' when you roll off the button - but I can't figure it out. Is there a way of changing the frame rate of a specific movie clip or something like that?
Many thanks in advance
Sorry Its That Damn Preloader Again...
i know there was a previous problem about this, when my file was small it started from 0%, however as it was growing the preloader started later as in like 30% or so....heres the preloader script for foolproofing...pls help me...thanks...
onClipEvent(load){
Loaded = 0;
Total = _root.getBytesTotal();
}
onClipEvent(enterFrame){
if(Loaded < Total){
Loaded = _root.getBytesLoaded();
percentLoaded = Math.round(100*Loaded/Total);
if (Loaded < Total){
_root.displayText = "Loading..."+_root.getBytesLoaded()+"bytes";
barfill._xscale = percentLoaded;
}else{
_root.displayText = "Loading Complete.";
barfill._xscale = 100;
_root.nextFrame()
}
}
}
GOD DAMN FONTS
Hey,
IM trying to use the 'saved by zero' font in my flash movie. I've extracted it to c:/windows/fonts.
But no luck, i've tried a few different types but I still get the default font list in the flash UI . Im getting royally p****D off.
any ideas folks please!!!!
DAMN BUTTONS
OK LETS SEE I HAVE ABOUT 25 MOVIE CLIPS ON MY STAGE AND SOME OF THEM OVER LAP! WHAT I"M LOOKING FOR IS TO CONTROL THEM WITH A STOP AND PLAY BUTTONS THAT WILL STOP ALL THE MOVIES AT THE SAME TIME AND PLAY AT THE LAST POSITION LEFT OFF. I'VE TRIED TO PUT A BUTTON ON THE STAGE BUT IT DOESN'T SEEM TO WORK AND WHEN I PUT THEM IN THE MOVIE CLIP IT ONLY STOPS THAT ONE MOVIE CLIP PUT THE REST SEEM TO CONTINUE TO PLAY HELP PLEASE
Damn Buttons
I'm trying to build a page with different scenes and i have the same set of buttons (all in one layer named "Links") in every scene wich, i hope, will some day work as a menu...
I've only been trying to make the first two buttons (Home & History) work and i have done all the things i read here but the movie simply doesn't move at all! I couldn't get the buttons to work even when i had everything in one scene and used the "gotoandplay(frame number)" thing (the scenes are really small, so i tried this first...)!
The button symbols were made with a "gif + square" symbol joined with a text field.
The first scene is "1Home" and the first frame is labeled "Home". The second scene is "2History" and the first frame is labeled "History". All the mentioned frames have the "stop()" thing and all the "within scene" buttons work well with the same scripts wich are giving me these headache.
To go from button "history" on scene "1home" to scene "2history", frame1 "History" i've been trying to use (among other things...):
(on (press) {
gotoAndPlay("2History", "History");
}
I've also tried the frames numbers and lots of other things.
The question is: why the hell doesn't this work???
what am i doing wrong???
Help! It's my first webpage with flash and i've only started learning flash a couple of weeks ago. I'm getting desperate!
I'm sorry for so much writing but i tried to explain my problem the best that i could.
DAMN SOUNDS......
ok im guessing this is action script but i want a long sound to play but i dont want to extend the frames for the sound is there any way just to keep it playin because if i leave it with short frames it just stops at those frames.... its probably easy im just stupid!!
thnx Tom
Oh, Those Damn Variables...
THE problem is: I can't use variable "myVar" outside the function! Well... this is how I TRIED to do it... (read: screwed it up )
frame 1 (root):
---
myScrollpane.setScrollContent("productsMC");
prodTxt = new loadVars();
prodTxt.load("products_01.txt");
stop();
---
MC that locates in library and is loaded to the scrollpane with "setScrollContent" (see the above code):
---
_root.prodTxt.onLoad = function() {
myVar = Number(_root.prodTxt.<var I have in the text file>);
_root.mytxtField.text = myVar;
};
_root.mytxtField.text = myVar;
---
This includes the text into "mytxtField" when done INSIDE the function but when done in the SAME mc OUTSIDE the function, nothing happens. I am sure that I am doing something wrong here... but what? It is easy to suppose that variable "myVar" is allowed to use in any MC ...once created. But it seems not...
PS. I am trying to do a button menu into a scrollpane ...by dynamically loading the external pictures into that MC and for those pictures I need the info from the external text file (ex. name of the picture, length, height, so on...) So, when I (somehow) get first image loaded then I should locate next picture beneath the previous one ...with help of the height value got from that text file. Sounds complicated but I need to do a sort of ENGINE that loads pictures no matter how many there are and so on...
Damn Timeline
this might sound stupid, but in flash MX, u know how u have those keyframes that are just dotted lines? that sometimes jstu end up trailing behind your movie for like an extra 50 frames? IS THERE ANY WAY TO GET RID OF THEM ?
Damn Images....
I am working on a demo right now with alot of screenshots and vector images. I would say about 50% of the images look like crap. I am aligning X and Y, as well as exporting in various methods (PNG, JPG, GIF) Does anyone know of a solution to get great looking imported graphics?
I appreciate any help you might be able to give!
Thanks,
/zach
Damn Rollovers.. Help
Hi,
Having trouble with FlashMX... I've created a series of rollover wotsits, but when the blank space beside them is rolled over (where images appear when the images are rolled over) then the images appear! Please check it out...
http://www.80scartoons.co.uk/4MW/new/right/dots2.swf
... to see what I mean. How can I make the images appear when ONLY the orange dots are rolled over?? Grrrr!
Thanks muchly for any help,
Claire
Damn Preloader
I have a movie which worked fine until i put a preloader in. The preloader has been put in a scene before the main scene, and consists of three frames:
Frame1:
if (_root.getBytesLoaded()>=_root.getBytesTotal()) {
gotoAndPlay("Scene 1", 1);
}
Frame2:
if (_root.getBytesLoaded()>=_root.getBytesTotal()) {
gotoAndPlay("Scene 1", 1);
}
Fame3:
gotoandplay(2);
The problem is that when this is added to the movie, my animated over_state buttons, and a scroll button dont work properly. They seem to keep jumping back to frame 1 or something.
I have uploaded it:
www.red135.co.uk/cars.html - this is how the movie should work (try the buttons)
www.red135.co.uk/problem.html - this is how it works with the preloader.
Any help would be greatly apreciated.
Tha Damn Loadmovie Why? Why?
Why doesn't anything seem to work?
Look guys, I've got this small picture which i want to load on stage from another movie clip. I want to LOAD IT because this will eventually be done for about 30 of them.
So, i created a rectangle at the exact dimensions of the little picture. Made it into a symbol.
Now i want it:
onClipEvent (load) {
loadMovie("pica1.jpg", ?what goes here? );
}
so that the orginal movieclip disappears and infront of it my little picture appears (at the exact place where the movieclip was)
A second question
If this is done for about 30 movieclips, each loading a different little pcture, can they be made into one large movie clip so that a scrollpane can scroll them from the first to the last?
I Can't Get The Damn Smoothing Off
okay, i have this tiny .gif and it refuses to display clearly. it's a little sound icon and i have the smoothing turned off but it still shows up all wacky. i've tried using a .jpg or tracing the bitmap to make it a vector but i still can't get a clean image. please have a look at the attached file and zoom in the icon to get a look at it. any help would be greatly appreciated.
thanks!
p.s. i can't run the movie at a lower quality, is there another way to turn anti-aliasing off?
Damn, How Am I Surpose To Do This
am trying to create a picture slide using the fader mixer, for some reason i can't link my project picture to the fader. does any1 now how am suppose to do it.
there surpose to be 2 role of picture on either side going up and down when i move the fader. how do i link the fader to the picture strip.
Damn Resolutions
Ok I am working on a site for a client that wishes to improvise frames in his site. Now I am creating the site on my 1024 X 768 desktop screen resolution but when I drop down to 800 X 600 for people with crappy resolutions and old computers, the work looks like crap. Burry Text! Etc Etc.
Is there a way to fix this without creating two seperate sites.
Damn Button
I made a button but its messed up you have to put your cursor on top of the button near the shine instead of the whole button activating the movie.... just check it out, plz i need to fix this.
Damn I Need To Learn
okay i need a tut for making animations similiar to xiaoxiao 1 or 2
i really really need it!
Damn Cheaters Need Your Help
ok ive built a game for a game i play planetside..
a question based game which can be found at the folowing link:
www.knaggsy.co.uk/planetsidegame/index.html
however people can right click the game and click pause.. givign them as much time as they like. or click forwads on the end screen to go to the next question.
How can i fix this so it just says settings as ive seen on some sites.. or not let them right click on it at all.
thanks for your time.
knaggsy
|