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?
DevShed > Flash Help
Posted on: May 8th, 2008, 03:33 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Place Whole Movies X, Y Coordinates, How
if you work with levels, and you want to load a new whole movie on a certain x, y coordinate.... how do you do that..
now i use this method...
the movie that has to be loaded on top of level 0, i am giving it the exact same height en length as the movie on level 0, and then i place the object in this almost empty movie, at the place where i want it to be....
there must be an easier way right?
Draggable Movies To Specified X/Y Coordinates
I have 13 Buttons that are draggable. 9 desktop computers, a cable modem, a 3Com Switch, a wireless router, and a normal router. I want the user to try and set up a network without help but then have a static button that on release slowly moves all the pieces to their respective places.
I see a problem in having all 9 of the computers as different instances because if one is in the right spot for a computer... but it's not the right instance of computer it will move around when it doesn't need to. so I need each of my computers to be able to snap to either of the nine computer spots without trading.
Draggable Movies To Specified X/Y Coordinates
I have 13 Buttons that are draggable. 9 desktop computers, a cable modem, a 3Com Switch, a wireless router, and a normal router. I want the user to try and set up a network without help but then have a static button that on release slowly moves all the pieces to their respective places.
I see a problem in having all 9 of the computers as different instances because if one is in the right spot for a computer... but it's not the right instance of computer it will move around when it doesn't need to. so I need each of my computers to be able to snap to either of the nine computer spots without trading.
Calling Movies And Coordinates At Random.
Okay, I got a good one for you flash gurus. Picture this. Remember those old gofer arcade games with the big hammers? You know, the one where the gofer pops out of a hole and you try to smash him with the hammer, but you never know which hole he's coming out of. I want to simulate that with flash...only with a little twist. If possible I'd like to use 5 or 6 "gofer" movie clips and call them at random. Any clues? I also need to call the predefined x,y coordinates (for the holes) at random. The end result being that you never know which gofer is going to come out of which hole. So, here's my question: How exactly do I call on movie clips at random? And even more confusing, how do I assign my coordinates at random. I imagine I'll be using math.random, but in which way?
Oh mighty flash gurus, please help.
Thanks,
AntiX
Drag Movies Within Root Coordinates.
I have a movieclip within that movieclip I have another movieclip.
I am using the inner movieclip to drag and drop the outer movieclip. I want to set the coordinates to drag to the size of the root movie. So I cant lose to clip from the root.
Cheers
Nathan
Move Coordinates Of Multiple Movies Over Frames
Ive made a movie on my main timeline with about 300 frames and 7 or 8 layers. Is there an easy to move all of the movie clips across all the frames to a different coordinate on the stage? The objects on stage are aligned to the top left of the screen and i want to have it be center aligned.
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
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?
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.
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
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?
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
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?
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
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?
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;
}
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!
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?
HTML In Flash Limits?
Hello.
was trying to add <div> tag to flash TB. but it doesnt render it,
i use htmlText ...
any tip why i cant work?
thanks
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.
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
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
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?
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
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);
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);
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);
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
Coordinates In Flash
is there any way to set the x and y coordinates flash uses to know where an object is so flash takes them from the middle of an object instead of left top corner? i added attachment to show which x and y coordinates. Thanks.
Controlling Flash Movies From Within Other Flash Movies, Contained With Frames...
ok, the title was a bit of a mouthful but hey, i was wondering if anyone could shed some light on this problem :
i know how to control content being loaded into frames, from within a flash movie (using get url) but, i'm not sure how to go about calling various parts of a flash movie that is situated within a different frame with the html page, from the one it's being called from.
so, for example, say i have a set of buttons within one flash movie, that when clicked moves the timeline in the other flash movie (within a different frame) to frame 5 or whatever. see what i mean?
would it be something like this?
on (release) {
getURL("name of html page.html", "name of lable/ number of frame within timeline", "name of frame flash movie is contained within");
}
[CS3] Passing Coordinates To Flash From XML
Hello All,
I would like to be able to pass a flash file coordinates in an XML file. The coordinates would be similar to an HTML image map.
He is my example XML file.
<page
coords="6,116,97,184"
link="contacts.html"
/>
I would like flash to take these values and draw and dynamically create a clickable area with the same coords and the link location.
is this possible?
Flash MX Stage Coordinates #$*^@#$_%)
how does Flash MX figure it's coordinates
i have a jpg that is loaded several symbols deep off of the main timeline and i have specified an _x and _y for it but aside from trial and error i have no way to figure out exact coordinates to position the movie. what corner of the loaded jpg is used for positioning and where is 0,0 so i can figure out exactly where to tell _x and _y to be?
Flash Changing X And Y Coordinates Of Objects
Hey everyone...
Well, I wasn't sure how on earth I would find out how to do this, but I thought I would ask here!! I'm not really a good coder so, it's a little tough for me, so go easy
Anyway, on this site right here... http://green.colorize.net/
they have a background that resizes to the width of the movie...how do they do that? BUT, also, I want to know how they change the x and y coordinates of the navigation around the site so that it's always on the edge of the screen no matter what you resize the browser window to...is this really easy and am I just dumb?
I really didn't know what to search for (hence the long title for this thread!) so any help on doing both those things or tutorials or whatever that you can show me, would be MUCH appreciated!!!
THANKS!!!
Actionscript / Flash Coordinates Differ?
Why is this?
Hello,
I'm an actionscript newbie.
if I try to look at the Flash 8 properties for X and Y and then try to use those in actionscript, the results are always unexpected. Can someone please explain the system to me, or let me in on whats behind this bug. Exploits, hacks appreciated! thanks
Flash Dynamic XY Coordinates In Page
Hello all -
I am having an issue, I need to know if there is a way that when a swf is embedded into another page, ie a 300x250 flash banner ad in an html page, is there a way that the Java or the Flash can know where it has been placed on that page?
Does that even make sense? I need my Flash piece to be able to expand up down left or right but don't want to make four different files, would love for it to be done dynamically. Any suggestions?
Thanks in advance
3D Flash Actionscript Coordinates Display
I was wondering how would someone put the x and y coordinates onto the screen during their movie? I want the coordinates of the movement frm the key pad control (up,down,left & right) to be displayed and change as the view in the movie on the screen during the movie, how would i do that. and can i also get the time that someone is on the site to be displayed on the movie also (changing second by second).
Limitation Of X,Y Coordinates Found In Flash MX
Hey all,
I have seemingly come across what appears to be an instance/symbol placement limitation on the Flash stage. I have imported a fairly sizable graphic of 3572px wide x 200px high on the stage and when I modify the horizontal placement of the instance (x axis) to anything beyond -2890 pixels, Flash returns an "Invalid size and placement" error (which is not even listed on the Error Messages page within the help system). The interesting thing is that if I select the instance and move it with the left arrow button, it will go beyond -2890 pixels, though it doesn't rendor the Flash piece whence it has been compiled into an swf. (Note: I am using Actionscript to slide the image across the stage when the view selects a button :: viewable at URL). I tried adjusting the coordinates on a small graphic the same pixels out and the same error occurs, so I don't believe the issue is related to the size of the instance.
My hope is that one of you can put an instance or graphic on your stage and test the coordinate limitation. I suggest starting around 2500px and moving up by hundreds until you find it the same error. Also, if there was some sort of documentation of the limitation, that would also be super.
Thanks for the Flash help,
Michael
Amplified Content, LLC
Flash 5 - Creating Movement Along Arc To Coordinates, Without Using Guides
I have a mc instance repeated 4 times for a navigation, each being a different link. I'm trying to get the mc, when clicked, to move along an arc to a specific coordinate, all depending on which of the 4 it happens to be.
When clicked, a variable is set to determine which navigation section the mc is, and in turn would tell through scripting what coordinates and arc to take. Is there a way to do this with scripting instead of creating 4 separate animations?
Thanks!
Flash Coordinates Image In A Movie Clip
Hi all!
I was wandering if you place a movie clip holding an image on float coordinates
causes any distortion on that image..blurring or something. Should we place it on integer x and y values?
Could someone provide a link or an answer? thanks!
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!!
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.
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
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.
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,
Opening Flash Movies From Flash Movies In New Window
i am pretty new to flash......i know very little about actionscripting......here is my dilema.....i have a flash site that will contain 5 flash movies that i want people to open to see my work......i want them to open in the center of the screen in their own window with no controls except to close window.......they are various sizes....and i want then to open in window that fits movie size......so far all i can figure out is how to make them open in a new html page.......sorry if i rambled here but wanted to be as discriptive as possible......any help would be appreciated as i have a sick family member who would like to see my work before they pass away.......
Flash Coordinates And Centering Movie Elements Within A Browser Window
Let's say you have a Flash movie containing a button, and that said movie is taller and/or wider than a given browser window. Is it possible to fix the button's position relative to the top/bottom/sides of the browser window, such that the button appears to remain stationary even if the browser window is resized or scrolled up/down or side to side?
Understand, it's not the Flash movie itself that I'm trying to center within the browser window, insted its the button within the Flash movie that I want to remain fixed relitive to the browser window.
Specificly, what I'm trying to do is the following: I have an web page that consists exclusively of a large (1687 px wide by 1698 px high) .swf movie, that is to say, its the WHOLE page and not just an element (such as a menu) added to an otherwise normal html scriped web page. Within that Flash .swf movie I have a number of pictures coverted to button symbols and set up so that when you mouse-over them a little animated "info box" movie-thing opens up to display information about that perticular picture. The problem is, if the box's position within the Flash movie is fixed then it is possible for the browser window to be scrolled far enough in one direction or another that when the user mouses over the picture part or all of the info box is off the screen. I don't want this to happen. What I want is for the info box to appear in the relitive center of the browser window no matter where you scroll the rest of the flash movie (up/down or sideways) within that browser window. You see what I mean? I don't know if this is possible to do that, but that's what I'm trying to do.
You'll have to forgive me, but my Flash scripting experience is somewhat limited. That's not to say I'm a total novice, but there are simply parts of the language that I have, thusfar, not had cause to use, and therefore, have never learned. The syntax for defining x and y coordinates is one of those. That said, I am familiar enough with the basic concept to know that the solution to my problem would lie in finding the absolute minimum and maximum hight and width coordinates for the browser window, then using those to determine the center coodinate for the window. The affore mentioned "info box" would then be centered over that point. This would be true as long as the max x and max y of the browser window did not exceed the max x and max y of the the Flash movie. Once this happened the box should simply remain centered in the movie rather than the browser window.
The problem is, I have NO idea how to do this in terms of the actual scripting of it. I have no idea how to determine from within the Flash movie the hight or width of the movie itself, let alone the hight or width of a browser window. Could someone please, in specific terms, explain to me how you might acomplish this. Sample code would be extremely helpful.
Thanks in advance,
The Raven
|