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








Movie Linkage For A Beginner...


Whereabouts do I put the movie label so that it can be referred to in actionscript?

For example I have a main page with actions on it and a library that contains a movie called: mymovie

How do I put the following without getting a '1120: access of undefined property mymovie' error?

Thanks







Attach Code

mymovie.stop();




Adobe > ActionScript 3
Posted on: 03/12/2008 06:09:31 AM


View Complete Forum Thread with Replies

Sponsored Links:

Help With Movie Clips Linkage
Hi - I'm relatively new to Flash but love it!! I would REALLY appreciate any help with this problem. I have a movie with the main menu system on the left containing 4 buttons. This menu is a movie clip placed onto the main stage. The main viewing area is in the centre where the info is displayed.
When the user rolls over one of the menu buttons the menu drops down with more buttons appearing in the menu, basically tweening to another point in the movie clip. I'm trying to get the buttons to link to other scenes but when clicked they just start the movie clip playing again!!
The web address is dizzy-heights.fsnet.co.uk so you can see what I mean. The buttons aren't "wired up" as such at the moment, but you'll see the drop down effect. The effect I'm after is for the text in the main viewing area to change when a menu button is clicked.
Hope you understand what I'm on about.
Cheers,
Si.

View Replies !    View Related
Flash Movie Linkage
Hey.

When you publish a new Flash .swf and .html file, the format expects both the Flash file and the HTML file to be together.

I need to save bandwidth on my webserver, so I was wondering. Is there a way to load Flash movies into an HTML file from an external server and play them from there? I'm just thinking of using my free, unlimited bandwidth server for hosting them, and then using my low-bandwidth dot com for viewing them. (If there is a way, would it also use up bandwidth on my dot com?)

If you could get back to me, it'd be appreciated.

View Replies !    View Related
[F8]Attaching A Movie Using A Linkage From Another Swf
Hi, I have an swf file loaded into level3, it contains a global array that is a string list of linkage titles of assets in the file. I want the file in level0 to use attachMovie and the global array to attach the assets in level3 to a movieclip on level0. It does not appear to work, any ideas?

View Replies !    View Related
>> Help Me << Linkage In Movie Clips
Hello, I've made a movie clip as a navigator inside the flash doc, but Im trying to link scenes and its not working.. Anyone know how too?

--james.

View Replies !    View Related
How To Linkage Movie Clips?
hello,

I wanna know how to lingage moviclips. I attache some example.

you have in same layer three different movie clips, but they have to have a same color of background. The color of background is change with color picker.
What color is first movie clip, all movie clips in same layer has to have that color.

bye,
kicho

View Replies !    View Related
Movie Clip Linkage
Hi

I not sure if I'm doing this right. I have a holder movie on my timeline called "background".
When entering a certain frame I want this background movie clip to be replaced with one linked in the library. This is what I have in the frame but its not working.

this.background.attachMovie("shop_bg", "deafwife_bg", 1);

deafwife_bg is the linkage name.

Am I doing something wrong? Cheers in advance

View Replies !    View Related
Beginner - How Do I Sequence Movie Clips
I know this must be basic but how do I sequence movie clips?
I have a movieclip inside which i want to place and run 2 other movie clips. The second inner clip should start after the first inner clip finishes.
Can I place these two inner clips on the same layer/timeline?

TIA

RobC

View Replies !    View Related
A Beginner Who Needs Help Moving A Movie Clip
i am trying to move this movie clip along the x and y axis to specific point. up, down and diagnoly. this is the script i have on my movie clip that is not working right. i am very new to flash and i don't really know what i am doing yet. can some one please help me. part of it is in spanish because a spanish speaking guy was trying to help me.

ActionScript Code:
onClipEvent(load){
    velocidad = 5
    test._x = 0;
    test._y = 0;
}
onClipEvent (enterFrame) {
    _x += (test._x - _x)/velocidad
    _y += (test._y - _y)/velocidad
}
example of the scirpt on the buttons. these work, i hope:

ActionScript Code:
on (release) {
    _root.test._x = -400;
    _root.test._y = -400;
}

View Replies !    View Related
Beginner Movie Clip Rollover
Alright. I am trying to get this to play. On rollover, and play backwards on mouse out.

After that I want it to become a button.

This particular movie clip is just something I made really fast, but I'm not sure how to make it play backwards or do the on mouseover part.

Thanks.

