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








Grrr...newbie Trouble


I am in desperate need of help. I created a scrolling movie script but i am getting actionscript bugs everywhere. Can someone please check my .fla? I am using MX 2004 Pro.

FLA- http://www.spectraentertainment.com/test/test.fla

View the SWF- http://www.spectraentertainment.com/test/sweetnew.swf

Any help would be greatly appreciated.

Regards,
Stephen Young




FlashKit > Flash Help > Flash ActionScript
Posted on: 04-26-2004, 12:30 PM


View Complete Forum Thread with Replies

Sponsored Links:

Newbie In TROUBLE HELP
Hello! I have created a file with a preloader (which I copied and pasted from a great preloader on this site and takes up about 70 frames at the beginning of my scene). Well, here's my problem. When I publish it and test it from my hard drive it works perfect. But when I publish it on my website (ellenmarvin.com) it just plays the preloader, and at the point I would expect it to go to the rest of the movie (on frame 81), it just goes black! The total file size is only 550K now, large, granted, but not large enough that it couldn't load even overnight. (I have a 2MB per second cable line as well!)

The entire movie is 203 frames long. In frame 1 on a layer I have the action:

ifFrameLoaded (203) {
gotoAndPlay (81);
}

There is a gap between the end of the preloader (70) and the beginning of the movie (81).

On frame 70 (the last frame of the preloading layers), I have:

gotoAndPlay (1);

I do have a large audio file in here.

I don't understand why this is not working!
Any ideas?!!

Thank you!
Justin.

View Replies !    View Related
Newbie In Trouble
I took an introductory class in Flash MX back in December and then returned to my job, where I did not have Flash on my computer or any opportunity to practice until last week.

Now Flash has been installed, and I've been given an assignment to publish an interactive user guide similar to previous ones that can be viewed here. Please click the phone pictured in the lower-right corner for an idea of what's involved.

The project is due Friday, and the other person here who knows Flash is vacationing in Mexico. Fun, huh? For him, anyway.

Basically, I have a working Flash tutorial similar to the example shown, but I need to add new lessons. My main question as I understand things now has to do with inserting graphics. I have bmp/eps files that need to be part of a lesson. I believe they need to be imported to the library, but don't know how to control their placement on the stage or the time at which they appear. I realize this is basic stuff, and am trying to find direction in Macromedia's printed guide. But without some clues this is taking too long.

Thanks in advance! I'm in trouble without you.

View Replies !    View Related
Newbie In Trouble
I'm new to the actionscript game. Ok, here' s what I'm trying to do...I need to dynamically preload & load 4 different images, which will be defined by an external text file, so I can alternate the images without editing the .fla file. These 4 images also need to fade in/out, completely by actionscript. Lastly, I need to be able to define how many seconds an image is visible before it fades to the next. How would I do this??? If you can help me out, I would be externally grateful! Thanks in advance.

View Replies !    View Related
Newbie Having Trouble
I'm new to Flash, Have got the new Flash 8 Pro. I'm trying to start at the beginning with tutorials to learn how to use flash. The first tutorial under the "getting started with flash" area is "building your first flash application" I have gone through the whole tutorial, made sure that I followed each step carefully, and yet the graphics (JPG) files are not showing up in the project. What they have you doing is making a FMA for a ficticious restuarant website, an example of there menu to be used as a header for the page i imagine. I have made sure that I copied the entire folder over as requested, double checked that I don't have any upper/lower case problems and I still don't have the images showing up on the fla file when I go to control to test it. Any ideas what could be wrong? Has anyone reported a problem with this tutorial, or am I just missing something?
Thanks in advance, How2

View Replies !    View Related
Newbie Having Trouble With Buttons
what i am stuck on is this : i have created a button that is in a motion tween that goes back and forth on the screen. once the button is hit, the tween is halted, which is what i wanted, but for some reason i cant get the button to stay in its down state. is it possible to freeze a button in its down state once its pressed so that it wouldnt return to its up state?

View Replies !    View Related
LOADMOVIE NEWBIE....in Trouble Here.
howdy.

i have a one frame movie with one simple line of code....it works fine when i try it in the flash player, or in tests...but will not run in a browser. i am using IE 5.5 and i see no reason why it does not work. help me!

