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








TabEnabled Dosen't Work With LoadMovie?


Hey All,

I am calling a form swf into a parent file using loadMovie and it seems tabEnabled doesn't function.

Anyone know a work around?

cheers
-jub-




FlashKit > Flash Help > Flash ActionScript
Posted on: 04-25-2006, 04:18 PM


View Complete Forum Thread with Replies

Sponsored Links:

WHY Dosen't It Work On MAC?
Apperently a site i have created dosen't work on Mac IE5 and Netscape 7.

the adress is www.avantgroup.se

I don't have access to o MAC att the moment so i cannot check it out!
does annybodey recognize the problem???

he said it wouldn't open correct, it downloaded insteed!

a strange thing is that the site www.tillit.se works acording to him but it's built the same way, so it seams strange!!??

thanks for answers

View Replies !    View Related
Preloader Dosen't Work On A Mac?
I used a preloader from flashkit, I tested it on a Mac, and its screws up all funny like and dosen't load the movie. I tried it in both browsers and it definately is the Mac. Why???http://www.flashkit.com/movies/Scripting/Preloaders/Advanced-Reggie_H-5309/index.shtml

View Replies !    View Related
This Code Dosen't Work
I wanna place a movieclip which is outside and position it by an object that is inside some movieclips...

OnClipEvent(enterframe)

_root.movieclip1._x=_root.movieclip2.movie1._x
_root.movieclip1._y=_root.movieclip2.movie1._y

my movieclip1 is always floating above the movieclip2...

what's the problem?

View Replies !    View Related
On (Release) Dosen't Work, Why ?
I created MC in which I put antoher mc and button inside this. These buttons should open new window with something else i.e. html page. I created special effect which scroll these images in MC. I don't know why method "on (Release)" doesn't work with these buttons. Please check my .fla why it happens.

Thanks !!

View Replies !    View Related
With Action Dosen't Work With External .swf?
My main movie loads an external .swf that has some "with" actions calling on different MC's. When i go to test my movie, this is what i get:
Error: A 'with' action failed because the specified object did not exist. How do i make these work?

View Replies !    View Related
Simple Preload Dosen't Work
Hi,

well I followed the steps in Eddie Carroll's tutorial on simple preloads. I tested it and my preloader came on and started doing it's thing the movie was loading. Wow this was easy I thought. But then the movie finished loading and just like theEnergizer Bunny the preloader just kept on looping and the main scene never came on.

Can someone please help me? Thanks!

I have posted jpegs of my scripting and layout here:

http://users.nac.net/illhavethat

Note: I had posted this in general help on 6/18 but as it is now on page 14 and I have had no reply I am reposting it here so if you have seen this before...that's why.

View Replies !    View Related
TextField._rotation Dosen't Work
I've got this simple script:

createTextField("text1",1,100,100,100,20);
text1.text = "test1";
text1._rotation = 0;


createTextField("text2",2,100,150,100,20);
text2.text = "test2";
text2.embedFonts = true;
text2._rotation = 90;

Unfortunately text2 isn't shown. What I'm doing wrong?

Adam

View Replies !    View Related
Frame Rate 30 But It Dosen't Work
Hi All

I made a simple intro which frame rate i put 30 but it doesn't work. When i test it , it run normally & pass 30 frame per sec but in the middle of time line the play head elapsed time slow . its show 30 to 5 up & down.
thanks

View Replies !    View Related
Embed Dosen't Work All The Time
I'm running into this problem where my flash page dosen't work on computers and then works on some other computers same browser and os.

there is a page that detects the flash plugin and then redirects to a page with the flash. From what i can tell this works and other flash pages both and 7 and 8 work just not mine. so this is the code i'm using to embed the flash. any help would be great. Thanks!!!


HTML Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>urban truth llc - video production </title>
</head>
<body bgcolor="#ffffff">
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="550" height="350" title="Flash">
<param name="movie" value="new-splash.swf">
<param name="quality" value="high">
<embed src="new-splash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="350"></embed>
</object>
</div>
</body>
</html>

