Image Change Every 15 Minutes
so I figured out how load a random .swf or image..but now how do I have that image change every 15 minutes without refreshing
Any suggestions...?
FlashKit > Flash Help > Flash MX
Posted on: 06-03-2004, 08:28 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Different Image Display Every 30 Minutes
Hello, does anyone know how to make flash display a different image every half hour? The images should be planned one for each half hour block, and flash should automatically change to the next one in schedule every 30 minutes.
is this possible??
thank you
Movie Clip To Apear In 10 Minutes, And Not Have 10 Minutes Of Frames In It?
Hi everyone. Im not the best action scripter, so I have been scratching my head on something and wondering if it can be scripted, and if so can anyone write up some kind of script that would do this? I want to make a movie clip file thats in the library appear on screen in 10 minutes, then i want to make it appear every 10 minutes later. Is this able to be scripted? I didn't want to make a movie clip that would be 10 minutes long when it only needs to run like 20 seconds. If anyone could help me out I would really appreciate it.
Thanks
Frank
Why Does Slide Show Image Dispears After 3 Minutes (When Show Is Stopped)
I made a slide show with navigation buttons, but when the slide show is stopped for more then 3 minutes; the image just disappears. Here is the code I am using:
First Actionscript
Code:
loadMovie(""+photo1+"","mc1");
_root.mc1._xscale = 80;
_root.mc1._yscale = 70;
_root.mc1._alpha = 0;
Second Actionscript
Code:
var speed = 5
onEnterFrame = function() {
_root.mc1._alpha += speed
}
Then I tried this; the image did not disappear this way, but the transitional effect did not work.
First Actionscript
Code:
_root.loadMovie(""+photo1+"","mc1");
_root.mc1._xscale = 80;
_root.mc1._yscale = 70;
_root.mc1._alpha = 0;
Second Actionscript
Code:
var speed = 5
onEnterFrame = function() {
_root.mc1._alpha += speed
}
What do I need to do, too make sure image continues to display?
PS: I am sending query string from HTML to Flash to display variables (ie. movie.swf?photo1=mypic.JPG)
Image Flip - MouseOver Button Triggers Image Change
Hello all,
My appologies if this question has already been answered if so i must have missed it.
My question is easier to explain by pointing here...
http://www.htmlgoodies.com/beyond/dualflip.html
The thing is the example above is in javascript and i would like to do the same thing in Flash.
Roll the mouse over a button and an image on the stage changes, then being a roll over the "image" natually flips back onMouseout.
i'm thinkin' typ
shownew == image1
on(mousover)
{
shownew(image2);
}
stop()
on(mousout)
{
shownew(image1);
}
stop()
on(press)
do what ever.
Hope this makes sense and please ask for more info if needed, or if possible a tutorial some where. 'cos this would really help me.
Thanks for your time, reading this and even more thanks if you can help me.
Mutex
Image Flip - MouseOver Button Triggers Image Change
Hello all,
My appologies if this question has already been answered if so i must have missed it.
My question is easier to explain by pointing here...
http://www.htmlgoodies.com/beyond/dualflip.html
The thing is the example above is in javascript and i would like to do the same thing in Flash.
Roll the mouse over a button and an image on the stage changes, then being a roll over the "image" natually flips back onMouseout.
i'm thinkin' typ
shownew == image1
on(mousover)
{
shownew(image2);
}
stop()
on(mousout)
{
shownew(image1);
}
stop()
on(press)
do what ever.
Hope this makes sense and please ask for more info if needed, or if possible a tutorial some where. 'cos this would really help me.
Thanks for your time, reading this and even more thanks if you can help me.
Mutex
Slide Show Image Dispears 3 Minutes After Slide Show Is Stopped - Why?
I have created a slide show with a stop button. The buttons stops; but after about 3 minutes of being stopped, the image just disappears and all I see is the movie's background. Does anyone know why this is occuring? If so, is there a quick fix for this issue?
PS: I used one of the goToAndPlay Key Frame events built right into my software; I assume it was this (to make movie stop):
Code:
on(release) {
stop();
}
How Do I Get A Loaded Image To Change Size Into The Next Image
ok, that probably sounded a bit wierd here's a link http://www.ronyshram.com/ what I want to do is something I see a lot but don't understand, you click a thumbnail and an image opens, you click another thumbnail and the image fades but the shape/frame resizes or changes from landscape to portrait to fit the next image when it appears.
any tips or AS ideas would be of great help please.
[CS4] Mouseover On Image To Change A Different Image Than Itself
Hi,
I am making a page that will have a section to describe the different TLDs (Top Level Domains) out there. I would like to make it so that when the user hovers over the TLD logo a description comes up in the middle of the logos. Please see this image so it makes sense.
I think the best/nicest way to accomplish this will be to use Flash. I have made a few Flash movies but I am really new and have been teaching myself. I'm great at researching and finding code/tutorials on the imternet, so please just point me in the right direction.
Thanks
Ryan
AS2 To Change An Image
hI
How do I use action script to change an image/place an image on the stage?
Thanks in advance
Edward
Image Change On Click.
I just need to kno how to have the image change when u click it, Like the image will be an "A" and when u click it , it will change to a "B". It is gonna be a wheel of fortune game for my school, so when u click the blank square it has to chage to the letter image. THANKS! Please Help..! Im begging!
Change A Background Image
I basically have 10 pictures in JPEG / or GIF , and want to show the pictures for 5 secs each, then swap to another picture. That's all I really need in the movie, nothing else..
I have imported them into the library,, but beyond that, I'm kinda flustered...
I'm not entirely sure if I shouldn't just use javascript for this, but I would like not to have an annoying 'navigate' sound everytime I want the picture to change...
Image Animated Change
Might be too ambitious for the likes of me, but worth asking...
I have a jpeg picture of a car (good digital quality mono pic), I would like to animate it in flash changing from this picture to the same picture, but one that's had just the edges highlighted (like a pencil outline of the same pic).
I've currently changed the original pic in fireworks and tried re-inserting it back into flash.
I've converted the image to a symbol to be able to animate - perhaps this is the problem?
I've seen this done on other sites, but am worried the only way to do it is long and tedious.
Any ideas?
Thanks for any help.
Change Image On Bounce
I've created a sort of droplet of water button that has an elastic bounce that expands on rollover and bounces back to original size on rollout. Pretty simple for those of us who aren't programmers but can download code.
But here is what I'm after now...
when the button is not expanded I want it to look like a droplet of water without an image in it and when it expands I want an image to appear in it - preferrably to expand with the button. Then on rollout I want it to go back to the droplet with not image.
I've attached the .fla of where I started. Any direction would be appreciated!
--butch
Image To Change With Buttons
I have a floor plan and I want my customers to be able to choose the options that are available by checking or clicking a button that will show it on the origanal image.
So if they want to choose more than one option I want them all to show up at the same time or as the click them. And if they decide they don't want an option they can just unclick the button and it will go back.
Can anyone help me? Or even tell me where I can find a tutorial or script on line to do this? I have dream weaver and flash 5.
I attached a sample of what other builders are doing but we don't want the pull down menu we want the buttons that they can pick and choose from.
Change Image On Hover
Hello all,
First, Hopefully this hasnt been asked before, I would have searched but Im not sure what to call it.
I have a 720X370 flash file with 4 text buttons on the left and an image on the right. Each text button is linked to a different image so when the user hovers over a button the image associated with it slides into place(from the top or bottom) Also, the color of the text buttons should change based on whether its active or not. Finally, after the image slides into place, I want some text to fade in over the image. Im not quite sure how to accomplish this with actionscript. Sorry if this is a long explanation, but any help would be appreciated.TIA.
Also, there are no links attached to the buttons, they simply slide in a new image.
Thanks again.
Reload And Have The Image Change?
hey all,
i need some input. i put flash down for quite a while and well i guess for me it's not like riding a bike.
listen i need a function that will make the main image of the page change to a new one.
if you know of a tutorial great...if you can lay it out for me here, well that would be really great too.
either way, thanx for the help!
jt
Image Change On Mouse Over
Hi Guys! Can you help me with this one? Here's what I'm trying to do. Let's say I have a couple buttons. On the other side of the document I have an image. So the question is what do I do to make this image change to another one when I move mouse to another button? For example: when mouse over button#1 - I have image #1, mouse over button#2 - I have image #2
Change Image To Time Of Day
I am creating a radio station website
and would like to change the picture of each presenter when their show starts (at set times of the day), any tips or links to any info that might help?
Cheers Parkpre!
When I Change An Image, The Other Changes Too, HELP (.fla Inside)
Hey guys, I am having a problem with my Flash file. Whenever I try to change an image, the other image changes as well. I want one image to stay the way it is, and another to be different, but it seems that if I try to change one image, both of them will be identical. How do I go about fixing this? I even tried renaming the instance names.. I'm not sure.
I have attached a source file so you know more clearly what I am talking about. Just swap the image or movie clip with one of your own images and both of them will be the same for some reason.
You can download it here www.wongj.com/helpmx.fla
Change Image With Flash
ok, so i have this photo viewer that allows you to change images. i also have an ok button. i want it so that when people click the ok button it puts the image that is currently being viewed onto the html web pagesomewhere and saves a cookie so every time they log in the image is still there.
thank you for looking
Change Image Every 24 Hours
So, I wrote a script that pulls images from a directory using LoadVars and posts them inside the flash ever 20 seconds new image. Now I need to make it every 24 hours. What are my options and solutions for this?
To clarify, I want to have 5 images in a folder named image1, image2, etc and have LoadVars pull image1 today and image2 tomorrow, new image at midnight.
[F8] Simple Image Change... I Think
I am new to Flash and have searched the forums for the answer to this with no luck.
I have built a basic animated menu which will sit at the top of my website and call pages.
I would like to show different images for each section of my site.
When I release from a button i would like to play certain segments of another movieclip with some basic masking effects to hide the old image and show the new image.
I have my main timeline and two movieclips which reside on the main timeline.
mc_Menu (My Buttons)
mc_Images (My Animated Images)
the images are placed into movieclip mc_Images and that timeline is broken up into layers and segments with different animations and stops at the end of each segment.
Now in mc_Menu I would like to use actionscript on each button to call mc_Images and:
1) tell to to play next frame (mask to hide current image)
2) pass it a number telling it the exact frame to begin playing at.
at the end of each mask animation which hides my image, I want to have a little script which says something like. (gotoandplay(i)) I being the number passed to the movieclip by the button who called it.
Hope this isnt too confusing.
Is this possible ?
Thanks!
Change Image Size?
I'm trying to be able to create a movieclip of a certain size. Here is the code I'm using. If i take out the xwidth and yheight from everywhere it works but the size is the default size. If I include them, the picture doesn't even show up
Code:
import flash.display.BitmapData;
function showImage(linkageId, xpos, ypos,xwidth,yheight) {
var linkageId :String;
var xpos:Number;
var ypos:Number;
var xwidth:Number;
var yheight:Number;
var myBitmapData:BitmapData = flash.display.BitmapData.loadBitmap(linkageId);
var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
mc._x = xpos;
mc._y = ypos;
mc._width = xwidth;
mc._height = yheight;
mc.attachBitmap(myBitmapData, this.getNextHighestDepth());
}
btn1.onPress = function() {
showImage("andy1", -80,-80,400,300);
};
Image Timed To Change With AS
Hello fellow flashers,
Its been a while since I've been on here. I used to live here so it feel like going back to visit our old school or something.
Anyway I have a question for you smart types.
I need an image in my flash to change every 30 minutes but as I'm a designer type I would normally just extend the timeline but there is probably a better way with AS.
Can anyone help.
Thanks,
Stef
Change Object Image
Hi,
I'm new to this forum, as well as ActionScript. I've stumbled into a problem that I just can not seem to solve. I am trying to change the image of an object dynamically by loading an image into flash. I so far have the following code working:
Code:
var myLoader:Loader = new Loader();
var urlReq:URLRequest = new URLRequest("image.png");
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoadComplete);
myLoader.load(urlReq);
function imageLoadComplete(event:Event):void
{
addChild(myLoader);
}
But what I want to happen, is when the image is loaded, I want to change the background of an object (button in this case) to the new loaded image. Is this possible?
Thanks for your help in advance.
Danny.
Change The LoadClip Image
Hello,
I am trying to change the image being loaded by the loadClip method... here is my code...
Code:
// default settings
this.createEmptyMovieClip("myThumbnailHolder", this.getNextHighestDepth());
myThumbnailHolder._x = 113;
myThumbnailHolder._y = 60;
myThumbnailHolder.createEmptyMovieClip("myThumbnail", myThumbnailHolder.getNextHighestDepth());
var myThumbnailLoader:MovieClipLoader = new MovieClipLoader();
myThumbnailLoader.loadClip(this["image0thumb"], myThumbnailHolder.myThumbnail);
slideShow_mc.specSlides_mc["holder4"].loadMovie(this["image0uri"],slideShow_mc.specSlides_mc.getNextHighestDepth());
desc_text.text = image0desc;
and one of the code on my buttons...
Code:
// function for the up button
up_btn.onRelease = function() {
slideShow_mc.gotoAndPlay("up"+(currImage));
if ((currImage+1)>=totalImages) {
currImage = 0;
} else {
currImage++;
}
desc_text.text = prizes[currImage];
myThumbnailLoader.loadClip(this["image" + currImage + "thumb"], myThumbnailHolder.myThumbnail);
}
What happens is that I can't seem to get the image to change to the new one, and the default image is staying up the whole time. I am sure that this is not a hard problem to fix, but it's been baffling me for a good hour and I'm getting a headache from trying to get it to work... if anyone could give me a hand it would be greatly appreciated...
Change Image Daily?
I wrote a script that pulls images from a directory using LoadVars and posts them inside the flash ever 20 seconds new image. Now I need to make it every 24 hours. What are my options and solutions for this?
How To Change An Url Image Into A Variable
hello guys, i need help to change the script below:
theLoader.loadClip("http://domain.com/App_Themes/back_header.gif", _root.tempMC);
into a variable, so if the url changed, the variable changing too.
for example i create
var img_link:BitmapData;
and i want the url to contain this data :
http://domain.com/App_Themes/back_header.gif,
but if the template skin changing to
http://domain.com/App_Themes//back_header.gif
then my variable img_link change to the updated link (or the active theme now).
thanks
Change A Movieclip Image
Hi -
How do I change the the image of a movieclip ?
I have an image that I made into a movieclip and when I click
on the image I want to change the image of that movieclip.
I have something like this -
my_MC.onRelease = function()
{
// need to change image here
}
Thanks.
How To Change A Background Image
We just inherited a web site with a flash animation. One is a location map. How do I edit the background image of the United States? I need to change the color of some of the states.
Set Button To Change Image On Over
I have made 8 flash button squares, and on "Over" i made it a "Graphic" so that i could change the "Brightness level" Im not sure if i needed to make it a graphic?
However when i try and set the "Over" to change the Main Pic it doesnt give me the Option unless i set it back from a graphic to a button, but than it makes it flash a hundred times on rollover,
All i really want to do is simply have each button on rollover make the Main pic change, i dont know how to set each button so that on over it does this,
Its been a long time since ive used flash, any help will be much appreciated, the link is here to what i have done so far;
http://www.melbourne-search.com/zelmanlew.htm
How Can I Change Image Resolution ?
I want to make an application :
1: user upload an image
2: he define 2 points, and the program was told the distance between 2 points to be 5 inches
3: change the resolution of the image to be 125 pixels/inches
any idea?thank you
How Can I Change The Image In A Movieclip?
i want to change the image in a movieclip.I dont want to create a new movieclip but i want to change the image in a movieclip.assume i have 5 images and one movieclip in my Library.i want to display all my images by using that one movieclip.
any idea
IBM.com Rollover Image Change
Hi,
I was wondering how www.ibm.com does their flash rollover buttons with background image/text change.
I know this is quite elementary for most folks here but some help on this would be appreciated.
Thanks,
Raj
Change Loaded Image To FLV
I have a player that contains a video with synchronized image slides that is controlled through actionscript cue points in an XML file. At certain cue points I want an flv video to play instead of my images and go to frame 3 of my mc and then play the video. The problem is while my play head is going to frame 3, it doesn't show anything (just white), the loadmovie function for my image slides seems to be cover it or something. I tried unloadMovie before showing my flv, but that doesn't seem to work. Any ideas?
Here's what I got:
Code:
this.pathToPics = "slides/";
function clear(){
content.gotoAndStop(1);
}
clear();
function showText(name:String, wholeObject:Object, speed:String){
slides = wholeObject.info.parameters.slide;
trace (slides);
frames = wholeObject.info.parameters.frame;
trace (frames);
// specify the movieclip to load images into
if(wholeObject.info.parameters.format == "img"){
content.loadMovie(this.pathToPics+slides);
}
if(wholeObject.info.parameters.format == "flv"){
content.unloadMovie();
clear();
content.gotoAndStop(wholeObject.info.parameters.frame);
//play video
var playback:mx.video.FLVPlayback;
playback.autoPlay = false;
playback.contentPath = slides;
}
}
function getSize():Object{
return {width:480, height:270};
}
How Can I Change The Image In A Movieclip?
i want to change the image in a movieclip.I dont want to create a new movieclip but i want to change the image in a movieclip.assume i have 5 images and one movieclip in my Library.i want to display all my images by using that one movieclip.
any idea
Change Image On Hover Help.
I have a replay button, and i want the image to change on hover. Can anyone give me the ActionScript for that? If it helps, i have
Code:
stop();
in the frame and
Code:
on(release)
{
gotoandplay("Main", 2);
}
on the picture for the replay.
How To Change Image Order . . ..
. . in a Flash .fla file? I don't have access to the original images, just the ones within the library. There are 8 images and I'd like to move them around and it appears, that I need to point to the originals in order to do so.
May possibly be my lack of Flash knowledge if there's another way.
Any helps would be appreciated.
Ciao,
HiTekMom
Smartclip To Change Magnification Of An Image
howdy!
Here is the problem I have:::
1.I need the user to be able to click and hold the mouse and draw a square over a background image.
2. When the user releases the mouse the section of the background image that is highlighted with the square should zoom on that area.
3. When the user presses a key(preferrably spacebar) everything should return back to the normal view (100%).
---this last part is pretty easy, I understand it.
I am pretty new to advanced actionscripting (if this isn't advanced that should tell you how new I am to it!)
Thanks for any advice, tutorials, examples, etc. I can email the code that I have started if needed.
Can Actionscript Change Image Names?
can action script change names of a graphic in the library? meaning i have a puzzle game that the main pic is in the library called puzzle and i what to change it so it the pic is random everytime - so can i use actionscript to change the name puzzle to puzzleold and newpic to puzzle (and then randominze it)
if not this then what???
thanks!!!
Yechiel
Can Flash Change HTML Bg Image?
I have a flash file that has two different layouts. One for the home page and one for the interior pages. Each layout needs a slightly different background image in the HTML file. Is there a way I can change the background image from Flash with JavaScript or something without needing to open a different HTML page?
Export Image Without Change In Color
Hi,
I am exporting an image created in flash in .ai or .eps format. When I am opening the .eps image in Adobe photoshop it is offering a menu "Rasterize generic eps format" in which I am choosing the mode as RGB - but still there is a color difference between the image in flash and the one opened in photoshop.
If I open the .ai image in Adobe illustrator - it straight away opens the file in CMYK mode and there once again the color difference occurs. Can someone specify a way to export the image so that there is no color difference between the original & the exported image.
Thanks
Roll Over, Image Colour Change?
How can I create a roll over effect in flash, for example I have an image and when the mouse cursor is moved over it will change colour or to a different image.
I am not sure on how to do this, I created a web site just using HTML & JavaScript but I want to convert most of in to Flash.
Any help would very much be appreciated, and THANKS you in advanced for any help.
0rlando
|