Flash Limits?
Anyone a good idea about how many objects with multiple Event Listeners you can stack vertically on a stage, before you start experiencing the 'chug', also known as performance degradation?
I've noticed that in as2 at around 50 attached movieclips with onRelease events, with a stage size of around 1800 vertically, and an onEnterFrame handling a minor animation, the browser scrollbar is lagged, and overall player performance just stinks. Is it just me and my code, or is this pushing the player? I have yet to do any code optimization, just banged it out real quick.
Anyone know how this would pan out in as3?
Actionscript 2.0
Posted on: Sun Jun 24, 2007 12:56 am
View Complete Forum Thread with Replies
Sponsored Links:
Flash PRO(FLV Limits?)
Has anyone had any issues with limitations on FLV files being imported into Flash Pro? I have a project that requires me to import a 1.3GB AVI file. Is this possible? I have tried to break it up into smaller videos, but I need them to play as one consecutive video on playback. Each time I start the import wizard, it begins, and then after about 5 min., brings me back to the sorsen wizard window. I can't seem to find any documentation from Macromedia about the limits and capabilities. Please Help! Mtneer
View Replies !
View Related
Flash Limits
q)What are the limits for creating a flash swf file to be displayed on a webpage. I create a simple game and it only seems to take a few KB. The same thing in c++/directx is about 300 times the size with graphics. Is speed an issue, or size of gameplay for a file etc.
q)How come it is so compact and does the swf file include graphics imported in the final file size?
View Replies !
View Related
Limits Of Flash?
Hi, i'm working on a game right where I animated my characters in maya and rendered out the sequence of frames and am going to import them into flash. In total there is going to be close to 100 thousand frames. My question is, what is the limit of flash in regards to the amount of images I can import into my library. They are in png format, and I am using flash cs3 with an actionscript 2.0 file. I noticed considerable slowdown when I had around 2000 targa frames imported into my library. Though targa files are a lot more bulky then png, I still shudder to think at what flash is going to be like when i have close to 100 thousand little images imported into my library.
View Replies !
View Related
Flash Limits?
Anyone have a good idea about how many objects with multiple Event Listeners you can stack vertically on a stage, before you start experiencing the 'chug', also known as performance degradation?
I've noticed that in as2 at around 50 attached movieclips with onRelease events, with a stage size of around 1800 vertically, and an onEnterFrame handling a minor animation, the browser scrollbar is lagged, and overall player performance just stinks. Is it just me and my code, or is this pushing the player? I have yet to do any code optimization, just banged it out real quick.
Anyone know how this would pan out in as3?
Edited: 06/23/2007 at 05:57:49 PM by cayennecode
View Replies !
View Related
Flash Limits
I know that there is a limit to the number of movie clip instances you can have in a movie, but I'm sure its not 26. I have 37 instances of a movie clip in my movie and they all have gifs in them. I'm getting strange results with 37, but as soon as I eliminate 11 of them, it works fine. I have checked all other possibilities and there's no scripting of naming errors. Does anyone know if there is a limit to the number of gifs or other graphics you can have in a movie?
View Replies !
View Related
Flash Limits
I think its a good idea to set some known limits to Flash - things which are good to be aware of for future reference and if not, something to just be impressed or enamored with
here are some things Ive jotted down recently. Ill add more as I think of them
==============================================
Flash limits
[DOCUMENT]
size:
-width: 1 to 2880
-height: 1 to 2880
drawing extents within:
-width: -720 to document width + 720
-height: -720 to document height + 720
-grid spacing: 7.2 to 288
-frame rate: .01 to 120
-frames: 16000
-layers: 16000
-movieclip instances: 16000
-loaded movies (in levels): 16000
[MOVIECLIP]
drawing extents within:
-width: -720 to 720
-height: -720 to 720 (1440x1440)
-_xscale/_yscale values: ~ 3276800
-_alpha values: 256
-_alpha steps: ~ .4 (don't increment _alpha below that value)
-_x/_y steps: .05 (don't increment _x/_y below that value)
-_rotation: -180 to 180 (you can set it to values beyond these but will revert to a value in that range)
-_rotation steps: .1 (_rotation wont be seen in increments below that value)
-attached clips before drastic attachMovie speed drop: ~ 800-1000 (common in grid creation; creating new clips to attach groups of clips, like each row, to will reduce the slowdown)
[TEXT]
-characters in a textfield: ~63000 (?)
-rotation of dynamic or input textfields w/o embedded fonts or static w/ device fonts: 0 (no rotation)
-max size of POST data (loadVars and XML Objects etc): around 64k
-characters for URLs set in Character panel: 127
[SCRIPTING]
depths:
-depths of existence: -16384 to 2130690045
(createEmptyMovieClip can surpass these values in creation but not always accurate
max reliable: 2147483647, min reliable: -2147483648)
-removable depths: 0 to 1048575
-recursive function call levels: 256
-loop calls: processor dependant, 15 or 20 seconds until timeout
[MISC]
-Flash Player zoom: 2000%
-line thickness (Flash authoring): .1 to 10
-line thickness (AS): 0 to 256 (increments of 1; 0 is hairline)
-size of imported bitmap: 5x5 minimum
-shape hints: 0 to 26
==============================================
suggestions welcome and will be added to this list
View Replies !
View Related
Flash Limits
I know that there is a limit to the number of movie clip instances you can have in a movie, but I'm sure its not 26. I have 37 instances of a movie clip in my movie and they all have gifs in them. I'm getting strange results with 37, but as soon as I eliminate 11 of them, it works fine. I have checked all other possibilities and there's no scripting of naming errors. Does anyone know if there is a limit to the number of gifs or other graphics you can have in a movie?
View Replies !
View Related
Limits Of PHP In Flash MX
I just finished a Flash site and now I'm working with someone, a php programmer, on creating a small online store. The store will hopefully be loaded via PHP inside of Flash. He knows little about Flash and I know a little about PHP. We could eseally make these pages, for the store, in HTML and load a seperate page, but that would be tacky.
I have been reading through the PHP tutorials, but I am still a little worried that the capabilities to load things dynamically into flash is limited.
Does anyone know of any example Dynamically loaded PHP flash sites?
Thanks
View Replies !
View Related
Testing The Limits Of Flash
I'm working on an apllication that takes variables from a form, puts them into an array and them sorts everything in some way. I did most of the project on a scaled-down version, to make it easier to debug. Now, when I added all the data, I can't compile it anymore. From the form, will result 5 x 5 arrays, each with 7 elements. Then, through 5 nested loops I concatenate the arrays to get all the combinations: [00000,00001,00002 ... 55555]. I should end up with an array of 3125 elements (5 to the power 5), each containing an array of 5 elements, each containing 7 elements. A grand total of 109375 elements. It's a biggy! It is clear to me that Flash connot handle it, at least not with the current design. Any suggestions? The nested loop is bellow.
function append(array1, array2, array3, array4, array5)
{
var z=0;
for(i=0; i<array1.length; i++)
{
for(j=0; j<array2.length; j++)
{
for(k=0; k<array2.length; k++)
{
for(l=0; l<array2.length; l++)
{
for(m=0; m<array2.length; m++)
{
result_array_append[z]=array1[i].concat(array2[j],array3[k],array4[l],array5[m]);
z++;
}
}
}
}
}
return result_array_append;
}
View Replies !
View Related
Limits And Capabilities Of Flash?
I have used Flash to create individual graphics but never a whole site.
It seems quite popular and, as more people have Flash support as standard, more relevant.
Having said that, what are it's limits?
1 - Can it handle detail submission forms?
2 - Can you build a forum in flash?
3 - Could it handle a catalogue and shopping cart / purchasing features?
4 - If not, would you use Dreamweaver to author just as much as was necessary and then continue with your Flash or is there a better solution?
5 - How would you upload a Flash site, as I was always under the impression a site's pages had to have .htm(l) as suffixes.
So there we are.
I suspect I know the answers to some, but I would like to see the ideas of other users, as there must be several different perspectives.
Thanks!
View Replies !
View Related
FLV Size Limits? (flash 8)
Using Flash 8
Has anyone ever imported a large QT .mov (10MB+) and had it work?
Is there a limit to the size of an imported video/FLV?
I've never had problems running flash video, until I got this .mov.
I figure its either the size, or one of .mov properties... but I've imported/exported it every which way I can think of.
Anyone have insight? Similar issues?
View Replies !
View Related
Flash Has Pushed Me To My Limits
hey guys, i have read your help and advice for coding...for making my full broswer flash. however i have had no success whatsoever with making my movie the desired one....i am using Flash Pro 8 on Windows.
so here is my .fla:
http://www.freewebs.com/progressiveevo/mainsite.fla
Could anyone help me with keeping the Dynamic Text elements and buttons in their place when the browser window is resized, like the resizing happens on http://www.underoath777.com/newsite/main.php and http://www.summitprojects.com/
thanks drukepple for your help, but alas i cannot work it out.
View Replies !
View Related
Flash Movie Length Limits
Hello Board,
I am creating a movie that needs to be about 30 Minutes long with a fps of 15. I know there is a limit to the # of frames per movie (14999). Can you create multiple scenes with 14999 frames each which would result in a much longer movie?
Also, the final project will be an .exe file and not .swf so I cant link the different movie clips.
Thanks!
Dustie
View Replies !
View Related
Flash Out Of Limits In The Html Page AS3
Hello,
I have always seen something in internet that I would love to do but this is impossible for me to find anycode for it.
There are swf that can get out of the limit in an html page. It has been used a lot for advertising of stuff like that.
Is anybody know how to do it?
Thanks for your help...
Claire
View Replies !
View Related
Limits For Coordinates In Flash Movies?
Hello!
Here's something I'm wondering:
I've made a text-scroller myself which scrolls by changing its height and _y position.
At some point - and I’m pretty sure my code is correct because I did trace the coordinates - the movieclip just disappears.
The trace looks as follow:
Scrolling up
Height: 5313.25 Y: -88.9 //displayed
Height: 5313.25 Y: -56.95 //not displayed
Scrolling down
Height: 5968.95 Y: -5358.05 //displayed
Height: 5968.95 Y: -5388.95 //not displayed
I think my question is, is there a min and max coordinate for flash to render and display controls?
As far as I can see it is also not possible to position something at a coordinate of 6000 - I get the message: invalid value.
Hmmm... Is that something one has to live with or is there perhaps a way around that?
Does anyone know more on this?
View Replies !
View Related
Loading Error: The Flash Player's Limits
I have found lots of posts on various forums with the following error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
Others seem to get this error when they provide a incorrect path to external assets. I am getting the same error but my circumstances are unique.
I am loading 3000 jpgs. I get the error message after 2000 are loaded. If I start loading at image_0001.jpg, the error is thrown at image_2000.jpg. If I start at image_0400.jpg, the error is thrown at image_2400.jpg. Have I reached the official limit of images the Flash player will load?
View Replies !
View Related
Canvas Size In Flash: Any Limits/workarounds?
hi,
im trying to make one of those "background sliding things", and it doesn't seem to work well: my background mc seems to be too big to be moved around the stage (stage size: 900w*500h, bgimages: 6 of them on a row, so 4500w*500h)
is there some limit to the "canvas size" flash can handle? And a possible workaround?
I'm trying to create a site that has six different backgrounds, one for each section, and the bg should "slide on" (or slide back) when dragging a slider or clicking a menu item.
any help appreciated!
twanne
View Replies !
View Related
Liquid Flash Issue. I Want My Mc To Scale Larger And Smaller....but Have Limits.
I am at a loss. And i could use some help. I basically have a main movieclip on my root, called 'c'. It is 1080 x 832. Large, but it's intended for large screens.
If someone's screen is really big, I don't want the mc to scale up. The max scale up should be 1080 x 832.
However, many on smaller screens won't be able to see it all, so if the user's screen is smaller, I'd like it to scale down....proportionately. But there is a limit to how small I want it to go. Anything smaller than 731 x 560 and I want the scaling to stop.
My issues are basically, putting in the correct if statements to make this happen. I also have some confusion as to what I should be listening for, the height or the width....it seems like it would be so much easier if you could just track one of the two...but then if someone's screen is a dragged to a weird shape, it won't do what i want.
The other issue is centering. If you take a large MC like I have and just center it all the time. If the browser window is smaller than the MC, the flash movie bleeds out over the browser window and you lose stuff. So I'm struggling with putting in the logic that will make it center if the browser is big enough, while ensuring that if the browser is smaller, my flash doesn't go off screen at all.
This is the code I'm using, and it ain't working, and I'm off track, and could use some help.
Thanks.
Stage.align = "TL";
Stage.scaleMode = "noScale";
// initiate postitions and scaling values for objects
c._x = Stage.width/2;
c._y = Stage.height/2;
//create a listner that checks to see if the browser window is resized
sizeListener = new Object();
sizeListener.onResize = function() {
// change movieclip properties when the window is resized.
trace(Stage.width);
trace(Stage.height);
if(Stage.height <= 832){c._y = 0 + 416}
else{
c._y = Stage.height/2;}
if(Stage.width <= 1080){c._x = 0 + 540}
else{
c._x = Stage.width/2;}
var imageHeight = 832;
var imageWidth = 1080;
var wRatio = Stage.width/imageWidth;
var hRatio = Stage.height/imageHeight;
//Larger Ratio
if (wRatio>hRatio) {
var ratio = wRatio;
} else {
var ratio = hRatio;
}
//Resize
if(_global.****this == true){
c._height = imageHeight*ratio;
c._width = imageWidth*ratio;
}
if(Stage.height > 832){
c._height = c._height;
_global.****this = false;
trace(****this);
}
if(Stage.width > 1080){
c._width = c._width;
_global.****this = false;
trace(****this);
}
if(Stage.height < 832){
_global.****this = true;
trace(****this);
}
if(Stage.width < 1080){
_global.****this = true;
trace(****this);
}
};
Stage.addListener(sizeListener);
View Replies !
View Related
Liquid Flash Issue. I Want My Mc To Scale Larger And Smaller....but Have Limits.
I am at a loss. And i could use some help. I basically have a main movieclip on my root, called 'c'. It is 1080 x 832. Large, but it's intended for large screens.
If someone's screen is really big, I don't want the mc to scale up. The max scale up should be 1080 x 832.
However, many on smaller screens won't be able to see it all, so if the user's screen is smaller, I'd like it to scale down....proportionately. But there is a limit to how small I want it to go. Anything smaller than 731 x 560 and I want the scaling to stop.
My issues are basically, putting in the correct if statements to make this happen. I also have some confusion as to what I should be listening for, the height or the width....it seems like it would be so much easier if you could just track one of the two...but then if someone's screen is a dragged to a weird shape, it won't do what i want.
The other issue is centering. If you take a large MC like I have and just center it all the time. If the browser window is smaller than the MC, the flash movie bleeds out over the browser window and you lose stuff. So I'm struggling with putting in the logic that will make it center if the browser is big enough, while ensuring that if the browser is smaller, my flash doesn't go off screen at all.
This is the code I'm using, and it ain't working, and I'm off track, and could use some help.
Thanks.
Stage.align = "TL";
Stage.scaleMode = "noScale";
// initiate postitions and scaling values for objects
c._x = Stage.width/2;
c._y = Stage.height/2;
//create a listner that checks to see if the browser window is resized
sizeListener = new Object();
sizeListener.onResize = function() {
// change movieclip properties when the window is resized.
trace(Stage.width);
trace(Stage.height);
if(Stage.height <= 832){c._y = 0 + 416}
else{
c._y = Stage.height/2;}
if(Stage.width <= 1080){c._x = 0 + 540}
else{
c._x = Stage.width/2;}
var imageHeight = 832;
var imageWidth = 1080;
var wRatio = Stage.width/imageWidth;
var hRatio = Stage.height/imageHeight;
//Larger Ratio
if (wRatio>hRatio) {
var ratio = wRatio;
} else {
var ratio = hRatio;
}
//Resize
if(_global.****this == true){
c._height = imageHeight*ratio;
c._width = imageWidth*ratio;
}
if(Stage.height > 832){
c._height = c._height;
_global.****this = false;
trace(****this);
}
if(Stage.width > 1080){
c._width = c._width;
_global.****this = false;
trace(****this);
}
if(Stage.height < 832){
_global.****this = true;
trace(****this);
}
if(Stage.width < 1080){
_global.****this = true;
trace(****this);
}
};
Stage.addListener(sizeListener);
View Replies !
View Related
Liquid Flash Issue. I Want My Mc To Scale Larger And Smaller....but Have Limits.
I am at a loss. And i could use some help. I basically have a main movieclip on my root, called 'c'. It is 1080 x 832. Large, but it's intended for large screens.
If someone's screen is really big, I don't want the mc to scale up. The max scale up should be 1080 x 832.
However, many on smaller screens won't be able to see it all, so if the user's screen is smaller, I'd like it to scale down....proportionately. But there is a limit to how small I want it to go. Anything smaller than 731 x 560 and I want the scaling to stop.
My issues are basically, putting in the correct if statements to make this happen. I also have some confusion as to what I should be listening for, the height or the width....it seems like it would be so much easier if you could just track one of the two...but then if someone's screen is a dragged to a weird shape, it won't do what i want.
The other issue is centering. If you take a large MC like I have and just center it all the time. If the browser window is smaller than the MC, the flash movie bleeds out over the browser window and you lose stuff. So I'm struggling with putting in the logic that will make it center if the browser is big enough, while ensuring that if the browser is smaller, my flash doesn't go off screen at all.
This is the code I'm using, and it ain't working, and I'm off track, and could use some help.
Thanks.
Stage.align = "TL";
Stage.scaleMode = "noScale";
// initiate postitions and scaling values for objects
c._x = Stage.width/2;
c._y = Stage.height/2;
//create a listner that checks to see if the browser window is resized
sizeListener = new Object();
sizeListener.onResize = function() {
// change movieclip properties when the window is resized.
trace(Stage.width);
trace(Stage.height);
if(Stage.height <= 832){c._y = 0 + 416}
else{
c._y = Stage.height/2;}
if(Stage.width <= 1080){c._x = 0 + 540}
else{
c._x = Stage.width/2;}
var imageHeight = 832;
var imageWidth = 1080;
var wRatio = Stage.width/imageWidth;
var hRatio = Stage.height/imageHeight;
//Larger Ratio
if (wRatio>hRatio) {
var ratio = wRatio;
} else {
var ratio = hRatio;
}
//Resize
if(_global.****this == true){
c._height = imageHeight*ratio;
c._width = imageWidth*ratio;
}
if(Stage.height > 832){
c._height = c._height;
_global.****this = false;
trace(****this);
}
if(Stage.width > 1080){
c._width = c._width;
_global.****this = false;
trace(****this);
}
if(Stage.height < 832){
_global.****this = true;
trace(****this);
}
if(Stage.width < 1080){
_global.****this = true;
trace(****this);
}
};
Stage.addListener(sizeListener);
View Replies !
View Related
Limits Of Flash Player Converting String To Array With Split() Function?
Hi all,
heres one for the real flash heads!!
i am building an application using flash 5 that will effectively need to search through all the words within a dicitonary.
Now i know that flash has alot of string manipulation power
i need to put the words into an array to then search through them.
My searching for the purposes of the application is not an issue, it does what i want, however, converting a string to an array is proving a stumbling block. I think i am right in thinking that when the loadVariables command is used, the variable comes in in string format and not array, so you need to convert within flash.
As a test, I have 2000 words coming in from a textfile using loadVariables - this comes in in an instance.
BUT if i then use the split() function to split the string into an array, the computer slows markedly and the "you are running a script that is looping alot...." warning appears.
is there a limit to how many items are held in an array?
is the split() function the best function to use?
any help would be greatly appreciated
thanks in advance
gilesb
View Replies !
View Related
Are There Limits?
Hi all!
Just wondering if there are limits with the length of a scrolling MC containing images in flash as the one I currently have is just over 5000px. The script seems to be working fine although it seems that flash refuses to render the last few images and if I shift the clip along to start at a different point then others render as incomplete bars of colour??
And one other thing when I replace theose images at the end + start of the scrolling clip with vector images all of a sudden they show up. The images in there at the moment are jpegs + much smaller in size than the eps file I replaced it with. Could it be a memory issue?
Any ideas or light to shine on this one?
Thanks heaps!!
View Replies !
View Related
X/Y Limits
I have been using flash for quite a while and quite recently I have been looking into creating my first small game. I thought a pretty simple game would be Pong. I am using flash 6, and I know the basics of ActionScript. But I got stuck while trying to make it so that when the ball reaches a certain point, it goes the other way. This is the code I thoughth would work:
onClipEvent(enterFrame){
x = 10;
_x += x;
if(_x > 500){
x = -10;}
}
But instead, the ball is just moving accross the screen without making any changes. Please could someone help me.
Luke.
View Replies !
View Related
AS/JS Limits?
I'm working on a revised portfolio site for which I want my Flash movie to be able to dump content into a DIV that's sitting above it. Aside from the fact that I'm having a bit of formatting trouble with the JS by itself, it has recently been brought to my attention that Flash now has built-in blocks for things like this that may prevent me from doing what I'm trying to do. Bear in mind that I am merely a script tinkerer, not an author by any stretch of the imagination.
All I know so far is that the pop-up script I implemented in this site several years ago:
http://www.morris-day.com/home.html (click "Contact Us" then the "Contact Form" link)
...still works just fine. The AS/JS setup for that is:
on (release) {
getURL("javascript:openNewWindow('contact.html','contact','height=700,width=800,toolbar,scrollbars,resizable,left=20,top=20')");
}
My fancy new pop-up setup (that uses DIVs instead of windows) involves this content-replacement script (that is currently only working in Safari but hasn't worked at all from inside an SWF):
<script type="text/JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args+".location='"+args[i+1]+"'");
return true
}
//-->
</script>
<a href="javascript:MM_goToURL('parent.frames['movieA']','color2.html')">TEST2</a>
Can anyone tell me for certain wether or not this script is ever going to work for what I'm trying to do? Obviously there's no point in browser-proofing the script if it's going to be blocked from working at all in my Flash movie. I can use actual pop-up windows if I have to, but the DIV setup would be a lot more elegant.
Thanks!
- whit
View Replies !
View Related
What Are The Limits....
I just purchased the actionscript 3 cookbook. I have been trying to build a flash site using Flash CS3, for course. I did notice the book uses Flex 2 to write all the code (ActionScript). Did not relize what flex actually was until I purchased this book. Well, I don't have Flex and want to know the difference betweeen the two. Is flash limited anyway or can I do basically do everything in the book (same sentax and such). I did try doing a couple of examples from the book, but did notice that I wasn't able to use trace() and couldn't put packages together. If someone could give me some insight into this, that would be great. Thanks.
View Replies !
View Related
FMS' Limits
Hello all, this forum has been very helpful in answering all my fms questions, I have yet another one.
How much is too much with FMS? I would like to broadcast and view users webcam, but I would like to know how many people I could broadcast and view without making to server go extremely slow and also, is there a way arround the server getting too crowded? For example, say I want a max of "x" simultaneous conections broadcasting in a server and when I reach that "x" mark for it to go to broadcast through another server, etc.
Is influxis the best hosting arround? Or are there others?
Thanks so much in advance,
Rgds,
View Replies !
View Related
Drag Limits
Hello,
i wrote this code on a MC:
on (press) {
startDrag("/win08");
}
on (release) {
stopDrag();
}
This way my MC is dragable...
In this moment if i drag the MC to the limits of my Flash movie a part of the MC will disapear...
I want the MC to stop drag if a part of it reaches the limit of my flash limit...
Can u help me with this?
Thanks,
Miguel
View Replies !
View Related
Random #s And Limits
ok this is the same rpg... thx 4 all your help guys too!!! does any one kno how to generate random numbers? and then set limits on to that random number so it wont exceed certain boundries? like so an attack will hit any where from 6-8 and no more or no less. thx
View Replies !
View Related
GetTimer() Limits?
Hi,
I'm working on an interactive in Flash MX that will be a part of a kiosk. 25 seconds after the screen is pressed it will ask the user if they're still there, to touch the screen if they are, and after 10 more seconds it will restart the interactive.
Now, my question is one of durability and robustness. This application will be running from approx 6am to 6pm... is there a limit to what getTimer() will return? In short, is it a problem that the most that getTimer() will return is 12 hours in milliseconds, or 43,200,000?
Of course, I could bypass this issue by using setInterval but all of the getTimer() functions and routines are in place so if these large numbers don't pose any serious threat.
Thanks.
View Replies !
View Related
Layer Limits?
Hey folks, I'm currently having a problem with Flash. I'm working on a Tetris-style animation in flash, which uses 60 seperate transparent GIF files, in 60 seperate layers. The problem is, after I hit the 12th layer, the first layer disappears.
Basically what occurs, is I drag 1.GIF into Layer 1, and 2.GIF into layer 2 --- All the way until Layer 12. When I drag 12.GIF into Layer 12, the contents of Layer 1 disappear. If I continue, and drag 13.GIF into Layer 13, the contents of Layer 2 disappear!
It's like I can only have the contents of 11 layers showing.. I've tried using different file formats, and the layers stay disappeard when you export to SWF. I can't figure out what's going on!
Anyone have any ideas??
-Hell
View Replies !
View Related
Setting Limits
I have a problem how can i set limits for a movie clip, that you would move with your arrow keys? I want to make a movie clip that will work as the limit, can someone help me??
View Replies !
View Related
Setting Limits
i have come across a programing problem. I am trying to create a game whare u use your arrow keys to move auround. i ahve just acomplished that. Now i am trying to set limits to stop the sprite from moveing of the screen how would i acomplish this task?
please reply
sign
IvamDude
View Replies !
View Related
Setting Limits ?
how do i add limits to this movie clip to stop it going off the edge of the stage ?
onClipEvent (load) {
xcenter = 400;
speed = 1/100;
}
onClipEvent (enterFrame) {
var distance = _root._xmouse-xcenter;
_x += (distance*speed);
}
View Replies !
View Related
Scroll Limits
Hello, help please...
The file I attach to this message has been taken from this site at "movies" section. I like this scroller, but there are no limits defined. I want to use this code for a text scrolling.
I have not succeeded do it by myself. Does anybody can help me?
How do I define a limits (text length) to this code?
Thank you!
View Replies !
View Related
Seting The Limits
Hi there
I can drag the movie clip and it stops draging when I release.
But I want it to be dragable only in a certain area.
(I have mask over the clip)so the movie clip disapears when it drags away from the mask.)
I want to know how to set the values for _x max&min _y max&min
Thanks
View Replies !
View Related
[F8] Question About LIMITS?
so the max depth is about 50,000 right?(can someone tell me the definate highest depth?)
and each MC has its own depthLayers inside it
so could I have say 5,000 movieClips(Depths 1- 5000)
and inside each movie clip there are 10,000(Depths 1-10,000:Inside of _parent)
so that would mean
5000
10000
_____________
50,000,000 (50 million) movie Clips on screen?(theyre all stationary)
would this be possible or would i have to compress them to bitmap Data?
View Replies !
View Related
Map Navigation And Limits
I have a small problem with the navigation on the map I am working on, and although I read everything on the subject in the forum, I couldn't find the solution.
More specific: I need a map with both zoom and navigational buttons (left to right, up to down) at the same time. For horizontal and vertical scrolling I am using this script:
on (rollOver) {
map_mc._x += speed1;
}
on (rollOver) {
map_mc._y += speed1;
}
these are the buttons as follows for up and right, zoom in-out:
on (press) {
map_mc._xscale += speed2;
map_mc._yscale += speed2;
}
on (press) {
map_mc._xscale -= speed2;
map_mc._yscale -= speed2;
}
But the instance map_mc is under a mask itself, so I can restrict the visible field. The problem is when the edge of my map reach the end of the visible field (the frame) - it doesn't stop andit continues to scroll over nothing - a blank field outside the map dimmensions. How can avoid it, cause the visitor can easily get lost this way?
Is it possible that the script I am using for zooming in and out and/or for scrolling may be wrong, cause I am beginning to think so...?
Can I restrict the map so it can stop and fix the whole mess?
Thanks!
View Replies !
View Related
Drag Limits
Hi,
I am hoping some kind soul can help me, I am trying to apply drag limits to my as3 code, but am having trouble implementing it. I had it but then had to change my code to get offsets working.
It is not working because I cannot find a suitable place for 3 lines of code
HTML Code:
PHP Code:
dragButton.x = goodX(board.mouseX);
dragButton.y = goodY(board.mouseY);
e.updateAfterEvent();
Everywhere i put this code has a negative impact, it should be able to go in mouseMoveHandler() but it does'nt work, any ideas where i can put it ? I've tried event.enter_frame listener, but no joy
PHP Code:
var board:Sprite = new Sprite();
stage.addChild(board);
board.graphics.endFill();
board.x = 100;
board.y = 370;
dragButton.x = 100;
dragButton.y = 100;
function Start() {
dragButton.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
dragButton.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
}
Start();
var isDragging:Boolean = false;
var xOffset:Number = 0;
var yOffset:Number = 0;
function mouseDownHandler(e:MouseEvent):void {
isDragging = true;
xOffset = e.localX;
yOffset = e.localY;
}
function mouseUpHandler(e:MouseEvent):void {
isDragging = false;
}
function mouseMoveHandler(e:MouseEvent):void {
if (isDragging) {
dragButton.x = mouseX - xOffset;
dragButton.y = mouseY - yOffset;
}
}
function goodX(inX:Number):Number {
if (inX < 0) {
return 0;
}
if (inX > 600) {
return 600;
}
return inX;
}
function goodY(inY:Number):Number {
if (inY < 0) {
return 0;
}
if (inY > 68) {
return 68;
}
return inY;
}
}
All i want is to have a border so the dragged object stays within a set area, any suggestions will be very gratefully received.
Like how would you make drag limits to this offset example ? http://blog.kirupa.com/?p=266
i am trying code found from here http://www.flashandmath.com/basic/dr.../dd_tour1.html
many many thanks for any advice, this problem is driving me nuts !
best wishes,
tom
View Replies !
View Related
Drag Limits
hi
just wondering if there is a better way to drag a mc within a limits for each of its corners, so far i have this fla, but i dont like the efect when the mc blinks to get back to its limits and i dont want to use an interval to avoid it.
So any ideas?
View Replies !
View Related
Help Witth Limits
I've created a very simple zooming out code but if i zoom to far out it'll flip the mc backwards. How do i set the limit for the zoom out so it wont get the point where it flips it backwards?
on(press){
onEnterFrame=function(){
_root.earth._xscale += -10;
_root.earth._yscale += -10;
}
}
on(release){
delete this.onEnterFrame
}
View Replies !
View Related
Map Navigation(limits)
I have a small problem with the navigation on the map I am working on, and although I read everything on the subject in the forum, I couldn't find the solution.
More specific: I have a map with both zoom and navigational buttons (left to right, up to down) at the same time. For horizontal and vertical scrolling I am using this script:
on (rollOver) {
map_mc._x += speed1;
}
on (rollOver) {
map_mc._y += speed1;
}
these are the buttons as follows for up and right, zoom in-out
on (press) {
map_mc._xscale += speed2;
map_mc._yscale += speed2;
}
on (press) {
map_mc._xscale -= speed2;
map_mc._yscale -= speed2;
}
But the instance map_mc is under a mask itself, so I can restrict the visible field. The problem is when the edge of my map reach the end of the visible field (the frame) - it doesn't stop and it continues to scroll over nothing - a blank field outside the map dimmensions. How can avoid it, cause the visitor can easily get lost this way?
Is it possible that the script I am using for zooming in and out and/or for scrolling may be wrong, cause I am beginning to think so...?
Can I restrict the map so it can stop and fix the whole mess?
Thanks!
View Replies !
View Related
Bandwidth Limits On FCS V1.5
I'm new to FCS, so pardon my ignorance, or lack of correct terminology.
We're running Flash Communication Server v1.5. We have a hard limit of 2500 peak users, and 10Mbps. It's been a relatively maintenance free system for the last couple of years, but as of late we're hitting the 10Mbps threshold constantly.
The only documentation I've been able to find covers the new Flash Media Server 2.0, which allows you to reduce the number of peak users and increase the bandwidth limit accordingly.
License Profiles
Unfortunately, I've been unable to find anything similar for FCS.
Can anyone tell me if this is possible, and if so, how to configure it. Or is our option to upgrade to the new FMS?
Not opposed to the upgrade, but would hate to have to spend the money when this one's been so trouble free.
View Replies !
View Related
Pushing The Limits
Hi folks,
We, at Design is Dead, are preparing a pretty ambitious project where streaming video is a key feature.
I already have little experience in video streaming with Red5 and video in general in flash but this time it's gotta be huge so it's necessary to scan the possibilities first.
The two main points I need to know are:
If there is a practical count limit to where Media server can handle live webcam feeds.
How many feeds a flash player, on an average computer, can handle with ease.
Thanks a lot in advance!
Pieter
View Replies !
View Related
Knowing Your Limits.
http://www.e0d.com/~tmakers/stm3.html
Whats the best method to set a limit on somethings _y property so it scrolls up and down, but has limits... everything I do ends up being quirky and not working just right.
var
View Replies !
View Related
[FMX] Textbox Limits?
Ok, i have a MC named player, it is the person, it moves around when you press the keys (up down left right), i have another MC named enemy, this follows the player MC (these are instance names), when enemy touches player, the counter ( a textbox, with the var: counter) goes to zero, but, there is another MC on the stage, with the code:
onClipEvent(enterFrame){
_root.counter ++;
}
so basiclly, the counter goes up rapidly but if the enemy MC touches you then the score is reset to 0, i want to make it so that when the textbox (counter) reaches 1000, it plays frame two,
i tried
if (_root.counter == "1000"){
gotoAndPlay(2);
}
but i dont know whatelse to do!
many thanks
Ben (flashy22)
View Replies !
View Related
|