here is the line (changed just a bit so not to confuse, but what i have here i tried as well and it still does not work...it so it has nothing to do with my variables or anything that you dont see here)

loadMovie("1.swf",_root);

thats it! whats up with that.

View Replies !    View Related
Newbie Having Preloader Trouble...help?
hi, here is my situation...

i have a 'mymovie.swf' that im loading into my main movie. the swf has a preloader in the first scene, and the content in the next.
here is the code for the preloader:


loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
if (loadedbytes == totalbytes) {
nextScene();
}
frame = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop(_root.frame);
}


I am using dynamic text fields for my 'loadedbytes', 'totalbytes', and 'frame' vars. I also have a simple loading bar MC ('loader') that tweens from frame 1-100. Now, as a stand alone movie, this swf works great.

Here is my problem:

when i loadMovie("mymovie.swf", "_root.main.target") the dynamic text does not show up at all, and the 'loader' only travels about 1/4 of the total length before the next scene loads.

Any help or advice would be appreciated.

thanks,
bscott

View Replies !    View Related
Component Trouble For Newbie
Hi I need desperate help on components...

I have read through the tuts on this site and even downloaded the fla but still i must be thicker than i thought i cant seem to get my components to work in my form.

Please i need someone with some knowledge of these components to look through my forms for me and shed some light on the situation.

What I need is for the components to be emailed the same as my input text fields are but this isnt that easy for me...

Please help is needed you can download it Forms.zip in there is a fla with the two forms on and the php files hopefully someone can help and teach me something...

View Replies !    View Related
Component Trouble For Newbie
Hi I need desperate help on components...

I have read through the tuts on this site and even downloaded the fla but still i must be thicker than i thought i cant seem to get my components to work in my form.

Please i need someone with some knowledge of these components to look through my forms for me and shed some light on the situation.

What I need is for the components to be emailed the same as my input text fields are but this isnt that easy for me...

Please help is needed you can download it here in there is a fla with the two forms on and the php files hopefully someone can help and teach me something...

View Replies !    View Related
Component Trouble For Newbie
Hi I need desperate help on components...

I have read through the tuts on this site and even downloaded the fla but still i must be thicker than i thought i cant seem to get my components to work in my form.

Please i need someone with some knowledge of these components to look through my forms for me and shed some light on the situation.

What I need is for the components to be emailed the same as my input text fields are but this isnt that easy for me...

Please help is needed you can download it here in there is a fla with the two forms on and the php files hopefully someone can help and teach me something...

View Replies !    View Related
Newbie: Making A Class Trouble
Hey all

Really goin' crazy here with creating a class, if anyone can help I would really apreciate it.

The class can be found here: http://rafb.net/paste/results/gnUMvc44.html

When I use:

attachMovie("SlideMenu","mcSlideMenu",getNextHighe stDepth());
trace("SlideMenu: "+mcSlideMenu.getActivated());
trace("FirstDown: "+mcSlideMenu.getFirstDown());

in the main .fla I all I get is undefineds in the traces...am I commiting some kind of code disgracefull newbie error? Is the setInterval the problem? Any ideas are very apreciated.

Thanks all

View Replies !    View Related
Newbie Having Trouble With Scroll Bar Component.
I can get the scroll bar to work fine if the text is already in the text box, but when I load it from an outside .txt file, I can't get it to work. What's the problem? Is there a trick to external text files and scroll bar components?

View Replies !    View Related
Having Real Newbie Trouble With A Button Functioning
I have created a button with a mouseover OVER and DOWN text change and an underline, with [I thought] an URL linked onrelease.

However, none of it works, despite my trying to follow directions exactly. If anyone would be able to let me know where I've gone wrong, that'd be so sweet of you!

I have uploaded my FLA here.

Thanks so much.

View Replies !    View Related
Newbie - Trouble With Movie Embedded In A Button
How do I get it to not play again after clicking? I realize it is responding this way because after I click, I am technically "mousing over" because my mouse is still there. Do I need to do this differently or is there some simple text I can add so that it doesn't play again?

View Replies !    View Related
Grrr
guys,

