ActionScript 3.0 :: Making Playfield Bigger Than Window
Jun 3, 2010
I'm getting the hang of Actionscript 3 after a lot of reluctance to move to it, and finding it a fun language to work with. However, I'd like to build a play field that is bigger then the actual screen - a basic "game camera" setup that scrolls a map or scrolls around it.
View 4 Replies
Similar Posts:
Mar 15, 2012
The problem is: i have a flash movie (*.swf) 1280w x 640h,, and & want to remove the resize function, i mean block the window from being bigger window. i actually set a noscale function that is working on content, but the problem is with the window..... my code for nonscale is now:
[Code]....
View 4 Replies
Jul 13, 2009
[URL] how I could make it so when clicking on one of the pictures I got a big picture in a new window?
View 2 Replies
Feb 10, 2009
what I want to do is publish my flash file so that it scales down but not up!So if a browser window happens to be smaller than the pixel height, the movie is scaled down but if the browser window is bigger than the pixel size, the movie is not resized and just centered.
View 2 Replies
May 1, 2008
How can I remove a playfield that I have created with attachmovie? The game that I make is minesweeper, so when I click on a bomb the playfield must dissapear! I thought is was like the code below but it doesn't work!
Code:
for (i=0; i<wortel; i++) {
this["square_mc"+i].removeMovieClip();
}
View 7 Replies
Apr 23, 2009
how do I add a child to the main stage from a child movieclip?Basically, I have a movieclip linked to an external actionscript class. When the user clicks a button in the clip, I want to open a pop_up window on the main stage.When the user clicks a "close" button on the pop-up window, it should close.Can all the event handler code for this pop-up reside in the movieclip class even though the object is in the display list for the stage?
View 5 Replies
Feb 24, 2009
I'm having trouble creating a popup window WITHIN my document... after googling, I've only come up with HTML pop-ups outside of the document.This is the only example I could find quickly... if you wait for the flash header to load and then click on the red brain, that's exactly what I'm looking for:To be honest, I don't even know where to begin, other than with a movie clip. However, I don't know how to tie the movie clip into the document without changing the background or anything
View 1 Replies
Feb 13, 2009
I want to make the menu page load in the same window.Right now, if you click on the index page, it will open the menupage in a new window. I know I need to use _self, or _parent. But Icouldn't figure out where to insert it.
View 4 Replies
Apr 24, 2011
I'm trying to make a console for text based i/o. The output window needs to be able to print char by char in multiple colors, wrap horizontally and scroll vertically.Most of that isn't a problem with the default TextField class, but I'm having a lot of trouble getting the colors right.If I use the htmlText property and wrap each character with "<font color=000000></font>" it starts a new line each time I add text.TextFormats don't seem to work at all for some reason. I do something like this:
ActionScript Code:
var tf : TextFormat = new TextFormat();
tf.color = FFFFF0;
textField.setTextFormat(tf);
...and then add the new text but nothing changes. Even if it worked, could I even use multiple TextFormats in a single textfield?I've been reading about this new "Flash Text Engine", and I'm wondering if there's some way that can help me, but I'm having trouble finding enough examples to understand how it works.
View 4 Replies
May 15, 2009
this is what I have as code but it opens in a new tab when i click the button
futureBtn.addEventListener(MouseEvent.CLICK,goFutu re);
function goFuture(e:MouseEvent):void
{
[code].....
View 3 Replies
May 14, 2011
where abouth can i donwload a trial version of macromedia flash 5.0 and is there any stuff on making a flash clip come out of the flash screen or window
View 1 Replies
Aug 17, 2005
how do you make an image pop up in a window javascript style, from flash?
i have a variable in flash, equal to something like "images/image.jpg", and I want to make a button so when you click it it opens up a popup window thats a certain size, without menubars/scrollbars etc, to display that image, like a javascript on your standard HTML.
I read that flash has a javascript API, so there must be a way to do it huh? Is it getURL stuff, maybe with a POST of my variable?
View 3 Replies
May 1, 2010
how this site was made so that it fits every browser window completely, with no borders or distortion to the site? http:[url]....I want my site to fill the screen and the only way I know is 'exactfit' in the html but this stretches the file on certain browsers.
View 8 Replies
Jun 18, 2006
created a scene with randomly moving movie clips using:
onClipEvent (load) {
//data you may want to change
xstart = 0;
[Code]....
Inside these movie clips I have a button that I would like to make open a pop-up window. I have tried using the code from tutorial [URL]
View 3 Replies
Dec 4, 2011
I am an artist trying to remake my website...I have a picture of a window on my homepage. The window is a movie. When clicked on, the window lights turn on and a grid of thumbnail pics appear. Each thumbnail is a movie clip. When a thumbnail is clicked on, the movie plays and a larger image appears over the window. The problem is, the window is still active underneath the large image, so if I click on the large image, I am really clicking on the window movie clip underneath, and the thumbnail grid disappears-starting the window movie clip over. How do I make the window clip inactive after it is initially clicked? Also, I would like the larger images to end their movie clips after another thumbnail is clicked, so that there aren't large images piled up on top of each other.
View 6 Replies
Mar 9, 2010
what I want to do is that first you can preview all the skateboards, but when I click on a certain skateboard model I want sort of a fixed pop-up window, at the same time as the background (the usual webpage) gets toned down and you cannot access the background page without closing down the "fixed pop-up window".It is used on many pages so probably you know what I want to achieve.
View 2 Replies
Jan 26, 2007
It is possible to create a menu in the contextmenu making it possible to create a window (component�) ?
example:
function tab()
{
}[code]....
View 2 Replies
Aug 7, 2008
Im looking to make the flash file dynamic so that when someone changes the window size the flash file expands with it and some of the items contained move also.
View 3 Replies
Jun 7, 2010
i see there are various choices in the dropdown, but i still need it bigger. can this be done?
View 3 Replies
Jun 8, 2009
I'm animating a brick path forming brick by brick.I used a single brick symbol and repeated it over and over until it formed a path.The file was a lot larger than I expected it to be since I used really only one brick. Does the fact that I have a slew of layers explain why my file is on the heavier side?Would the file be smaller if I used a single image of a complete brick path and animated a mask to reveal one brick at a time?
View 2 Replies
Jul 29, 2009
I don't know what Flash calls this type of action - if I did - I'd know where to go for help or what to ask for.So is this a button, a movie?
View 2 Replies
May 15, 2009
I have to do an animation project for college. I would like to create an animation to use within a bigger project, that looks similar to the First Boot Animation from the new Windows 7.
View 4 Replies
Aug 13, 2009
Im using CS4 trying to make a tween where I transform a rectangle to go from 2 pixels to about 500 pixels so I can create a transition effect, but its only letting me transform it to around 200 pixels.Am I not doing it the way Flash wants me? How should I transform a rectangle to be a lot wider or taller for a tween?
View 2 Replies
May 4, 2011
I have radioButton controls that are being added to an otherwise empty movieClip. The height of the radioButtons are about 22, and the associated textFields (which I am using so I have finer control) are about 25 high. Once the two buttons are added the movieClip reports its height as 130, which is kind of crazy. I know that textFields have default heights, but tracing the height out of the textFields associated with the rb controls only returns 25, as I said above. Here's some code.
var box:MovieClip=new MovieClip();
var startX:int=0;
var startY:int=0;
[Code].....
View 7 Replies
Mar 2, 2012
I have a Mac and a PC - I have apple specific stuff on the Mac, everything else on the PC. My Adobe software is all on the PC. I like using the PC - bigger screen than the Macbook. Problem is that Adobe is effectively forcing me to use the MacBook.
Now I can use Flash to build cross-platform stuff from my PC, but I have to create all the certificates and profiles on the PC. If I want to do IOS development on the Mac I have to generate new certificates and profiles.
So switching between using flash/Flash Builder on a PC and native development on a MAc means continually regenerating certificates. If I had a desktop and PC latop, I could install on both, but not a PC and a MacBook. I am totally fed up with Adobe for this stupidity. If anyone knows differrent about the need to regenerate everything according to platform,
View 7 Replies
Mar 17, 2010
if I place a Border with width and height of "100%" inside a Group with width and height of 10 pixels the Border looks bigger than 10 pixels, why?
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
>
[Code].....
View 1 Replies
Feb 17, 2011
How to check if value is not smaller (!<=) or bigger (!>=) than value x?
View 4 Replies
Sep 28, 2009
I have a SWF wich is 2000 px wide.
I want to embed it so it's centered and it won't show scrollbars or resize even if the page is smaller than it.
Something like this site (horizontally) [URL]
View 1 Replies
Nov 10, 2004
Is it possible to make it so that if a user clicks on some key on the keyboard it makes a symbol bigger,proportnionly?
View 11 Replies
Aug 13, 2003
make a little action script,-that take a "movie" and scale it from zero to 100%Just like if u would do it with a "Motion Tween".
View 16 Replies