View Replies !    View Related
Beginner Movie Clip Rollover
Alright. I am trying to get this to play. On rollover, and play backwards on mouse out.

After that I want it to become a button.

This particular movie clip is just something I made really fast, but I'm not sure how to make it play backwards or do the on mouseover part.

Thanks.

View Replies !    View Related
Beginner Flash Movie Question
Hi,

I am a beginner and am learning flash. I downloaded a trial version of Flash Professional v8.0 and have created a small movie. I used the following to embed movie in HTML file.


Code:


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="544" height="236">
<PARAM name="movie" value="testmovie.swf">
<PARAM name="quality" value="high">
<EMBED src="testmovie.swf" QUALITY="high" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" TYPE="application/x-shockwave-flash" width="544" height="236"></EMBED>
</OBJECT>



Now the problem is the movie keeps playing i.e. looping. I want to play it once everytime when a user comes first time to a page or refreshed a page. Even though I unselected the loop option under

File->Publish Settings.

But somehow the movie keeps looping and playing over and over. How can I make it play only once. Thanks

View Replies !    View Related
Linkage And Movie Load Issues
I have a movie with a basic "loading..." animation at the beginning. However, I also have linked audio files (I have linked them in order to control them - start, stop, volume).

The problem is, with those sounds linked, the "loading" animation doesn't show up on the screen until the 80-90% of the entire movie is loaded.

If I unlink them and drag them to the stage (which diminishes the level of control I have over their playback), the "loading" animation pops up immediately.

Is this a known problem? Is there a workaround? Any help is greatly appreciated!!!

View Replies !    View Related
Load Movie With Linkage Movies
this is my problem:

I want to load an external swf that contains several movieclips with linkage, export on first frame.
that works, and I can also use attachMovie in the main swf, but only on the movie where the external swf was loaded in.
question: how can I display those movies (with the linkage) in an other movie in the main swf??

(hope you can picture what I mean)

thnx?!

mark

View Replies !    View Related
Attach Movie Linkage Problem
I've got a movie clip with a nav bar and the idea is that two of the buttons are supposed to attach a movie at level 1. So one should cancel the other load when loaded. Right. Problem is that for some reason, the first button is fine but the second one is loading the same linked mc as the first even though the linkage is different and never calls that movie clip. Actually the first time the second button is clicked, nothing happens at all. Only after I click the first button and THEN the second button does anything happen.

Here's my code:

stop();
cd_btn.onRelease = function(){
attachMovie("cdsub_mc", "sub_mc", 1);
sub_mc._x = 0;
sub_mc._y = 0;
}
downloads_btn.onRelease = function(){
attachMovie("dsub_mc", "sub_mc", 1);
sub_mc._x = 0;
sub_mc._y = 50;
}

View Replies !    View Related
Target Linkage Movie Clip
Hi guys,

Does anyone know how to target the linkage movie clips?
For instance, I have a component that has three children. Each children is associated with a linkage movie clip. And I have a button (named btn) in that linkage movie clip.

Then the component is loaded to level 10.

I used (for example):

_level10.child1.btn._visible=true;

but it didn't work, does anyone have a clue?

View Replies !    View Related
Help Changing Script Of Smoke Movie. Beginner Plz Help.
hi guys, i got this smoke movie i want to use for my flash game. im not very good with scripts. the smoke of the ciggarrete is controlled by a controller on screen, i wanted to just copy the smoke without the cigg. and use it in my game, but when you dont user the controller, the smoke becomes thick and stays in one line. is there a way to change the script so that the smoke will be randomized at all time like when it starts???


thank you very much for help.
-file attached.

david.

View Replies !    View Related
Beginner To AS3 - Load Movie Strange Problem
Hello flashers!

I'm new to AS3 and I feel pretty lost doing common things that usually in AS2 I would have no problem doing.
I have an as3 swf that loads another swf through a function. That loaded file is a photo gallery that I found on the net and it's available for download here. The thing is when I load that gallery from the main swf, it shows up double-sized! I tried everything I could think of, but the truth is I have no idea why that happens... I even tried limiting the size of the galery stage on the AS3 code, but nothing works...

Do you have any idea on why that's happening? Can anyone help? Thanks for your time!

View Replies !    View Related
Preload Sound As Separate Movie (beginner Help)
Hi-

I would like to preload a music file as a part of my main movie clip and then load it as a separate url when I want it to play. The only thing is that I want it to be in sync with my movie when it plays. I thought that if I could get it to preload than this may would work. I am very much a beginner at action script so you can let me know if I am dreaming! Thanks in advance!

