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




As1? 3d Space Drag



HiI'm having a go at hot wiring an open script from levitated (text space).http://www.levitated.net/daily/levTextSpace.htmlGoing to attach movie clips dynamically and have double click to open up the item in a bigger window. Then XML it possibly.Although I suspect its AS1, as other people mentioned it when I googled.Kirupa has a simple version in his 3d tuts without the constant speed, and easing. Would that be AS2?I'm asking as AS1 and 2 mixed doesn't work apparently, so I don't want to code it all, than find I can't import it.thanks



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 01-30-2008, 06:33 AM


View Complete Forum Thread with Replies

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

Stop Drag In A Certain Space
I have a MC that drags and when I release it return to the inicial place.
Now it's possible to make it stop drag normally, but only in a small part of the flash movie.

For exemple in a sqare it stops drag normally..
is that possible?

I use this code:

Code:

onClipEvent (load) {
origX = this._x;
origY = this._y;
}
onClipEvent (mouseDown) {
if (this.hitTest(_parent._xmouse, _parent._ymouse)) {
this.startDrag();
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_parent._xmouse, _parent._ymouse)) {
this.stopDrag();
this._x = origX;
this._y = origY;
}
}
thanks

Stop Drag In A Certain Space
I have a MC that drags and when I release it return to the inicial place.
Now it's possible to make it stop drag normally, but only in a small part of the flash movie.

For exemple in a sqare it stops drag normally..
is that possible?

I use this code:

Code:

onClipEvent (load) {
origX = this._x;
origY = this._y;
}
onClipEvent (mouseDown) {
if (this.hitTest(_parent._xmouse, _parent._ymouse)) {
this.startDrag();
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_parent._xmouse, _parent._ymouse)) {
this.stopDrag();
this._x = origX;
this._y = origY;
}
}
thanks

Mouse Click + Space = Drag
I know this is probably a really easy question, but I can't find anything on it anywhere.

I am building a simple map interface, and I want the user to click the mouse and the spacebar to be able to drag the map. I can do one or the other using "on (press)" or "on (keyPress "<Space>")" but how do I get them to work together?

Thanks for your help!

Movie Clip Swap Space On Drag And Drop...
Can anyone tell me how to do this in AS 3.0. Things are a bit different. I have 6 movie clips that I have Drag actions on. I can drag them fine but what I'm trying to do is when I drag say MC 1 to the spot of MC2 they exchange positions. MC1 takes the place of MC 2 and MC 2 takes the place of MC 1.

Can anyone help me with this in AS 3?

Thank you

? How To Translate 3D Space To 2D Space (sort Of) ?
Hi everybody,

I have a question about coordinate systems. I have a 3D space set up (papervision3d), with an array of 20 objects(planes) sitting on the origin (0, 0, 0). What I'd like to do is evenly distribute those 20 objects across the x and y axis so that they appear to be on a 2D plane facing the viewer.

I imagine that some sort of translation needs to be made between the 2D "stage" and the 3D "scene" (dividing the stage width and height). My first idea was to create 4 Arrays of 5 objects each and position those arrays evenly along the y-axis. Next, I was wondering how matrix objects work and if they would have any advantage over arrays here.

Any ideas?? Does this seem like the right direction?

Thanks for your help!


Brian

(1)drag Drop In 3 (2)drag Dropin 3 ...print 3 Contents (1)+(2)
i want to do the following.

drag (dynamic text file link)1 of choice of x text file links
into an area where all text file links can then be printed..(the text file itself)


[1] [2] [3] [4] [5]...


(basket)


drag drop [1] then [2] then [3] then [4] into (basket)

then print textfiles related to [1] [2] [3] [4]

if sombody could point me to a good tutorial or help me on my way?

thanx

Drag Dial (ie Drag Point In A Circular Motion)
I want to incorporate a dial (such as volume dial on a TV, or a timer dial on a microwave) so that when the user clicks on the dial they can move the dial up and down, but in a circular motion.


Does anyone know where I can get a tutorial/movie that would help me with that?

Does that even make sense?!

Drag Function Lost In Main .swf When Drag External .swf
using MX:

I made this really cool menu that acts like the MAC OS X buttons...
The only problem that i have is when i load an external .swf (which is a window) and drag the window the startdrag funtion on the MAC OS X buttons stops working...

so to break it down:

Main .swf:


Quote:




startDrag("dragscale", true);






then the code in the buttons to make then scale (this code may not matter):

Quote:




colnum = "1";
startnum = 1;
endnum = 6;
numberofItems = 6;
mouseposX = int(getProperty("../dragscale", _x));
mouseposY = int(getProperty("../dragscale", _y));
i = startnum;
m = startnum;
filledSpace = 0;
gapspace = 0;
if (Number(myInit) == Number(false)) {
// on first run make an array of all the text Y Pos.
while (Number(i)<=Number(endnum)) {
set("textY" add i, getProperty ("text" add i, _y ) );
i = Number(i)+1;
}
i = startnum;
myInit = true;
}
boundleft = getProperty ("../boundbox" add colnum, _x);
boundright = boundleft + getProperty ("../boundbox" add colnum, _width) ;
boundtop = getProperty ("../boundbox" add colnum, _y);
boundbottom = boundtop + getProperty ("../boundbox" add colnum,_height);
if (Number(mouseposX)>=Number(boundleft) and Number(mouseposX)<=Number(boundright) and Number(mouseposY)>=Number(boundtop) and Number(mouseposY)<=Number(boundbottom)) {
while (Number(i)<=Number(endnum)) {
myDif = (eval("textY" add i) ) - (mouseposY - boundtop);
// percentage increase
scaleAmount = 150-((myDif*myDif)/16);
alphaAmount = 100-((myDif*myDif)/6);
if (Number(alphaAmount)<50) {
alphaAmount = 50;
}
if (Number(scaleAmount)<100) {
scaleAmount = 100;
}
setProperty("text" add i, _xscale, scaleAmount);
setProperty("text" add i, _yscale, scaleAmount);
setProperty("text" add i, _alpha, alphaAmount);
i = Number(i)+1;
}
// *** add up total Y pixels taken by text ***
while (Number(m)<=Number(endnum-1)) {
filledSpace = filledspace + getProperty ( "text" add m, _height);
m = Number(m)+1;
}
// *** find total Y pixels not taken by text
totalheight = getProperty ( "text" add endnum, _y) - getProperty ( "text" add startnum, _y);
gapSpace = totalheight-filledspace;
avgDistance = gapSpace/numberofitems;
m = Number(startnum)+1;
while (Number(m)<=Number(endnum-1)) {
setProperty("text" add m, _y, (getProperty ( "text" add (m-1), _y) + getProperty ( "text" add (m-1), _height)) + avgdistance);
set("watchheight" add m, getProperty ( "text" add m, _height));
m = Number(m)+1;
}
} else {
// *** shrink text back when mouse rolls out
i = startnum;
while (Number(i)<=Number(endnum)) {
if (int ( getProperty ("text" add i, _yscale ) ) >= 100) {
// return scale back to original state
setProperty("text" add i, _yscale, int ( getProperty ("text" add i, _xscale ) ) - 1);
setProperty("text" add i, _xscale, int ( getProperty ("text" add i, _yscale ) ) -1);
}
if ( getProperty ("text" add i, _y) < eval("textY" add i)) {
// return y position back to original state
setProperty("text" add i, _y, int ( getProperty ("text" add i, _y ) ) + 1);
}
if ( getProperty ("text" add i, _y) > eval("textY" add i)) {
setProperty("text" add i, _y, int ( getProperty ("text" add i, _y ) ) - 1);
}
if ( getProperty ("text" add i, _Alpha) > 50) {
setProperty("text" add i, _alpha, int ( getProperty ("text" add i, _alpha ) ) - 1);
}
i = Number(i)+1;
}
}







NOw the External .swf code:


Quote:




on (press) {
startDrag ("_parent.win2")
}
on (release) {
stopDrag ();
}







I am pretty sure the "on release stopDrag" code is making the above buttons stop scaling...

How can i make it only stop draging the window not the entire movie??

basic question is it posible to have multiple dragable objects in one movie clip???

Drag Function Lost In Main .swf When Use Drag On External .swf?
using MX:

I made this really cool menu that acts like the MAC OS X buttons...
The only problem that i have is when i load an external .swf (which is a window) and drag the window the startdrag funtion on the MAC OS X buttons stops working...

so to break it down:

Main .swf:



quote:
--------------------------------------------------------------------------------
startDrag("dragscale", true);
--------------------------------------------------------------------------------



