ActionScript 3.0 :: Size And Position Messed Up In IE - Safari And Opera
Mar 30, 2010
so im almost finished my first site! very excited. its for my dads business, hes a screening contractor. actually i doubt he will get any business out of it, even once we get our real domain name and everything because i don't even know how to get Google to like it. its OK though, its mainly just a practice site for me anyways before i make a resume site for myself. anyways, it consists of 3 divs, an html content area, and a flash banner and a flash menu, which stretch depending on the window size to keep their aspect ratio. everything works exactly as planned in Firefox, chrome, and pure flash player. but in IE, safari and opera, the size and position of things are way messed up! (only really care about IE). the edges of dynamic text are slightly to the left or right and hanging behind things because of it, same with some movie clips. and when i didn't want things to appear on the stage i set their x position to be the length of the stage, BUT IN IE U CAN SEE THE EDGE!
View 2 Replies
Similar Posts:
Mar 31, 2010
If I run the page locally on my machine, the banner looks fine no matter the browser. however, on the free hosting service server, size and position of certain movie clips are messed up in IE, safari and opera. they overlap in places, and u can see the corner of something that's supposed to be off the stage. why? note: the hosting service put some junk after my </body> tag... [URL]
View 4 Replies
Jul 19, 2010
I am trying to add a video to this site: http:[url]....The video plays in Firefox, IE, and Google Chrome.It does not play for me in Safari of Opera. When I preview the page from Dreamweaver in Safari or Opera, it works. When I load it up on the server, and check it on the web in those browsers, it doesn't.
View 5 Replies
Dec 17, 2007
I am using an FLV Player which provides a standard fullscreen button. Now when I test the file onto IE and firefox, switching between full screen and normal screen modes works perfectly. However, with Opera and Safari, it turns fullscreen alright without any problems, but then the cursor turns into a hand clicking icon, and you cannot click on anything .. nothing is interactive on the screen (except the ESC button which will take you back to normal mode). Even when you move your cursor over the buttons, the lightcolors (hover colors) do not show.
Here is my html:
Code:
<html>
<head>
<script type="text/javascript" src="swfobject.js"></script>
</head>
[Code]....
View 1 Replies
Dec 13, 2010
I've created a popup navigation menu at: [URL] In firefox and internet explorer everything works fine - the menu pops over the flash. But in Chrome, Safari and Opera the menu is behind the flash.
View 1 Replies
Nov 10, 2003
i want to know how did the creator of otradesign accomplish the effect in his site like the menu and the main contents change size and the menu position according to the size of main contents.
View 5 Replies
Sep 15, 2010
I have a problem with stage resize.I have a small rectangle on the right bottom of my stage. When I resize the stage, I want my rectangle keep its size (no scale) and position ( always on the right bottom of the stage). Here is my code:
mymc._width = 50
mymc._height = 20
Stage.scaleMode = "noScale";[code].......
View 6 Replies
Aug 27, 2005
I have a MovieClip and i want to adjust the position on movieClip According to stage size. Means I resize the stage than it will adjust position according stage size. Either I run this swf in browser it should be same.
View 2 Replies
Oct 6, 2003
I'm trying to create a dynamically generated navigation submenus. Basically I'm creating instances of a MC using attachMovie, I'm populating it's text field sizing it's background image's width (subGlow_mc) based on the width of it's text field(link_txt). I get the movies on the stage but hey dont position how I would like them and the backgound images are not resizing consistantly. I have pasted the AS that loops through the flash remoting call to generate the movies below.
[URL]
function createSubMenus() {
////Setting the intial X and Y coordinates.
var initX = 800;
[Code]....
View 3 Replies
Mar 22, 2004
I have 5 rectangle mc's. All different sizes and different positions.I have a final size and position.I want to click on 5 different buttons and make the corresponding mc grow and move to the desired final size.
View 14 Replies
May 27, 2010
How can I make a .swf with a movie clip that reacts to the size of the browser like this one:
[URL]
The movie clips are all positioned and sized relevant to the size of the browser instead of positioned within the document.
View 1 Replies
Nov 19, 2010
If I click on a symbol, go to the properties tab, click on the width textbox, type in 1000, hit enter, it then reports the width being 999.95. That's .05 pixels off from what I wanted.
I have snap to objects disabled. The symbol in question is a 1000x500 linear gradient rotated 90 degrees alone in it's own layer in a movie clip.
View 1 Replies
Mar 7, 2012
I'm trying to write a XML file to save the position and size of the app window in it. I'm running into this error: TypeError: Error #1010: A term is undefined and has no properties. MainTimeline/setupWindow()[code]
View 1 Replies
Jun 9, 2006
is there a way to open a new browser window with a set size and position?
View 3 Replies
Oct 6, 2009
I have a button symbol on my stage that I want to change size depending on where the mouse is on stage. ie: the y position of the mouse will make the x and y scale change (the symbol should get smaller as the mouse moves up the page and larger as it moves down - as if it is getting closer or further away).
View 1 Replies
Nov 21, 2011
How to position Objects in flash so that they stay like 10px from left no matter the size of flash movie. Something like in flex.
And how to embed Flash movie in HTML so that it all worked correctly?
View 2 Replies
Nov 15, 2010
I load an SWF using a simple loader but it changes the main applications x/y position and size.Which loader do I use to load an swf that will maintain the position size of my app?
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, function handleInit(event:Event):void{
var UIDesigner:UIComponent = new UIComponent();
[code]......
View 3 Replies
Sep 16, 2009
I have a MC that can be dragged. when it goes past a certain point it is scaled down in size and it locks in to a specified x and y position. The problem is this is causing the onPress function and onRelease function to not work properly. once the mc goes in i cant get it out. this is on the first frame of the timeline
Code:
flatline.onPress = function() {
if (_currentframe == 1) {
[code]....
View 3 Replies
Dec 12, 2010
How can i get the file to load at the correct size by using the onloadInit at the moment the file is loading but its loading in the centre. [code]...
View 7 Replies
Apr 19, 2004
how i could create a function to do the following. I have a mc and when you click on it i want it to scale too say 150% and move to a different x y position, then when you click on it again i want it to go back to its original size and position.
View 3 Replies
Jun 19, 2011
I have a "Dynamic Text" element called "output_txt". In my action script code, I have this line:
output_txt.text = "I am thinking of a number between 1 and 100";
But what actually gets displayed in that element, after that line runs is:
"thinin o ne etween n 00"
Some of the letters are randomly getting dropped. Any ideas on what could be going wrong?
(I'm using Adobe Flash Professional CS5.5 version 11.5.0.325.)
View 3 Replies
May 24, 2010
Spaces in title bar are replaced with 20% when i try to run certain html (which embedds flash) in firefox or internet explorer.[code]...
View 0 Replies
Jan 5, 2012
This isn't actually related directly to the AS programming language, but to the AS editor in Adobe Flash CS3 Professional. I think it happened after pressing a certain combination of keys by accident. I haven't been able to solve the issue since.
There seems to be lots of arrows (where tabs are) and the letter P facing the opposite direction at the end of each line.
View 2 Replies
Jan 12, 2007
I have created a neat little function that produces several buttons and inserts labels into each one from an array. It works great until I try to stick the sucker under a mask. When I do that, the labels disappear. I need this mask, but I also need the labels - can't have buttons without labels, now, right?Here's the code I am using:
Code:
var mcPosY:Array = new Array();
for(var i = 0; i < 14; i++){
[code].......
View 2 Replies
Jun 13, 2003
I tried looking around at some drag stuff in the forums but nothing helped me and Senocular's code scared me
Ok so I have these 2 sexy little scale + movement functions on my movie clip[code]...
View 2 Replies
Sep 26, 2007
I am following the XML/Flash Photo Gallery with Thumbnails [URL] Everything works great except the thumbnails. The first few thumbnails (the ones originally visible) are fine, but then the rest are all smashed up on top of one another. Is this a problem with my code? The pictures aren't all exactly the same width, so that might be the problem.
View 1 Replies
Aug 9, 2008
My flash movie is made competely in actionscript. Now, when i pick "play" from right-click menu in a browser, everything gets just.. very wrong I suppose there needs to be additional code in the first frame to delete all scene objects?
View 2 Replies
Nov 29, 2009
It seems that the getters and setters for the height are all botched up when the DisplayObject has any rotation applied to it at all.The getter for the height returns the total height of all the bounds.The setter for the height sets the height regardless of rotation.If you set the same value for height several times in a row, you will get about 3 different results until it stays at the same result.If the heigt's getters and setters are different, imagine the ramaflacations involved, first and foremost setting properties via "+=".Just posted up a quick example: (ZIP with SWF is attached - FLA can be made available upon request)The properties "width", "height", and "rotation" are applied in that order as listed, but setting them in a different order will affect the result differently, but I don't have the time for that.
View 3 Replies
May 1, 2009
it's possible to script an external preloader's empty movie clip to be of a specific size and position on the main stage? here's the script i've got for the preloader so far:
var my_pb:mx.controls.ProgressBar;
my_pb.mode = "manual";
this.createEmptyMovieClip("Portfolio", 999);
var my_mcl:MovieClipLoader = new MovieClipLoader();
[code]....
View 2 Replies
Sep 23, 2011
I am kind of new to javascript/html5. normally I would do that kind of stuff inside flash/as3. but since the iPad doesn't support that I need to switch the horse...I want to build a website where words are floating in position and size and if the mouse comes over one word it should draw some lines to all the other words. are there any frameworks one could use? the whole should look like a tag cloud with lines between the tags.
View 2 Replies