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




ActionSCRIPT Problemo



I have an action script that goes like this

on (release) {
if (answer == "clock") {
getURL ("index2.htm", "_self");
}
}

I want to know if theres a way to make the answer variable be forced into becoming lowercase?

Ensuring that even if answer = "ClOcK" the user is still passed to the next URL



KirupaForum > Flash > Flash 8 (and earlier) > Flash 5
Posted on: 04-24-2003, 07:42 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

=( Xml Problemo Or My Retardness Problemo?
i need a ----------->

hello plz

im so tierd with this realy.
i was following a tutorial that shows how to display xml txt in flash

so groovie i thought to myself
and tried to change somthing
goes like that

this is the xml file highly "simple" supposeably!

<?xml version="1.0"?>

<inventors>
<person>
<name>xxThomas Edison</name>
<style>Inventor of many things such as the incandescent lightbulb.</comment>
</person>
<person>
<name>boocha</name>
<style>a sweeter kind of dogo</comment>
</person>
</inventors>

this is the FLASH ac command:

function loadXML(loaded) {
if (loaded) {
_root.inventors = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
_root.inventors2 = this.lastChild.childNodes[0].childNodes[0].lastChild.nodeValue;
_root.comments2 = this.lastChild.childNodes[0].childNodes[1].lastChild.nodeValue;
name_txt.text = _root.inventors;
comment_txt.text = _root.comments;
name2_txt.text = _root.inventors2;
comment2_txt.text = _root.comments2;
//trace(not_set_yet);
} else {
trace("file not loaded!");
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("inventors.xml");


i made 4 txt fields on the flash stage :
comment_txt
comment2_txt
name_txt
name2_txt


the xml info is showing only the first node and tottaly ignoring the other node-
_root.inventors2 = this.lastChild.childNodes[0].childNodes[0].lastChild.nodeValue;
_root.comments2 = this.lastChild.childNodes[0].childNodes[1].lastChild.nodeValue;

this section isnt working somhow...

i did somting wrong didnt i ???



i bet T'is my fault!!

bwaAA!!

Hmm... Another Problemo
how can you create a flash animation so that the computer randomly selects a number between 1-50 then you have to guess? If you guess 2 high, it will display "too high", if too low, the screen will display "too low" and if correct computer will say "correct!" and then ask you if you want to resart the game.

Uno Problemo
Hey, I wanna do something on flash mx but I have no idea how do it or the actionscript I might use.. On a page on my site there is a list of animations I have made and I want for as you to hover the mouse over each animation name for a description of it to come up elsewhere on the page. Can anyone help me with this?
.:Spanjj:.
x x

Big Problemo...
Hi, I'm hoping someone can help me out here...

When I export my movie and view it on my hard drive everything is fine and all parts of my movie(s) show up. However, when I upload my project to my server via frontpage, some images won't show up when I view my site on the internet. Does anyone have a clue as to what is causing this?

Problemo.
I have a flash menu thing supporting basset hounds, and im trying to get it so that when you go over some text it will show some more text (BUT EVERY TIME YOU GO TO THE PLACE WHERE THE TEXT APPEARS IT MAKES IT APPEAR!"
GO BASSET HOUNDS. nice doughnut smily

New Problemo
ok i have this code


Quote:




+inputName1




and i want to add 120 to the value that "inputName1" has, wich is 33

if i do

Quote:




+inputName1 +120




it comes as 33120

but i want to add 120 to 33 and it should come out to be 153
not 33120

Big Problemo
Alright, my friend put me up to a "Zakum Simulator" test and I am running out of time for the bet. I have one major problem.

In the frames I have a "Die" frame for Zakum and it was working BUT what happened is in the code i wrote


Code:

if (_root.hp == 0) {
zakum.play(2);
}
and if you look closely I noticed why the "zakum" was restarting over and over again...

the hp is always 0 when dead lol.

if you know how i am able to get rid of this problem with the "death sequence" still in order please post!

Thanks!

http://img261.imageshack.us/my.php?i...mulatorrx8.swf

Control = the main attack
just that basically *friend doesnt care for hp and mp >.>*
to hit just get near the arms or wherever around the clip and press control.

O yeh tell me if it looks good o.O. lol took me umm 1 hour to make lol >.>

---------------------------
Want any tutorials on something I may know just ask!! I may be willing to...

RPG Help... Major Problemo :(
Ok everyone i sat at my computer for 2 hours getting this to work but nevertheless i did it. you can click on the movie below, then use the arrow keys to move crono around, NOW comes my problem...

*how can i make him avoid water or buildings by making him go no further?

anotherwords he cant walk over water or on top of houses... also if you can help me with this id mention your name in the credits...

CRAP i just thought of something else... what about a script to make it when you get to a point or roadway the map scrolls...? like in final fantasy when u exited the town how it changed scenes... thank you so very much for the help in advance...

HELP ME!!!

-Xclint

Viva Problemo
Salut, Hi

I want to use the command load/unload for a swf file.
If I use this command can I take control of the "swf file" or just open it in the other???

Can I drag a swf who is load in an other with the load command?

Help dead line is on tomorrow morning!!!


Thanks!


Ben

Popwindow Problemo
i am trying to launch popup windows from my swf file by attaching javascript to the buttons within the main movie and it seems to work on Macs okay but when i try to launch the popwindows on a PC, the popup window opens but the window containing the main swf becomes blank and it says the word 'object' in the top left corner. this stinks b/c then the user has to hit the 'back' button on the browser and relaunch my site.

this is the script i attached to the buttons:

on (release) {
getURL("javascript:window.open('http://www.mywebsite.html','thewin','height=400,width=300 ,toolbar=no,scrollbars=no')");
}


this is the script i put in the header section of the html file published by flash:



function openNewWindow(URLtoOpen, windowName, windowFeatures){newWindow=window.open(URLtoOpen, windowName, windowFeatures); }



one thing i noticed that was odd is when i published the html file it did not publish my urls from the swf file into the document where it says:

!-- URL's used in the movie--

it's completely blank!! anyone know why this may be? can i manually insert my url scripts? perhaps this is the source of my problem.

any advice is much appreciated

Scollbar Problemo
I can use the scrollbars fine when its open in the flash player. But when i put the .swf into a html the scrollbars are just grey boxes with no arrows.
They work perfect in the flash player!



Help me plz

Canvas Problemo
Ok - I kind of completed my movie clip but i realised that i wanted to add something to it.

Except when I tried to put some text on the left hand side > it doesn't fit on the canvas??? I tried to go to document properties and change the dimensions except its not making the canvas bigger? why is this happening and how can i make it bigger?

Pls help!

Preloader Problemo
Hi guys,

this is my problem... i am tryin to build a preloader for a movie that is about 224 KBs. i rsearched every where for tutorials and found loads of them, and implemented each one of those to my movie.. but still i cannot get it to run properly.. the size of my movie is reported incorrectyl by the preloader and the preloader starts after about 75% of the movie is loaded.. why is this happening?

i am using two scenes.. one as my preloader and another as my main movie

thank you
any impoved preloader code is welcomed

IFRAME Problemo?
I have a swf file that's dragable. This swf is in a IFRAME and their are swf files in the HTM pages housed inside a frameset. When draging my swf that's in the IFRAME for some reason doesn't drag over the other swf files? It is drug undernieth them? How can I make it drag over the top?
Thanks,
Fatthippo

Geturl Problemo?
ya i got flash mx and i have this symbol which when clicked on opens up a broweser and goes to the particular website. does anyone have the code or stuff for it?? and using mx, i noticed you can't type up the code and have to pick it from boxes of choices. if you can solve my problem, can you show the steps to find the varaibles.

Button Problemo
What code do I put on a menu that when page1 is loaded and if the user presses page1 button again it wont load over again.

-Sweetz

Scroller Problemo
Hey guys

Second problem for the day - aren't we all lucky?!?

I have this scroller which doesn't seem to like me throwing too much text into it. If I put more text than average in, it only goes half way, then stops showing text (but keeps scrolling!!)

Any ideas why it won't scroll all my text?

Thanx guys

Linking Problemo
i just learn flash.now i want to link to an external file which is an access file with the file name being test.mdb.The access file has its own interface and can run standalone.how do i link it from within flash so that when i click the button within flash,flash will be minimize and the test.mdb button will be on top/maximize?.Thanx for helping

Button Problemo SOS
Hello everyone!
Hope things are well with all of u.
I have a small problem with my button.
Since my button has 4 stages (up,over,down, hit)
I would like to call the over stage from action script rather just passing the cursor over the button.
How do i do it?
Thanks again.
Cheers.
Leo

[MX] Easy AS Problemo
Hi All,

I'm trying to make the "Click Here to proceed" text in the portion of code below, clickable. Its in a scrollable window. How do I do this?????

More FYI:
The user must scroll down in the scrollable window and read all the content B4 they can click to continue, so I cant make it a button.



... listed in the graphic.<BR><BR><FONT FACE="Verdana" SIZE="12" COLOR="#003366"><B>Click Here to proceed.</B></FONT></FONT>";
scrolling = 0; ....


Thanks for your help !!!!

Preloader Problemo...
OK, me here again.
I'm using Flash CS3, publish setting: ActionScript 2.0 and player 9.

I'm using simple preloader as I do the same all the time and it is working fine.
here is the code in the 1st keyframe:

Code:
var ruthis = _root;
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = (bytes_loaded)/(bytes_total);

//this.mcLoadbar._width = getPercent*100;
//this.samZoy.mask._width=getPercent*442;
//+Math.round((bytes_loaded)/1000)+"KB / "+Math.round((bytes_total)/1000)+"KB";

ruthis.loadText = Math.round(getPercent*100)+"% ";

if ((bytes_loaded) == (bytes_total)) {
ruthis.gotoAndStop("start");
}
and 2nd keyframe:

Code:
gotoAndPlay(1);
the problem now:
when I'm doing test load...it is empty screen then just for a millisecond I can see the 99% (" ruthis.loadText = Math.round(getPercent*100)+"% ";") and then the main thing.
Well, where might be the problem guys?
here is the link with all files saved as Flash8 and FlashCS3

Combo Box Problemo...
In my last post, i thought was a list box, wrong.
Combo box...
And not sure, but i am thinking that the problem cannot be solved... :-(
Tried, to swap dephs and change focuses... nothing...
if anyone could help, would appreciate a lot! ;-)

here goes...
Can make the square move around without any problemo. But once i choose any topic in the combobox, the movement of the square, becomes weird. The buttons dont react as before the combobox interaction.

I just uploaded the code so u can have a look also, is hard to explain...
Just move the square around, then choose a topic from the comboboxes and try to move the square again. The buttons used to move the same square present a weird behavor.

Thanks.
Cheers.
Leo.


Code:
//list boxes
var cb_transport = new Object();
cb_transport.change = function()
{
m_op= m_u_transport.value;
trace(m_op);

};

stop();

Scrollbar Problemo... Anyone Please?
Hi there!
I am using this code to create a scrollbar in a text field in frame 1.
Everything is working nice.
But rather than just clicking on the arrows of the scroll bar, i would like that, when reached frame 20, it will scroll by itself.
I tried by adding 5 to the textBox.y but that was just moving the text block up or down. Wasnt SCROLLING at all! Just moving the text block.
Can anyone give me a clue how to scroll using just as3 ?
Thanks.
Cheers.
Leo.


Code:
textBox.htmlText = textBox.text;

//sets up the scrollbar
var vScrollBar:UIScrollBar = new UIScrollBar();
vScrollBar.scrollTarget = textBox;
vScrollBar.height = textBox.height;
vScrollBar.move( textBox.x + textBox.width, textBox.y );
addChild(vScrollBar);
vScrollBar.update();

[F8] DuplicateMovieClip Problemo, Help Pls
Hi there...
iam TRYING to duplicate a movie clip using this code:

Code:
for (i = 1; i < 30; i++)
{
duplicateMovieClip(_root.mc_l_1["area_test"], _root.mc_l_1["area_test_" + i], _root.mc_l_1.getNextHighestDepth());
}

po_x=-101.5;
po_y=-1109.1;
t=1;
for (c = 1; c < 30; c++)
{
_root.mc_l_1["area_test_" + c]._x = po_x;
_root.mc_l_1["area_test_" + c]._y = po_y;
po_y=po_y+ 102;
if(t==19)
{
t=0;
po_x = po_x+120;
po_y=-1109.1;
}
t++;
}
But for some WEIRD reason that i dont understand, i just cant. It just doesnt work.
Any idea?
thanks.
Leo.

[F8] Load Swf Problemo... SOS
Hi there…
How could I load multiple .swfs?
I mean, after the first .swf is done streaming, just then load the second swf.
Thanks.
Cheers.
Leo.

[F8] Code Problemo, Pls Help
What the hell is wrong with this code?
I created “imaginary” squares of 240b x 320h so I am moving a frame that will show me in which of these same squares i am on top off.
Lets say, if you click 32 times down, you gonna end on top of square 32 since I am creating an imaginary 7x7 matrix and i am starting from square number 25.
But when I am “clicking” up and down, it doenst work so well. The actual numbers change.
Any help?
Thanks.
Cheers.
Leo.


Code:
function up()
{
mc_all_areas._y = mc_all_areas._y +10;
trace("value of y: "+ mc_all_areas._y);
trace("Name of curr square: "+ _global.m_name_cur_square);

if ((mc_all_areas._y%320) == 0)
{
_global.m_dist_f_center++;
_global.m_name_cur_square = _global.m_name_cur_square -7;
}

}

function down()
{
mc_all_areas._y = mc_all_areas._y -10;
trace("value of y: "+ mc_all_areas._y);
trace("Name of curr square: "+ _global.m_name_cur_square);

if ((-1)*((mc_all_areas._y)%320) == 0)
{
_global.m_dist_f_center--;
_global.m_name_cur_square = _global.m_name_cur_square +7;
}

}

Undefined Problemo
Hi there guys...
Firstly I'm a seriously bum coder which is why this is no doubt a seriously junior question, but I is a bit stuck init... any help would be greatly appreciated.

I've doctored this piece of code, but can't seem to get the tool tip to work, it keeps coming up UNDEFINED, p p please help

/*///////////////////////////////////////////////////////////////
Portfolio thumbnail and content layout
////////////////////////////////////////////////////////////////*/

import com.mosesSupposes.fuse.*;
ZigoEngine.register(Shortcuts,Fuse,PennerEasing,Fu seFMP);

//FuseFMP.writeFilter(mc_large.mtitle,"Blur",{blurY: 100,blurX:100,quality:2});
//FuseFMP.writeFilter(mc_large.mkeywords,"Blur",{blu rY:100,blurX:100,quality:2});
/////////////////////////////////////////////////////////////////////


mc_large._x = -1000;
var rowcount:Number = 0;
var colcount:Number = 0;
var spacing:Number = 58;
var numcolumns:Number = 6;
var numrows:Number = 5;
var contactholder:MovieClip;
var thumbpath:String = "portfolio/thumbs/";
var largepath:String = "portfolio/";

//XML Control
var galleryXML:XML = new XML();
galleryXML.ignoreWhite = true;
galleryXML.onLoad = function(success) {
numimages = this.firstChild.childNodes.length;
totalImg.text = numimages;
contactholder = _root.createEmptyMovieClip("container", 0);

for (var i:Number=0; i<numimages; i++) {

var advalue = this.firstChild.childNodes[i].attributes.name+"
";
trace("advalue is "+advalue);
//ats.text += advalue;

var imgfile:String = this.firstChild.childNodes[i].childNodes[2].firstChild;
var thumbholder:MovieClip = contactholder.createEmptyMovieClip("tholder"+i, i);
var thumbloader:MovieClip = thumbholder.createEmptyMovieClip("thumb_img",0);
thumbloader.loadMovie(thumbpath+ imgfile);
contactholder._y = Math.floor((Stage.height - contactholder._height) / 3);
contactholder._x = Math.floor((Stage.width - contactholder._width) / 2.5);
thumbholder.imgtitle = this.firstChild.childNodes[i].childNodes[1].firstChild;
thumbholder.imgfile = imgfile;
thumbholder.kwordlength = this.firstChild.childNodes[i].childNodes[3].childNodes.length;
_root.numimages = numimages;
thumbholder.keywords = "";
for(var k:Number=0;k<thumbholder.kwordlength;k++) {
thumbholder.keywords += this.firstChild.childNodes[i].childNodes[3].childNodes[k].firstChild+"

";
}
thumbholder._x = colcount * spacing;
thumbholder._y += rowcount * spacing;
thumbholder._alpha=0;
thumbholder.alphaTo(100,1.5,"easeInOutQuad");
rowcount++;
if(rowcount >= numrows) {
rowcount=0;
colcount++;
}
thumbholder.onRelease = function() {
if(container._alpha == 100) {
container.alphaTo(0,0.5,"easeOutQuad");
mc_large._x = 0;
mc_large.swapDepths(this.getNextHighestDepth());
mc_large.mtitle.title.text = this.imgtitle;
mc_large.file.text = this.imgfile;
mc_large.mkeywords.keywords.text = this.keywords;
mc_large.mc_img.loadMovie(largepath+ this.imgfile);
mc_large._y = Math.floor((Stage.height - mc_large._height) / 2);
mc_large._x = Math.floor((Stage.width - mc_large._width) / 2);
mc_large.mc_img.alphaTo(100,1,"easeInOutQuad");
mc_large.btn_exit.alphaTo(100,0.5,"easeInOutQuad", 0.3);
mc_large.btn_info.alphaTo(100,0.5,"easeInOutQuad", 0.4);
} else {
mc_large.title_mask.xSlideTo(750, 0.5, "easeInQuad");
mc_large.copy_mask.xSlideTo(750, 0.5, "easeInQuad",0.2);
mc_large.mc_img.alphaTo(0,1,"easeInOutQuad",0.3);
mc_large.btn_exit.alphaTo(0,0.5,"easeInOutQuad",0. 4);
mc_large.mc_img.alphaTo(0,0.5,"easeInOutQuad",1.0) ;
mc_large.xSlideTo(-2000, 0.1, "easeInOutQuad",1.5);
container.alphaTo(100,1.5,"easeInOutQuad",2.0);
}
}////////////////////////////////////////////////////////////////////////////////////////////////////////////

thumbholder.onRollOver = function(m) {
format = new TextFormat("Praxis LT Semibold", 16, 0x3c1e10);
_root.createTextField("tip", 100000, 0, 0, 0, 0);
_root.tip.swapDepths(_root.tip.getNextHighestDepth ());
_root.tip.ID_ALTTIP = setInterval(function (_this) {

_root.tip.text = m;
m = _root.imgtitle;

_root.tip.autoSize = "left";
_root.tip.background = true;
_root.tip.border = true;
_root.tip.embedFonts = true;
_root.tip.selectable = false;
_root.tip.backgroundColor = "0xffffff";
_root.tip.borderColor = 0x000000;
_root.tip.setTextFormat(format);
_root.tip._x = _root._xmouse+10;
_root.tip._y = _root._ymouse-30;
}, 20);
};
thumbholder.onRollOut = function() {
_root.tip.removeTextField();
clearInterval(this.ID_ALTTIP);
};


//////////////////////////////////////////////////////////////////////////////////////////////////
}

};
galleryXML.load("portfolio.xml");


//BUTTON CONTROL
var colpos:Number=0;
btn_prev._alpha = 20;
btn_prev.enabled = false;

btn_next.onRelease = function() {
colpos++;
container.alphaTo(100,2.5,"easeInQuad");
mc_large._x = -1000;
easeType = mx.transitions.easing.Strong.easeInOut;
var begin:Number = contactholder._x;
var end:Number = -(spacing * numcolumns) * colpos;
var time:Number = .9;
mcTween = new mx.transitions.Tween(contactholder, "_x", easeType, begin, end, time, true);
btn_prev.enabled = true;
btn_prev._alpha = 100;

if(Math.floor(_root.numimages/(numcolumns*numrows)) <= colpos) {
this._alpha = 20;
this.enabled = false;
}
}
btn_prev.onRelease = function() {
colpos--;
container.alphaTo(100,0.5,"easeInQuad");
mc_large._x = -1000;

easeType = mx.transitions.easing.Strong.easeInOut;
var begin:Number = contactholder._x;
var end:Number = -(spacing * numcolumns) * colpos;
var time:Number = .9;
mcTween = new mx.transitions.Tween(contactholder, "_x", easeType, begin, end, time, true);

btn_next.enabled = true;
btn_next._alpha = 100;

if(colpos==0) {
this._alpha = 20;
this.enabled = false;
}
}
////

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


mc_large.btn_info.onRelease = function() {
mc_large.mc_img.alphaTo(50,0.1,"easeInQuad");
mc_large.mc_img.blurTo(170, 2, 0.5,"easeInQuad");
mc_large.title_mask.xScaleTo(100, 0.5, "easeInQuad",0.4);
mc_large.copy_mask.xScaleTo(100, 0.5, "easeInQuad",0.5);

}
mc_large.btn_info.onRollOver = function() {
this.colorTo(0xffffff, 0.2, "easeInQuad");
mc_large.btn_bg2.yScaleTo(100, 0.2, "easeInQuad");
}
mc_large.btn_info.onRollOut = function() {
this.colorTo(0x3C1E10, 0.2, "easeInOutQuad");
mc_large.btn_bg2.yScaleTo(0, 0.2, "easeInOutQuad");
}
mc_large.btn_exit.onRelease = function() {
mc_large.title_mask.xSlideTo(750, 0.5, "easeInQuad");
mc_large.copy_mask.xSlideTo(750, 0.5, "easeInQuad",0.2);
mc_large.btn_exit.alphaTo(0,0.5,"easeInOutQuad",0. 3);
mc_large.btn_info.alphaTo(0,0.5,"easeInOutQuad",0. 5);
mc_large.mc_img.alphaTo(0,0.5,"easeInQuad",0.65);
//
mc_large.xSlideTo(-2000, 0.1, "easeInOutQuad",1.2);
container.alphaTo(100,1.5,"easeOutQuad",1.5);
mc_large.title_mask.xSlideTo(184, 0.5, "easeInOutQuad",2.0);
mc_large.copy_mask.xSlideTo(184, 0.5, "easeInOutQuad",2.1);
mc_large.title_mask.xScaleTo(0, 0.5, "easeInQuad",2.2);
mc_large.copy_mask.xScaleTo(0, 0.5, "easeInQuad",2.3);
}
mc_large.btn_exit.onRollOver = function() {
this.colorTo(0xffffff, 0.2, "easeInQuad");
mc_large.btn_bg.yScaleTo(100, 0.2, "easeInQuad");
}
mc_large.btn_exit.onRollOut = function() {
this.colorTo(0x3C1E10, 0.2, "easeOutQuad");
mc_large.btn_bg.yScaleTo(0, 0.2, "easeOutQuad");
}

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
stop();


Thanks guys.

Password Problemo
Hey guys,

I'm using the login/password thang I found in the library section of the site.

So, to show you guys what it looks like, here it is:


PHP Code:



auth = false ;for (i=0; i if (eval (_root ["user" + i]) == userName) {
if (eval (_root ["pass" + i]) == pass) {
auth = true ;
        }





However, I'm getting this rather annoying error message:

Scene=Scene 1, Layer=Layer 2, Frame=1: Line 1: ';' expected
auth = false ;for (i=0; i if (eval (_root ["user" + i]) == userName) {

So I guess I'm missing a semi colon somewhere, but I can't figure out where.

Any ideas? Thanx guys.

Music Problemo
looped movie, 12 frames.
music playing in background.
music, is not stream or it would loop, its start.



music on/off wanted
requires: song to stop when music off is pressed and when on is clicked it continues in the same spot it left off. please, i dont get what a soundobject is, would someone make it simpler???

i realy need help... please you will make me cry

Flash And CSS Problemo
Hi all,
Can you have a quick look at www.key4spain.com. How do I go about changing the top bar (behind all the flags) so it is the came colour (BE0009) as the rest of the site??

Thanks

Scene Problemo's
I have made scene 1, and now i want to make an introduction. But how can I make scene two (intro) play before scene 1? i know this is a noob qwestion, but ive never come across this problem before. Any suggestions?

Font Problemo
Hello I dont know what is wrong with my fullflash website i have put a font called FFF Harmony... when my friend surf my website he said the font is different and it was too small... what is going on to my website??

The text is Movie and i used Dynamic Text..

http://www.geocities.com/hanief_link/ click here to see my website that i have mentioned!

Layers Problemo´s
hi peeps!
i am having some difficulty with layers, and making my site work.
the thing is that i have a base mc, in that mc i got a target area (contents) and i load external swf´s in there. my problem is that when i click to load the next .swf, the target area and the contents do like a little flicker and reveal what is underneath the target area (which is another problem, i want whats underneath not to show!!!)
how can i do this? i am using mx 2004, if some1 has the time i can email my fla.

thanks!!!!!!

Params Problemo
hello

how to send such thing into input text ...

its like that .... html page will be generate by php and value of movie will add like in this (text in bold) :

<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value=IMP.swf?username=smt@smt.com />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src=IMP.swf?username=smt@smt.com menu="false" quality="high" bgcolor="#ffffff" width="765"
height="171" name="IMP" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />

my question is how to import this smt@smt.com into input text field ... ?

elefen

Confuddling Problemo
Hey,
Ive got a client that requires a website similar to http://www.stylewars.com/index3.html where you click on a link and it scrolls to that certain position... im sure you define the x and y co-ordinates of the certain sections but as im not advanced with AS i am stuck on how to make it scroll and goto the section etc.

Any ideas where i can get hold of a free script like this so i can look at the AS and learn from it, or even better a tutorial on how to do it, i checked on kirupa tutorials but couldnt find anything like it.. unless im blind! lol

Also a bit different to that... how do i make animations so it looks like writing is actually being drawn on to the screen if you get me?

Thanks.

_highquality Problemo
Hello everyone,

I have a loaded movieClip on _level1.
In that movieClip on the main timeline I have
a for loop that enables 20 movieClips
on _level0.

I only to lower the quality of the 20 movieClips
but everything on _level0 is affected with this.

for(x=0;x<=20;x++)
{
_level0["lumiere"+x]._highquality = 0;
_level0["lumiere"+x].gotoAndPlay("on");
}

Any ideas?

Thank!

neuhaus3000

Flash AS Problemo
Okay i'm re using code in my current project that i'm using. I'm making a new member registration form for a website that i'm building. I build an interface with a movie clip called joinForm. Within the movie clip i have my input components with the require instances. somehow i'm not getting that thing to work.



Code:
stop();

// --------------------<send from LoadVars>-------------------- \
var gatherForm:LoadVars = new LoadVars();

function sendForm() {
gatherForm.email_to = "ksuisa0607@gmail.com";
gatherForm.visitor_lastname = joinForm.userLastName.text;
gatherForm.visitor_name = joinForm.userName.text;
gatherForm.visitor_email = joinForm.userEmail.text;
gatherForm.visitor_origin = joinForm.userOrigin.text;

if (joinForm.userFreshman.selected){
gatherForm.visitor_freshman = true
}
if (joinForm.userSophomore.selected){
gatherForm.visitor_sophomore = true
}
if (joinForm.userJunior.selected){
gatherForm.visitor_junior = true
}
if (joinForm.userSenior.selected){
gatherForm.visitor_senior = true
}


gatherForm.send("http://ksuisa.org/send.php","POST");
}

// --------------------</send from LoadVars>-------------------- \

_global.style.setStyle("fontFamily", "Bitstream Vera Sans");
_global.style.setStyle("fontWeight", "bold");
_global.style.setStyle("fontSize", 12);
_global.style.setStyle("color", 0x000000);


//--------------------<submit button AS>---------------------\

this.joinForm.submitBtn.Submit.autoSize = "center";
this.joinForm.submitBtn.Submit.text = "submit";

onRollOver
this.joinForm.submitBtn.onRollOver = function() {
this.joinForm.submitBtn.gotoAndStop (2);
}

onRollOut
this.joinForm.submitBtn.onRollOut = function() {
joinForm.submitBtn.gotoAndStop (1);
}

onRelease
this.joinForm.submitBtn.onRelease = function() {
if (joinForm.userEmail.text == "" || joinForm.userName.text == "") {
gotoAndStop("error");
} else {
sendForm();
gotoAndStop("correct");
}
}
I saved as Inside Join just letting you know. I would love to upload the complete flash file but can't its a huge file that is beyond the max of what the forum requires. (76 MB) so if someone private email me their email address so i can send my file to you.
Thank you so much.

Gabriel

[MX] Easy AS Problemo
Hi All,

Well thanks to KIRUPA.COM I now know how to make scrollable window text, But here's the BUT .....

I'm trying to make the "Click Here to proceed" text in the portion of code below, clickable. Its in a scrollable window. How do I do this?????

More FYI:
The user must scroll down in the scrollable window and read all the content B4 they can click to continue, so I cant make it a button.

What the user should see is like a hyperlink that they click on to go to the next part ...

I need to know what code to put in to make the "Click Here to proceed" link to a frame in the main movie.



... listed in the graphic.<BR><BR><FONT FACE="Verdana" SIZE="12" COLOR="#003366"><B><u>Click Here to proceed.</u></B></FONT>";
scrolling = 0; ....


Thanks for your help !!!!

[MX] Easy AS Problemo PLEASE HELP
Hi All,

Well thanks to KIRUPA.COM I now know how to make scrollable window text, But here's the BUT .....

I'm trying to make the "Click Here to proceed" text in the portion of code below, clickable. Its in a scrollable window. How do I do this?????

More FYI:
The user must scroll down in the scrollable window and read all the content B4 they can click to continue, so I cant make it a button.

What the user should see is like a hyperlink that they click on to go to the next part ...

I need to know what code to put in to make the "Click Here to proceed" link to a frame in the main movie.



... listed in the graphic.<BR><BR><FONT FACE="Verdana" SIZE="12" COLOR="#003366"><B><u>Click Here to proceed.</u></B></FONT>";
scrolling = 0; ....


Thanks for your help !!!!

Loadmovienum Problemo
Hey,

Here's a snippet of code:

client_list_mc.main_mc.main.pangea_media_btn_mc.on Press=function()
{
if(pangea_media_launch==false && external_start==true)
{

loadMovieNum("http://www.mysite.com/swf/swf_portfolio/21.swf", 1);

There are multiple parts that are just like this, each just loads a different swf i.e 20.swf, 21.swf, 22.swf. My goal is to load a new external swf when each of these buttons are clicked.

Everything fires fine as I've put in traces but when I add the loadmovienum function
'loadMovieNum("http://www.mysite.com/swf/swf_portfolio/21.swf", 1);' the entire movie locks up and the rollovers, rolloffs, and onpresses don't even work. I tried loadmovie before but I can't get it as I'm loading an external movie into a movie that's already been externally loaded.

can you only have a certain amount of loadmovienum functions? should i use unloadmovie(1) each time before the new movie loaded-could that have anything to do with freezing everything up.

could it also be because of the level i'm loading it into (1) should i put a higher number?

Yah Yoshi

Preloader Problemo...
OK, me here again.
I'm using Flash CS3, publish setting: ActionScript 2.0 and player 9.

I'm using simple preloader as I do the same all the time and it is working fine.
here is the code in the 1st keyframe:

Code:
var ruthis = _root;
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = (bytes_loaded)/(bytes_total);

//this.mcLoadbar._width = getPercent*100;
//this.samZoy.mask._width=getPercent*442;
//+Math.round((bytes_loaded)/1000)+"KB / "+Math.round((bytes_total)/1000)+"KB";

ruthis.loadText = Math.round(getPercent*100)+"% ";

if ((bytes_loaded) == (bytes_total)) {
ruthis.gotoAndStop("start");
}
and 2nd keyframe:

Code:
gotoAndPlay(1);
the problem now:
when I'm doing test load...it is empty screen then just for a millisecond I can see the 99% (" ruthis.loadText = Math.round(getPercent*100)+"% ";") and then the main thing.
Well, where might be the problem guys?
here is the link with all files saved as Flash8 and FlashCS3

DuplicateMovieClip Problemo, Help Pls
Hi there...
iam TRYING to duplicate a movie clip using this code:

Code:
for (i = 1; i < 30; i++)
{
duplicateMovieClip(_root.mc_l_1["area_test"], _root.mc_l_1["area_test_" + i], _root.mc_l_1.getNextHighestDepth());
}
po_x=-101.5;
po_y=-1109.1;
t=1;
for (c = 1; c < 30; c++)
{
_root.mc_l_1["area_test_" + c]._x = po_x;
_root.mc_l_1["area_test_" + c]._y = po_y;
po_y=po_y+ 102;
if(t==19)
{
t=0;
po_x = po_x+120;
po_y=-1109.1;
}
t++;
}
But for some WEIRD reason that i dont understand, i just cant.
Any idea?
thanks.
Leo.

Load Swf Problemo... HELP, Pls.
Hi there…
How could I load multiple swfs?
I mean, after the first .swf is done streaming, just then load the second swf.
Thanks.
Cheers.
Leo.

Code Problemo, Pls Help
What the hell is wrong with this code?
I created “imaginary” squares of 240b x 320h so I am moving a frame that will show me in which of these same squares i am on top off.
Lets say, if you click 32 times down, you gonna end on top of square 32 since I am creating an imaginary 7x7 matrix, and i am starting from square num 25.
But when I am “clicking” up and down, it doenst work so well. The actual numbers change.
Any help?
Thanks.
Cheers.
Leo.

Code:
function up()
{
mc_all_areas._y = mc_all_areas._y +10;
trace("value of y: "+ mc_all_areas._y);
trace("Name of curr square: "+ _global.m_name_cur_square);

if ((mc_all_areas._y%320) == 0)
{
_global.m_dist_f_center++;
_global.m_name_cur_square = _global.m_name_cur_square -7;
}

}

function down()
{
mc_all_areas._y = mc_all_areas._y -10;
trace("value of y: "+ mc_all_areas._y);
trace("Name of curr square: "+ _global.m_name_cur_square);

if ((-1)*((mc_all_areas._y)%320) == 0)
{
_global.m_dist_f_center--;
_global.m_name_cur_square = _global.m_name_cur_square +7;
}

}

Scene Problemo's
I have made scene 1, and now i want to make an introduction. But how can I make scene two (intro) play before scene 1? i know this is a noob qwestion, but ive never come across this problem before. Any suggestions?

Font Problemo
Hello I dont know what is wrong with my fullflash website i have put a font called FFF Harmony... when my friend surf my website he said the font is different and it was too small... what is going on to my website??

The text is Movie and i used Dynamic Text..

http://www.geocities.com/hanief_link/ click here to see my website that i have mentioned!

Layers Problemo´s
hi peeps!
i am having some difficulty with layers, and making my site work.
the thing is that i have a base mc, in that mc i got a target area (contents) and i load external swf´s in there. my problem is that when i click to load the next .swf, the target area and the contents do like a little flicker and reveal what is underneath the target area (which is another problem, i want whats underneath not to show!!!)
how can i do this? i am using mx 2004, if some1 has the time i can email my fla.

thanks!!!!!!

BIG PROBLEMO Cd-rom Application
I have burn my flash projector portfolio on a cd, I've tested in 4 computers:
1. pentiumIV 1.9 Ghz, RAM 512 Mb, 32 Mb VGA card, 40X CD ROM
2.pentium III 600 Mhz, RAM 256 Mb, 32 Mb VGA card, 52X CD ROM
3.Mobile PC pentium III 750 Mhz, RAM 256 Mb, 16 Mb VGA card, 24X CD ROM
4.Mobile PC pentium II 500 Mhz, RAM 256 Mb, 16 Mb VGA card, 16X CD ROM

and the result is:
1. no problemo
2. no problemo
3. big problemo!!! (slower, act like six Million dollar man!!)
4. worse!!! ( six million $ man action!! on the double)

my question is:
A. Is "loadMovie" method on the projector causing the problem(3&4)?? cause when I play the loaded movie alone it works fine...(refer to http://www.flashmagazine.com/html/477.htm)
B. Is it the VGA card?? cause (1&2) works fine..
C. Is it the CD ROM??

Go To And Play Problemo
I am unsure as to how to direct a button that is inside a movie clip within another movie clip, instructing the original movie clip to go to and play a certain frame......................er..........if that makes any sense

I understand that if I tell the button to go to and play a certain frame it will do so within that timeline.

I need to instruct the button to play a certain frame (1505) on the timeline of the movie clip the button is embedded in.

If this makes sense to anyone please help me out!!!

Copyright © 2005-08 www.BigResource.com, All rights reserved