then the code in the buttons to make then scale (this code may not matter):

quote:
--------------------------------------------------------------------------------
colnum = "1";
startnum = 1;
endnum = 6;
numberofItems = 6;
mouseposX = int(getProperty("../dragscale", _x));
mouseposY = int(getProperty("../dragscale", _y));
i = startnum;
m = startnum;
filledSpace = 0;
gapspace = 0;
if (Number(myInit) == Number(false)) {
// on first run make an array of all the text Y Pos.
while (Number(i)<=Number(endnum)) {
set("textY" add i, getProperty ("text" add i, _y ) );
i = Number(i)+1;
}
i = startnum;
myInit = true;
}
boundleft = getProperty ("../boundbox" add colnum, _x);
boundright = boundleft + getProperty ("../boundbox" add colnum, _width) ;
boundtop = getProperty ("../boundbox" add colnum, _y);
boundbottom = boundtop + getProperty ("../boundbox" add colnum,_height);
if (Number(mouseposX)>=Number(boundleft) and Number(mouseposX)<=Number(boundright) and Number(mouseposY)>=Number(boundtop) and Number(mouseposY)<=Number(boundbottom)) {
while (Number(i)<=Number(endnum)) {
myDif = (eval("textY" add i) ) - (mouseposY - boundtop);
// percentage increase
scaleAmount = 150-((myDif*myDif)/16);
alphaAmount = 100-((myDif*myDif)/6);
if (Number(alphaAmount)<50) {
alphaAmount = 50;
}
if (Number(scaleAmount)<100) {
scaleAmount = 100;
}
setProperty("text" add i, _xscale, scaleAmount);
setProperty("text" add i, _yscale, scaleAmount);
setProperty("text" add i, _alpha, alphaAmount);
i = Number(i)+1;
}
// *** add up total Y pixels taken by text ***
while (Number(m)<=Number(endnum-1)) {
filledSpace = filledspace + getProperty ( "text" add m, _height);
m = Number(m)+1;
}
// *** find total Y pixels not taken by text
totalheight = getProperty ( "text" add endnum, _y) - getProperty ( "text" add startnum, _y);
gapSpace = totalheight-filledspace;
avgDistance = gapSpace/numberofitems;
m = Number(startnum)+1;
while (Number(m)<=Number(endnum-1)) {
setProperty("text" add m, _y, (getProperty ( "text" add (m-1), _y) + getProperty ( "text" add (m-1), _height)) + avgdistance);
set("watchheight" add m, getProperty ( "text" add m, _height));
m = Number(m)+1;
}
} else {
// *** shrink text back when mouse rolls out
i = startnum;
while (Number(i)<=Number(endnum)) {
if (int ( getProperty ("text" add i, _yscale ) ) >= 100) {
// return scale back to original state
setProperty("text" add i, _yscale, int ( getProperty ("text" add i, _xscale ) ) - 1);
setProperty("text" add i, _xscale, int ( getProperty ("text" add i, _yscale ) ) -1);
}
if ( getProperty ("text" add i, _y) < eval("textY" add i)) {
// return y position back to original state
setProperty("text" add i, _y, int ( getProperty ("text" add i, _y ) ) + 1);
}
if ( getProperty ("text" add i, _y) > eval("textY" add i)) {
setProperty("text" add i, _y, int ( getProperty ("text" add i, _y ) ) - 1);
}
if ( getProperty ("text" add i, _Alpha) > 50) {
setProperty("text" add i, _alpha, int ( getProperty ("text" add i, _alpha ) ) - 1);
}
i = Number(i)+1;
}
}
--------------------------------------------------------------------------------




NOw the External .swf code:


quote:
--------------------------------------------------------------------------------
on (press) {
startDrag ("_parent.win2")
}
on (release) {
stopDrag ();
}
--------------------------------------------------------------------------------




I am pretty sure the "on release stopDrag" code is making the above buttons stop scaling...

How can i make it only stop draging the window not the entire movie??

basic question is it posible to have multiple dragable objects in one movie clip???

Drag 2 MCs, Kinda...drag 1MC, Follow MC Half?
i want to drag an object and have another mc to move half that distance. im trying to get the nondragMC to move half the distance from the bottom of the stage than the dragMC is moved by the user. they both start at the bottom of the stage and when the user drags the dragMC up, i want the other mc to move half the distance with the drag. dont know what script i should use. anybody got any ideas?