View Replies !    View Related
Why Dosen't This Work In Internet Exploror?
so im working on with flash mp3 player(from http://www.nlfe.org/media/index.php

and here's the code:

HTML Code:
<object type="application/x-shockwave-flash" data="audioplayer/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="audioplayer/player.swf">
<param name="FlashVars" value="playerID=1&soundFile={ds1::guid}">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
any help would be great. Thanks!

View Replies !    View Related
Why Dosen't This Work In Internet Exploror?
so im working on with flash mp3 player, from (http://www.macloo.com/examples/audio_player/), and for some reason.. it'll show up and play fine in safari, and firefox, but when the page loads in IE it'll show up for a split second and then disappear...

the link to the page is this....
http://www.nlfe.org/media/index.php

and here's the code:

HTML Code:
<object type="application/x-shockwave-flash" data="audioplayer/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="audioplayer/player.swf">
<param name="FlashVars" value="playerID=1&soundFile=<!---link to sound file goes here{ds1::guid}-->">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
any help would be great. Thanks!

View Replies !    View Related
My Carousel's Tooltip Dosen't Work
my carousel's tooltip dosen't work. i mean it dosent go with the icons...
how can i solve it? here is the code

/*******************////////////////////////////////////////////
import mx.utils.Deletage;

var numOfItems:Number;
var radiusX:Number = 350;
var radiusY:Number = 75;
var centerX:Number = Stage.width/2;
var centerY:Number = Stage.height/2;
var speed:Number = 0.05;
var perspective:Number=130;
var home:MovieClip=this;

var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000)
tooltip._alpha=0;

var xml:XML=new XML();
xml.ignoreWhite=true;

xml.onLoad= function()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for (var i = 0; i<numOfItems; i++)
{
var t = home.attachMovie("item", "item"+i, i+1);
t.angle = i*((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes [i].attributes.tooltip;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.ref.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver=over;
t.icon.onRollOut=out;
t.icon.onRelease=released
}
}

function over()
{
home.tooltip.tipText.text=this._parent.toolText;
home.tooltip._x=this._parent._x;
home.tooltip._y=this._parent._y-this._parent._height/2;
home.tooltip.onEnterFrame=Delegate.create(this,moveTip);
home.tooltip._alpha=100;
}
function out()
{
delete home.tooltip.onEnterFrame;
home.tooltip._alpha=0;
}

function released()
{
trace(this._parent.toolText);
}

function moveTip()
{
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
}
xml.load("icons.xml");

function mover()
{
this._x = Math.cos(this.angle)*radiusX + centerX;
this._y = Math.sin(this.angle)*radiusY + centerY;
var s=(this._y - perspective) / (centerY + radiusY-perspective);
this._xscale = this._yscale=s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale)+100);
}

this.onMouseMove = function() {
speed = (this._xmouse-centerX)/2500;
};

View Replies !    View Related
TabEnabled & TabIndex?
does anyone know how to set up a tab Index for input textfields??
the actionscript dictionary only tells what it does, but not how it is scripted.
Thanks Folks
Ken

View Replies !    View Related
TabEnabled & TabIndex?
does anyone know how to set up a tab Index for input textfields?? the actionscript dictionary only tells what it is, not how to script it. im sure its pretty simple, but im clueless.
thanks folks
ken

View Replies !    View Related
TabEnabled In Actionscrript 2.0?
hope someone can help me on this
how do you use the tabEnabled function in actionscript 2. It seems to work in actionscript 1.0 but I need it working in 2.0

example:

_root.movclip.tabEnabled = false;

Thanks in advance

View Replies !    View Related
Help: TabEnabled And TabIndex?
Please help. I have a flash contact form that is having issues with tabbing from one field to the next (looks funny). I've been told I need to use "tabEnabled" and "tabIndex" on the fields. How does this work? What is the syntax and where do i place the code? Thanks.

View Replies !    View Related
TabEnabled & MouseEnabled
Hello,

Having some problems when enabling and disabling sprite mouse and key
events.
I want the sprite on mouseup to assume the mouseover and not mouseout. But
it always calls mouseout event.