I also have another quick question I followed this technote for how to make a sound toggle http://www.macromedia.com/cfusion/kn...fm?id=tn_14821 but I would like the music load with the sound on rather than the sound off. How could I change this? Thanks!


Jessie

View Replies !    View Related
[as2]Flash Beginner Needs Help Removing A Movie Clip
Hi there,
I have a text field that loads HTML inside a movie clip, and I CAN remove all text with the following code, but not the textfield itself. No clickable buttons will work in that space after the text field has once been loaded there. Even when I manually remove the movie clip from the screen itself. Any suggestions?

This is the code I'm using:
homeButton.onRelease = function() {
tArticle.removeTextField();
gotoAndPlay(3);
};

View Replies !    View Related
Beginner Question With Movie Clip Buttons In CS3 / AS3
Hello,

I am building a simple website in Flash CS3 using AS3.0. I am using movie clip buttons to make drop down menus, but I can't seem to get the movie clip buttons to be able to control the main timeline. In AS2.0 you would use the _root syntax, but that no longer exists in AS3. I am thinking this must have to do with the new "event flow" thing, but I guess I just don't understand it yet. I've also tried naming scenes in the stage timeline and referencing those, but that also does not seem to work.
Here is the basics of the code:
(inside the MC movie):

btn_port1.addEventListener(MouseEvent.MOUSE_UP, clickPort1);

function clickPort1(event:MouseEvent):void {
trace("Port1");
gotoAndStop("Port1");
}

Thank you so much to anybody who can give me a hint as to how to fix this!!!

View Replies !    View Related
Adding Transition Btw Movie Clips (beginner)
hello good pple of the forum,
let's say i have two movie clip, now i drag movie clip onto the stage of the main movie, now i do make movie clip two appear immediately after movie clip has finished playing, also how do i add transition btw the movie clips when they are displayed

View Replies !    View Related
Can I Open A Movie Symbol Using The Linkage Properites?
Is there a way to open a movie symbol with a button using the linkage properties in the library? Is that the reason for the linkage so you don't have to load a swf? I just have a movie that is not showing but then want to load it on screen. I'd rather not use the alpha to show it as not visible either. My main concern is seeing what you can do with the whole linkage thing. Thanks

View Replies !    View Related
Removing Attached (linkage) Movie Clip
hi, need a help
i have attached my work file

actully i am trying to draw continues line one point to another by mouse click , and each points there will be a round shape(using linkage library method) with the mouse click .

the lines all are removed by this (_root.newgrid1.clear()) method.

the problem is that i was only able to remove one round shape from the stage using remove movie clip method,

how can i remove all the attached movie by the reset button from newgrid2?

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


This is the method i used to attach movie from library

var _loc3 = _root.newgrid2.attachMovie(color, "obj" + objCountx, objCountx);
--------------------------------------------------------------------------


################################################## ##
this is the method i used to remove the clip

_root.reset.onRelease = function () {

_root.newgrid1.clear();
_root.newgrid2.clear();

removeMovieClip(newgrid1);
removeMovieClip(newgrid2);

for (n in _root)
{

removeMovieClip (_root[n]);

}

}
################################################

View Replies !    View Related
[CS3] Linkage Identifier And Embedded Movie Clips
I would appreciate if anyone could help with the problem I am having referencing a linked movieclip.

I have a scroll pane with the instance name menuScroll. The scrollPane loads a linked movie clip called menuDropMC with the same instance name. MenuDropMC also loads several instances of a linked movie clip called moduleNameMC with the same instance name. The moduleNameMC contains a button called moduleBtn. I am trying to disable this button from root.

The moduleNameMCs are generated dynamically and are followed by a number using a for loop.("moduleNameMC"+i)

e.g. moduleNameMC0, moduleNameMC1, moduleNameMC2, etc.

I have tried the following:

_root.menuScroll.menuDropMC.moduleNameMC0.moduleBt n.enabled = false;
menuScroll.menuDropMC.moduleNameMC0.moduleBtn.enab led = false;
menuDropMC.moduleNameMC0.moduleBtn.enabled = false;
moduleNameMC0.moduleBtn.enabled = false;

Thanks in advance.

View Replies !    View Related
Loading Image And Creating Movie With Linkage
Hey,

