ActionScript 2.0 :: Set The Position Of Footer In Flash File?
Oct 28, 2005
I want to have a footer at the bottom of my website with information about me, and a place to link to my friends. I want to set the position to the absolute bottom of the browser no matter how big the screen size is and have a background that repeats on the x axis to fit the page. I've been looking into Listeners to do this, but its new territory that i'm not 100% with. If someone could in the right direction, or show me an example that would be great!
This is what i'm trying to do. I want to have a footer at the bottom of my website with information about me, and a place to link to my friends. I want to set the position to the absolute bottom of the browser no matter how big the screen size is and have a background that repeats on the x axis to fit the page.I've been looking into Listeners to do this, but its new territory that i'm not 100% with.
My Flash CS4 banner works OK. However if I place the above code just above the </head> tag, the banner does not seem to load! I am trying to load a video file just above the footer div and the above swf code. The video loads and plays but the Flash banner and <body. tag background color do not load. Is the SWFObject a necessary tool
I'm importing a large text file and trying to print it with a footer. My method for all of this is very simple. I'm dynamically creating a sprite container that is fed to the the printjob() class. Inside that I'm creating a dynamic text field and scaling it to the right page height/width (408x574) and adding a footer below that.
Using a loop, I'm scrolling the text field to the top of the next page and adding the page number to the footer and adding the page to the job. Mostly, this works fine, but I'm noticing some lines from the text field are not printing. This happens at the page breaks and is not consistent across different printers I use.
it will go back to frame 1 on the root... and i trace the value and it goes to undefined... but it goes back to frame 2 and loads the movie again.this is my first attempt at a sharedObject..
I want to put 100% height and 100% width Flash in an html page. I've done it. Now I want to put in that page also HTML Footer which would stick to the bottom of the page.
I currently working on my first Full-screen flash website. My problem isn't how to make it 100% flash.. that was pretty easy. The problem is how I should be able to define where the footer is on the layout. Like have I done it now is that I just used: width="100%" height="904px" in the object. This have been working good.. then we are able to scroll down to the bottom of the website for users that have resolution < 1280x1024. However if a user with 2048x1538 enters the website it will look like this: [URL] While in the swf it should just keep going down like this: [URL] Tho the users with < 1280x1024 must be able to scroll down to where the city design starts.
This is my current HTML code: <html xmlns="[URL]" xml:lang="en" lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>emotions</title> <style type="text/css"> <!-- body { height: 100%; width: 100%; margin: 0; [Code] ......
I'm trying to enclose an html site with a flash header and footer, the only way I know to do this is with an iframe. The issue I'm experiencing is a MASSIVE amount of excess space. look at [URL] to see what I'm talking about? This mega space was there before I put the iframe in however....how do I get that bottom menu to appear without having to scroll down to see it, whether there's an iframe there or not? Meaning, MUCH closer to the top of the screen. Here's my code so far:
I have the listed code to load swf file to the stage using action script 3 and I want to modify it to place the swf in (X,Y) place.what I should add to the code to have the swf file placed in the specify position.
var swfLoader:Loader = new Loader(); stage.addChild(swfLoader); ar gURL:URLRequest = new URLRequest("test.swf");
I am making sure that my site displays properly on different screen resolutions. Everything is fine except the flash; it is located in the perfect position in 1024 wide resolution but not for wider screens. How can I get it to show in the same place?[code]
I have battling for weeks over how to put a flash file on my frontpage. I want to know where to put the flass file.below is the script for the index.php of my page
I'm having trouble with putting a footer in a full screen Flash site. Im looking for something like this : [URL]..
This is the code I am using for my Fullscreen ,but when I put a footer in it it wont work. Is the problem the Fullscreen code or is there a better way then this
I'd love to be able to setup a footer at the bottom of my spark application, which runs in a browser. I was reading through the documentation of Application and the awesome Adobe examples. Unfortunately I keep getting lost when the documentation talks about how to position the control bar area at the bottom via spark.skins.spark.ApplicationSkin - sadly I'm not sure what that means from a practical standpoint and am stuck. How exactly do I set this up? Do I need to create an application skin (doesn't seem to be an option for the MXML skins) and apply it to the skin? Or instantiate ApplicationSkin and do something with it (what, exactly)?
Sorry, I'm sure this offensively simple, but I can't find any obvious example anywhere.
Hi im trying to create a footer on my website.Flash set not to scale and to fit the whole browser screen.so if the footer would be 100px height what maths should i use keeping ion mind that resizing would be available.at the moment im using this code.
I hate doing this, but am not sure what else to do at the moment. The following code is supposed to read the label and url from an xml file and put that info into dynamically-created text boxes on the stage that the user can click on to navigate a website:
Code: #include "mc_tween2.as" var fontAssign:TextFormat = new TextFormat();
if it was by any means (LocalCOnnect?) possible to create a footer that will 'talk' or interact with other instances of it on the same page... Now I know there is one problem because it's actually the same swf file
I have simple image gallery, where images are placed one next to another and the mask is revealing only one of them. Now I want to tween position of the images, but when I do that the mask is "traveling" alongside with the images..
So I'm trying my hands on some full browser flash and after reading a couple of tuts I wrote this
Code: #include "mc_tween2.as" Stage.scaleMode = "noScale"; stageListener = new Object();[code]...
The trace's are because it didn't work like I thought it would.Etc the middle movieclip didn't center itself but rather positioned itself seemingly how it pleased so I traced its x position and the var stageXcenter position and like suspected it shows different values.
My site has a header and footer and then has an empty mc the full size of the stage (overlaps the footer and header). I'm loading 3 separate movable windows into this mc. I would like both the header and footer to scale proportionally with the browser (including the empty mc.), but not the windows. So basically I want everything to scale but the windows as they have pixel fonts.I'm not happy with my current website because its not scalable and when I drag the windows around I have huge margins on larger resolutions. Since my header and footers are vectors I realize I can make things alot more flexible if I can just figure this out.
I really like the text effect Pom used in the footer contest, and would like to use the same grid-type method of creating mc letters but with a different effect. i understand how to change the parameters and shapes of the letters, but can't seem to figure out which piece of code is purely for the explosion effect. basically, i want the letters but with the 'Repel' effect from[URL] here is Pom's AS:
[AS] cellSize=3; radius=10; damp=.85;
[code]....
and here is the .fla using the repel effect using pre-made mc:
I want to load that SWF file in the center of the screen.
I got "loader(the variable that loads external SWF file)" and I don't know how to assign the X and Y position of that loader in the center of the screen.
This is my first post and I'm still new to flash, but I take flash as my final task. I'm making something : input like text editor and picture editor using php, the output is swf, i'm using xml for the content. But i don't understand how to change position dynamix text in flash with using xml.[code]...
I'm doing a flash menu for a site and am stuck with a bit of action script. Below is a link to the swf file. http:[url].........What I am after is for the white bar to follow the mouse when you are over the flash file y axis only (this works on the file), then when you take your mouse away from the file it returns to a specific position.The action I have so far is attached bellow.
I'm trying to get a swf file to play in a main swf file. I can get it to play, but it always appears in the top left corner. I've tried several different methods to position it but every one of them either doesn't work or won't play the file.Here's what I'm using right now.
The swf plays just fine, but it won't take the coordinates.I also need to get it to stop when I go back and the command
Actionscript Code: unloadMovieNum(circles.swf);
doesn't work.A tutor in my class showed me a method to place the swf into a box on the main stage without doing a lot of scripting, just putting in some file-name and size/position references, but he's not available right now to ask how he got that started.
I have assets in external swfs which I load. I would like to know the exact size of the stage and the position of the asset in the fla that created it. If I try to ask the resulting MovieClip for it's size, it turns out it gives me the size when it is trimmed down to the tightest box around the non-transparent pixels. Looking at the contentLoaderInfo, I can get the original width/height that was used by the fla file, which is great. However, I still need to know where to place the asset within the stage.. basically I need an x/y offset for it.
The reason I need this is for a customizable avatar - it has many parts, which are placed in different areas on a stage to create the full avatar. I would like to be able to combine the individual swfs for each part to achieve this.
I want to make a map that will display dots on it that when you rollover them displays info about that location.. Have done that no problem using dynamic text boxes.. thing is I want to use an XML file to populate the map so that you can add new dots to the XML file with X and Y positions and info and flash can read that XML file and mark them out on the map with the info on rollover..
So any ideas on how I use actionscript to create and position dots from an XML file which I can add to?