can somebody help me with this stupid things --> _droptarget which let us drag a mc and drop it to another mc, with a snap efx.... so the mc can't move


i hate simple things. they always drag my time.


ahmadzombie (duniableumberakhir.. jeng jeng jeng )

View Replies !    View Related
Grrr, Does It Never End?
well, i have been completely redoing my site in flash, so i thought i would add a custom game. Since it was my first game, i kept it simple and went off the tutorial that has multiple parts on building a game, located on this site. I got it to work, but when i try add in the action script that limits the number of shots at one time, the shooting aspects stops working. Anyone know what the problem may be? Thanks.

View Replies !    View Related
Grrr
i dont understand movie clip could someone please explain it to me

View Replies !    View Related
Preloaders Grrr
hello im doing a MM course we are in flash now and i get my breif tomorrow tutor has already say we need to have a preloader on our side he has told us to find out our self how to make a preloader so can anyon give me the eastest (kinda) . preloader one the looks good iv done a bit of action script if that helps

View Replies !    View Related
GRRR Is This A Bug In Flash?
Quote from Flash Help:

Example


The following example returns an array with five elements.

myString = "P, A, T, S, Y";
myString.split(",");



but when I copy the EXACT source code, run it, and do Debug->List Variables, it looks like this:

Level #0:
Variable _level0.$version = "WIN 6,0,21,0"
Variable _level0.myString = "P, A, T, S, Y"

Am I doing something wrong or is this a bug.

Thanks in advance for your help.

I'm using Flash MX (not 2004)

View Replies !    View Related
GRRR, LoadVariablesNum();
loadVariablesNum("urlhere","_self","GET");

Why wont that work? It gives me the following error :

**Error** Symbol=Tween 9, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
loadVariablesNum("urlhere","_blank","GET");

Total ActionScript Errors: 1 Reported Errors: 1


I replaced the actual URL just for the security of my site.

View Replies !    View Related
Grrr ... Classes
I have this class named NavMenu and a static public function named createDropDownMenus(). Inside this function is a for loop which calls the length of a public member array. If I call the length outside the scope of the for loop, it works. Inside the for loop, Flash thinks it's all-mighty and powerful, and does not work.

here is my code:


Code:
class NavMenu
{
// *
// * Static Member Variables
// *
public static var menu_items:Array = new Array();

// *
// * Static Member Functions
// *
public static function createDropDownMenus()
{
var menu_path = eval(NavMenu.menu_mc_path);

var num_menu_items:Number = NavMenu.menu_items.length;
var num_children = NavMenu.menu_items[1].child_name.length;
// --- ^ this line works, but i need to call all menu_items ******

for (var i = 0; i < num_menu_items; i++)
{
var num_children = NavMenu.menu_items[i].child_name.length;
// ***--- ^ this line does NOT work ******

if (NavMenu.menu_items[i].child_name.length > 0)
{
var drop_down_name:String = NavMenu.menu_items[i].parent_name;
var num_children:Number = NavMenu.menu_items[i].child_name.length;
var submenu_height:Number = 56 + ((num_children - 1) * 7) + (num_children * 7) + 9;
menu_path.createEmptyMovieClip("dd_" + drop_down_name, menu_path.getNextHighestDepth());
with (menu_path["dd_" + drop_down_name])
{
beginFill(0xE3E1CF, 100);
moveTo(0, 0);
lineTo(88, 0);
lineTo(88, 48);
lineTo(106, 48);
lineTo(106, submenu_height);
lineTo(0, submenu_height);
endFill();
}

menu_path["dd_" + drop_down_name]._x = start_x + (NavMenu.margin_x * 2) + 1;
}
}
}

// *
// * Public Member Variables
// *
public var parent_name:String;
public var child_name:Array;
public var child_url:Array;

// *
// * Private Member Functions
// *
private function NavMenu(parent_name:String, child_name:Array, child_url:Array)
{
this.parent_name = NavMenu.firstLetterToUpper(parent_name);
this.child_name = child_name;
this.child_url = child_url;
}
}



any help would be appreciated. thank you,