I'm kind of new to flash.
I would like to know how I can load image from either library or exterenal directory and then create a movie with linkage identifier. Everythig of course in actionscript.

Thanks.

View Replies !    View Related
Removing Attached (linkage) Movie Clip
hi, need a help

i am trying to draw continues line one point to another by mouse click , and each points there will be a round shape(using linkage library method) with the mouse click .

the lines all are removed by this (_root.newgrid1.clear()) method.

the problem is that i was only able to remove one round shape from the stage using remove movie clip method,

how can i remove all the attached movie by the reset button from newgrid2?

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


This is the method i used to attach movie from library

var _loc3 = _root.newgrid2.attachMovie(color, "obj" + objCountx, objCountx);
--------------------------------------------------------------------------


################################################## ##
this is the method i used to remove the clip

_root.reset.onRelease = function () {

_root.newgrid1.clear();
_root.newgrid2.clear();

removeMovieClip(newgrid1);
removeMovieClip(newgrid2);

for (n in _root)
{

removeMovieClip (_root[n]);

}

}
################################################

View Replies !    View Related
Error Message On Linkage Of Quicktime Movie
when i try publishing my flash file into a quicktime .mov (i have a quicktime movie in my flash file that is LINKED not embedded) i get an error saying :
"The installed verision of QuickTime does not have a handler for this type of Macromedia Flash movie. Please consult the documentation for further information"
what does this mean and how do i fix it?
I could embedd the movie but, my file size becomes prohibitively large (12.3 mbs) can anyone help?

View Replies !    View Related
Linkage Identifier And Embedded Movie Clips
I would appreciate if anyone could help with the problem I am having referencing a linked movieclip.

I have a scroll pane with the instance name menuScroll. The scrollPane loads a linked movie clip called menuDropMC with the same instance name. MenuDropMC also loads several instances of a linked movie clip called moduleNameMC with the same instance name. The moduleNameMC contains a button called moduleBtn. I am trying to disable this button from root.

The moduleNameMCs are generated dynamically and are followed by a number using a for loop.("moduleNameMC"+i)

e.g. moduleNameMC0, moduleNameMC1, moduleNameMC2, etc.

I have tried the following:

_root.menuScroll.menuDropMC.moduleNameMC0.moduleBt n.enabled = false;
menuScroll.menuDropMC.moduleNameMC0.moduleBtn.enab led = false;
menuDropMC.moduleNameMC0.moduleBtn.enabled = false;
moduleNameMC0.moduleBtn.enabled = false;

Thanks in advance.

View Replies !    View Related
Error Message On Linkage Of Quicktime Movie
when i try publishing my flash file into a quicktime .mov (i have a quicktime movie in my flash file that is LINKED not embedded) i get an error saying :
"The installed verision of QuickTime does not have a handler for this type of Macromedia Flash movie. Please consult the documentation for further information"
what does this mean and how do i fix it?
I could embedd the movie but, my file size becomes prohibitively large (12.3 mbs) can anyone help?

View Replies !    View Related
[Flash8]SlideshowPro: (Beginner). Help Getting The Movie To Scale To The Browser.
Hey guys

I bought SlideshowPro and have created this gallery using it. However I'm having a lot of trouble getting the movie to scale to 100% width of the browser window.
I have already posted this on the SlideshowPro.net forums, but no one answers, not even when I email their support team.
Since this is something I paid money for, I'm probably not allowed to share the .fla file here, but I can show you the AS in the movie:


PHP Code:



// Import transition classesimport mx.transitions.easing.*; import mx.transitions.Tween;// We'll Need Some Listenersvar sspListener = new Object();var loadListen:Object = new Object();var changeListener:Object = new Object();// MovieClipLoader to pull in the thumbsvar thumb_Ldr:MovieClipLoader = new MovieClipLoader; // Variables to hold the Current Album ID and a reference to the Current Image's MovieClip, respectfullyvar curAlbum:Number;var curImage:MovieClip;// Reference to the MC we will create to put the thumbs invar holder:MovieClip;// Array that will hold all gallery datavar theArr:Array;// Variables to hold how many thumbs we are loading and how many we have loaded so farvar toLoad:Number = 0;var isLoad:Number = 0;// Boolean: If the user is currently scrolling through the thumbsvar isScrolling:Boolean = false;// Mask the Thumb MCthumb_mc.setMask(mask_mc);//////    LISTENERS//// Triggered when the inital Gallery Data is LoadedsspListener.onGalleryData = function(eventObject):Void {    // Fill theArr variable with the gallery data so we can use it whenever we need to    theArr = eventObject.data;        // Loop through the albums and fill the combobox with their labels    for (var i:Number = 0; i < theArr.length; i++) {        gallery_cb.addItem({label:theArr[i][0].title});    }}// Triggered when an album is loadedsspListener.onAlbumData = function(eventObject):Void {    // Save the album's id to a local variable    var id:Number = eventObject.data.id;    // Get how many images are in the album    var albumCount:Number = eventObject.data.totalImages;    trace(albumCount);    // Save the thumbnail path to a local variable    var tnPath = eventObject.data.tnpath;    // Loop through the albums    for (var i:Number = 0; i < theArr.length; i++) {                // if the id's match, we have found our album        if (theArr[i][0].id == id) {            // Call load thumbs with the album index (i) and the other vars            loadThumbs(i, albumCount, tnPath);            // Update curAlbum variable            curAlbum = i;        }    }}// Triggered when a new image finished loadingsspListener.onImageData = function(eventObject):Void {    // Fade out the previous image    if (curImage != undefined)    {        new Tween(curImage,"_alpha",mx.transitions.easing.Strong.easeOut,curImage._alpha,50,1,true);    }    // Get the new images Movie Clip Name    var curImageStr:String = String(holder) + ".Image_"+String(curAlbum)+"_"+String(eventObject.data.number-1);    // Turns the above string into a MC reference via eval    curImage = eval(curImageStr);    // Tween the new curImage to full alpha    new Tween(curImage,"_alpha",mx.transitions.easing.Strong.easeOut,curImage._alpha,100,1.5,true);    // Formulate where the holder MC should slide to to keep the image centered    var holderTgt:Number = (curImage._x + (curImage._width/2))-275;    // If the user is not scrolling, slide the holder MC to center the image    if (!isScrolling)        new Tween(holder,"_x",mx.transitions.easing.Strong.easeOut,curImage._x, -(holderTgt),1.5,true);}// Event fires when each thumb has completely loaded AND initialized in the movieloadListen.onLoadInit = function(target_mc:MovieClip) {    // Increment isLoad count    isLoad += 1;    // If all have loaded, run positionThumbs function and reset isLoad and toLoad vars    if (isLoad == toLoad) {        positionThumbs();        isLoad = 0;        toLoad = 0;    }    // Attach behaviors    target_mc.onRollOver = function() {        // User is now scrolling        isScrolling = true;        // If this is not the current image, fade it up on rollover        if (curImage._name != target_mc._name) {            new Tween(target_mc,"_alpha",mx.transitions.easing.Strong.easeOut,target_mc._alpha, 100,1,true);        }        // Slide the holder MC to center this image        var holderTgt:Number = (target_mc._x + (target_mc._width/2))-275;        new Tween(holder,"_x",mx.transitions.easing.Strong.easeOut,holder._x, -(holderTgt),1.5,true);    };        target_mc.onRollOut = function() {        // No longer scrolling        isScrolling = false;        // If this is not the current image, fade it back on rollout        if (curImage._name != target_mc._name) {            new Tween(target_mc,"_alpha",mx.transitions.easing.Strong.easeOut,target_mc._alpha, 50,1,true);        }    };        target_mc.onRelease = function() {        // If this is not the current image, tell SSP to load it        if (curImage._name != target_mc._name) {            // Split the Image's MC name into an theArray (e.g. Image_0_0)            var tempArr = target_mc._name.split("_");            // The first piece of the theArray is the album index, the second is the image index                         var image:Number = Number(tempArr[2]);            // SSP loads the image            ssp.loadImageNumber(image);        }    };};// Change listener for comboboxchangeListener.change = function(eventObject){    loading_mc._visible = true;    ssp.loadAlbum(eventObject.target.selectedIndex);}// Add all the listeners to their targetsssp.addEventListener("onGalleryData", sspListener);ssp.addEventListener("onImageData", sspListener);ssp.addEventListener("onAlbumData", sspListener);ssp.addEventListener("onImageRoll", sspListener);gallery_cb.addEventListener("change", changeListener);thumb_Ldr.addListener(loadListen);//////    FUNCTIONS//// Position Thumbs Functionfunction positionThumbs():Void {    // We'll need local variables for the height and width of each thumb    var loc_w:Number, loc_h:Number;    // We'll use this variable to position the thumb on the x-axis    var next_x:Number = 5;    // Loop through the thumbs    for (var i:Number = 0; i < toLoad; i++) {        // Get a reference to the thumbnail MC        var tgt_mc:MovieClip = eval(String(holder) + ".Image_"+String(curAlbum)+"_"+String(i));        // Set it's x property using the next_x var        tgt_mc._x = next_x;        // Set loc_h and loc_w        loc_h = tgt_mc._height;        loc_w = tgt_mc._width;        // Position the thumb centered vertically (assumes thumb are is 100px high)        tgt_mc._y = (120-loc_h)/2;        // Set the next_x for the next thumb        next_x += loc_w+15;    }    // All have loaded, fade out the loading thumbs message    loading_mc._visible=false;}// Load Thumbs Functionfunction loadThumbs(id:Number, count:Number, path:String):Void {    // Set toLoad var    toLoad = count;    // Set the base background MC to the needed width to hold all the thumbs (roughly)    thumb_mc.bg_mc._width *= (count+1);    // Create the holder MC    holder = thumb_mc.createEmptyMovieClip("holder", scrollMc.getNextHighestDepth());    // Local vars needed in the loop below    var tgt_mc:MovieClip, s_tgt:String, m_mc:MovieClip;    // Loop through and load thumbs    for (var i:Number = 0; i < count; i++) {        // Create MC to load thumb into        tgt_mc = holder.createEmptyMovieClip("Image_"+String(id)+"_"+String(i), 100+i);        // Get the URL to the thumbnail        var loc_path = path + theArr[id][1][i].tn;        // Use the MovieClipLoader to load the thumb into the MC        thumb_Ldr.loadClip(loc_path, tgt_mc);        // Set the new MC's alpha to 50        tgt_mc._alpha = 50;    }} 




