ActionScript 3.0 :: Expands And Closes Flash Window?
Jun 2, 2010You've seen a web site were the flash expands with an option to close. Doe's anybody know where I can learn that script?
View 1 RepliesYou've seen a web site were the flash expands with an option to close. Doe's anybody know where I can learn that script?
View 1 Repliestrying to tween an animation that expands as the browser window expands. To clarify this, imagine a box that simply expands to fill the dimensions of the stage and stops there. The issue is when the stage dimensions change, how can I adjust it so that the box equally expands to those stage dimensions...
View 3 Repliesi would like that my window opens and closes (opens: scale out; closes: scale in) not by clicking on the button but on the window itself.here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
Grtz,Jan the man
here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
schuifwindow www.truevision.be/other/btn_home.flascroll www.truevision.be/other/scroll.flafotoalbum www.truevision.be/other/foto_album.fla only picture one (left up corner) has a X button (i dont want to use this button)
why this isn't working?
Code:
changeWidth (quiz_holder, _width + 200, mx.transitions.easing.Strong.easeInOut);
function changeWidth(movName, moveTo, moveType){[code].....
What I want to happen is that the quiz_holder box expands sideways, then when this is finished, it expands lengthways. At the moment it's just getting to the point where it's expanded sideways and then stops?
When I have the AS open and try to find a label, the AS window closes and it goes back to the Flash cs5 timeline without executing a find. In order to find anything I have to copy the AS and put it in another text document outside of Flash. What am I doing wrong?
View 3 RepliesFor example, Lets say I have a flash swf game, and when users press connect they are assigned a random id that's then put into a mysql table. Then I have other users that connect and then can connect to these random ids. When users click disconnect i have the id taken out of the table that way when other people want to connect they dont get ids that arent active. is it possible that when a window is closed to have it run a php script? so i can get it to clear their user id?
View 2 RepliesI have a ColdFusion function which sends analytics called from a Flex sendPageAnalytics() function to a SQL database when the user navigates - this works perfectly.What I am trying to do is have the Flex application send a bunch of analytics when the user closes their browser, therefore providing information about the last navigation.
I have used an ExternalInterface callback and listener for window.onbeforeunload and a trace statement tells me that this is working fine.My problem is that when all bundled together, I get as far as tracing out that the sendPageAnalytics() function has been called, but I do not get a sendPageAnalyticsFaultHandler() trace or a sendPageAnalyticsResultHandler() trace, which I do on every other sendPageAnalytics() call.
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]
View 6 RepliesI have to create a banner that expands over content when moused over and then contracts on mouse out. I have managed to create the expand/contract animations and actions but I am having trouble positioning the that the flash file is in to ensure that it's flows over other elements on the page.
View 1 RepliesI am running Flash CS4 ver10.0. I noticed that every time I close the Flash application, the application quits.
View 2 RepliesSo my problem is that I can not even run Adobe Flash.
I downloaded the trialversion and I installed it too but after running the Flash.exe it closes immediately without any error message.
For some reason my flash program closes on me. The strange thing is, it is only 2 MB. I have a good amount of shapehits in it as well. Would that cause it to crash?
View 1 RepliesJust wondering how i can make a button in my flash close the entire flash even the player?is this possible? the reason i want to is beacause i am placing the flash on my website and it will show on page load in the center of the screen however i need a button to close it fully otherwise the flash will be in the way of the elements of the page if i simply hide
View 1 RepliesIs it possible to have flash call a php script when the .swf closes or crashes?
View 3 RepliesI have an RTMP stream loading and would like to know the drop off time of the video. Is there a method of knowing when a person abruptly leaves the video session by closing the window, back button, address bar, etc?Or do i need to make an external interface call from JavaScript to Flash using something like onunload & onbeforeunload events?I am guessing that it is the later, but wanted to see if there was a method of keeping all my code inside of AS3.
View 2 RepliesWe've all seen them before. Those obtrusive ads that expand their size when your mouse rolls over them. How are they done? I'm assuming it's more than actionscript code, and something is done with javascript or something.
View 1 RepliesI'm having is keeping the other mc boxes a set distance away on both sides at all times while one box shrinks and another expands.I've gotten it to stay away in a drag example, but I can't get it to constantly stay away while the animation is expanding/ shrinking.On a less important note, I've tried scaling (expanding/shrinking) the boxes using actionscript via the x/yscale properties, but I noticed it scales uniformly, I think the word is. To understand what I need, transform a box, circle, whatever and then hold ALT + transform it. It expands only on that one particular point.
View 4 RepliesI'm building a flash as3 portfolio website for myself. I've got it almost finished but I'm having a problem with my close buttons.
The way I have it set up - each piece of artwork animates to center screen as it fades in when you click it's thumbnail. This part works fine.
I have loaded jpegs into instances on my stage using loadMovie()See here:However the pictures (which have a greater height than the instance) in the thumbnail buttons extrude further than the height of the targeted instance (because the jpeg size is larger) but I want it to crop to the size of the targeted instance.Is it normal for the jpeg to fill the stage from the position of your instance, independent of the instance size it is targeted for?
View 3 RepliesWhen i load an image into a Loader object, and then addChild the Loader object into a movieClip on the stage (Flash), the image inside the Loader scales up or down, depending on the size of the movieClip container.
View 0 RepliesKnow how to do it? I dont want there to be a limit to the horizontal dimension of the dynamic textbox. I want it to depend on the text itself (expand automatically).
View 3 Repliesi have to make a banner that expands over the website it sits in to reveal more content. i've never made one before so i was wondering a few things.
1) is there anything special i'd have to do to the flash to make it work?
2) it looks like the banner sits in a css layer that's over top the rest of the site, is that correct? [URL]
I like to learn to create this effect [Url]...When you mouseover the Featured Work, it expands and when mouseout it collapse. It is on the left side of the stage under the heading FEATURED WORK.
View 1 RepliesI am trying to create a nav system that expands to show sub-sections when the user rolls over main section buttons.Let me describe exactly (as best I can) how this would work:A vertical list of 5 menu buttons is stacked and distributed at equal distances.The user clicks a button (lets say Button 2) and Buttons 3, 4, 5 slide down to reveal the sub-nav below Button 2. When the user clicks or rolls back to any of the original 5 buttons, that subnav closes up.Does anyone know of a good tutorial for this type of nav or have anything I might be able to dissect and work from?
View 3 RepliesI am preparing a presentation DVD... DVD will contain wmv video, user manual and another flash exe file... So DVD interface will contain three elements; user manual, a flash exe file and video.. Flash video window will be short-time video, playing like 5-10 seconds then repeats itself... My question is, how could I accomplish to put video window playing certain amount of time then repeats itself, in main window? I need as3 fla example, which could be so useful for me..
View 1 RepliesI created a Flash application that reads POST data from a form. A user clicks the button, and the data gets posted to the flash app in a new window (_blank). Now takes the data and then spins a wheel to give users a prize. If they don't win a message pops up letting them know they didn't win. If they don't win, clicking the OK button needs to close the browser window.
I've tried a number of solutions and it seems that the only way to get this done is to launch the window with javascript and then use ExternalInterface.call('window.close'); to close the window from within the Flash actionscript (3) because otherwise the window won't close (I've tried just using window.close and window.close() with no luck)
I understand how to launch a new window with javascript, but I don't know how to simultaneously launch and POST data to that window (the Flash application has to have the POST data. Is this the best solution? Is there a way to close a browser window easier than what I'm describing?[URL]
I have an asp page that will open a new asp page in a new window that contains a swf file with a button.hen the user clicks the button i want to close that window and reload the parent window.
View 9 RepliesI have a script that uses a webcam as input the problem is my site needs to wait to do stuff untill the security box that allows the webcamera to be used has closed....I looked in the docs
View 2 RepliesI made a flash clip that has a transparent background to it. I was wondering if there was a way of exiting out of it (the swf, not the browser) when someone presses the exit button I made. I know there is a hide solution but that makes the area behind it not clickable.
View 0 Repliesi am using flash 8 and the flash 8 combo box component. I have the components being called into a container movie clip on the _root timeline. I have used this._lockroot = true; so that the combo box will work. When you click the scroll bar on the combo box, it just closes it, making it impossible to scroll.
View 3 Replies