How To Make A Drag'n'drop Change Mid Drag?
Help! I already know the script to make a Movie Clip drag and droppable.
But how do I make it switch to a different Movie Clip in the middle of being dragged?
Please please help.

Stacking Drag Movie Lagging When Drag...
just wonder if anyone know how to solve these problem.

i have load in a .swf and this .swf is make up of one drag object. When i load into my _level0, i can drag it but it seem then the drag is not smooth, instead it is lagging. Thus i went back to the indiviual files and try to drag on it and it was not lagging. ...why is it like that? All the files are still on my local disk. Can't imgaine what will happen if it is on the net. Please help! is this normal for drag object ?

Drag Drag Drag Menu
hi everyone

i have created a basic dragable menu, what i want to happen is that the menu can only be dragged in y position,or moves in y and slightly moves in x,....... what should be done?

this is the script:
on (press) {
startDrag("/drags");
}
on (release) {
stopDrag();
}

thanxxxxxxx

See I Got This SPACE.
I got this space... in my suburbia apartment... this place I have of mine. I live with my girlfriend. The space (the whole thing), was ours.. initially. We chose it and moved in to it. WE moved our stuff into this space... put things places... and made choices about where they should go. I chose, she chose... we took turns. This whole space slowly got devided into smaller spaces... or zones. A zone for this and a zone for that. Soon things came.. things that were her stuff... things I bought or put up with, but either way they were hers. These things took up space, and seemlingly had no zone. So soon, these spaces we had devided into zones, became one space again.. hers. She wouldn't agree, but these things that were hers were located in several of the original zones, within the larger space. So now, there are two spaces. The rest of our suburbia apartment and here... were I am talking to you now.. my space.. with my stuff. Odd, this space doesn't exude gravity.. yet these things that I put in the original space.. our now in my space. More and more I find that my things, that were located outside of this space, are satellites in that other space.. the space outside the room. And by the end of a day or week, these satellites seem to find there way back into this space. My things aren't wanted in that space anymore, they are sent here, like so many hunks of floating debri. Mentally, my concern for the whole space has been devided. I now only want for, or am concerned with the state of this space. I move through the other to get to things like coffee, and food.. to travel to the bed space, but I live in this space. I am cleaning it now.. wrought with choices about where to put stuff.. about the zones within it. I move things to new locations in my space. I play my music and watch movies as I change this space.. as I spin round the room piling boxes.. catagorizing things and placing them in new ways to shape my space. She comes in sometimes... but only breifly. To say hi or ask me a question, but she leaves again shortly afterwards. There is only one chair in my space, that chair is for me, it is the tower of observation within my space. In fact everything in this space is designed so this position in space, can access all other spaces easily. In the end, she comes from her space, to see me. She floats like a satellite into my space, on a mission.. breaking briefly from her own atmosphere. In the end she returns, to her space, she spins out of my room. So it's defined. It is here that I am, speaking to you, thinking about being here, being here before, when I replied to a post, when I helped someone or was helped. It was here that I created things I loved, from here that they were shared. It is from here that I will speak to you, and to many of my friends. So to all those out there.. in your spaces, sharing with everyone else in theirs, a toast to space.

Thanks Flashkit!

Paul, Actionscripter