I tried following gotoAndLearn's video "Full browser flash" but had no luck with that.
Thanks in advance for any inputs.
MH

View Replies !    View Related
How Do I Stop Movie Clips With Linkage From Loading In The First Frame?
I have 13 movie clips, that work on an Attach Movie Clip action so they can load randomly(according to whihc button you press). But....how do i stop these movie clips loading in the first frame?

View Replies !    View Related
Linkage Properties > Export Clips... Access In Another Movie?
I have a preloader movie that loads my main movie *.swfs and I need to know how I can reference up my Linakge > Export clips so they are not "lost" once my movies are loaded into the preloader. Thanks for helpin' me out.

View Replies !    View Related
Really NEW Beginner
Okay, I'm beyond new. I've done the tutorial/lessons in FlashMX, and I've printed off the ENTIRE 90 page Tutorial from Macromedia. I'm not stupid and I have NEVER had problems learning new stuff like this. So, here is where I stand.

I've tried two different movies. One is a classic "cut the jaw" off to make a picture talk. The other is a picture where I have a small part of text go from small to big, all of this one is hand-drawn.

The first one just did NOT work. I had it working then for some strange reason my computer decided it wanted to be restarted and it wasn't going to let me do one more thing, but that's my problem.

The second one when I "test the movie", doesn't work, but it does when I'm in the editor mode and I hit enter. This may not make sense, but if there is ANYONE who would just want to talk to me and help make one movie that uses things, then I'll be able to do ita gain. Of course, it would be nice to see how you all are doing things by opening them up and then following your train of though, but I can't find any that I can do that with. HELP ME!!!

Rachel

View Replies !    View Related
AS Beginner
I'm just starting out with ActionScript.
I've put together an interface with a simple behavior attached to a button. There's an input box called enterNumber and a script that tests to see if the input is an odd or even number (using the modulo operator to test the value).
On the button is a simple script that says:

on (release) {
if (enterNumber%2 == 0) {
gotoAndPlay(2);
} else {
gotoAndPlay(3);
}
}

If the user enters an even number, the movie should go to frame 2 where a message tells them they entered an even number. If they enter an odd number, they should go to frame 3 with an odd number message.

It's not rocket science I know, but I can't get it to work. In each case, the user gets taken to frame 3, which means that although the button is functioning, the script that decides the outcome is not.

To take a look for yourself, go to http://www.centpercent.com/user_input_001.swf
The .fla file can be downloaded at http://www.centpercent.com/user_input_001.fla

I would appreciate if somebody could tell me what I am doing wrong and also WHY it is wrong.