tried the folowing on Mouse.click but no results:

event.preventDefault();
event.stopPropagation();
event.stopImmediatePropagation ();

Any help?
PM

View Replies !    View Related
Tabenabled And Tabindex?
Does anyone know how to get tabenabled and tabindex to work as I could get it work properly. I gave the text feild a instance name in the new properties window and then in an onload event thought I was setting the text fields to be tabenabled and with an index to give them a tabbing order but when I ran the movie all that happens is the cursor jumps from the flash movie to the address bar of the browser.

What am I doing wrong?

Any help with this would be appreciated as I am getting frustrated and the MX help files suck for this.

Pete

View Replies !    View Related
Global TabEnabled?
Hello....

Is there a way to globally disable the tab button functionality in flash movies?

I know I can use Code:

movieClip.tabEnabled = false; or Code:

movieClip.tabChildren = false; but this gets really tedious as I'd have to add this to every single MC with "on click" events.

View Replies !    View Related
[F8] TabEnabled Always Equal False
Hello,

IS there an easy way to make the tabEnabled be false for all MovieClips that have an onPress event? Without having to do it manually for each one?

THanks

Stu

View Replies !    View Related
Tabenabled Border Problems
hey, i got a question regarding how to change the border color of my own button i made, i used _global.style.setStyle("themeColor", "black"); and this worked to change all the other tabenabled borders to black but since its my own button i created when i set it to tabenabled to true , the border color shows up at bright neon yellow, yuck, i want to set my own button's border to black and i can't seem to figure our the right command to do this, any help would be greatly appriecated, thx

View Replies !    View Related
Dynamic Textfield TabEnabled?
Hi

I have some dynamic textfields that I'm creating and I''m trying to make them tabEnabled. Apparently the tabEnabled property is inherited. But when I test the movie in a browser dynamic textfields do not recieve focus when tabbing through.

This is essentially what the code looks like:

ActionScript Code:
title_txt = new TextField();
title_txt.name = "title_txt";
title_txt.type = TextFieldType.DYNAMIC;
title_txt.selectable = true;
title_txt.embedFonts = true;
title_txt.antiAliasType = AntiAliasType.ADVANCED;
title_txt.defaultTextFormat = titleFormat;
title_txt.border = false;
title_txt.width = 390;
title_txt.height = 30;
title_txt.x = 8;
title_txt.y = 8;
title_txt.tabEnabled = true;
addChild(title_txt);

Does anyone have any insight on how to make the dynamic texfields tabEnabled?

Thanks!

View Replies !    View Related
Loop Through Buttons To Set TabEnabled And TabIndex
Hi,

I have 240 buttons on stage with the names:

colour1_bn through to colour240_bn.

I want to set the tabEnabled property and tabIndex property of every one of these buttons. I can do it manually with the following code:

colour1_bn.tabEnabled = true;
colour1_bn.tabIndex = 1;

etc....

However, to eliminate having to write hundreds of lines, I want to do this with a loop.

Can anyone help me??

Thanks
Dean

View Replies !    View Related
LoadMovie Work But Send Variable Not Work On Mac.
Hi!
I have many swf files that I want it link to specify frame.

AT Level0(bg.swf ): I set two variable as glob_marker, glob_scene for keep frame label and scene from Level5 for load Level8 and goto that label. action at frame be:
glob_scene = "";
glob_marker = "";
loadMovieNum ( "movie1.swf", 5 );

Inside Level5(movie1.swf): I set action to buttons be:
on (release) {
_level0.glob_scene = "5";
_level0.glob_marker = "5-1";
loadMovieNum ("movie2.swf", 8);
}

Level8(movie2.swf ): I set action to first frame at root be:

dis = _level0.glob_scene;
if (dis eq "5") {
gotoAndPlay ("IC", "LL");
} else {
gotoAndPlay (3);
}

And Level8(movie2.swf ): Inside "IC scene" I set action to first frame be:

