Bug Or My Fault
Hi, this problem didn't i have in Flash MX but it came up now when i used flash mx 2004.... if u have a full scene with animations and stuff... and make a symbol there, for example a movie clip.. and in that movie clip you make some more animations.. like a buttons and u know further.. but even if u make an action in the movie clip that says STOP() the move clip animations plays on when you play the whole scene!! why is it that way...never been that way before... hmm... please help
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
If And Else Fault Maybe?
My code won't work.. and i don't know why..
Code:
onClipEvent(load)
{
if(_root.mySO.data.stored)
{
text = _root.mySo.data.tex;
} else {
_root.mySO.data.stored = true;
text = texmex;
}
}
onClipEvent(enterFrame)
{
_root.mySO.data.tex = text;
}
variables text and texmex is both in the MC that this code is in.
But this doesn't work!? is anything wrong? i just want text to be replaced with texmex if text hasn't been leaded before..
plz help me! =)
thx in advance
Bug Or My Fault
Hi, this problem didn't i have in Flash MX but it came up now when i used flash mx 2004.... if u have a full scene with animations and stuff... and make a symbol there, for example a movie clip.. and in that movie clip you make some more animations.. like a buttons and u know further.. but even if u make an action in the movie clip that says STOP() the move clip animations plays on when you play the whole scene!! why is it that way...never been that way before... hmm... please help
[F8] UIScrollBar Fault - HELP
Hi,
does anyone know how to get a UIScrollBar to work? It worked on a Imput Textbox last time but this time I am using a Dynamic Textbox, which had the infomation entered through a loadVariables from a text (.txt) file.
If the text which was loaded over used the textbox the UIScrollbar doesn't work either.
Or can anyone supply a tutorial to scroll the dynamic text through with a homeMade scrollbar?
Thanks
Tongxn
[help] Please...preloader Fault?
hey...
Just wanted to know if any of oyu could shed some light onto why my preloader isn't working corrently?
I've loaded my "portfolio.swf" file into a target MC in my main movie called 'main'. The preloader for my portfolio movie works fine when testing locally on my pc, but when I upload it to the web it doesn't work. The content doesn't preload properly, and then after a minute or so when the movie is loaded, up pops my content. Whereas if i test locally, the preloader works fine...
any ideas?
Here's my preloader code on the portfolio.swf
frame1
code:
loadpercent = "0%";
loadBytes = "0 of " + Math.round((_this.getBytesTotal() / 1024) * 100) / 100 + " Kb";
frame2
code:
loadPercent = (Math.floor (_root.getBytesLoaded() / _root.getBytesTotal() * 100) + "%");
loadBytes = (Math.round((_root.getBytesLoaded() / 1024) * 100) / 100 + " Kb of " + Math.round((_root.getBytesTotal() / 1024) * 100) / 100 + " Kb Total Loaded.");
if (_this.getBytesLoaded() == _this.getBytesTotal()){//Check for finished loading
//If loaded, final update to fields
loadPercent = "100%";
loadBytes = (Math.round((_this.getBytesLoaded() / 1024) * 100) / 100 + " Kb of " + Math.round((_this.getBytesTotal() / 1024) * 100) / 100 + " Kb Total Loaded.");
gotoAndPlay("transition", 1);//Where to go once your movie is loaded
frame3
code:
gotoAndPlay(2);//Loops back to continuosly update text fields
Button Fault
I got this AS in my flash:
Code:
on (rollOver) {
play()
}
on (release) {
_root.tekstengroot.gotoAndPlay("welkomhiswa")
_root.knopaanmelden.gotoAndStop(1)
gotoAndPlay("actief")
}
on (rollOut) {
gotoAndPlay("back01")
}
when I release the button
Code:
_root.tekstengroot.gotoAndPlay("welkomhiswa")
and
Code:
gotoAndPlay("actief")
is working perfect... but the second line:
Code:
_root.knopaanmelden.gotoAndStop(1)
isn't working..
who knows why?...
Actionscript At Fault ?
I've created a nice rotating graphic for a company welcome board. They've also requested scrolling text to scroll up the screen showing all visitors name and company. This I've done via a simple external .txt source.
Both work fine independently, but as you can see from my .fla when combined in one animation the scrolling text doesnt exactly scroll.
Please help, the below link is my .fla file for you guys to take a look.
http://www.cornelius.co.uk/Cweb.nsf/Welcomeboard.fla
text doc:
http://www.cornelius.co.uk/Cweb.nsf/visitor.txt
Any help would be much appreciated.
Fault In If Statement
Hello everybody who can help me out?
I'm creating a little game where you have to put a crikel and a square in teh right place before a button appears. Now I got everything working but something goes wrong with the if statement where a movieclip should be loaded when the square and the cirkel are in the right place.
Code:
// Maakt hoofdmovieclip die de container vasthoudt
var Cirkel:MovieClip = createEmptyMovieClip("Cirkel",this.getNextHighestDepth());
//Plaatst het vierkant random binnen een vlak
Cirkel._x=40+Math.random()*(300);
Cirkel._y=120+Math.random()*(225);
// Maakt in movieclip in hoofdmovieclip "Vierkant".
// Hier komt het plaatje in te staan.
Cirkel.createEmptyMovieClip("container_cirkel",this.getNextHighestDepth());
// Gebruik Moviecliploader om het plaatje in te laden.
Cirkel.container_cirkel.loadMovie("Cirkel.png");
// Zet drag and drop funcite op cirkel movie clip
Cirkel.onPress = function(){
startDrag(this);
};
Cirkel.onRelease = function(){
stopDrag();
if(this._x > 405 && this._x < 454 & this._y > 271 && this._y < 321)
{Cirkel._x = 429; Cirkel._y = 296; Cirkel_text.text = "Cirkel goed!!"; plaatscirkel = true;}
else {Cirkel_text.text = "Cirkel fout!!"; plaatscirkel = false;};
};
//buttons aanroepen
if (Vierkant._x == 429 && Vierkant._y == 134 && Cirkel._x == 429 && Cirkel._y == 296){
this.createEmptyMovieClip("Menuknop",this.getNextHighestDepth());
Menuknop._x=40;
Menuknop._y=160;
Menuknop.createEmptyMovieClip("container_menuknop",this.getNextHighestDepth());
Menuknop.container_menuknop.loadMovie("Menuknop.png");
}
It is something with this line that doesn't work
Code:
if (Vierkant._x == 429 && Vierkant._y == 134 && Cirkel._x == 429 && Cirkel._y == 296){
Maybe I'm making the fault somewhere else but I don't know
Comments are in Dutch sorry for that
V5 Bug, Server Problem, Or My Fault?
This is driving me nuts....I'm trying to load a html formatted text file into a flash 5 movie textbox using the actionscript below -
loadVariablesNum ("http://etc etc etc /text.txt", 0);
It won't work unless I either,
a) test the movie from my hard drive, substituting the urls for the file name 'text.txt'. or
b) resign myself to not getting html formatting and saving the movie as Flash 4 before uploading and testing it (remembering to untick the html option in the textbox, since it ain't supported in 4....)
Why won't the V5 html bit work online??? As soon as I upload it the action just brings up a new browser window containing the same page. I've checked and double checked the links.
Is this a flash 5 bug or something?
Flash MX Text Fault
Hello people,
I got a very confusing problem and I'm just wondering if anyone else has had thr same.
Basically, I have 2 dynamic text fields into which I load recipes, the content is loaded in by XML. Now all this works fine, Nice! BUT!! For some reason in a few cases a line will add a line break without me wanting one. So for example instead of having:
This is my line of text.
I get:
This is my line of
text.
The text field is easily wide enough to fit the whole line on and making it bigger makes no difference. I've checked the lines that do it in the database.
Has anyone at all had the same or similar problem??
Cheers for your comments guys, and remember we give instant help at ex-ess.co.uk (my homepage) on development and design issues. So if ya in need of a quick fix pop along and speak to someone via my Ex-Ess Chat (Top left link).
Ex-Ess
Media Controler Fault
hi all
when i insert a media display and associate a media controller to view a FLV movie in a slide,when i navigate through the slides and then returing back to the slide which contains the media display,the FLV movie not playing and gives me a blank area,it means the movie is displayed one time then it is not displaying anymore...plz need help
Flash 5 Preview Fault
i have been running flash 5 on my computer for a while with no problmes but recently it has decided that when i preview or publish it will not do it and gets half way and then crashes.
Is this a common problem? or is it problem with my copmputer and does anyone know of a patch or something to help
thank you
dan
FMS2 On RH3.9 Segmentation Fault
Hi,
I'm running FMS2 on Red Hat Enterprise Server 3.9 (because it's older software which we no longer update, we just use).
Here is what happens:
brad@web0 fms]$ sudo ./fmsmgr server fms start
Password:
Server:fms command:start
NPTL 0.60
Starting Macromedia Flash Media Server (please check /var/log/messages)
./server: line 132: 13336 Segmentation fault nohup ./$server -console $@ >/dev/null 2>&1
[brad@web0 fms]$
Any idea what this means or if I should be concerned?
The number before the word 'Segmentaion' changes when I restart the server, but the line # is always the same.
Brad
[Fault] OnMouseOver In Menu
I'm trying to make the menu like on the feyenoord site http://www.feyenoord.nl (in the right-top corner).
I think it was simple but the onMouseOver text in my Menu wouldn't stay, when the mouse isn't more on the text.
If my problem is not clear look at my .fla file (its only a testing fla at the moment its not done, and only the first button works)
If somebody can help me to make that menu it would be great
Thx in advance
Oh yeah english is not my first language
[Fault] OnMouseOver In Menu
I'm trying to make the menu like on the feyenoord site http://www.feyenoord.nl (in the right-top corner).
I think it was simple but the onMouseOver text in my Menu wouldn't stay, when the mouse isn't more on the text.
If my problem is not clear look at my .fla file (its only a testing fla at the moment its not done, and only the first button works)
If somebody can help me to make that menu it would be great
Thx in advance
Oh yeah english is not my first language
Invalid Page Fault ?
o/s - win 98 se
IE version 6.02xxxxx
--------------------------
I downloaded and installed
MAcromedia FLASH MX professional DEMO version
The installation proceeded excellenty without a hitch
but when I tried to run it
it says "This program has performed illegal operation"
FLASH caused an invalid page fault in
module FLASH.EXE at 0187:00c45437.
Registers:
EAX=00000000 CS=0187 EIP=00c45437 EFLGS=00010202
EBX=04061530 SS=018f ESP=0131ed20 EBP=0131edac
ECX=00000003 DS=018f ESI=0131ed6c FS=40cf
EDX=00000000 ES=018f EDI=00000094 GS=0000
Bytes at CS:EIP:
a5 a5 a5 a5 8b 75 f0 33 ff 8d 45 c0 50 ff 76 1c
Stack dump:
00000238 00000000 00000204 00006ba8 16c711f1 00000006 bff741f7 00000008 bff7698b bffc94c0 00008d48 bff7152e bff71547 00000000 04061530 fffffffe
any ideas ?
Weird ActionScript Not Working Or Just Fault?
The title explains it:
[code]on (release) {
_parent.gotoAndPlay("AuroraCo", 1);
}
CODE]
Now I checked the syntax and everything else, but this AS is not working. Its set on a MC inside a MC.
And I tried using _root.gotoAndBLAH.. didn't work either.
So why a'int this working?
Please Help, Minor Fault On A Menu, That I Cant Seem To Correct
Hi Guys,
I have a menu here, (I am by no means a flash expert, deffo a beginner) as you will see the menu works perfectly apart from one thing, the quads button, shows the word services then it changes to quads (the word I want it to say) Can anyone help me correct this minor fault, I simply want it to always say quads, and for services never to be mentioned. I have been working on it for 4 hours, and am going mad.......
Thanks ever so much if you can resolve this for me, menu created in Flash 8 btw.
Webservice Fault When Flash Is Embedded
Hi,
Im using a webservice to retrieve data for my flash app. It all works fine in the flash IDE.
When I embedd the flash into the html or run the swf directly i get some permission issues, which i cant figure out how to adjust :s
Is the problem with my webservice, or the way im handling it within the flash?
I know thats kinda a broad question, so if you let me know what info you need to diagnose this ill provide it.
Heres a snippet of code for how im calling it:
_ws = new WebService(wsdlURI, _log);
_call = _ws.MyTestFunction();
_call.onResult = function(result) { handler(new XML(result)); };
_call.onFault = Delegate.create(this, traceFault);
1 Px Move Fault During Alpha Fade
can anyone remember how to get round the annoying moving image whilst fading (the image moves one pixel when fading in/out).
I know it was a fault in earlier versions of flash, I thought it had been resolved.
I need a really nice, clear, crisp fade in and out of an image which has been imported.
I know this is only an issue with and imported jpg/gif`s.
I cant remember how I got round it before.
Server Overtransfer - Actionscript Fault?
I got 40 gygabytes in server transfer in a single day. My boss dont want me to use as3.0 without solving this problem.
It is possible that a bad coded as3 waste so much gygabytes in a day?
I want to ask if this is actionscript fault, or not, heres the code:
var trackList:XML = new XML();
var trackXMLURL:URLRequest = new URLRequest("xml/musicas.xml");
var tracklistLoader:URLLoader = new URLLoader(trackXMLURL);
tracklistLoader.addEventListener("complete", galleryLoaded);
//
var l:Loader;
var mccc:MovieClip = new MovieClip();
var aTrackList:Array = new Array()
var trackNumber:Number = 0
function galleryLoaded(event:Event):void {
addChild(mccc);
trackList = XML(tracklistLoader.data);
for (var i:Number = 0; i< trackList.slide.length(); i++) {
var urele5:URLRequest = new URLRequest(trackList.slide[i].attribute("link"));
aTrackList.push(urele5)
}
playMusic(aTrackList[0])
}
var _sound:Sound = new Sound();
_sound.addEventListener(IOErrorEvent.IO_ERROR,onIO Error)
var channel:SoundChannel
function playMusic(requested:URLRequest):void{
//_sound.load(requested)
var snd:Sound = new Sound(requested);
channel = snd.play();
channel.addEventListener(Event.SOUND_COMPLETE, playMore)
//_sound.play()
}
function playMore(e:Event):void{
trackNumber++
playMusic(aTrackList[trackNumber])
if(trackNumber==(aTrackList.length-1)){
trackNumber=-1
}
}
function onIOError(e:IOErrorEvent):void{
//do nothing
}
var pausePosition:int = 0
cd_mc.addEventListener(MouseEvent.CLICK,_playorpau se)
var playpause:Boolean = true
function _playorpause(e:Event):void{
if(playpause){
cd_mc.alpha = 0.2
playpause=false
channel.stop();
pausePosition = channel.position;
} else {
cd_mc.alpha = 1
playpause=true
playMusic(aTrackList[trackNumber])
}
}
1 Px Move Fault During Alpha Fade
can anyone remember how to get round the annoying moving image whilst fading (the image moves one pixel when fading in/out).
I know it was a fault in earlier versions of flash, I thought it had been resolved.
I need a really nice, clear, crisp fade in and out of an image which has been imported.
I know this is only an issue with and imported jpg/gif`s.
I cant remember how I got round it before.
Moving Thumbnails - Tiny Fault In My Script
Hi all!
I wrote some actionscript to make a navigation for an image gallery.
Look at it here:
http://www.condominium.be/condov3/realisaties.htm
The thumnails are all placed inside one movieclip, called 'navi'.
I have this script placed on it:
code:
onClipEvent (load) {
stopper = 18-((this._width+2)-5*109);
}
onClipEvent (enterFrame) {
currentPosx = this._x;
diffPosx = endPosx-currentPosx;
movex = diffPosx/1.35;
this._x = this._x+movex;
}
'stopper' calculates the max x position that the MC can go to (to left). I use this value to make sure the MC doesn't keep on moving after the last thumbnail is showed.
On the 'next' button I have this code:
code:
on (release) {
if (navi._x>navi.stopper) {
navi.endPosx = navi._x-109;
}
}
So as long as the MC's x value isn't > the calculated 'stopper' value, the MC can keep on moving to show the next thumbnail.
On the 'previous' button, I have this code
code:
on (release) {
if (navi._x<18) {
navi.endPosx = navi._x+109;
}
}
The MC shouldn't move when it's at it's default position.
All this works, BUT when you click rapidly on the next button, and then go back to the first thumb with the previous button, you can click one more time after the first thumbnail shows up!
This happens when you click on a button while the navi MC is still moving.
I tried various things to make sure a click doesn't do anything while the MC is moving.
First I tried to let the button check if the MC is at a 'still' position (every 109 pixels). I did this by calculating if (navi._x/109)/(Math.round(navi.x/109))=1 If it is 1, this means it is on one of the default positions. But when I want to put this code into the "if (navi._x>navi.stopper)" I can't get it to work. How do I state that if this AND that is done, then it should move?
here's the code I tried:
code:
on (release) {
if ((navi._x>navi.stopper) and ((navi._x/109)/Math.round(navi.x/109)=1))
{navi.endPosx = navi._x-109;
}
}
But it gives this error:
Left side of assignment operator must be variable or property.
if ((navi._x>navi.stopper) and ((navi._x/109)/Math.round(navi.x/109)=1))
I tried by declaring this formula in the MC actionscript so I could put a variable on the left side of the "=", but still it wouldn't work.
Can someone help me out here because I'm out of ideas... I use flash MX 2004
Thanks!
wouter
Intermittent Fault With Pre-filled E-mail Forms.
I have had a client keep reporting back to me that the e-mail link on her site will only work randomly. The problem appears to be the pre-filled fields for her address & the “subject” box are sometimes not being auto completed by Flash
Although I have taken over work on the site from her old developer I can see no problems with the code used, a simple mailto:mail@client.com?subject=Web Site Feedback, in the link box.
The problem appears to be on the opening page e-mail link as the rest of the links through out the site work. The weird thing is if you open a couple of the other links within the site & then come back to the opening page – that link then works! & even weirder some times this link works on opening- no problems at all or times no pre -filled fields!
Anybody had similar problems or any ideas?
Flash MX 2004 DEMO Version Installation - Invalid Page Fault
o/s - win 98 se
IE version 6.02xxxxx
--------------------------
I downloaded and installed
MAcromedia FLASH MX professional DEMO version
The installation proceeded excellenty without a hitch
but when I tried to run it
it says "This program has performed illegal operation"
FLASH caused an invalid page fault in
module FLASH.EXE at 0187:00c45437.
Registers:
EAX=00000000 CS=0187 EIP=00c45437 EFLGS=00010202
EBX=04061530 SS=018f ESP=0131ed20 EBP=0131edac
ECX=00000003 DS=018f ESI=0131ed6c FS=40cf
EDX=00000000 ES=018f EDI=00000094 GS=0000
Bytes at CS:EIP:
a5 a5 a5 a5 8b 75 f0 33 ff 8d 45 c0 50 ff 76 1c
Stack dump:
00000238 00000000 00000204 00006ba8 16c711f1 00000006 bff741f7 00000008 bff7698b bffc94c0 00008d48 bff7152e bff71547 00000000 04061530 fffffffe
any ideas ?
param
Major "Key.isDown" Fault In Flash 5 & MX
Hi!
I am trying to create an arcade game, where the game's engine needs to capture several simultanous Key.isDown key-press objects.
The problem I have encountered is that it is impossible for flash to detect these key combinations:
Key.SPACE + Key.LEFT + Key.UP
Key.RIGHT + Key.LEFT + Key.UP
I guess that if these are true (and they are, as shown in the attached ".fla"!), there must be other impossible to detect key press combinations.
U can also check the published movie @:
http://www.artlab.co.il/temp/movie1.swf
Does any of you guys know a way to bypass this fault? Is there a fix?
I have checked it on both F5 and MX, same resolt
PLZ help. Thank you
|