Many thanks,

Richard

View Replies !    View Related
Beginner
hello

in first place it would like of you congratulate him for the excellent web site.

I am a beginner in Macromedia flash and I have some doubts that, if possible he would like to ask some clues.

How to do for my site to have one paginates initial where would have only the identification of the company and when clicking in the logo or in any button, he would open a second window in certain size for me, type her web site.

thankful
ricardo motta
ricmotta@ajato.com.br

View Replies !    View Related
Beginner
Hi there, i'm a beginner at this flash lark, and am not that technically minded but have managed to build a small website in flash. I dont know how to get this on-line and also its only small at the moment (28k) but see it getting bigger as i add photos and sound, but i don't want to go too big. I'm hoping to get a propername.com as cheap as possible. I've secured some space through the lycos thing for free but was hoping i could use this space and somehow mirror a proper name to it.

If anyone could help i'd appreciate it!

View Replies !    View Related
Beginner Needs Help
Hi people,

Does anybody know how I can check the number of lines contained in a dynamic textfield filled with stuff?
This is very important for my job .... help ... there has to be a way

thx
qali

View Replies !    View Related
Beginner Help
Hey all ive had flash mx for awhile but i have just been making cartoons. Im starting up a buisness and would like to have a nice site for it so im trying to get into the web design. Id like to start with just basic drop down menus and such but i cant figure any of this out on my own (xml) and im confused...cant find any tutorials either... if somone would be kind enough to help me out here.
A step by step process would be Xtremely Helpful

menus i was looking at
plan on starting off with somthing like this menu
http://www.middlefinger.de/master.html
and after awhiles work having something like this
http://www.draxxus.com/
i do need help though and this is a pretty urgent thing so plz plz plz help

View Replies !    View Related
Some Beginner Qs
Hi, I`m kind of new to flash and I have some questions I hope you can help me with ...

So here it goes ... I`ve seen all these cool effects on flash websites and pretty much understand how they can be accomplished in photoshop ... but ... is there any way that photoshop can communicate with flash quality lossless? Especially transparent blurry images .. stuff like that ...

... even if I import images to flash .. positioning it in concrete spot is really horrible ... because images seem to sift a little bit when the swf is published and the measurements are with coma. And if my image is as big as the stage... when published strange border appears in left/top sides.

If I import an swf file to flash all the images in it are with sick quality ...

Another thing i noticed is that when in explorer i toggeled the quality of the swf file ... the content moved a little bit too...

Well here it goes .. I hope you understood what I ment and can help me ... big thanks

View Replies !    View Related
Beginner Please Help
I am building a website in flash. I have a movie clip that I want to play when I change pages (for example: it is a picture that I have put on the home page and I want it to fade out when I go to another page on the website) what do I do??

View Replies !    View Related
Help A Beginner
Need Help. Some time ago I needed your comment on my Site www.mchagar.dk
and got the message back that Frames are a bad thing. So Iīve started making the same site in Flash.
Iīve attached the movie Iīm working on, and would like someone to look at it.

It starts with a front page where the user can chose Danish og German. Klik "Dansk".
this opens a page with our logo and a menu, Klik "Klub" Here I would like, when the user Klikīs for example "Medlemmer" to open, in the same page, a picture and some tekst, without loosing the top logo and the menu, and when the user klikīs "klub" again ( to reveal the Menu again) to to go back to frame 1, so that the user can start over.

I have always gotten great help here, so I hope to get it again.

Roxy

View Replies !    View Related
Help An AS Beginner Please
Flash 8 Pro/AS 2.0

I'm working on my website below. I'm not a brilliant Actionscript genius yet, far to go. Looking for Tutorial on how to load external movies, while controlling the loaded movies from action with in the _root movie.

Goal: have the nav buttons load in the pages (separate created swf movies) into a Host movie container. While each swf movie has a transition playing out from it's stop point to animate the page swiping off, I give the buttons this AS:

//play out loaded movie
on(release) {
_root.myHost.gotoAndPlay("Playout");
//load linked movie
_root.content_mc.loadMovie("Home.swf");
}

"Playout" is a label in each movie, because each movie is not the same frame length, I can't use a frame number.

This works for the "HOME" nav button, but, I'm not getting it to work for other buttons, when I use the loadMovie("Film.swf") for example.