Need More Space :(
Is there any way to get more workspace than 2880x2880 pixels? It's becoming very annoying as I have several 640x480 pictures that I want to display on one page.


Thanks,
Furry

Less Space On An SWF
what makes my swf file smaller?

I created a button and i placed it in my library.

If i drag and drop my button onto my stage, what method will be less intensive on my SWF file size:

1. by right clicking on my button while on the stage i choose copy, and then i paste on the stage again, giving me two buttons.

or

2. drag and drop button from my library onto my stage.

ur input is greatly appriciated.
Hector

Cant Get Rid Of Space Around
http://www.culturecreativellc.com/phenom/phenom4.html

see the space to the right and at the bottom? I want it to be just like the space at the top and the left. heres the HTML code I've used:
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<title>BIG PHENOM</title>
</head>


<body bgcolor="#000000" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<!--background="media/pd_bg.gif-->
<table width="850" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="1"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="850" height="100%">
<param name=movie value="bigphenom.swf">
<param name=quality value=high>
<param name="menu" value="false">
<embed src="bigphenom.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="550" menu="false">
</embed>
</object></td>
</tr>
</body>
</html>

Thanx..

[F8] Space Bar
I'm trying to make it so on the title screen when you press space bar it goes to the 2nd frame of my movie.

i have this code on the first FRAME:

stop();
if (Key.isDown(Key.SPACE)) {
_root.gotoAndStop(2);
}

could someone please help me?

thanks

Space Above FLV?
Why is it that I always have a space above my flash movie? Invariably, I import my video, publish the swf/flv/html and the page always shows the flv minus enough room for the video skin. So I increase the dimensions for the video skin, but I cannot get rid of the head-room above the vid.

Could someone tell me what I am doing wrong?


Setting it up in Dreamweaver:



Head Space above flash file


That empty space above the flash file is always there! ?

Thanks in advance,
roml

Space War Help
Hi guys I have this code, which is a very cool space shooting game, but I cant incorporate sound to the game so I was wondering if someone could help me, here is the code


var nrEnemies = 3;

for (i = 1; i < nrEnemies; i++)
{
_root.Enemy0.duplicateMovieClip("Enemy" + i, _root.getNextHighestDepth());
}

var i = 0;
var score = 0;
var lives = 3;

this.onEnterFrame = function()
{

moveStars();

if (Key.isDown(Key.RIGHT))
{
if (Ship.hitTest(550, Ship._y, true))
{
Ship._x -= 7;
}
Ship._x += 7;
}
else if (Key.isDown(Key.LEFT))
{
if (Ship.hitTest(0, Ship._y, true))
{
Ship._x += 7;
}
Ship._x -= 7;
}
else if (Key.isDown(Key.UP))
{
if (Ship.hitTest(Ship._x - 40, 0, true))
{
Ship._y += 7;
}
Ship._y -= 7;
}
else if (Key.isDown(Key.DOWN))
{
if (Ship.hitTest(Ship._x - 40, 300, true))
{
Ship._y -= 7;
}
Ship._y += 7;
}




if (Key.isDown(Key.SPACE))
{
i++;

_root.attachMovie("Bullet", "Bullet" + i, _root.getNextHighestDepth());
_root["Bullet" + i]._x = Ship._x + 3;
_root["Bullet" + i]._y = Ship._y;


}



}

Web Space?
anyone have a fav web space provider?

thanks

g

Can't Get Rid Of The Space
I have a web page with a graphic next to the .swf file. It is important that there be no space as it is part (slice) of the images being displayed in the flash file. How do I get rid of this space?

As of this writting, my hosting company was experiencing problems with thei FTP. When they fix it I will upload the file. It will be at Flash Page

Thanks

Space Out Mc's
i have for vertically mc which i tween to different locations on my stage. is there a way where i can tell flash to always space out my mc's by 10 pixels vertically?

What Is The Character For A Space?
what is the character for the space?

-Josh Svee

What Is All This Extra Space?
Why is there extra flash space around ALL of my flash movies? I want my movies to be the size I have them in flash when I am creating them?! I put them on a page and there is magically all this extra "flash space". Please Help?!?! Check out my example. This doesn't even have animation or anything. just one frame a black circle, and there's still space?

http://www.geocities.com/xxsurfxx20/new.htm

Floating In Space
ok heres the deal...i made a 3d space man in swift, i impoted it into flash jsut fine, but i want to know if theres a way to make him float around the page and bump into object with out using motion guide, the whole hting has to be small in size and im not a master action scripter yet, but am willing to try anything, PLEASE HELP!!!!

Replacing A Space With A + ?
i am using this code:

Code:
on (release) {
if (name ne "", email ne "", feedback ne "") {
fullurl = fullurl add "&" add "name=" add name add "&" add "email=" add email add "&" add "feedback=" add feedback;
getURL (_root.content.fullurl, "_blank", "GET");
}
}

this add the vars to the full url that it postes to the php from: http://www.blahblah.xxx/fjjjkjaf/jod...=8458437588285 to http://www.blahblah.xxx/fjjjkjaf/jod...&feedback=xxxx

but i need the spaces changed to + ??

Lost In Space
Ok Im running xitami web server. Now I downloaded a feedback form from Flashkit. It contains fla swf and the cgi script which opens in notepad. How do I go about getting this thing to work? Do I have some sort of compiler to make the cgi an actual exe or what? Can someone please explain this to me in simple steps. Ive been at this battle for quite sometime.
1.
2.
3.
4.
My icq number is....133056584

Why Does A Space In A Textfield Becomes A
In a flashmovie I have a form, which is sent to a html page with GetUrl, method Get.

This all works, but when I fill in a space in a textfield, the it becomes a "+"sign in my htmlpage.

so this line will get to be like this (flash)
so+this+line+will+get+to+be+like+this (HTML)

anyone knows a solution?

thanks

Uploading To Web Space
I have saved what I need to, and I have added it to the web page I created....I uploaded what I thought I should and it DOESN'T WORK!! GRRRRRRRRRRR!

Would someone point me in the right direction to fix this?

The files are where they are supposed to be and the movie works in a Media player but not on my page.

It took me 3 days to figure out what went wrong the first time, I don't NEED this to take another 3 days to figure out why the flash doesn't work on the page. UGH!

And how can I speed up the download time for the flash, perhaps that's the problem.....

Thanks in advance!

Jennifer

Space In Textbox
Hi Masters

i am facing a problem with the input textbox.
what i want that if i fill a something in textbox then it should not recieve the spacebar. I mean it should return the value only an it should not return the spaces which user fill before and after the value.

Please help me ia m in gr* trouble.

ritesh

Space Around Movie
I'm trying to insert a swf into a sliced image table. There is white space around the movie that I can't seem to get rid of. It's causing the table to expand and the other images are not lining up correctly. How do I get rid of that space? Also it only shows up in Netscape or on Mac's

http://www.ewtn.com/pilgrimage/Splash_Page.html

Thanks!
Leslie

Can I Circular Space
What I am trying to achieve is the teeth of a gear. I need to be able to take a sqaure, and evenly space instances of it around a circle's edge so to create the look of teeth. Is there a simple script that will lock it to the border of the circle? Any help would be greatly appreciated.

Just an example. As you can see, the teeth are not evenly spaced. http://www.dmstudios.net/~DNS/teeth.swf

White Space
Does anyone know how to simulate in flash 5 the XML.ignoreWhite behaviour that flash MX has?

Free Web Space...
Get a Frame for free and get into trouble...

My Web page 'index.html' has 2 frames: 'frameA.html' (wich comes with the Free Web Server) and 'frameB.html'. The script only works when 'frameB.html' is opened directly. outside of 'index.html'. Is there a solution to correct that problem?

'frameB.html' includes the '.swf file' and the javascript code:
<script language="JavaScript">
function openWindow() {
var leftpos = (screen.width - 500) / 2;
var toppos = (screen.height - 400) / 2;
winconfig = 'height=400,width=500,left='+leftpos+',top='+toppo s+',scrollbars=no,resizable=no';
win = window.open('fenetre/index.html', name, winconfig);
if (parseInt(navigator.appVersion) >= 4)
win.window.focus();
}
</script>

The flash animation includes the actionscript:
on (release) {
getURL ("javascript:openWindow()");
}

Double Space
Ok, if i make a dynamic text field with multiline, etc and then use load var command and put a x.txt there with var=texttexttexttextettxte(manylines)
everything works well, but i get double spaces... why ? How to fix ? thanx

HTML: Space Above & Below Swf
When you inbed a movie in html, you can center it by <div align="center"> or by a one-cell table. So far so good but in both ways i'm stuck with some space above and below the movie.

As an example check this site
http://users.pandora.be/ReSoul/ffl/

At the top you can see some space with the background and i want to get lose that.

The site i'm working on is higher

thx ReSoul

White Space
Anyone else running into issues with whitespace being read by flash and causing issues with variables being read correctly?

I want to have uniform code but it keeps reading all the white space so I have to cram it all together to work.

*edit the variables are being read from a jsp page *

No Work Space
While working on a movie, someone Instant Messaged me and I started typing while still in flash. Something must have happened because now my flashing box is stuck in the upper left-hand corner and I can't draw or drag anything out of that box. Please help ASAP, for this is a project I need to finish VERY soon. Thank you.
-SKL

Space Navigation
Hi,

I have a FLA that I found on levitated.

http://www.levitated.net/daily/levTextSpace.html

I want to use it for a nav system but I am not sure about how to make the words act as buttons or how to add actions to specific buttons.

here is the code:


// register root as environment
Object.environment = this;
// create camera object
this.cam = {x:0, y:0, z:500, dx:0, dy:0, dz:-500};
// set environmental constants
this.fl = 1000;
// create 'space' to which all words will be attached
this.createEmptyMovieClip("space", 1);
// center 'space' on the stage
space._x = 300;
space._y = 169;
// a string of words related to the wind
this.somewords = "wind breeze storm stormy tornado text space three dimensional infinite recursive instance object distort environmental atmospheric blow gush whoosh thrash whirl push roar rush caress flow swoop";
// convert the string of words into an array of words
this.wordList = new Array();
this.wordList = this.somewords.split(" ");
// create one instance for each word in the list
for (n=0; n<this.wordList.length; n++) {
// pick a word from the list
var word = Object.environment.wordList[n];
var x = random(600)-300;
var y = random(337)-169;
var z = random(Object.environment.fl*2)-Object.environment.fl;
// create an instance of the SpaceWord object
nombre = "word"+String(depth++);
initialization = {txtword:word, x:x, y:y, z:z};
space.attachMovie("spaceWord", nombre, depth, initialization);

//The code I have added to utilise the words as links

if (_root.spaceWord.txtword == "breeze") {
with (_root.box) {
gotoAndStop("test");
}
}
}
this.onEnterFrame = function() {
this.cam.dz += .5;
// move the camera to its destination
this.cam.x += (this.cam.dx-this.cam.x)/10;
this.cam.y += (this.cam.dy-this.cam.y)/10;
this.cam.z += (this.cam.dz-this.cam.z)/30;
};
stop();


Any help would be greatly appreciated.

Space When Publishing
can anyone please tell me how you can publish your movie without spaces appearing between the movie and the edge of the browser?

Unwanted Space
Check out my site... promises for bethany and see if you know how to solve the problem of there being white space on the side. I have tried using javascript to resize the window, but I can't seem to figure it out. Help please. Thanks!

Work Space
I have a question about work space that I cant seem to get a real answer on.Im building a site and have already done the first page. Its demensions are 550 by 400. What i want is the site to fit to screen on whatever computer it gets pulled up on. Do I have to widen my work space for this ? Or is there a code that makes ny small work space pop up big? Please help!

Free Web Space
Yea Im looking for some space (free because im poor) im studying web development and need some space to practise my skills, anyone now of a good provider, which has minimal pops or banners and allows stuff like PHP etc.. etc.. :S

Space Invaders
I've been working on this game just to learn the basics og Flash scripting, but I fail to grasp why some of my asteroids suddenly become invulnerable, even my spaceship becomes vulnerable. Not always, but sometimes.

My apologies for...ineffective coding.

Space Between Letters
Hi all...

Anyone knows how to change the space between letters (kerning) of a dynamic text?

I've tried doing it with AS but no way. I know it can be done for static text, but for dynamic... sometimes flash is so illogical and confusing.


Regards

Why The White Space?
I'm progressing gradually!!

Still have the silly questions though

Here's another,
I have added a preloader to enter my site. This brings you to the navigation and a holder background. On clicking any of the nav buttons it loads in the background to the section in a new layer with another preloader.

My question is that when I'm previewing it online, before each of the preloaders show theres a massive wait of nothingness (white screen)

Why would this be, do you need me to post exactly whats going on in my frames?

Hears a link to the work in progress, only the home button is active.
http://www.elliotroberts.com

Thanks for reading and posible helping this post, respect!

Space In Instance Name?
So what im trying to do is have Mc's as buttons. And the instance name of an mc determines several things like what is loaded, what frame the playhead needs to go to, and the name that is printed in the button. So I need it to have spaces between the words. Is there a way to do this and use the name in scripting with the spaces?

here's what works...

Code:
ArtistBiography.onRollOver = function(){
this.gotoAndStop("over");
}
here's what i need to work...

Code:
Artist Biography.onRollOver = function(){
this.gotoAndStop("over");
}
is there a way i can get that space between Artist and Biography in scripting?

Can't Contain External Mc In Space
I'm sure this is simple to do, but I'm can't figure it out.

I have a mc on my main stage that plays an external mc, but it plays over the whole movie. I want to contain this external movie to play only in the space of the mc, not over the entire stage.

How can I contain the mc to just this square? Any help is appreciated, thanks!

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