ActionScript 1/2 :: Swf Play Settings And Sizing In Browser Window?
Nov 18, 2011
I am in the beginning of learning DW and FL stuff.I've got a swf that I've converted to fla. The swf is set to loop continuously in playback and when played it appears in full screen mode. I want to adjust the settings to make it play only once (no loop) and open to a specific size on a browser page (such as half the available window size).Sounds pretty basic and need to accomplish this adjustment and have not reached that level in my learning yet
I have a problem and that is my swf will only play once in IE. When a user revisits the site from the same IE browser window or refreshes, nothing happens. If i open a new IE browser window, the swf plays and it plays from the IE cache as the preloader does not show again. This is happening in multiple versions of IE. I do not have this problem with Fire Fox, Chrome, or other non-IE browsers. Here is my preloader code:
loaderInfo.addEventListener(ProgressEvent.PROGRESS ,updatePreloader); function updatePreloader(evtObj:ProgressEvent):void {[code]....
I am using swfobject when publishing. I do not think this is the problem as when i publish straight from flash without swfobject and try to play my swf in the same IE browser window, the same problem occurs.
I have a problem and that is my swf will only play once in IE. When a user revisits the site from the same IE browser window or refreshes, nothing happens. If i open a new IE browser window, the swf plays and it plays from the IE cache as the preloader does not show again. This is happening in multiple versions of IE. I do not have this problem with Fire Fox, Chrome, or other non-IE browsers.
Here is my preloader code: loaderInfo.addEventListener(ProgressEvent.PROGRESS ,updatePreloader); function updatePreloader(evtObj:ProgressEvent):void { var myFont:Font = new Font1();
[Code]....
I am using swfobject when publishing. I do not think this is the problem as when i publish straight from flash without swfobject and try to play my swf in the same IE browser window, the same problem occurs.
I've set the publish settings to 100% width and 100% height and have then added the 'noScale' function into the first frame of my timeline. Here is an idea of what I'm trying to create:
I have three movieclips that are touching the left side of the Stage and want them to touch the left side of the browser but centre vertically. I can do this by adding the 'Stage.align = LC' command, but not sure if this is the right way to go about it.
The movieclip that is on top contains a logo and I want it to have a fixed size. I called the instance name 'logo_mc'.
The movieclip below 'logo_mc' is called 'container_mc' and is a strip of photographs that I need to run from the left to the right side of the browser no matter what the browser size. I need this movieclip to scale proportionally up and down as they viewer resizes their browser so the first photo is touching the left side of the browser and the last picture is touching the right side (without distorting).
The final movieclip is called 'buttons_mc' and is right below the 'container_mc' clip. This movieclip needs to remain a fixed size.
Obviously when the 'container_mc' clip resizes I need the other movieclips to move up and down to stay the same distance above and below the 'container_clip'.
I want to put together a flash gallery of photography for my photography business. I am very good at Photoshop design, html, css, javascript but I am a novice with flash. I can use it and use some actionscripting but my knowledge is limited.
I see galleries like this one: [URL]
The images expand and contract perfectly as the browser is resized. I am used to having to size pics for the lowest res screens (I design for 1024 width resos's usually).
What size should I make pictures to work like this... Does flash scale them down / up / either... are there quality issues with letting flash manage the sizing.
I'm on a macbook pro, osx 10.6, using CS4 Web Premium. I used to have an external monitor hooked up which had much higher resolution, so when using Adobe Media Encoder I'd click the Settings button on a video to get the Export Settings window, then stretched the Export Settings window to be the size of my external monitor. Now, I'm just using my laptop, and the export settings window does not have the resize buttons at top left to adjust it back to the size of my laptop, and the bottom third of the export settings window is getting cut off so I can't see the cancel/ok buttons etc.
I've tried re-installing media encoder (via reinstalling flash using the CDs) to try to 'reset' the window sizes, didn't fix the problem. If anyone knows of any other preferences or something I could delete to fix this,
i have a flash site that links to PDF's with the navigateToURL function which works etc But now i would like Link to rather open up a download window instead of just a new browser window?
i've made a flash movie in res 600 * 300, now i want to keep this res don't want the user to be able to expand the browser window or change the res or anything how do i do this?
Trying to detect a browser close event and send some data to the database when the user closes the browser window...but can't seem to get it to work.[code]
I have looked around for this and haven't found a way that clearly explains how to do this. More often than not the button will close the browser window in one but not another browser.
Is the a simple way of closing a browser window in all types of browser ( Or mainly Firefox, IE and safari on both Mac and PC ) with actionscript?
often than not the button will close the browser window in one but not another browser.Is the a simple way of closing a browser window in all types of browser( Or mainly Firefox, IE and safari on both Mac and PC ) with actionscript?
I am working is CS3 and am experiencing problems changing the first frame on a graphic symbol. When I type in a new number it jumps back to the old one. When I try to change play once/loop/single frame setting it jumps back to the previous setting. I am trying to simply modify this on a keyframe in the symbol's layer on the main stage. I've experienced this on multiple occasions, but can't get the workaround this time. I know I can do what I am attempting. In fact, I do it at a couple of spots earlier in this symbol's instance without problems.
How do you edit the flash export settings so when its exported you can disable Play, Loop, and other stuff like some shockwave and flash animations?
Also how do they make a full screen ad, sometimes seen on yahoo.com, with flash, but everything else is transperent cept for an object.. e.g. a car driving across the screen and you can still see everything around it! Thats really kewl hehe
I want to put a movieclip with tools at the bottom of the window in the center with tools icons, it should have fixed posiiton so that user can scroll the main window having it always on prompt. I think I need the browser window size properties to do somenthing as this. Is there a way to get them?
I am having a problem with Flash.I get the message Movie not loaded if I right clich where the video should be.I may have set the hardware acceleration on/off by mistake, but I cannot get the Settings manager to open to check it.I am running Feroda rc14.If I go to http:[url].... and right click in to white area at the top, I get the message 'Movie not loaded' and the flash version - 10.2.159.1. This is where I should be able to open the settings window.Where does Flash store that info on my PC? How can I check it/change it without Settings manager?
So i've made my .swf files. The only thing is they all play at full screen when i play them using my web browser. I need them to play at 548 x 408. when i open the .fla and go to properties it says the size IS at 548 x 410 but it can't be if its playing full screen.
<script>window.resizeTo(350, 500);</script> that is what I did it works but is there anyway I can get rid of the menu bars and scroll for the windowresize?
I'm currently working with a flash movie that opens up an IE browser to an external link.Since I'm working with a presentation that plays automatically after a few seconds and keeps loading new IE browsers with different links, I was wondering if there was a way with AS2, i can have flash close the IE window it opened?
I have a flashmovie that measures 950x675 px. If the user have a smaller webbrowser window than my movie i want the movie to be fitted in the browser window. But if the browsers width and/or height measures more than my movie i don't want it to fit (zoom), then the swf should only be centered.
I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:
on (release) { var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);"); }
This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.
I am building a portfolio site, and I want my content to occupy all the browser window.
Like this site: http://********theglass.com/ [URL]
I know GAIA have the ability to do this but I don't know how to use it, and the more I look to it, the more I think it will be overkill to use on my project.
I want my background to occupy 100% of the browser window and have the content to be centered.
Is there a much simpler way to do that without having to do it in a framework?
I'm running an online game site, and a few websites are really bad about embedding some of my games and stealing bandwidth.
To combat this, I replaced the original files with super-simple .swf files that redirected back to my own websites -- thus stealing back the traffic that they were stealing from me.
The problem came later when something changed with the new Flash player, and new windows no longer opened. For the life of me, I can't figure out how to get new windows to open. I've tried a few different approaches, but nothing appears to work.
So what I'm wondering is, can this even be done anymore -- where I can switch out a .swf that's being leeched with one that opens a window to my own site?