I would like to find a simple tutorial on this subject. I'm so eager to learn AS and yet, I find mySelf overwhelmed due to beginner's fatigue. Any recommendations for tutorials and Books is welcome. Just a great place to start, would be helpful. Anyone's help is greatly appreciated.

www.curtsong.com

View Replies !    View Related
[F8] Beginner Here
was jus wondering in order to upload your website if its all done in flash what are the steps to upload? or would it be easier to import the whole flash movie into dreamweaver?

View Replies !    View Related
Beginner Nd's Help
i decided to start messing about with flash and have created a few basic fun game/type things but now i wish to move on to soething more challenging. What i need help for is i want to know the coding or guidelines to creating a ball off which its movement depends an collision with a character. I understand this can be tricky but any help is much appreciated.

View Replies !    View Related
Beginner
Hi

I am trying to make a simple swf that when clicking on different buttons, you see a different piece of text in a box on the side.
The buttons stay constant (on layer 1) and everything else changes on the other layers.
But the swf just runs through then all.

Am I forgeting something simple?

I have no clue why this is not working, I cut/pasted/changed variable numbers -- but I get errors from this:

I also have no clue how to have it stop on the start...

Thanks,

Mid
stop();

viral1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1);
function mouseDownHandler1(event:MouseEvent):void {
gotoAndStop(5);
}

social2.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler2);
function mouseDownHandler2(event:MouseEvent):void {
gotoAndStop(10);
}
green.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler3);
function mouseDownHandler3(event:MouseEvent):void {
gotoAndStop(15);
}
creative.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler4);
function mouseDownHandler4(event:MouseEvent):void {
gotoAndStop(20);
}
clients2.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler5);
function mouseDownHandler5(event:MouseEvent):void {
gotoAndStop(25);
}
about2.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler6);
function mouseDownHandler6(event:MouseEvent):void {
gotoAndStop(30);
}
contact.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler7);
function mouseDownHandler7(event:MouseEvent):void {
gotoAndStop(35);
}

View Replies !    View Related
Beginner
Hi

I can program in c++ and some directx and i want to learn flash.
I have mtasc compiler and want to learn actionscript with this.

Where can i find out tutorials on open source flash programming because i don't have the IDE. I don't know enough about flash to just copy and paste into an editor and compile using mtasc.

View Replies !    View Related
A Beginner NEEDS Help
In CS3 I need help for implementing some Flash into a dreamweaver website.

First I need to know how to go back and forth between a couple pictures in flash. I made my two buttons going back and forward with the pictures, and after that I need help on what to do?

I severly need help in that I have no idea what to do?

View Replies !    View Related
Very Much Beginner...
I havenīt written a single script in my entire life, but havenīt found any answers to my basic questions on the web...

1. Do I need to have blank line/lines in certain places in the actionscript?
2. Why is there i white square (with black borders) in the frame before a keyframe in the timeline?
3. Does the layer containing the actionscript have to be the "toplayer"?
4. Can I have several layers containing actionscript in the same movie? If yes, how do I know what actions they are controlling?

View Replies !    View Related
Before I Become A Beginner...
My video has 1800 frames and works without the need for Flash Communication Server if the end user has DSL. If embedded and the end user has a dial-up connection it will not download. Also, using dial-up it will not stream (I am using media components in 2004 Pro). Do I need to buy Flash Communication Server for the video to work when the end user has dial-up connection to the Internet?

Another way to ask the same question is: Is it true that Flash Communication Server is not going to stream and resolve the above problem if the client is a dial-up connection to the Internet.

View Replies !    View Related
Beginner Help
Heya all,
Was wondering if someone might point me in the direction to learn how to control a movie through the use of a slider bar (think the same slider bar you can control when viewing a dvd). I have a series of images that I've developed into a short movie that utilises various tweens and fades and ideally the user would be able to move back and forth using this slider bar. I've done a search (on most of everywhere on the net just about) and have been unable to find something like that I've described.

Unfortunatly I'm still very new to action-scripting so I haven't been able to work it out myself. If someone could point me in the direction of a tutorial maybe? Or even explain to me how I would get a slider bar attatched to a movie, I would be very much appreciated

View Replies !    View Related
Help Me.. Am A Beginner
I've created a dynamic map application. It displays properly when it's tested locally. when it's embedded in a coldfusion file and tested, it displays as a blank one. What would be the reason?
The map got an interface on which the maps are getting displayed.. Only the interface is appearing. Plz give your suggestions soon
Thanx in advance

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