display = _level0.glob_marker;
if (display eq "5-1") {
gotoAndPlay ("IC1", "IC1");
} else {
loadMovieNum ("orher.swf", 20);
gotoAndPlay ("IC1", "IC1-1");
}

Everything work fine on PC.
It go to scene and label right.
But for Macintosh it not go to scene and label (movie2.swf) as I want, it go to first scene and first frame.
(Everything play on CD by have projector from Flash Not preview with Browsers)

I sorry for my english. Thank you.

View Replies !    View Related
If This Dosen't =_x Move To _x (help)
Right this should be simple

onClipEvent (enterFrame) {
if (_root.conc && _root.con_clip._x<=400 && _root.con_clip._y<=300) {
_root.con_clip._x += 5;
_root.con_clip._y += 5;
}
}
It should move till x and y == 400 & 300
I am missing somthing, Also i would like to decrease in speed as it reaches _x and _y. how do i do this ?

Cheers guys

View Replies !    View Related
My Scrollbar Dosen't Update....
Right... I'm having a dynamic text field with a standard scrollbar (standard UI component) attached to it. My question is this: If I make it a "static" text field, and just enter some text manually the scrollbar will adjust itself according to the amount of text in the field. If I instead make it an dynamic text field, and pass the text to the text field via a variable, the scrollbar does not adjust itself. The text field simply displays as much text as can be fitted, but the scrollbar acts like its empty (no sliding pane). Has anybody any ideas?

View Replies !    View Related
Swf Dosen't Play On Desktop
Hi,
and thank you in advance!
I just upgraded to flashPro 9, when I had 8 all you had to do was double click a swf on the tesktop and it would lanch the player for a quick view. I tried that with a swf published in 9 and I get the windows error message.
anyone know why? is this one of those permissions things in windows?
Mark e.

View Replies !    View Related
Music Dosen't Stay In One Scene ?
Ok here my problem .I have made kind of little web site all in flash.
I have a Bg_music in my scene_4 .when I clic to go in there the music start everithing normal. but when I clic on a button that send me to scene_3 or 2 the music never stop.

What I want is the to loop in music in scene_4 and stay there.
and also how can I make A mute button in my scene_4 to mute the music.

Thanks I really need your help I might get bad note at school

Take Care

View Replies !    View Related
Movie Dosen't Play In Firefox.
Hi there!

I've started doing some Flash animations, and I just finish this for the winter season: http://www.webcamproshop.com/

If you use Firefox, the movie wont play OR will play the very first time you enter the website but wont play anymore once you REFRESH the browser. In IE plays fine now. I am using Flash 8, and everything with Action Script. When I published for Flash 8 / AS 2.0, the movie would do the same for BOTH after refreshing.

Now is published for Flash 6, and at least work in IE, but still won't with FF.

Have anyone got this same problem? Anyone got a clue how to fix this? I would like to publish for Flash 8, as the text had some shadow effect that don't get published for 6.

Thanks!

View Replies !    View Related
FLV Playback Sound Dosen't Play
Hi...

Can anyone solve my problem... I am creating a CD presentation using Scene's each with different section (i.e. About Us, Services, etc...) in Flash 8.0 with only background sound track. One Scene consist of a video's where I have used FLVplayback component. What I need is that when user enter's video section the bg sound should get paused. It should not interfere with the video.
And I have done so. But its not working. The sound gets paused also the sound of video can't be heard. Can anybody help me out.

View Replies !    View Related
Admin Login Works But Then It Dosen't :*(
Awrighty guys

Right I have built a little user regi and login system
http://www.innovativedesigns.org.uk/...gin/login.html

Which works just fine But as soon as i load it into the main movie It dosen't work.

Code:
on (press, release) {
loadMovie("login.swf", _root.loginmc);
_root.loginmc._x = 400;
_root.loginmc._y = 200;
}
I mean when i fill in the fields and hit the submit button it just sits there waiting for a response from the php script that all is clear.

The code in the login.swf

