Mac IE LoadMovie ARGH
I have this movie that I built using MX and on PC it works fine everytime. It loads paths to jpegs and some text. After it loads the jpegs and displays them using loadMovie. Like I said no problem on the PC, when I test it on a mac, the images don't show up. However, when the movie is finished playing, I use control click to open the flash menu and click 'play' if I let the movie go through till the end and do that again the images will magically appear.
What is it that triggers the images to appear or dissapear? Is there some kind of fix to this problem?
Here is the url: http://hve2.karo.com/
Frustrated
ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 06-02-2004, 04:27 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
ARGH Loadmovie Function
I've imported a .swf from FlashTyper into the library and i've used the code
loadMovieNum("flash.swf", 2)
to get the swf to play.
SIMPLE.
But how the heck do you move the swf??? I've tried the setproperty options, but no Joy.
Could someone be kind enough to give me a blow by blow account of how to do this.
I'm using MX. It'd be most grateful.
Argh...
my preloader is driving me crazy!
I've got a movie that is supposed to work as both a loader of my game and then as the title of the game...
http://www2.norsjo.net/mirandir/hh.html
oh... the numbers up in the left corner is the bytes loaded...
the funny thing is that the first time the movie is run over the internet it doesnt work at all... then if you press reload it all works... que? what?
it worked erlier... The server is running slow just now... but that shouldn't make my loader give up just like that or?
here have look at the fla-file:
http://www2.norsjo.net/mirandir/hh.fla
/Mirandir
Argh
Hello
I've got a movie clip full of button instances. I want to load an external swf file when i click on it. I'm using this code.
Code:
on (release) {
_root.content.loadMovie ("home.swf");
_root.content._x = 150;
_root.content._y = 150;
}
But when i play the movie, i always get this message.
Code:
Mouse events are permitted only for button instances
on (release) {
Argh Not Sure Which Way To Go
I'm making an avatar builder with movieclips holding various parts; eyes, hair etc. When the user selects a different hair it goes to the appropriate frame of the hair movie to display it.
My problem is the .fla is starting to slow down as I add more and more options... 84MB and rising! The .swf is acting fine, it takes a little while to compress for testing but once that's done its highly responsive and a cool 480KB
So I'm at a crossroads... do I carry on adding to the .fla OR do I rip up the different components into other flas and use shared libraries?
I guess what I want to know is would shared libraries help the fla runtime at all... or would they actually hinder it as it will have to keep asking other movies what to do? Also does Flash hit a point where you stuff it so full of symbols that it can't cope?
I need to be totally sure which route to take or I could lose weeks/mths of work... please advise!
*argh* Netscape
I have a problem with a movie clip that contains a "loadmovie" not showing up in Netscape? I've had this problem in the past...works fine in IE (of course).
Anyone have any suggestions?
Thanks
Run Away From The Mouse...argh
Hi there,
Does anyone know how to or where i can find an example...i've been searching high and low for it.
I basically want this element on the screen...when you get close to it ..it should run off in a random direction and distance from the mouse....and slow down towards the end..
any help any ideas?
stoo
Buttons Argh
hi i have a simple question. I have a button for a flash signature how would i make this button pop out a menu with email addy website and aim screen name? what is the coding? and do i need new frames for each one?
thanks.
Menus...Argh
I was wondering..i've been searching the web...but failed to find something very speciifc...
I want to make a menu that is able to for one have submenus...but I don't want to click on something to show the submenus...
I want something so that when you however over a portion of the menu, the submenu will show/pop up...here's an example...
http://www.nomadworld.com
notice how when you hover over the links with your button, a submenu will show up...i want to do something like that with flash...got any ideas...or any known tutorial places where I could get the code off of...
I have the javascript code...but I just don't know how to transfer it into flash...i'm rather a newb....so help would be much appreciated...
ffyinet
FC Scrollbar-argh
Hi,
I don't know where I'm messing up, but I'm SICK of it!! I've been trying and trying to get the Flash component to scroll on a dynamic textfield(loading external .txt file into that textfield).
The text is loaded into the textfield fine, but the scrollbar just DOESN'T work!
so I need a favor.
If ANYONE has a file which loads external text, and that text has a working scrollbar, could you please post it here?
thanks. Please try&zip the stuff(otherwise, you'd have to upload the .txt seperately, then the .swf/.fla. just zip the entire folder)
Thanks!!!
Argh, Stupid Cd-rom...
I am going nuts. I really need to keep the CD-Rom spinning for the duration of my Flash movie. It cuts the load time of the video clips to about a third. I have tried using setInterval to load a small swf using loadMovie every 5 seconds, but it just caches the small swf and then quits accessing the CD.
Anyone have a trick to keep the CD spinning? My boss is not happy with the wait time. Some people are never satisfied.
Thanks for any and all help.
Argh Which Version Do I Buy?
I have seen many different posts on the subject on the release of Flash MX 2004 and how many problems it is causing.
However, I'm jut about to buy myself a copy of Flash and am wondering what to do. I've seen a lot of people mentoning loads of problems with MX2004; however if I purchase Flash MX, I'm going to have to upgrade to MX2004 at some point anyway aren't I?
So I guess my question is which one should I go for?
Very confused
Any advice will be helpful
Deadhands
ARGH Preloaders
I went though the preloder tutorial multiple times and I still ened up with 21 errors. The scene titles match and everything. Here's some of my code. Please explain the obovious part I missed.
Frame1:
If Frame Is Loaded (Transform, 1)
// if the last frame of the movie is loaded
Go to and Play (3)
// go to and play the movie
End Frame Loaded
Frame2:
Go to and Play (Preloader, 1)
// keep looping in current scene to first keyframe until movie has loaded
Argh Seems So Simple
Ok, im not getting what im doing wrong ...
Its so damn simple, but it just refuses to work, here goes:
This is the Hierarchy of items:
mainMovie <- movie
-Button1 <-button
-Bordstarter <- movie containing controls for Bord1
--bord1 <-movie, containing the frames i want to controll
Bordstarter had a frame that says:
Code:
_parent.Button1.bord1.gotoAndPlay(2);
But it doesnt work at all! Am i missing something here? its so simple ..
Please help me out, Thanks in advance!
Argh Dummy Q
ok how do u link a button to specific frames in a movie clip? (
Numbers Argh
i need to isolate the number in a instance name, so that i can use it to trigger other items
the instance anmes range from strike_1 to strike_999 and i need a piece of code that can accept this and return just the numbers
any ideas?
Argh Looping
i'm having a bit of trouble in a flash assignment i'm doing. i'm making a flash website. with my second page when i publish preview it in html it doesn't loop. and i'm cool with that. but when i view my first page in html and click on the link to get to the second page the second page loops. i don't understand why it's looping when i view it through my first page.
basically how do i stop a loop? i've tried stop(); in the last frame (and tried the first frame also) but it still loops. what's up?
liz
i'm using flash 8
F8 Bugs - ARGH
I am experiencing the,
"Error creating Flash movie file.
Destination directory does not exist.
Change your publish settings"
error message. This happens without any change in what I am doing, or any change in directory. I am working with a network. This does not happen all the time, but it happens often enough that I now have several copies of all my files in several locations, because I have to save to my desktop, then copy and paste the SWF into the correct folder in order to make things work.
Has there been a patch developed for this bug?
Argh This Is Frustrating Me Help
Hi guys,
I've got a template monster template, and its great. Im using Flash 8 to edit it, but the one problem im having is that when i put alot of text on a page, it trails off and doesnt show the rest. Now being the thoughtful man that i am, i though 'Well I know what will fix this, a scrollbar!"
It sounds simple doesnt it?
Well im having great difficulty. Ive managed to find a pretty sweet scrollbar that runs off an XML file, and it does all I need. Its in .fla format. But what i need to do is somehow stick it on my site. I dont see anywhere where i can just put it in. This is the scroll bar i want to insert into my site: Dynamic Nano Scrollbar
Please help guys, im happy to explain in more detail if needed.
Cheers,
Logan.
[CS3] Just Wanna Nav... Argh
I'm not completely new to Flash but I'm much more of a designer than I am a programmer... so maybe this is simple but I don't get it... and I'm now on my 6th attempt from scratch. argh...
I'm using CS3 and programming for AS2, player 9.
I've got a vertical scrolling nav that has to fit in a defined space so it has a mask over it. The nav buttons are all movie clip based and all sit within another movie clip which acts as the container for everything that scrolls.
The buttons react to OnRollOver fine with or without the mask in place... but when the mask is in place all of their dynamic text disappears.
I'm also having a heck of a time getting these buttons to move the timeline (i.e. react to onPress)
Any insight or assistance would be greatly appreciated and probably keep me from pulling out the rest of my hair.
Thanks...
Argh... Design....
I can't seem to nail any ideas down as far as adding colour to my design. I like the design, its just the colour. Any examples that might inspire me? I looked through the "cool sites" section, nothing. I'll post the design:
Buttons (Argh)
Hello,
I was wondering how I could make a button stay DOWN once I have clicked it.
Being more specific, I have a nav bar and i'm using the same button instance for every link on the navbar (home, about, contact, etc) but each button obviously has a different script assigned to it.
How can I make a button, once pressed, stay down, then when I press another button from the navbar, it enables the button that stayed down and disables the one I just pressed? Also, I'd like to know if its possible for me to have the button stay in the "stay down" button mode once clicked... What I mean by that is once I press the button, I'll get a shade on the button indicating its already pressed.
Thanks for you time
ExernalInterface (argh)
I managed to get my flash to call an external js function successfully, but can't get a js function to call back in. Hoping I'm just missing some dumb little thing. I've looked at a bunch of samples and can't figure it out...
Flash movie name, id in the HTML is listenInLibraryPlayer
In the Flash movie, I have...
import flash.external.*;
function newMedia(idNumber){
testText.htmlText = idNumber;
}
ExternalInterface.addCallback("sendID", null, newMedia);
In the HTML head I have code I got from adobe.com...
<SCRIPT LANGUAGE=JavaScript>
function callExternalInterface() {
getMovieName("listenInLibraryPlayer").sendID(str);
}
function getMovieName(movieName) {
if (navigator.appName.indexOf("Microsoft") != -1) {
return window[movieName]
}
else {
return document[movieName]
}
</script>
In the HTML body I have...
<form name="inputValue">
ID Number <input type="text" name="x" size="10" ><BR/><BR/>
Enter 1 or 2.
</form>
<form>
<input type="button" onClick="callExternalInterface()" value="Call Flash Function" />
</form>
Argh FLASH
dis is startin to anoy me
lol
i wanan start flash but i cant get any good forums or any help lol
i juss wanan noe how did u's learn how to do it lol
i got like 100 forums none r any help they r all confusin any 1 can help ??
Argh SetInterval
I've got this button press code:
Code:
on (release) {if (_root.portfolio == undefined) {
myTimer = setInterval(visibility, 1000);
function visibility() {
trace("hello");
}
_root.createEmptyMovieClip("subLoaderMC", 1);
subLoaderMC._x = 0;
subLaoderMC._y = 0;
//
_root.subLoaderMC.loadMovie("flash/subMovies/portfolio.swf");
//set variable "portfolio" to "on"
_root.portfolio = "on";
_root.windowGlowMC1._visible = 0;
_root.windowGlowMC3._visible = 0;
_root.windowGlowMC4._visible = 0;
}
}
I can't seem to get the word "hello" to appear in the output window. Not sure why. Any ideas? It works when it's not in the if statement.
This has been fixed:
[code]
on (release) {
myTimer = setInterval(visibility, 1000);
function visibility() {
trace("hello");
}
if (_root.portfolio == undefined) {
_root.createEmptyMovieClip("subLoaderMC", 1);
subLoaderMC._x = 0;
subLaoderMC._y = 0;
//
_root.subLoaderMC.loadMovie("flash/subMovies/portfolio.swf");
//set variable "portfolio" to "on"
_root.portfolio = "on";
_root.windowGlowMC1._visible = 0;
_root.windowGlowMC3._visible = 0;
_root.windowGlowMC4._visible = 0;
}
}
[CODE]
The function can't be in the "if" statement.
Argh, Again. Video.
okay, so i finaly get my _root problem fixed, now another stresser is pressing me.
go to http://www.geocities.com/macneilslt/
check out the video section.
when the video swf loads, you can click the first one and watch the vid..or the second one and watch the vid..but after you click either or, you have to refresh the video page before you can watch the other one...
argh.
Argh Why Won't This Work?
I'm using Jubba's actionscripted text tutorial and it works fine. I've added new movie clips with the same code but just added '2' onto the end of the variables and nothing happens... I've checked over everything and I can't find out what's wrong
Please help. Thanks.
Depths. Argh
Hi everyone.
I have what should be a pretty simple request for you script-masters!
I have a series of background MCs, all different coloured gradients (pretty!), and a series of corresponding buttons elsewhere on the stage.
On a press of each button I would like the corresponding background MC to come to the top of the pile of backgrounds, then fade in above the previous background. The background that was previously on top, needs to stay next-to-top. If the corresponding background is already at the top of the pile, then nothing needs to happen.
At the moment I am using swapDepths(1) which brings the target to the top no problem, but it may also send the previous top layer MC way down the pile.
I hope this makes sense, I think this actually quite simple but I am lost for a solution.
This is what I'm doing at the moment:
on (release) {
if (_root.BG.colour2.getDepth()<=0) {
_root.BG.colour2._alpha = 0;
_root.BG.colour2.swapDepths(1);
_root.BG.colour2.tween("_alpha",100,2,"easeOutCubi c");
} else {
trace("no");
}
Any help would be appreciated.
Components... ARGH
Hi!
I downloaded the component for the status bar (pre-loader) and I can't seem t cause it to come up in my components list or as an available library. Can anyone help me out?
Jason
Argh FLASH
dis is startin to anoy me
lol
i wanan start flash but i cant get any good forums or any help lol
i juss wanan noe how did u's learn how to do it lol
i got like 100 forums none r any help they r all confusin any 1 can help ??
Argh Fonts [again]
Please can someone help me embedding fonts in the library??
It works fine until for some unknown reason, switches to times new roman (windows default font (why on earth did they choose that?)). Does anyone know why?
http://www.lawrencejob.co.uk/index.php
ARGH...buttons To Get Url
I don't really know what I'm doing so please help me...my boss asked me to create this thing.
Ok...I have a flash movie with a "skip intro" button that is supposed to jump to our website but I'm obviously doing something horrendously wrong because when I test the movie the whole thing flashes like a strobe light.
First of all...where do I put the actionscript? On the symbol? On the instance of the button on the stage or in the frame?
AND very important...what should the script be?
I've tried onRelease but again...strobe effect.
I'm begging for someone to put me out of my misery on this one...Thanks!
ARGH (why Me) This Is Driving Me Nuts
Ok...
Right now I have a Flash movie with a logo being revealed from left to right using a mask, a few buttons tween from behind an object to become visable, & some random graphic effects happen somewhere else on the stage.
Right now all of this happens at once. I'd like to break these up in the timeline so they happen one after the other.
The problem is this...
Let's say I have 3 buttons. Each tweening from behind and object, revealing themselves. Each tween takes 5 frames to complete. I have button #1 going from frame 1 to 5, button #2 going from frame 6 to 10, & button #3 going from frame 11 to 15.
When I test my movie, the first button loads just fine....then the 2nd loads only half way....and the 3rd doesn't show up at all!!
I have no idea why this is happening and I have things like this in a previous flash movie I made and that one works fine. (and yes I checked the older movie to see if something was noticably different and I couldn't see anything!)
Here's a 2nd problem which is pretty much the same. I had my logo under a mask. The mask was on the stage and the logo was off the stage to the right, with a motion tween making it "fly" in from right to left.
For whatever reason the damn thing flys in 75% of the way and then stops!
I left the logo on the stage and tweened the mask instead...moving the mask to the left and having it come over the logo from left-to-right. The mask is still on the stage and when I test this version, everything works.
It just doesn't make any sense and right now at 5:30am my brain is to damn fried to deal with this anymore.
By the way, everything works when I test the movie in the editing mode. The problems pop up once I Publish or use the Test Movie option.
You can see a screen capture of part of my timeline here if it'll help:
http://www.geocities.com/dukeofcrydee/flash.jpg
Asctionscript Movement... Argh
okay.. im nearly there but im just lacking a little bit of scripting... i have a script that will move an object to a certain place on the screen when i roll over another object. this bit works fine...
what i want to do is to get it to go back to its original postion when i roll off.
this is the script i have at the moment...
Code:
onClipEvent (load) {
this._x = 192;
endPosx = 203.1;
movex = 0;
this._y = 41.8;
endPosy = 128.0;
movey = 0;//the above initalises the forward motion
my_y = 41.8;
myposy = 128.0;
myx = 0;
my_x = 192;
myposx = 203.1;
myy = 0;//the above initalises the backward motion
}
onClipEvent (enterFrame) {
if (_root.forward) {
movex += (endPosx-this._x)/50;
movex *= 0.82;
this._x += movex;
movey += (endPosy-this._y)/50;
movey *= 0.82;
this._y += movey;
}
if (_root.backward) {
myx += (my_x-myposx)/50;
myx *= 0.82;
myposx += myx;
myy += (my_y-myposy)/50;
myy *= 0.82;
myposy += myy;
this._x = myposx;
this._y = myposy;
}
}
the part at the very bottom kinda makes it work but the object just jumps back when you roll of rather than movin back...
to be honest i think that the soloution is in somehow reversing the bottom bit of code somehow.. check it out and see what you make of it.. all i want it to do is for the object to move back and forth when the user rolls on and off the seperate button...
any help any one can give would be greatly appreciated...
mr tim
...action Script....need.....help.....please......argh
ok. I have flash mx right. I have created character animation. Got that down pat. I have written a story board and even created a back ground and enemies. These are all animated. All I want to do now is incorporate all of these things into a side scrolling single platform game. I need the actionscript for jumping, keyboard directed movement, weapon fire, and so on. I have taken the tutorials on this site. Nothing seems to help. If someone would like to co-produce this game with me and help or pretty much do all the actionscript, I would be more than happy to work together. Actionscript sucks. By the by....thanks for the replys.
[Edited by Trabonius on 09-07-2002 at 12:16 PM]
Components + PHP + MAILFORM = ARGH
I have a working mailform that loads into the main swf from another swf. The problems I have are:
1) getting components to work at all!
2) if a user hits "tab" they will go down the list of input boxes instead of just hitting all text boxes.
Here is the the site:
www.hawthornemillcreek.com
(built by me NOT designed)
Any help on this would be much appreciated. I've searched like a madman trying to get any mailforms with components, there are none I could find. I will provide any code via email since its easier for me.
Thanks,
B
www.subshape.com
Argh...text Question
okay, this should not be difficult...
I have a dynamic text box, which is currently set to render as html.
i'm pulling in a record from an access db via coldfusion, the text that i'm pulling in are song lyrics, and therefore have to have specific line breaks.
but, for some reason, i can't make it work. no matter what i try, the output is always double spaced. the only thing that works is changing the line spacing in the formatting for the text box to a negative #...but i don't want to do this because it looks bad when you try to select the text...maybe i'm just being picky, but i don't like it. i'd rather one of these ways just work.
at first, i was parsing the text in coldfusion and replacing carriage returns with a <br>, and then this altered text was held in the DB. that wasn't working so i tried %0D. that didn't work. So i even went into the db and retyped lyrics myself, putting in <br>'s...then %0D's...i have tried both of these with every option in the text formatting possible - HTML on/off, single line/multiline no wrap/multiline.
anyone have any idea what is going on? it's driving me nuts!!
thanks in advance!
Variables Gone Evil ...argh
alright flash is being mean to me
im trying to use three simple variables but they wont work! i know im doing it right but flash has screwed up. honest.
when i try to check the variable... lets say if (jumping = yes) { flash treats it as jumping = yes; so whenever i try to check the variable it changes! how can i use variables if i can't ever find out what they are
ARGH Duplication Problem
Why won't this work???
_root.hit++;
duplicateMovieClip (_root.enemies.point, "point" add _root.hit, _root.hit);
setProperty ("point" add _root.hit, _x, this._x-40);
setProperty ("point" add _root.hit, _y, this._y-75);
The Setproperty command isn't working!
ARGH HTML And Txt-files
Hi,
can somebody tell why reading HTML-code for a dynamic textfield will not work when loading it from a txt-file (or asp, php, whatever, ...)
What can I do to make this work?
thank you
kGP
ARGH, Can't Find The Solution
I'm gonna post it here cus in the videoforum noone knows the answer...
I import my avi to my library, next I drag it to the stage.
I then test my movie but then the movie doesn't play, I only hear the sound ....
Does it maybe has to do something with my codecs ? Although they are all right installed.
Thanks in advance
greetings
Camme
Some Reason Its Not Working.. Argh..
www.e54interactive.com/compare.zip
if you have a sec and can take a peek at this in action, maybe im missing s-thing really obvious, id really appreciate.
what im doing is loading the date from a text file, trying to compare with the current date and showing and object based on that result, for some reason its just not workiing.. id relaly appreciate if you could point me in the right direction..
thnaks
GRRRRR ARGH(import .txt)
My Dynamic Text field does not load .txt files.
My code, as far as I can tell, looks exactly as it should. I've spent the last two hours looking through forums checking and double-checking stuff that people supposedly easily overlook(like the text color, or resizing the textbox with the deform tool). Nope, not even the slightest hint as to what may be going on.
Also, why can't I find the Scrollbar component?
Code:
Frame 1:
newsData = new LoadVars();
newsData.onLoad = function(){
newsbox.text = newsData.news;
}
newsData.load("news.txt");
stop();
Target Paths Argh
I am having some problems with my target paths, and the Flash Mx help really sucks at explaining it.
My hierarchy:
Root
----Child
---------Sub Child 1
---------Sub Child 2
Ok so that's the hierarchy, now for how the instances are set up.
Root - has an instance of Child
Child - has one instance of Child 1 and one instance of Child 2
Problem: I need to know the syntax for the following:
A button in Child 1's movie to tell the instance of Child 2 (within Child) to gotoandplay a certain frame label.
Image Woes...argh
Right.. so im trying to make a menu system type thing and i got the images drawn (in photoshop) and ready to put into flash.
But heres my first problem... theres a freaking WHITE BOX surrounding where i cut the image from Photoshop! (even when ive erased the white background IN Photoshop). What...the..hell? How do i get rid of that?!
2nd... I tried a different approach in getting my images in flash without the blasted white box. I saved it was .png with no background and imported it. It works..no white box..but now im hit with ANOTHER problem i cant figure out. How in the blue hell do i seperate the images i made for buttons and other things so i can use them seperately? (Everything was drawn together..so its 1 file/image containing the things im gona use for the flash.) I try the lasso but it doesnt work...man this is giving me a headache..
thanks for the help.. (man i hate feeling so noobish..)
Gradients And Masks (argh)
how the heck does one get a gradient mask to work? what am i doing wrong?
so i create a gradient with one color 0% transparency, the other 100% - and yet when i mask my object, it masks the entire object like it's one solid color not even recognising the gradient.
ARGH---loadvariables NOT WORKING
I dont think there's a problem with my A.S. but im posting this here b/c it involves A.S....
I have an swf that loads variables from a php file IN THE SAME FOLDER..
now, when I begin loading, i set the value of loading to "YES"..and, at the end of the php, i add "&loading=NO"....
Now, if you visit http://www.afterhighschool.ca/flas/homenavnotext.html it works fine (wait for about 3seconds and the variable on the left changes to NO and you see a username and textbox)
BUT, if i take that same html that created the first one, and place it on a page in the SAME DOMAIN, it doesn't load...
http://www.afterhighschool.ca/finances/textbooks/
WHY NOT?
I know that flash has some long rigmarole about not loading variables from an external source, but this isn't an external source, its my OWN domain....and the swf and php file are in the same folder...
PLEASE HELP
|