ActionScript 2.0 :: Working On Load Manager For SWF, JPG, FLV, Etc?
Oct 26, 2005
find, or mash together, a load manager that supports FLV, SWF and JPG as well as text documents and XML.So what I am working toward seems to be kind of an update for Bokel's LoaderClass (08/06/2003) you can find here:
[URL] combined with the LoadQueueManager(01/31/2004) as laid out by Michelangelo which you can find here:[URL] Now what both of these lack is handling of the preloading of FLV files, I came up with a sequential preloader for FLV files based on the code found on LiveDocs here: http://livedocs.macromedia.com/flash...=00001573.html
Code:
stop();
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
Manager to not recognize the just upgraded Flash CS3 install?Message says: "This extension requires the following products: Flash 9 or greater. The extension will not be installed."
I made a swf that interacts with other site on the internet (which has a crossdomainfile for me).in the main.mxml there is a definition of webservice (mx:WebService)(which is not in my domain). Therefore when loading the swf, there is a first call to crossdomainfile.xml.I put this swf on my server so that my clients can get it.
When i connect to my server to download the swf, i expect to be asked if i want to allow the swf connect to foreign webservice domain.Do i always need to define exception in Global Security Settings panel?I don't want my client do define special things..Is there a best practice for that? Why when i surfing the net other swf can do this? I read about the FlashPlayerTrust, can i define there a website i trust my swf will connect to?
I've been away from Flash as3 for a while, but today I need to write a map link application using it and i'm pulling my hair out with an annoying problem!
I just want an overlay to appear when a map movieclip is clicked and fade out when somebody then clicks the map. The fade in works fine, but the fade out doesn't do anything!?[code]...
I was just out and about looking for a tween class to rotate an image and I came across "Transition manage"
[Code]....
trouble is, the transitionManager doesn't work... flash just asks me "what is transition manage!? - I'm assuming I followed a bizarre walk through because I've never heard of transition manager? Also "rotation" or .rotate isn't a property for the tween class to be able to change? What am I doing wrong?
I would like some help if possible. Ive been working with tween Manager (the laco and robert penner tween proto) and i found simply using the scaleTo function on images which have drop shadows causes distortion. So did some searching and found a resize function which implements the tween manager tween function.
It works well, BUT I would like some help in converting it into a class or prototype , even better build it into tween manager so I can call it like the scaleTo function. I call it frequently for transitions ive created which is why i would like to be able to call it simply
Im running a flash website, Im getting around 15,000 visits per day, and I have allocated 4 areas of the site for advertisements. I want to have 2 types of advertisements: pay per click, and pay per impression/view.Ofcourse there are many php ad managers out there, but how can I display the ads inside of flash? I don't mind if I manage the whole thing in a php page, but at the end, I want the advertisements to be displayed within flash, and ofcourse have all necessary changes made when a user clicks on an Ad (pay per click), or when the Ad is displayed (pay per impression).
I'm running app in air. When I'm trying to print the print manager window show up, i choose printer and click 'ok' and nothing happens. Printer icon showup for few seconds but have no print tasks. Of course it's not becouse of the printer managar (it works fine when printing from e.g. word).My code looks like this:
How to make as3 do Task Manager priority = high? I found out that , when I was playing my game on the flashplayer.exe . I went to task manager "set priority" to high on the flashplayer and boom everything running smoothly and it was lock on 30 fps every frame.
TransitionManager.start(babyPreloader,{type:Fade, direction:Transition.OUT, duration:0.5, easing:Regular.easeOut}); var tempPreloader:DisplayObject = babyPreloader as DisplayObject; this.removeChild(tempPreloader);
But since this does not wait for the transition to complete. I cannot see the transition happening. Is there a way to have a even listener for transition complete?
I am developing a a game in Flash using the PureMVC framework. From time to time I need to show dialog pop-up window to get a user response back (e.g. "Cancel", "OK" and other kinds of asynchronous user feedback) while "locking" the background for interactivity.
I need some management for my pop-ups: all pop-up notifications should be stacked up, so that if two (or more) pop-up messages are initiated at the same time I show them one by one.
What's the best practice here? Should I employ a proxy to manage my pop-ups (sounds unreasonable). How do I get feedback back from my dialog? using notifications?
I'm trying to detect when pop ups are visible (including tool tips if possible). The reason is that I need to hide or freeze (capture a snapshot) the Stage* components (StageWebView, StageVideo, StageText etc) when pop ups appear.
I use this transform managerblog.ryantan.net/2010/08/free-transform-manager/I'm trying to add bounds support.But it doesn't work fine:ki44321.ho.ua/testmanager/Here is source (FlashDevelop project):ki44321.ho.ua/testmanager/source.rar
i have been developing a game that runs in an on-line version as well as offline. so far everything has been cool, UNTIL! the ID's wanted the ability to make pop-ups in the xml that feeds to htmlText, so that was a little tricky but using TextEvent i was able to turn their links into external interface calls. everything was perfect then i remembered that this thing must be fully functional without any sort of internet connection, SO long story short is there a way to launch/open/prompt the settings manager without intertubez?
if you don't know what the settings manager is, it's this thing, [URL]
So I've got a video player that works great. You hit 'play', it calls the public playVideo() function in the FLVPlayer class to begin playback, and then other things happen accordingly (the PlayerControls class updates to show playbar progress, etc). Currently, it's easy: there's only one type of 'playback', and it talks directly with the FLVplayer class (and PlayerControls, etc).
However, we're adding different types of 'playback' now, where a poster image could optionally show for xxx seconds ahead of the video (and still needs to update the playbar to show progress). We're also doing the same for a video bumper, which plays between the poster image and the video as well (and also needs to update the playbar class).
In all these cases, there is a common "playback" that needs to be able to be paused (in some cases automatically, like when you click on a menu button in the menu to open a separate section) or restarted. Rather than do a check to see isVideoPlaying || isPosterPlaying || isBumperPlaying, it seems to make better sense to lump all these things into a common playback manager interface.
Let's say I'm trying to build a thing where there are hundreds of different objects on the stage and each of them does something that requires enterframe. Since it's better to group all the enterframes into one huge enterframe (ty to this thread!), I was thinking that each time one of the objects wants to execute something via enterframe, it would use the enterframe manager, which adds the demanded function.In order to manage all this, I was thinking of using an array which keeps track of all the objects that need enterframe and the functions each of them want to execute, but then again it seems pretty awkward to keep an eye on all this and remove the object and its function when I want to
I need to make a site 100% in flash but this site has to be update by the client.So my is how to add more pages to the site with a content manager?I read the forums and i understand how to dynamic create more menus without any problem with a CMS using xml, i also know how update a specific part of the site. i mean i can create dynamic text fields and update them with no problem also using xml. Well i can update fields that allready exists on the flahs it self. but in case that my client decide to add a new menu.. it has to redirect to a specific frame where the content of that specific theme is but if it don't exist.
I am trying to do the background images for a website, but I want them transitioning. So what I done is import each image onto its own layer (four images in total), and I turned them all into a movieclip. I am then trying to add some code to make them transition between each other. I am attempting something like
var myTM:TransitionManager = new TransitionManager(my_mc); var myTM1:TransitionManager = new TransitionManager(my_mc1); var myTM2:TransitionManager = new TransitionManager(my_mc1); myTM.startTransition({type:Fly, direction:Transition.IN, duration: 3, easing:Back.easeOut}) myTM.addEventListener("allTransitionsInDone", doneTrans); function doneTrans(e:Event):void{ [Code] .....
Is there a more logical way to do this? Each image is a movie clip and I basically want them like a background slideshow?
I want to develop an AIR application that will let users of my website download multiple files in a single process. My database stores details of all the files uploaded by a user so I want them to be able to simply choose a location on local disk then download all files they have uploaded to this location.
Are there any good tutorials or source code examples for a simple yet effective AIR download manager developed using Flash CS4. I have come across a Flex based tutorial, so how would I go about using this to develop it in Flash?
I am doing a small transiction using TransitionManager.start() function. how can i call a method after finishing the animation? i mean how to add event handler for this?
Is it possible to edit the .mxp-files that you install with the extension manager? The extension I have in mind is an API with some functions that need to be tweaked.
I've worked with PHP/MySQL for some time but have basically been editing existing OOP scripts or coding my own using procedural programming. I understand some about objects and how they work and I've read books but I am one who learns best by experimenting and trying to find solutions to my failed experiments.
That being said, I'm trying to create a simple window manager with it's own container. However, I can't get the container to display anything as I apparently don't understand how the stage works in flex applications. Here is my code, there are no errors but nothing gets displayed.Additionally, how do I get the current width & height of the application?
Is it possible (and if so, how?) to edit the .mxp-files that you install with the extension manager? The extension I have in mind is an API with some functions that need to be tweaked.
I've had a problem which has been persisting for a long time now - Flash won't save any cookies to my computer. Originally I thought that it was my security settings, and indeed when I went to the global settings manager I clicked the "unlimited" option for data saves and allowed this for all sites. But when I reloaded the page the changes hadn't been saved. No matter how many times I clicked on the options to allow cookies and give unlimited data storage, whenever I came back the settings had reverted to default, as I had found them originally.
And when I went to C:/Documents and Settings/[user name]/Application Data/Macromedia/Flash Player#SharedObjects/ I found that there were no folders there, for none of the sites that I had visited.
This problem persists on IE, Firefox and Google Chrome. I've shut off all adblockers, all firewalls, all anti-virus software, uninstalled and re-installed Flash twice and still nothing. I'm at my wits end. I'm running Windows on a PC.
i want to know whether its possible to change the local settings manager of flash programatically?. Earlier when the global settings manager was there i changed the settings by directly editing the .sol file? Will the same work now?
I have a flex application that uses BrowserManager for Deep Linking.
But whenever the # changes the new hash fragment gets appending to the bottom of the page. In IE it is inside a frame that says "Hidden frame for Browser History support." I didn't even know it worked that way. But anyways it is not supposed to be showing up visibly on the page but it is..