Use External Images In A Flash Movie
Hi,
i want to use an external image in my movie. This image changes every 10 seconds. How can i get this image in my flash movie? (fscommand?)
tnx!
FlashKit > Flash Help > Flash MX
Posted on: 09-21-2002, 09:41 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[CS3] Problems Loading Images From External Urls Into Flash Movie
Hi All,
I created a continually scrolling horizontal panel of images which are loaded via XML from an external server.
However i get strange results when im playing the movie. Sometimes all the images load without a problem but occasionally the loading process will stop on one image and cause the movie to stop working.
Because i load all of the images into the flash movie first, this means that the movie never shows any images.
Does any one have any idea whay externally hosted images may not load correctly?
My code is the following:
PHP Code:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var home:MovieClip = this;
var xml:XML = new XML();
var curX:Number = 0;
var curX2:Number = 0;
var curTX:Number = 0;
var curTX2:Number = 0;
var nodes:Array;
var numOfItems:Number;
var i:Number = 0;
//variable declarations to hold the values
var thisWidth:Number;
var thisHeight:Number;
var thisWidth2:Number;
var thisHeight2:Number;
var maximumHeight:Number;//height to which movieclip to be resized
var maximumWidth:Number;//width to which movieclip to be resized
var maximumHeight2:Number;//height to which movieclip to be resized
var maximumWidth2:Number;//width to which movieclip to be resized
var oldx:Number;
var oldy:Number;
var oldx2:Number;
var oldy2:Number;
var ratio:Number;
var ratio2:Number;
var mclis:Object = new Object();//An object that listens for a callback notification from the MovieClipLoader event handlers.
var mclis2:Object = new Object();
var temp:MovieClip;
var temp2:MovieClip;
var startX:Number = 0;
var checker = true;
var speed:Number = 1;
var centerX:Number = Stage.width / 2;
_root.createEmptyMovieClip("slider",3000);
xml.ignoreWhite = true;
block1_mc._visible = false;
block2_mc._visible = false;
xml.onLoad = function()
{
nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
loadImages();
}
function loadImages()
{
var t:MovieClip = home.block1_mc.attachMovie("item","item"+i,100+i);
var z:MovieClip = home.block2_mc.attachMovie("item","item_"+i,100+i);
temp = t;
temp2 = z;
home.load_txt.text = "Loading Photo "+(i+1)+" of "+numOfItems;
t.image = nodes[i].childNodes[0].firstChild.nodeValue;
t.image_mc.loadMovie(t.image);
z.image_mc.loadMovie(t.image);
_root.mcl2.loadClip(z.image, z.image_mc);
this.onEnterFrame = function()
{
percent = Math.ceil((t.image_mc.getBytesLoaded()/t.image_mc.getBytesTotal())*100);
if(percent == 100)
{
if((t.image_mc._width > 200) && (z.image_mc._width > 200)){
///////////////////////////// load images into block 1 /////////////////////////////////
_root.thisHeight = t.image_mc._height;//loaded movieclip height
_root.maximumHeight = 305;
_root.thisWidth = t.image_mc._width;//loaded movieclip width
_root.maximumWidth = 830;
ratio = thisHeight/thisWidth;//calculation ratio to which resize takes place
if (thisWidth>maximumWidth)
{
thisWidth = maximumWidth;
thisHeight = Math.round(thisWidth*ratio);
}
if (thisHeight>maximumHeight)
{
thisHeight = maximumHeight;
thisWidth = Math.round(thisHeight/ratio);
}
top = Math.round((maximumHeight-thisHeight)/2);
t.image_mc._width = thisWidth;//applying new width
//temp._width = thisWidth;
t.image_mc._height = thisHeight;//applying new height
//temp._height = thisHeight;
t.image_mc._x = curX;
t.image_mc._y = top;
curX = curX + (thisWidth + 20);
startX = startX + (thisWidth + 20);
///////////////////////////// load images into block 2 /////////////////////////////////
_root.thisHeight2 = z.image_mc._height;//loaded movieclip height
_root.maximumHeight2 = 305;
_root.thisWidth2 = z.image_mc._width;//loaded movieclip width
_root.maximumWidth2 = 830;
ratio2 = thisHeight2/thisWidth2;//calculation ratio to which resize takes place
if (thisWidth2>maximumWidth2)
{
thisWidth2 = maximumWidth2;
thisHeight2 = Math.round(thisWidth2*ratio2);
}
if (thisHeight2>maximumHeight2)
{
thisHeight2 = maximumHeight2;
thisWidth2 = Math.round(thisHeight2/ratio2);
}
top2 = Math.round((maximumHeight2-thisHeight2)/2);
z.image_mc._width = thisWidth2;//applying new width
//temp._width = thisWidth;
z.image_mc._height = thisHeight2;//applying new height
//temp._height = thisHeight;
z.image_mc._x = curX2;
z.image_mc._y = top2;
curX2 = curX2 + (thisWidth2 + 20);
if(i+1<numOfItems)
{
i++;
loadImages();
}
else
{
home.block1_mc._x = 0;
home.block2_mc._x = 0-startX;
home.block1_mc._visible = true;
home.block2_mc._visible = true;
home.load_txt._visible = false;
delete this.onEnterFrame;
}
}
}
}
}
xml.load("images.php?boat_id="+_root.boat);
_root.onMouseMove = function()
{
speed = (centerX-_root._xmouse)/80;
}
_root.slider.onEnterFrame = function()
{
if(_root.block1_mc._x > 900){
_root.block1_mc._x = _root.block2_mc._x - startX;
}
if(_root.block2_mc._x > 900){
_root.block2_mc._x = _root.block1_mc._x - startX;
}
if(_root.block1_mc._x < (0-startX)){
_root.block1_mc._x = _root.block2_mc._x + startX;
}
if(_root.block2_mc._x < (0-startX)){
_root.block2_mc._x = _root.block1_mc._x + startX;
}
if (_root._xmouse > 415){
_root.block1_mc._x += speed;
_root.block2_mc._x += speed;
checker = false;
}
if (_root._xmouse < 415)
{
_root.block1_mc._x += speed;
_root.block2_mc._x += speed;
checker = false;
}
if(checker == true)
{
_root.block1_mc._x -= speed;
_root.block2_mc._x -= speed;
}
}
The xml code im generating from images.php is:
PHP Code:
<?xml version="1.0" ?>
- <boats>
- <boat_advert>
<media>http://www.website.net/pictures/main/Sunseeker_Manhattan_74_2001_64_main.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_plan.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_1.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_2.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_3.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_4.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_5.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_6.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_7.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_8.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_9.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_10.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_11.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_12.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007013102325564_13.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_14.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_15.jpg</media>
</boat_advert>
- <boat_advert>
<media>http://www.website.net/pictures/main/2007121564164_16.jpg</media>
</boat_advert>
</boats>
Loading External Images Into Movie
Hello,
I am wondering if someone can share the knowledge about the most appropriate way to create a flash file that will be able to get external images from some kind of code (XML or some cookies) that will have a path to the image that will be needed to download into flash movie. The problem is that the path will be all the time different. As a result I'd like to know how can I make the flash file reading that path from XML file and then download the image into flash.
It is kind of challenge for me. I never did something like that.
Any advice is highly appreciated. Maybe there are some examples. It would be the easiest way to learn about it.
Many thanks in advance.
Unloading Movie With External Images...
I have a one.swf.
I am loading two.swf into a target movieclip.
It loads exactly as planned.
Two.swf loads external jpgs.
When I unload two.swf and go back to one.swf it works as planned.
However it does not unload the external images.
How do I hide/unload the external images? txs
Loading External XML Images Into A Movie Clip
I'm trying to load an external image thru an XML file, into a empty movie clip, so that I can control it after thru AS
This is the code I'm using, but It dosen't seem to work properly.
Quote:
var imageLoader:Loader;
var boxX:int = 0;
var myXML:XML;
var myXMLList:XMLList;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.load(new URLRequest("assets/xml/bottom.xml"));
xmlLoader.addEventListener(Event.COMPLETE, xmlComplete);
function xmlComplete(evt:Event):void {
myXML = new XML(evt.target.data);
myXML.ignoreWhitespace = true;
myXMLList = myXML.caseStudies.children();
for (var i:int = 1; i <= myXMLList.length(); i++) {
imageLoader = new Loader();
imageLoader.load(new URLRequest(myXML.caseStudies["jpgURL"+i]));
MovieClip["box_"+i] = MovieClip(imageLoader.content);
["box_"+i]x = boxX;
boxX = i * 86;
["box_"+i]addChild(imageLoader);
}
}
Load External Images In 2 Movie Clips
Hi,
What I'm trying to achieve is this:
I have 4 images which I want to load in to 2 different movieclips.
But, I would like the next image to fade over the previous image - without any "gaps" between each image.
So would I use an if/else statement: ie if mc1 does not have an image load the external image in to that, else load it in to mc2?
Please see attached. That's as far as my knowledge takes me at the moment.
Thanks for any feedback in advance.
Jo
Centering External Images In Movie Clip
hi, i'm doing a portfolio for a photographer. i have thumbnails of the images on the left side, and when they're clicked, they load an external image into a movie clip that's on the right side. some of the images are vertical and some horizontal, so i want them to be centered in the area. how do i do this exactly? i have a feeling it will involve manipulating the _x and _y somehow but i'm not sure...
here's the in-progress page if you want to see what i mean:
http://www.morganicdesign.com/clients/jen_gallery2.html
(click 'engagements', that's the only one that works right now... i want the vertical ones moved over to the right, and the horizontal ones moved down)
thanks for your help in advance! :)
How Can I Make A Movie That Load Random External Images?
i wonna make a section where a random image is uploaded whenever the user comes. the images should be external, so that i can just put a bunch of images in a folder, and have flash randomly display on of them at a time.
i tried MANY ways, but i could not get it.....
anyone knows how to do it, or knows any tutorials that do it?
thanks!
Load External Images Using Empty Movie Clip
I downloaded this file from the web in a tutorial located at: http://www.entheosweb.com/Flash/load...nal_images.asp
My problem is: How do I alter the script to add image 1, image 2, image 3 and etc.
Your help is truly appreciated.
Ecinele
[AS3] How Do I Load External Images Into A Movie Clip Then Add Children?
This is what I used in AS2:
Code:
importImgs(40);
function importImgs(fNum:Number):Void {
for (var i = 1; i<=40; i++) {
this.createEmptyMovieClip("mHolder"+i,fNum);
eval("mHolder"+i).createEmptyMovieClip("m"+i,eval("mHolder"+i).fNum);
var mLoader:MovieClipLoader = new MovieClipLoader();
mLoader.loadClip("img_"+i+".jpg",eval("mHolder"+i));
fNum--;
}
}
This just added each image to the stage, one on top of each other.
I would then fade the first image out, revealing the one below; creating a simple slide show of sorts.
I quickly realized having all the clips visible and on screen at once wasn't the most efficient method.
I've since switched to AS3 and need help achieving the same affect.
I've read of adding "children" to a container.
This seems to be what I need. Unfortunately the examples I've found only deal with 1 container and one child. I'm not sure how to add children so that I may loop through them later.
The desired affect I'm looking for:
An img loading function which will load 3 images at a time until all files are loaded. (essentially preloading)
Adding each image as a child to the main container and set its visibility to false so they are not all visible at once.
I could then make visible two of the images, and fade out the one on top revealing the 2nd image. I would then do this throughout the images in a cycle.
The end affect will look more like a movie than a slide show, as I have to cycle through about 40 sequential images to simulate motion.
I hope this makes sense.
I believe I have the fading technique covered,. I just need help figuring out how to get the elements loaded so i can loop through them.
Thanks in advance
Steven
Laoding External Images Into Movie Clips In Different FRAMES
I generally don't mess with the timeline, but I need to for this project. In a nutshell: user can customize a product reference sheet with her choice of crossection, footprint, etc. All those choices exist as external swfs. In order to be legible, the reference sheet must be two pages.
I know how to print multiple frames with Flash. But what I cannot yet achieve is loading external swfs into movieclips on different frames, and then print that. Here's my code from a test fla:
ActionScript Code:
//add1, add2 are buttons on stage.//printArea is a movie clip on stage. holder1 and holder2 are movie clip instances within printArea movie clip.////these two event handlers go to a frame in printArea and load in the images. They work fine.add1.onRelease=function(){ printArea.gotoAndStop(1); printArea.holder1.loadMovie("Salakk.JPG");}add2.onRelease=function(){ printArea.gotoAndStop(2); printArea.holder2.loadMovie("johnStewart_cn.jpg");}////this is the function that sends the swf to the printer.printBtn.onRelease=function(){ glPrint=new PrintJob(); glPrint.start(); glPrint.addPage(printArea, null, null, 1); glPrint.addPage(printArea, null, null, 2);}
Now, this code will print both frames as separate pages, but the loaded image in printArea.holder2 does not print! Anybody have any ideas? thanks in advance!
Is It Possible To Upload Images From CMS To Update Images In Flash Movie?
Hi,
I've got some developers working on a job that I'm project managing. Check it out by clicking here.
On the home page, you will notice a Flash movie of images of cars that fade into each other. My client wants to know if it's possible for him to be able to update the images of the cars (when the model gets out-of-date) from the CMS. Is there a way of updating the images from the CMS? The site is scripted in php on a Linux server. Any help will be greatly appreciated.
Regards,
Dan
Flash JPG External Images
We wrote a banner advertisment module that reads external images from the server for the Web. The images are loaded and shifted 1 pixel down and to the right when flash loads them. Anyone know any way to stop this besides shifting the image when designing it?
Aaron
External Images In Flash Site
My client wants to be able to easily swap out image on a website that I'm making. Would this be better to do with a text box calling an image in HTML or with XML?
Any suggestions would be great.
This is for 6 small images that appear on the same page with no other information that needs to be updated.
thanks!
Fade External Images In Flash MX HOW?
Hi I have hit a problem, I want to have 9 images, externally loaded and fade in succession.
[IMG 1]>fade to>[IMG 2]>fade to>[IMG 3]>fade to>[IMG 4][i]>etc....
I have tried the loadMovie() but they do not fade, just appear. I thought about putting a movie in a movie but don't know if this will work.
ANY HELP would be great
Kaci
Windows XP Pro / Media Center
Macromedia Flash MX
Loading External Images Into Flash
Currently I'm working on a simple car game with simple graphics that I did in a 3D software. I'm wondering if the car can run smoothly if i load the jpegs which contain my 3D graphics externally? cuz if it's smooth i'm goin for full screen (1024x768) otherwise i would have to reduce my jpeg file size and my game screen will be much smaller. Please advice.
Load External Images From Xml Into Flash?
i want to load external jpg images into flash with xml. It will be some kind of photo gallery.. that has forward and back buttons..
anyone know any good tutorials??
How To Position (x,y) External Images In Flash
Hello,
I just need to know how to position my images. Here's my code
btnOpen.onPress = function(){
loadMovieNum("openclose.jpg",1);
}
btnseekup.onPress = function(){
loadMovieNum("seekup.jpg",1);
}
btnSeekdn.onPress = function(){
loadMovieNum("seekdn.jpg",1);
}
btnRadioMedia.onPress = function(){
loadMovieNum("media.jpg",1);
}
I'm trying to get the image to load at:
_x = 90;
_y = 30;
Do External Images Have To Be In The Same Directory In Flash 8?
I am amazed if this would be the case. We have a simple file that calls external images to display in the Flash movie, but you always get a message that pops up about "this movie is trying to communicate with ..... click Settings to change". This is amazing if this is not fixable!
Help me Obi Won Kinobi...
Displaying External Php Images In Flash
Hi, I'm trying to display dynamic JPG, GIF, PNG's from my database using php. Sorta at a loss. I checked the Flash "HELP" for a while but came up with nothing that worked. Also googled everything about "images, Flash, PHP" and "Dynamically displaying images in flash. Came up with nothing. Maybe I'm a bad googler but.....
anyhow below is my simple PHP that shows an image when looked at in browser. I've tried several ways to display it in flash. It works nice if I just place the server location of my actual pic in a "loader Component", But I need it PHP-Dynamic.
~thanks for any help
<?php
session_start();
?>
<html>
<body>
<img src="user_files/thumbnail1/<?php echo $_SESSION['thumb_1'];?>"/>
</body>
</html>
Maybe someone could show me a function in flash that will display the pics using "for loop" from php database, thanks
Load Images In To Flash Through An External Folder
Hi i'm really stuck in this pls help me out......
is there a possibility where i can load external images which are there in a folder in to flash and run as a loop with a time break.
pls let me know the cording or what ever the possible way to get this thing done.
Thanks
pls mail me if possible --- dimuth@jkcs.slt.lk
Dimuth
Fading Images Into Flash Mx From External Folders
Can anyone help?
I'm trying to re-create the same effect as the site below.
http://www.winkreative.com
It fades in images from a seperate folder on the server.
Does anyone have a source file or advice on code that I can play around with?
Moucho thanks...
J.
Loading External Images In Flash 2004?
Hello,
I am wondering about the easiest way to count the percentage of loaded bytes of the loaded external images into flash movie. I need to completely load an external image into flash movie before telling to go and play next frame.
Any advise is highly appreciated.
Thanks.
Share External Images Between 2 Flash Animation?
Hi, I have 2 Flash animations on a Web page. One is a horizontal banner, & the other is a vertical banner.
I am importing the same external JPEG images into both banners. I know that some browsers may cache the images, but I've read that other browsers won't so the user will download the same images twice.
Is there a way to share images (or other resources for that matter) between 2 Flash animations on the same Web page?
Thanks,
May
Loading External Images To Flash At Run-time
I have a map (created in Flash MX) which consist of many location node's represented by the 'square' icon (image in JPEG format, 3KB in size). It will take nearly 50 seconds to load all the icons (more than 90 icons) and display it on the map. I'm using actionscript to fetch the icons from server.
Few questions to ask here :- Hope you expert guys out there can hands the help.
1. What's is the best way to load all the icons in terms of design, coding and technology wise.
2. How to make faster loading time of icons?
3. Is there any possibilities to load and save the icons(images) to local PC (using cache) for future local-loading?
4. What about using XML for loading images?
Icon Table
ID status url blink
1 11 yellow.jpg 1
2 12 red.jpg 1
ASP coding
---
strSQL = "select * from map_ico"
Set rs = objConn.Execute(strSQL)
i = 0
While Not rs.EOF
Response.Write "&ico_status" & i & "=" & rs("status")& "&<br>"
Response.Write "&url" & i & "=" & rs("url")& "&<br>"
Response.Write "&blink" & i & "=" & rs("blink")& "&<br>"'add for
i = i+1
rs.MoveNext
Wend
Response.Write "&icoNum=" & i & "&<br>"
---
Actionscript coding
----
_root.icoUrls.splice(0);
_root.icosNum = lvData.icoNum;
for (i=0; i<lvData.icoNum; i++) {
_root.icoUrls[i] = new icoUrlClass(lvData["ico_status" add i],lvData["url" add i],lvData["blink" add i]);
}
some codes here
for(j = 0; j<_root.icosNum; j++){
if(_root.icoUrls[j].status == lvData["ico" add i]){
eval("_root.summary" add i).ico.url = _root.icoUrls[j].url;
eval("_root.summary" add i).ico.gotoAndStop(2);
break;
}
}
----
Flash Player Pulling External Images
Hello World!
Here is the project. We have a flash video player. We have HTML surrounding it. Of course we have the flash player colors all black and the HTML around it is all black. We are wanting our clients to choose different color themes, such as Red, Green, blue.
We would have the CSS handle the HTML part. My question is this. Without building a player for each color, how do we get the player to pull the relevant images to be shown in the flash player?
Is this done, via xml, or css???
Pointing me in the right direction would be appreciative.
Thanks.
White Flash Appears When Using External Images...
I have made this animation which uses 3 external jpgs http://www.prototype.red2design.co.uk/envisage/index2.aspx as you can see once it has gone round the 3 images there is a flash of white. I noticed it is actually the very first frame. there is a delay before loading the pics therefore it flashes (i think).
I have managed to do it with xml ok but i need the mask i have created as don't want a standard blur transition.
here is a link to my flash files http://www.prototype.red2design.co.uk/envisage/envisage.zip
if anyone can help it would be muchly appreciated
Flash Banner Loading External Images
Hi all. Glad to join the community. Now, on to the matter at hand:
I am designing a banner with rotating (that is, constantly loading new images) images. Basically, it loads a random image every 8 or so seconds. My problem is this: without any transition effects or the correct actionscript (which is the point of the question basically) I am unable to have one image load smoothly over the previous image.
What happens now is while the image is being called, via getURL(), there is a short period of time when the previous 'movie' or image is unloaded and there is nothing displayed.
I would like to be able to have the 1st image fade out while the second image fades in. OR even just not have that 'nothing' time where nothing is being displayed.
I realize there are many questions similar to this. however, I am having a hard time find an answer that does NOT deal with either a preloader screen or buttons or both. This will be going on automatically, or behind the scenes if you will. I suppose I may not have looked hard enough, but I have found it difficult figuring out what specifically to search for. So, I have finally ended up at this, from what I have seen thus far, really great site that seems too have a lot of very intelligent people who are familiar with Flash.
If you have any suggestions, please help. If it would help for you to see my current .fla or see the action script (since that's really all it consists of, since I"m just loading external content) let me know.
Thanks a lot in advance!!
Loading External Images Into The Flash Object
im working on a flash site for my freind's design company, and i want to know if it is possible to be able to keep a file which has pics and info on it and just load the info from there, without having to re-publish the .fla after every update.
In other words, i want to be able to load pics and descriptions from an external file.
I would appreciate all the help i can get! Thanks
Fading Images Into Flash From External Files?
I'm looking to load/fade in images into a flash file from external folders within the server and play them like a seamless slide show.
Take a look at THIS!!! to see what I mean.
Does anyone have a source file or some helpful notes that I can play around with to see how this is done?
Any help would be great!
Jayvision:bandit
Loading External Images Into Flash Via HTML?
Hey I have a flash banner at the top of my page that I want to stay the same when you click on a button in the navigation (which are standard HTML links). Here is the URL so you can understand what Im trying to do http://www.greyfilmpro.com/test.html . Anyways Im trying to figure out how to tell the .SWF banner to load a certain image into its self depending on what button they press in the navigation.
Flash Load External Images Into Flash Webpage
Hello
Im looking for a way to load jpgs into a set space in my movie.
similarly to the load variables 'text' trick but with images.
anyone help?
its so i never have to change the origional flashfile and simply upload new images under the name flash looks for ie image.jpg
hope its a challenge good people
Can We Use External Images With A Variable Sized Image Somehow In Flash?
Hello,
I am wondering if it possible to load external images with different sizes in a placeholder in a flash movie and fit the images even it is larger then placeholder. For example, the palceholder has 300x300px, but external image 350x450. I'd like to know if it is possible to load this image and show as much of the image as possible.
Thanks in advance.
Blinds Mx.transition With External Images [Flash MX Pro 2004]
Hi,
I'm trying to create scripted image slideshow using Blinds mx.transition but couldn't get it work. It works fine with Fade mx.transition. But with Blinds it just shows image after specified transition duration but without any transition. I read (http://weblogs.macromedia.com/dehaan...ing_with_a.cfm) that it may relate to using mask in some transitions.
I couldn't find many help on this using uncle google.
any experience, ideas, known bugs welcomed
thank you
kr.
Images Not Showing In Gallery On External Flash Site?
I am creating a flash site which loads .swf into a movie clip. But i have created a image gallery in an external swf which is loaded into that the main page movie clip. This gallery also load's the images from folder located within my .fla & .swf files.But when I published it & preview in the browse none of the images from the gallery are viewable. Is this because i have my images loaded from an external folder? can anyone help me with this issue?
Loading External Images Randomly, Getting The Amount Of Images Out A *.txt
hello there!
i've made an a script that loads images externaly from a specific map
randomly. there's only one thing:
how can flash learn to know how many images are loaded?
it's for a client so he can only upload the images and that's it.
can he somehow fill in a *.txt-file that flash can use further???
this is my sourcecode for the external-stuff:
code:
_root.importImage = "background_netomzet"+random(*)+".jpg";
(the * has to be a value that needs to be generated by how many pics
there are in the image map")
thanks a million people!
g
(venetian) Blinds Mx.transition With External Images [Flash MX Pro 2004]
Hi,
I'm trying to create scripted image slideshow using Blinds mx.transition but couldn't get it work. It works fine with Fade mx.transition. But with Blinds it just shows image after specified transition duration but without any transition. I read (http://weblogs.macromedia.com/dehaan...ing_with_a.cfm) that it may relate to using mask in some transitions.
I couldn't find many help on this using uncle google.
any experience, ideas, tutorial urls, known bugs warnings, welcomed
thank you in advance
kr.
Load Dynamically External Images Via Variables In Flash From Param Tag
i want to load unlimited images via variables from html page in flash,
so each variable represent one single image.
image1=one.jpg
image2=two.jpg
image3=three.jpg
image4=four.jpg
<param value="filename.swf?image1=one.jpg&image2=two.jpg" >
<embed src="filename.swf?image1=one.jpg&image2=two.jpg">
means something like this from this tags.
and thing is that i want to make them fadein / out transition... just like above
howz that possible plz help me
Importing Multiple Images Into Flash Movie As A Movie
I have about 200 images that have been rendered for me frame by frame, how do I put this into flash as a movie? I don't want to do this manually as it would be a complete waste of my time.
Much thanks in advance!
Bringing External Images With Fixed Size Doen't Allow Do Animate Them In Flash?
Hello,
I am wondering if it is possible to animate or do any kind of tweening with external images loaded into imageholder "container" movie clip. The probelem occurs only when I use the code to scale the loaded images. It makes images 100x100px even they are bigger. When I use this code all animation or tweening are not working.
Here is the code I am talking about:
Quote:
_root.container3.loadMovie(img1);
this.onEnterFrame = function() {
if (_root.loaded == true) {
return;
}
if (_root.container3._width>0) {
with (_root.container3) {
_width = 100;
_height = 100;
}
_root.loaded = true;
delete this.onEnterFrame;
}
};
_root.onLoad = function() {
_root.container3.loadMovie(img1);
};
Container is the movie to which the image is loaded.
Any advise is highly appreciated.
Thanks.
Loading External Images Loading Bar (Movie Clip)
I have managed to have external images loaded with the progress bar. However, when I place these items into a movie clip the preloader no longer works. can someone please take a look at the flash file for me.
http://www.bloggot.co.uk/file.zip
Images In Flash Movie
Hello. I'm working on a flash movie in MX8 that will use a lot of images. I will edit and crop the images where needed in photoshop, but I'd like to know if there's a way to import the images into flash without worrying about the negative space in the frame. IE. I'll crop around a person's head in photoshop to leave the area around the head blank, but how do I bring the image into Flash so I don't have to crop out the white areas a second time?
Also, (noob question) what's a better space saver for images in flash, JPEG or Bitmap?
Thanks.
Import Images Into Flash Movie?
Is flash capable of importing a jpg or gif after a movie is already published? I want to create a movie for the purpose of people seeing how they look with different hairstyles. I would need it to have the ability to import graphics after its been published. Is this possible?
Loading Images From Flash Movie
I was wondering if there is a way to load images from Flash... my movie starts playing before the entire page has loaded, and my boss didn't like that
If anyone knows a way to do that, please help me!
The problem can be seen at: www.mastro.com.br/mc_eng
Thanks!
Load Images With XML Into Flash Movie
Hi gus,
I would be so thankfull if you help me with this little problem I have.
in my server, I have a folder named "IMG" and there are 10 jpg files in it. I need my flash movie to load these 10 files and put them in appropriate x,y positions.
I'm sure that i need an xml file to load the images into the flash movie but I don't know how to do it.
Please help me
Regards,
Hadi
Uploading Images To A Flash Movie
Hi I am creating a flash movie to design your own t-shirts. I would like the user to be able to upload their image from their computer to the movie. I would just like to know if this is possible and if so how I would go about this.
thanks
Loading External Images (from External Domains)
Hello kirupa users
I had a small problem in my latest work project where i wanted to load images from external domains.
The problem was that i did not know if i really need the checkPolicyFile set to true or if i really need to load the crossdomain.xml to tell flash player where the acces is.
As far as i know, in adobe as3 reference they stated that in order to load images from an external domain (a domain other than the one where the actual swf runs) you need a policy file or a security acces file in order to be able to do that.
My question is:
1: could i load an image from external domains without having to load some external file (or the crossdomain.xml file)?
2: if there is no possibility to load an image without the crossdomain policy why the checkPolicyFile method could take the value of false?
Thanks in advanced!
Regards.
|