View Replies !    View Related
Buttons Grrr
You know, in some ways I'm a pretty bright guy, and in many others I'm an absolute idiot. So, I'm not sure if it's my idiotic side that is blocking me from this or not, but I can't find out how to make these dang buttons link to other pages in my website. Two days now, and the only thing I've learned is the definition of a "relative" and "absolute" link. It seems that either everybody but me already knows how to do this or there is a serious vacuum in this realm of the learning continuum.

What I want to do is very simple: All pages are designed and ready for publish; the only thing left is to program the buttons to link to their respective pages. Basically there are two things I want to know:

1) How do I set the buttons for a relative link on release?

2) How should I have my folders organized for this?

Hope some of you fine people can help me out.

View Replies !    View Related
Preloading...Grrr....
1. mcComicContainer on stage
2. mcComicContainer contains 8 movieclips called mcComicPanel1 to mcComicPanel8
3. mcComicPanel movieclips have a mcBackground movieclip that loads an external swf
4. mcComicPanel also includes a LOT of attachedMovie clips that are loaded externally via swfs

Question:

Is there a way that I can track the entire loading clips inside mcComicContainer and not display until all movies are loaded and display 1 preloader at the beginning of the application to track the progress?

Thanks for any help.

View Replies !    View Related
LoadMovie Grrr ...
I'm loading an external swf movie and try to control it. But it doesn't work because when I print the code the movie isn't fully loaded. So I need something very simple to get the next thing working :

ActionScript Code:
bottom.loadMovie("bottom.swf");
bottom._visible = true;
trace(bottom.zoomout._height);

He keeps tracing undefined. When I put it in an onEnterFrame it works :

ActionScript Code:
bottom.loadMovie("bottom.swf");
bottom._visible = true;
onEnterFrame= function(){
    trace(bottom.zoomout._height);
}

After 2 undefined he gives the correct height. But isn't there a better way to do this? I read something about moviecliploader but how can that help me.

Thanks a lot.

View Replies !    View Related
Grrr.......masking Problems
I wonder if someone would be so kind as to help me out with my little problem. I want to mask 2 graphic symbols, easy enough right. So I make one symbol, an icon with 3 circle's of various size and a letter in the middle, and I make a second graphic which is just the rectangle with a gradient to give that highlight thing. So I have the icon graphic on one layer and the rectangle on another layer. the icon is on top of the rectangle, so when I select mask, the only part of the icon that shows up is the middle circle out of the three. The other two and the letter have disappeared. Why does that happen? Did that make any sense?

View Replies !    View Related
Grrr......Button Problem
I just recently bought macromedia Flash 5,and i've started making an animtion, i've made a button to view the rest of the animation, but when i go to give it an action in the button timeline, all the actions selections are greyed out!!
i can't select them!! HELP! Is their an option thats marked that doesn't allow actions or sumthing?? i really need help with this one guys.
thanks alot!