Code:
on (release) {
if (!name.length) {
loginT = "Please Enter your name";
} else if (!pass.length) {
loginT = "Please Enter your password";
} else {
loadVariables("php/login.php", this, "POST");
loginT = "Sending...";
gotoAndPlay(3);
}
}
Now in Frame 3 I have a checker that loops until php validates that details

Code:
if (CheckLog ne "") {
gotoAndPlay ("logged in");
} else {
gotoAndPlay (2);
}
Heres the code in the php file

PHP Code:



$query = "SELECT name,pass FROM contacts WHERE name='$name' AND pass='$pass'";
$result = mysql_query($query);

/* This just gets the number of rows in the Query - It's just a check to see if the Name exists - If not it prints out an error statement. */
$numR = mysql_num_rows($result);

// If the number of rows is not equal to one then it prints out an error statement - Name not in Database.
    
    if ($numR == 1) { 
    print "loginT=Login Complete&CheckLog=1";
    }
    else {
    print "loginT=Not found - Please register"; 
    }

?> 



Does anyone have any ideas?
Like i said it works alone but don't when it's loaded into the main movie..

cheers

View Replies !    View Related
My Flash Dosen't Want To Load Classes , Any Ideeas Pls
when i load a class with flash , on output panel apears specifying it couldent be loaded as in example :

