I have made my website: [URL] and I have to SWF's one for the day and one for the night. I used a JS script to detect the user's time and by that to activate the currect SWF but I find it hard when I want to update the FLA of the day.FLA I have also to update the night.FLA. Therefore, is there a way I can make that detection of user's time using ActionSctipt in the FLA of so I will have one FLA and in the preloading time it will detect the time and by that will put the correct background?
my problem is the next. on my website i wan't to show the defference between day and night. So between 6am and 6pm it'll load the daylight.swf and if else it'll load the night version. I will start the website from a flashbutton so i think i have to put an actionscript within that file. so it will load the right movie at the right time for example i have a english kellogg's website from special K
Does anybody have a plugin, filter, or some as3 code to achieve this effect? I can easily achieve it using layers/opacity/tints etc but its bulky. Im looking for a smoother way of doing it.
I have just recently finished work on a A level project, which was to build a site for a night club. I decided to design and program it all in flash, then embedded the .swf files in html and URLRequesting them in the .swf files to link between them. But this is beside the point...
All my content is in text files and I load this into Dynamic Text Boxes and because some of the text is excessively long I decided to use a UI Scrollbar. I then encountered a most massive annoying error.
If I run the .swf on its own the scrollbar functions correctly showing the tab and also works with the scroll wheel. If I drag and drop the .swf into a browser and use it in there the scroll wheel functionality works but the tab disappears.
Lastly if I embedded the .swf file in a .html file then load the .html in a browser I get neither the scrollwheel functionality or the tab.[URL]..
I don't know what is going on, but I opened up the file that I was working on last night and all the layers are gone. They have been flattened into a single "Layer 1", and the the timeline shows only the one frame. However, when I Ctrl-Enter, the movie generates and plays just like it did last night (the layers and motion seem completly intact). How do I get them back for editing? This is ridiculous. As far as I know I did nothing to flatten the image, and I don't see how it could correctly create the movie unless my info is intact in some form.
I'm having a bit of trouble implementing a system that can detect night and day through webcam.
I've decided the best approach would be to detect the average colour of the webcam image, and through this it can be converted to grayscale and if its closer to black the background will be dark or if its white it'll be brighter.
What I'm having trouble doing is working out how to achieve this, I've been using the kirupa webcam tutorial but I've got no idea how to actually go about working out the average colour.[URL]..
I want to embed some video into my HTML page. As background I want to use big picture. And above it I want to insert loop video with (i.e.) walking man.So, can I embed video (without flash and any player controls) in page?Can I decode video with transparent background? Is there any codecs which support transparent background (alpha-channel)?
As the title already states i have a (big) problem importing a PNG in a Flex 4 application.Created a PNG file in Photoshop with transparent background. Loaded in Flex application using this code:[code]So when the complete event fires the data has been loaded and it is possible to assign the data loaded to the image component named Thumbnail:[code]Unitls now everything works as expected!But when i try to send the Thumbnail component's data to a WCF service i receive a photo with white background:[code]
I've designed a Flash site in CS3 using Action Script 2.0 that has a main flash movie sorta floating in space over a gradient background. I want the gradient background to re-size with the browser, so I thought that the easiest way to do this would be to delete the gradient background in Flash and instead recreate the background in Dreamweaver using the repeat background option and then make the Flash movie's background transparent. (I hope I'm making some amount of sense here).
I've found a few tutorials on how to do this, but so far I just get a white background instead of transparent. I've tried choosing "Transparent - Windowless" under Window Mode on the HTML tab in Publish Settings. And I've tried selecting the movie from within DW and clicking the parameter button and adding a "wmode" parameter with "transparent" as its value.
trying to print a movieclip with a white backgroundwhile keeping the stage background black.The movieclip,printResults_mc has a white rectangle in the bottom layer, 850pixels x 1100 pixels. The following function scales printResults_mcto the printers printable area but because isimpossible to predict the aspect ratio of the printable area someblack background always leaks out. I tried making the whitebackground 20 pixels larger than I need (870 x 1120) and thensetting a crop rectangle in addPage of (10,10,850,1100), no luck,the black stage background just fills in the area outside the crop.A simple solution would be to temporarily set the stage backgroundcolor property to white, print, then set it back to black, but I
When I click on the next button that loads a another swf the background from the previous swf flicks on the screen.click on the attached link URL..[code]I would like the "current_ plan.swf" to load so that the over lays (no so much on the views but more in the LIVING MASTER.We are creating this for both touchscreen and web(the link is the working touchscreen version hence the files being large).[code]
I have converted a large background image (much larger than the stage) into a Movie Clip. I did this so I can make it scroll as the player traverses to the edge of the scene.This appears to make the player free to roam the entire background image.I have a tree symbol with a class attached to it that blocks player movement.Here is my problem:
When I drag and drop instances of the tree symbol onto the background, the trees are stationary and do not scroll with the background.I do not want to have to implement code to make the trees scroll when the background does.I was wondering if there was a way to simply attach the trees to the background so that if the background moves, the trees move with it and appear to be part of the background as if they were drawn into it.It is convenient for me to be able to drag and drop as many trees as i need to block certain routes on the background from the player.I tried writing code to make the trees move but it was only working for the very last tree that I added to the scene.
I really don't know much about flash or swf files but in updating my portfolio I came across Polaroid gallery. I have managed to update the background jpeg with my own picture and remove the fade effect. However in the original program the background was tileable so when seen in a full screen browser looked fine. As my picture is not tileable I would like to know if it is possible to scale the background or the whole swf object without tiling the background.
I am relatively new to Flash CS3 and i have been learning Action-script 3 over the past week. I have come quite a long way and i have made a site in flash but i just have a question.I have been using an image as my background and i am happy with the way flash automatically scales all the objects in my file but the background image does not scale. Is there a way to do this? I have found out things online which show me how to add auto-resizing to the background but this knocks off the flash auto scaling/resizing for everything else.
create an effect that loads a fullscreen background image that changes according to the navigation selection. The background will be replaced everytime the navigation is activated
I have a series of background MCs, all different coloured gradients (pretty!), and a series of corresponding buttons elsewhere on the stage. On a press of each button I would like the corresponding background MC to come to the top of the pile of backgrounds, then fade in above the previous background. The background that was previously on top, needs to stay next-to-top.If the corresponding background is already at the top of the pile, then nothing needs to happen.
At the moment I am using swapDepths(1) which brings the target to the top no problem, but it may also send the previous top layer MC way down the pile.This is what I'm doing at the moment:
on (release) { if (_root.BG.colour2.getDepth()<=0) { _root.BG.colour2._alpha = 0;[code].....
I'm making a Flash Trivia Game in AS2 for my school US History project, and I need to make 50 or 100 questions, 2 options each, one correct answer, one incorrect answer.I made 100 blank keyframes, is there anyway to add a background to all of these? And what's the easiest way to make two options, one correct, moving you on to the next question and giving you one point, one incorrect, taking away a point, playing a noise, and not moving on to the next question?
I received an swf movie of a rotating brick with a blue background. I converted to fla but the blue bg and the brick are considered a single object. Is there a way to mask the bg without having to export it as single frames and masking in ps?
Im looking to add a bit of nice movement to a simple black background.has anyone ever since or used a PS3 style looping menu background or something similar, it has to be something subtle....
i embedded a swf into a page recently. I got it outsourced as i dont know my flash but the guy sent it to me like this.[code]however, the logo was then black in the background. which was really annoying, cause i'd asked for a transparent background and now i had a black one which didnt match the gradient of the header of the page.so i went back to the logo designer and i asked, he didnt know how to make the background transparent with this new code i've used. So, i asked him to make a new one with the gradient in the background. he did, and there are still black bits to the side of the logo..so i thought best to come to a knowledgeable place and ask - how do i set the background for this embedded swf as transparent?URL...
Is it possible that when i embed my swf file to an html page n then view it in the browser, it should autoscale only the background image of my flash file and keep everything else to the center?I'm using actionscript 2.0 for this movieclip.
I got this code from a blog and tried it..but it doesn't seem to be working..(my background pic(movieClip) instance name is 'pic') [code]...
stop ();blankmov.loadMovie("newmovie.swf") to load external movie in my main flash file and it works fine, except one problem which is the new movie that loads in the main movie becomes transparent so there is no background displaying in this new external movie. Is there a way to use loadmovie function so that new movie holds its background and it does not become transparent?
I'm trying to figure out if there is a way to allow a user to upload a file in the background and let them continue to interact with flash movie, while the file is being uploaded. E.g. if they are uploading a 50mb file, we don't want the whole interface to be locked up for 10 minutes while the file uploads, it's be great if they can continue to interact in the movie while the file uploads. I'm guessing if they refresh the page, or navigate away from the movie, that the upload process would get cut off and there isn't anyway around that. Couple of ideas I had:
1. My first thought is that we could use a popup window with a upload form in it. Which is simple, but not very cool.
2. Use some sort of ajax background uploader in conjunction with flash ... not sure exactly if this is possible.
I have tried a lot of different google searches to find an answer to my problem, but have come away more confused than anything! Also i'm working in AS2 (using Flash CS3).I have main.swf loaded first, and all I want is a series of swf's to load invisibly in the background so they are ready to appear instantly when accessed.
I am used to working in Flash MX but now have CS4. You use to be able to just drop an mp3 file onto a layer and it would loop continously now it's not doing that.I need help in a big way to loop this mp3 file in CS4.
A friend and I are working on a Flash game. He is programming it and needs the different character animations in SWF form. The problem is when he places them in-game, they are surrounded by the white block that was behind the character animation.
How do you make the background of the SWF/flash file transparent so they white block will no longer be visible. I know how to do it in HTML for the web, but this must be different.
I've bought a component on flashden. This is a text component that makes it possible to load CSS & Html on your flash project. Check the included zip for the source. What I want is that the background of the component is transparant. Now it has a linear gradient. I've tried to set the drawing in the component to zero alpha but that didn't do the trick. How to edit the background (if nescessary by actionscript)?