View Replies !    View Related
Grrr...Array Problems
I cant get these variables in myArray to save correctly and then recall. Can you guys see anything wrong with it? I have tried hardcoding in a variable out of the myArray into both functions (ie sharedObject.data.myVar = myVar and visa versa and it will save/recall fine. It is when I try to save/recall all the variables via an array that it will not save correctly. Any ideas?

Here is my code that uses the array's:

Code:
function saveMe() {
for (i=0; i < myArray.length; i++) {
sharedObject.data.myArray[ i ] = myArray[ i ];
}
}
function rememberMe() {
for (i=0; i < myArray.length; i++) {
if (sharedObject.data.myArray[ i ] != undefined) {
myArray[ i ] = sharedObject.data.myArray[ i ];
}
}
}
sorry, it read my code as some HTML script and I didnt catch it
[Edited by skierbit on 08-08-2002 at 08:10 PM]

View Replies !    View Related
Why Wont This Work Grrr
Why won't this work? It is supposed to make a list of textual info, but it won't work! OH GOD WHY! WAAAH!

Quote:






//Variables
anArray = new Array();
var horizPosition = 10;

for (i=0; i<10; i++) {

//Just creates a new value for the element in the array
anArray[i] = i;

//Creates A Text Field Called mytext

_root.createTextField("mytext"+ anArray[i],1,100,horizPosition + 50,300,100);
mytext + i.multiline = true;
mytext + i.wordWrap = true;
mytext + i.border = false;

myformat = new TextFormat();
myformat.color = 0xff0000;
myformat.bullet = false;
myformat.underline = true;

mytext + i.text = "this is the text thats SUPPOSED to appear";
mytext + i.setTextFormat(myformat);

//Increment The Horizontal Position

horizPosition = horizPosition + 20;
}




Thanks for any and all help, I appreciate it!

View Replies !    View Related
Text Box... Grrr Derrrr
Right another dumb ass question, how do you add a text box? i can add the ListBox from the Flash UI Components, but how do you add text??

help please.....

View Replies !    View Related
GRRR..Simple Load Mov ?
REALLY simple issue which I fail to grasp!

Please tell me how I can load an EXTERNAL SWF into a MOVIE using the Target method. Instead of just loading it and it appears in an unwanted area...I want it to appear in a placeholder MC which has the instance name of "holder"..

Pleas help...thanks!

View Replies !    View Related
Toggling, Default Is Always Off.. Grrr
how can i change the default to be on
here is my toggle button script

on (release) {
if (sounds) {
sounds = false;
} else {
sounds = true;
}
}


thanks

View Replies !    View Related
Mathematical Operators... GRRR
i'm designing a children's maths game that basically centres around "if" statements and playing a certain .swf file dependant on the player's answer. my problem is that i need to play a certain .swf if the player's answer is wrong by 10 or more and i can't get the syntax right. confused? here it is

on(release){
if (_root.yourAnswer == _root.answer+10 ||
_root.yourAnswer == _root.answer-10 ||
_root.yourAnswer == _root.answer<-10 ||
_root.yourAnswer == _root.answer<+10) {

(loadMovie("gutterball.swf", "_root.checkMat"));


the 's are where i run into problems. how do i get it to play that .swf if the answer is wrong by 10 or more?

View Replies !    View Related
Grrr ClearInterval Not Clearing?
I am trying to clearInterval a given setInterval but it just never stops, keeps goin and goin and goin.....? I am calling it at 100ms is that why? IS there a way around this?

View Replies !    View Related
Bitmaps Blurred - Grrr
Is it a known / documented issue or is my particular installation nuts?

It seems as tho MX2004 doesn't like bitmaps. Make a circle bitmap in fireworks, drag it over to flash stage, all looks fine. Export the swf, and the circle has blurred edges!

Wut gives?

View Replies !    View Related
Button Fun.. Y Won't U Work Grrr
Trying to get an embeded button in a movie clip to affect the movement of another movie clip by going to a frame label..

i'm prob just having a blonde moment but I can't for the life of me get it to work ..


Code:

_root.controlA_mc.nordic_move1_btn.onRelease = function(){ main_mc.gotoAndPlay('move1'); trace("hit"); };

_root.controlA_mc.nordic_move2_btn.onRelease = function(){ main_mc.gotoAndPlay('move1'); trace("hit"); };



Any help would be most helpful...

Andy

View Replies !    View Related
Swf Smaller, But Same Filesize Grrr
Hi!
I have a sequence of jpeg´s and when i make the swf 500x600 its size is 551Kb....

right...so what i did next was make the movie size 170x250...made the MC of the secuence smaller, to fit in those dimensions...and pffff!
its still 551kb!! why? its a much smaller size movie...
i am sure i have done this before and the size has come down! or doesnt it?!

ok, any tips/help...thanks...

mike

View Replies !    View Related
GRRR Hittest Odd Shapes
okay ive looked at tutorials on hittest and how to stop a movie clip from moving when it hits a wall and stuff but none of it can tell me how to make a movie clip stop moving when it hits any side of an odd shaped movie clip. for example, i have the moving clip, guy, with this code:

onClipEvent (load) {
walkSpeed = 15;
}
onClipEvent (enterFrame) {
if (root.hit="no" and Key.isDown(Key.UP)) {
_y -= walkSpeed;
}
if (Key.isDown(key.RIGHT)) {
_x += walkSpeed;
}
if (Key.isDown(key.LEFT)) {
_x -= walkSpeed;
}
if (Key.isDown(key.DOWN)) {
_y += walkSpeed;
}
}



and i have another clip, table, which is an L shaped movie clip and i want the guy to not move through any side of the table.. sounds simple enough. but nowhere i have looked can explain how to do this.

View Replies !    View Related
Grrr Layer Problem
Hi folks,

I didn't have much luck with my last question, I think I'll forget about that one for now.

I am having trouble atm with another annoying problem. I have created a large robot chracter that I wish to duplicate with certain rules. Here's the code I have so far...


ActionScript Code:
robots = 3;
robot._alpha=0;
do {
    xSize = 50+Math.random()*100;
    xSize=Math.round(xSize);
    duplicateMovieClip(robot, "robot"+k, xSize);
    robot._xscale = robot._yscale=xSize;
    eval("robot"+k)._alpha=100
    k++;
} while (k != robots);


I make the first movieClip dissapear cos I only want the duplicates. Then I set the variable xSize which is a rounded integer between 50 and 150. xSize determines both the size of the robot and the layer it is placed on (or at least I want it to).

I want the smaller robots to be behind the larger ones to give an illusion of distance.

At the minute the code doesn't seem to give any connection between the size of the robot and its layer.

Can anyone see what I am doing wrong...?

Tah!

View Replies !    View Related
Document Updater Corrupt? Grrr....
HELLO PEOPLE

Has any one had trouble with the documentation updater? It's a 25MB download and yet when you try to launch the EXE, it tells you that the file is corrupt. So, you try another download and get the same result.

Am I alone in this? Maybe it's Gozilla's fault?

Rob

View Replies !    View Related
Scrollers And The Mouse Scroller..grrr
Hey there.

Got a Dynamic text field connected with a scroller.. all good, works fine. But when i scroll the wheel on my mouse its not reacting...why is that so and what can i do to fix it?

Thanks
Kongy

View Replies !    View Related
Grrr... How Do I Make This Function Work?
Hi, tis me again ... I have the following function :
code:
function Spray() {

for (i=0; i<=10; i++) {
duplicateMovieClip(particle, particle+i, i);
scale = random(150)+50;
yVel = random(7)+1;
xVel = random(20)-10;
_root.particle._xscale = scale;
_root.particle._yscale = scale;
peak = 50;
drop = false;
_root.particle._x += xVel;
//above here is what needs to initilize, and below is what need to constantly reapply
if (!drop) {
_root.particle._y -= yVel;
trace("systems nominal");
if (_root.particle._y<=peak) {
drop = true;
}
}
if (drop) {
_root.particle._y += yVel;
trace("la la la");
}
}
}

Spray();


anyway, I tried a couple of ways to make the veriables initialize diffrently for each duplicate, and then constantly applaying the bit of code that makes the particle go up and down, and compact all this in a single function.
can anyone tell me how to do this?
thanks in advance.

View Replies !    View Related
Ya Get Me Lodgyik? Frame Lables, Grrr
i want some movie clips to be dependant on variables in the main timeline so they can hop to the relavent frame labels when certain variables are set.

problem being that i cant find how action script can find a frame label.

i thought being able to hop to the label via an expression which builds the frame lable from the variable.




EXPLANATION
first time someone uses the file they set the variables via buttons, these butons also send the movieclips to the right lables. later in the same sessin I want them to be able to view it all again, so this time the movieclips need to be aware of the variables which are set and goto the relavent frames.

View Replies !    View Related
Dynamic Text Fields - Grrr
Im having a problem loading text from a text file into a dynamic text field.
the text is loading perfectly on my local machine but is not working at all online.
I have checked for the usual stuff namely the path to the file is correct.
Anyone know what my problem could be.

View Replies !    View Related
Random Falling Leaves... Grrr
Okay, okay... so I'm a design guy and as we all know, design guys suck at actionscript. A little help would be great.

I've got a page with a movie of a leaf that twists and turns as it glides down at guide. I'd love to make this leaf randomly fall. Even if its as simple as making the movie play every so often on a random interval.

How can it be done?

I feel like such a noob.

I've only got mx... I upgraded to 8 but it hasn't arrived yet.

View Replies !    View Related
[F8] Grrr....easy Mouse Rotation Please?
i gotta get a couple of books lol...
i know this is something simple, but i don't know how to do it lol...
i looked at tutorials and they are all a lot longer and more complicated than i think it could be. how should i make a mc rotate with the mouse?

View Replies !    View Related
_width Property Not Accurate? - (grrr)
Hi,
I have a small square movieclip that I am dynamically sizing (width only), however after setting the _width property to the desired value, I trace the movieclip's width, and the value returned is off by a few pixels.

Hoping someone might know what is causing this, or know some work around, It's driving me crazy!

JMC
www.macromediadeveloper.com

View Replies !    View Related
Grrr ... Line Breaks In Dynamic Text
... how go about it? Pressing "enter" doesn't give me a paragraph or line break. Instead, I get error messages.

Tne text is in

On clip event (load) ... variablename="mytextbutnolinebreakpossible"

View Replies !    View Related
GRRR Fellas, Gimmie A Hand Here Im STUCK
I have a horizontal line of images which scroll left or right depending on where you move the mouse. The more you move the mouse over to the the edges the speed of the horizontal images slowly accelerates but when it come to the end of the images they just stop suddenly...

What I wanna do is make them decellerate and ease to a stop when it come to the end of the horizontal bar of images.

See what I mean here:

http://www.booji.com/helpmeplease

cheers guys,
jimbo

View Replies !    View Related
Accesing The Main Movies Timelime ... Grrr*
Hi Flashers!

I split a big movie in 5 smaller movies and want to load them one after the other automatic into a mainmovie.

If I try to access the mainmovie from one of this 5 loaded movies to skip to the next scene to load the second movie and unload the first movie I used this script:

_level0.gotoAndPlay("F1",5);
stop();

The mainmovie should jump to frame 5 unload the current movie and skip to the next scene to import the second movie and so on.

But nothing happens

How have I to adress the main timeline of the mainmovie from a loaded movie in level x?

What I`ve done wrong?

Thank you!

Regards,

Mikalux

View Replies !    View Related
Checkboxes, Lists, And Video Autoplay... Grrr
This kind of a multipart question...

I'm a bit stuck with this new project. I'm creating a video playback system that does the following:
1) Populates a list box with video titles from a CF page/DB. The list box is called "VideoListBox".
2) When you click the video title, it automatically plays a movie in a playback window called "VideoFrame".
3) Has a checkbox marked "Autoplay", so you can select if you want the video to playback automaticaly or not when click, or if it loads first. The CheckBox instance is called "APCheck".

A) The List Box:

The listbox is populating fine. However, I cannot seem to get the selected index from it. I'm using the following just to trace the index, but it keeps spitting back "undefined":


Code:
// Located on the "VideoListBox" instance itself
on(change) {
// Find out which list item is selected and output it
var CurVideo = VideoListBox.selectedIndex;
trace(CurVideo);
}
How do you get the value and the label out of a list?

B) The CheckBox

When you click the "APCheck" CheckBox instance, it is supposed to determine whether VideoFrame.autoplay is set to true or false, and then change it accordingly. It also changes the label on the CheckBox to read "on" or "off"

If add the "trace(VideoFrame.autoPlay);" line to a separate frame on the timeline, it outputs the correct state.

However, when I have as part of the "on(click)" function, it outputs "undefined". Also, the label does not change, and I've tried it both calling the name of the instance ("APCheck") and using "this.label=".


Code:
on(click) {
trace(VideoFrame.autoPlay);
if (VideoFrame.autoPlay == true) {
APCheck.label("AutoPlay Off");
VideoFrame.autoPlay = false;
}
else {
APCheck.label("AutoPlay On");
VideoFrame.autoPlay = true;
}
trace(VideoFrame.autoPlay);
}
I'm really stuck. The whole thing seems to be easy enough, but I just can't get it working...

View Replies !    View Related
MX04: Problem With Rollovers Showing Grrr.. :(
Hi I'm having some trouble with this segmant of a website i'm working on, basically if you swf it out and then hit the white bar on the left, a list of links will scroll up, unfortunatly one of the boxes underneath it all always seems to 'get stuck' showing when i don't want it too.

Any help on this would help me out greatly, ta!

dean
ps-i'm a complete novicce when it comes to actionscript, so please spell it out for me if i need to do any coding here!!

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