**Error** D:Program FilesMacromediaFlash MX 2004enFirst RunClassesmxdata ypesStr.as: Line 2: The class 'mx.data.binding.DataType' could not be loaded.
{

this eror and another 37 apeared when i tried to test a fla file downloaded from macromedia for trining and was suposed to work 100% , at first i descovered the target folder for classes was wrong since it was targeting
... documents and setingsuseraplication data macromediaflash mx 2004enconfigurationclasses
the en folder was not there from the begining ,so i found the classes folder and set the target path as abova , same thing , , it is as if the classes wore not found ,
if anyone has an ideea or a solution dont keep it for yourself pls
any tip is very good

View Replies !    View Related
My Animation In Flash Dosen't Have A Smooth Movement
Hi there
I have a problem with flash
here is the link of my menu that I made with Flash
http://www.graphicday.com/moving%20menu.html

but I don't know for what reason the movement is not smooth.
how can I make something the same but with a smooth movement?
thanks

View Replies !    View Related
LoadMovie In LoadMovie Won't Work...
So I've been trying to get this loadMovie within an loadMovie to work...with no luck at all...

// This code is in my main 'shell' swf file
myBtn.onPress = function()
{
dropZone.loadMovie("projects/project1.swf");
}

// This code is in the first frame of my project1 swf file in the 'projects' folder
dropZone2.loadMovie("content/contentPage.swf");


Anybody have any insight on this?

View Replies !    View Related
LoadMovie Won't Work For Me?
can't get the loadmovie function to import an swf into an empty MC in the MAIN movie. I've tried everything I can think of, just need super-detailed steps I guess. Thanks for your help... Mike

View Replies !    View Related
Loadmovie Does Not Always Work
I notice that in IE on the mac the loadmovie action does not always work. Has any one else had any problems with the loadmovie action not always functioning like it should. another problem I have had is when I load an external swf file into a movie clip and while it is loading it will unload itself for no reason.

If any one has had similar problems and have found solutions please let me know.

Thank you all in advance.

View Replies !    View Related
<< LoadMovie : Cant Get To Work >>
Hello there, I have a problem with using:

loadMovie

I have a interface setup to where i have
5 buttons on the top row side by side, and i want
each button to load seperate external .swf files
into the movie within a general area, like a 100x100 boxed
area. I have seen many examples like at
www.estudio.com, and 2advanced.com where they have
a button and when u click it it says loading and
a new swf plays, how do i do this? and is it using
the target way of loadMovie. Im trying to add more
of a technical look to this site:
http://www.imperial-tx.com
help would be very appreciated.
also are there any tutorials out there on how to do this?


Thank you,
-rimp

View Replies !    View Related
LoadMovie Would Not Work In Mac
I am doing CD project. All my movies are externally linked, through loadMovie command. I have specified a path for this loadMovie command and the CD works great in a Windows based machine, but would not work in a Mac OS X machine. The main movie plays but would not load the external movies? What am I missing??

This is the actual code I am using.

on (release) {
loadMovie("/swfs/print/coll/picture1.swf", "_root.empmc");
}

I have many swf movies. Everything works great in PC and not in Mac.
I would appreciate any help you could provide.
Once again thank you!!

View Replies !    View Related
LoadMovie Needs To Work
flash mx 2004...

i have a movie that uses the following code to link text from a text box to load an external swf into a container in the main movie:

<a href='asfunction:container.loadMovie,assets/crow.swf'>crow</a>

the container script is set as follows:

createEmptyMovieClip("container, 1");
container.loadMovie("dailyimage.jpg);
set(container._x=180, container._y=41);

the asfunction link is in the 2nd scene of my movie.... the daily image container script is in the 2nd scene and repeated in the first scene of my movie. the dailyimage.jpg loads fine.

THE PROBLEM :

the results are that the external swf loads fine, but does not have its actions enabled. (there is a 'on keypress' function to browse frames in the movie.) the external swf browsing works fine when loaded on its own but not when it's loaded into the main movie container. when i try it with the asfunction link in my movie, the browsing for some reason only works after i preview, and then re-preview the movie in flash pressing the command+return shortcut.

with these test results in mind... is there some levels problem that i should address? i need suggestions, ANY SUGGESTIONS WILL HELP.

thanks so much.

View Replies !    View Related
LoadMovie Won't Work In IE. Please Help :-(
So I'm trying to make a button load a new .swf that has some songs on it. I have a clip and stuff all lined up on the main movie then I load the songs .swf into it by clicking on the button. It works in netscape but not on IE! what am I doing wrong??? my brains are going to explode! here is the code i have on the button:


Code:
on(press){
holderClip.loadMovie("songsChrist.swf");
}
See any mistakes?? again, it works in Netscape but not IE. I'm on a PC. Thanks to anybody that has any suggestions

View Replies !    View Related
LoadMovie Won't Work In IE Please Help?
hi! i'm going crazy trying to get this simple thing to work. it's a simple loadMovie into a clip. The clip i'm loading plays these funny christmas songs i made. See the photo below of the "click hear" button and the script. It works in netscape no problem and it also works on IE but only on my desktop. when its on the server it doesnt work! aaaarrrrgghh!! why why why??


please, for the love of god. tell me what i'm doing wrong!

Pehaps it's just my compter here or my browswer for some reason. Perhaps you could test it on yours. here is the link:

http://www.threebrain.com

Thanks

View Replies !    View Related
Help Loadmovie Won't Work
OK,

So I've been making some needed updates to my Flash site such as changing the background image and getting rid of a sound loop I no longer wanted in the movie. I've also been consolidating the Artwork section of the site by loading an external movie called Photoscroller.swf.


This is the loadMovies syntax I used:

Photos.loadmovie("PhotoScroller.swf ");


I put that code directly on the actions layer of the main timeline where the Artwork section comes into play but I can't see anything. Help me.

View Replies !    View Related
Loadmovie: Swf Won't Work
Heyas,

FlashMX question here:

I have a main movie with a timeline and i'm trying to load an external swf movie into a clip placed on the stage of the main fla. i did that 100 times before and for the first time it's just not working!
my command is:


Code:
_root.insside.loadMovie("projects.swf");
and i've also tried:

Code:
loadMovie("projects.swf", _root.insside);
weird: i've tried loading a jpg image instead of the swf with the same lines of code and it worked. i've removed the ".insside" and tried to load the movie directly in _root and it worked as well. But it doesn't load in my "insside" mc. Plus, the rest of the movie (the buttons of my menu) slow down, like if it was trying to load it but the file was too heavy, while it's only 100k. I do have a lot of code in that swf, and i'm using a php page to get data dynamiclly into it, could that slow everything down so that it doesn't show? But why would it show in my root then?

please somone nice help me!!

View Replies !    View Related
[CS3] [AS 2] Loadmovie Don't Work
Hello.
In my flash file i'm loading another swf with loadmovie.
I have the path to where the file is in a variable but i won't work.
The variable is built like this (simplified version)

Code:
_root.variable1 = folder1;
_root.variable2 = folder2;
_root.path = [_root.variable1] + "/" + [_root.variable2];
_root.path_true = path + "/" + "myswffile.swf";
loadmovie (_root.path_true, something);

But the real thing is if i do like this it will work

Code:
loadmovie ("folder1/folder2/myswffile.swf", something

And that is exacly what the variable is (i have checked in the debugger)
does anyone know what the problem can be??

View Replies !    View Related
Loadmovie: Swf Won't Work
Heyas,

I have a main movie with a timeline and i'm trying to load an external swf movie into a clip placed on the stage of the main fla. i did that 100 times before and for the first time it's just not working!
my command is:


ActionScript Code:
_root.insside.loadMovie("projects.swf");
and i've also tried:

ActionScript Code:
loadMovie("projects.swf", _root.insside);

weird: i've tried loading a jpg image instead of the swf with the same lines of code and it worked. i've removed the ".insside" and tried to load the movie directly in _root and it worked as well. But it doesn't load in my "insside" mc. Plus, the rest of the movie (the buttons of my menu) slow down, like if it was trying to load it but the file was too heavy, while it's only 100k. I do have a lot of code in that swf, and i'm using a php page to get data dynamiclly into it, could that slow everything down so that it doesn't show? But why would it show in my root then?

please somone nice help me!!

View Replies !    View Related
LoadMovie Cannot Work
Hi,

I have a problem. I am able to load an external MovieClip into the stage with the position I want, but it did not play when I Test Movie. Can anybody guide me regarding this?

This is the code:
_root.createEmptyMovieClip("container", 1);
loadMovie("scroller.swf", "container");
container._x = 5 ;
container._y = 20 ;

View Replies !    View Related
Of Course LoadMovie Does NOT WORK Help
I tell ya everytime I try AS it's like the first freaking time. I HATE IT!

I can't get the loadmovie to work. I searched here but it doesnt' work.

Here is the code:


Code:
on(release){
this.gotoAndPlay("ribbonCutting");
this.photoContainer.loadmovie("blueRibbon.swf");
//photoContainer.loadmovie("blueRibbon.swf");
}
I'm having it to go the ribbonCutting label where the MC container is.

Thanks for your help.


**********************************************************
I got it to work. First I put the SWF file where the other SWF files were.
Then I made changed the code to this:


Code:
on(release){
this.gotoAndPlay("ribbonCutting");
this.photoContainer.loadMovie("blueRibbon.swf");


}


So it was just a matter of putting the SWF file in the correct folder.

View Replies !    View Related
LoadMovie Won't Work
[as]
_root.holder_mc.loadPic("lamp1.jpg");

MovieClip.prototype.loadPic = function(myPic) {
loadMovie(myPic, this); //doesn't work
this.loadMovie(myPic) ;//doesn't work

}
[as]

View Replies !    View Related
Loadmovie Cant Work With Movieclip?
hi there,

Let says i have a movieclip1 in the scene, how can i load another movieclip to replace this movieclip1 in the scene?

This function can work by using the Loadmovie scipt if we are going to load a swf file into the movieclip..but how can we make it work if we want to load another movieclip, not swf file? Thank you.

View Replies !    View Related
Loadmovie - Why Wont This Work?
Hi, I'm trying to use loadmovie with a variable as the path name :-

fromfile = "mymovie.swf";
loadMovie ( fromfile, 1);

Why won't this work? I don't get any error messages or anything. The files defiantly in the correct directory (there would be errors if it wasn't).

What's the story?

View Replies !    View Related
My LoadMovie Wont Work :(
on (release) {
loadMovie ("flash.swf", "flash");
}
Why wont this work?
the flash.swf file loads no problem on my computer, but it wont load the movie when uploaded to the net
I have tried a few things but still no joy. I am missing something?
And yes i do have a blank mc named flash, within the movie containing the buttons.


Cheers

Paul

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