ActionScript 2.0 :: DVD With Image Gallery - LoadMovie Path
Dec 12, 2011
I'm creating a DVD with an image gallery, everything local. But the thing is my loaded images appears within flash, and not outside when I execute the swf. The path of the image is inside an array (from an xml file). If I write the path of my trace(array[x][x]), the image outside flash is shown. But when I write:
loadMovie(array[x][x].toString()) or loadMovie(array[x][x])
It doesn't...
I did a trace of array[x][x] and it shows me the exact path to the image..
Code:
_root.obra_mc.containerImg_mc.loadMovie("images/Patrimonio/Ceramica/"+(obras[0][1]).toString());
View 1 Replies
Similar Posts:
Jun 2, 2009
i am trying to write an image gallery using the loadMovie comand, loading jpegs into a blank movie clip the thing is, all the tutorials seem based around issuing the loadMovie command as you press a button to actually view that particular picture what I am trying to achieve is to have maybe the 1st and 2nd image of the gallery included in the flash movie and these load up and show instantly but whilst the viewer is looking at these the swf is busy preloading all the other images in the background. The idea being that images are loaded faster than the navigation that takes place so when the user clicks on the 3rd image it is already loaded and displays instantly and so on and so forth question is, how do i achieve this ? Do i still use loadMovie but have one script at the 1st frame that loads say all 20 images each into a different empty movie clip ?
View 7 Replies
May 15, 2005
I have a variable that is refers to the names of folders, and I need to insert the variable into the pathname when I loadMovie. I cannot seem to get the variable to become part of the pathname
loadMovie('VARIABLE/image.jpg', _root.loadhere);
I've tried parenthesis, [], (), do not know the correct way to call the variable.
View 2 Replies
Jun 4, 2005
I've got an empty MC called "picture". This MC has the following path:
Code:
_root.container.picture
So, it's an external SWF (photography.swf) loaded in thru the container MC.When I make button at the first frame of photography.swf everything works fine. BUT, when I place the same button inside a MC (called "allphotos") I cannot get this to work.I use he following code for the button:
Code:
tb1.onRelease = function() {
_root.container.picture.loadMovie(image[6],6);
gotoAndStop(1);
}
It seems to "semi-work", because it loads blank. So at least the current photos disapears.I've used _parent, _level0 etc. Nothing.
View 3 Replies
Mar 14, 2009
Oddly if I use a quoted string, like
loadMovie( "http://www.miniclip.com/games/cube-buster/en/cubebuster.swf" , 1);
it works fine
But if I pass in a variable:
var fullpath:String = "http://www.miniclip.com/games/cube-buster/en/cubebuster.swf"
loadMovie( fullpath , 1);
it fails ???
Can't find anyone else's comments on such an issue.
Using flash 8, as2 on Mac osx
The example above remote domain example works fine within flash IDE
My actual application using a relative path to a sub directory, for a little obfuscation.
View 1 Replies
Jan 14, 2009
I have a HTML stageholder, this calls a "mainMenu.swf" which essentially controls my site. This "mainMenu.swf" has three buttons: intro, portfolio and contact which are all individual movies. So far, all good... When I have clicked into the portfolio section a 3x3 grid loads with nine buttons, one of these buttons loads a preview page for four movies, when I load one of these movies it plays fine. What is the path to get the loadMovie command to jump back to the 3x3 grid page from this movie? Basically, what is the command to jump up a directory when using loadMovie?
[Code]....
View 1 Replies
Sep 30, 2009
I try to explain me well (i'm italian) ... if i load the gallery with the loadMovieNum options the gallery work in the correct way but if i load it with loadMovie using a target MC it doesn't work...
View 3 Replies
Oct 20, 2009
I'm loading a .png image with loadMovie() and I need to center the image (for later dragging). I know flash has some issues with loading stuff, but I really need to get the movieclip's width. If someone knows how to get over this and get the movieclip's width
This is a part of a more complex app, so that's why I won't paste any code.
View 3 Replies
Feb 6, 2009
i was looking for gallery looking like this site [URL] i was looking gallery first page title gallery then Big image like this with description.
View 1 Replies
Feb 17, 2008
i am trying to add extra images to the photo gallery attached. I would have thought it is easy and it seems so. I add an extra image to the gallery. I publish it. The html file shows the extra image in the gallery but the swf doesnt. driving me crazy, cant work it out?
View 14 Replies
Oct 26, 2010
I've made a gallery slideshow before but wasn't as intuitive looking back at it now and I want to start fresh on this new project. I would like to convert a jQuery lightbox style gallery into a flash XML based AS3 image gallery with categories. I don't want to code the FLA, I want separate AS files.
This is a school project for my website. I would use jQuery and I have more experience with it but this project needs a flash component. I'm just not sure where to start and looking for some advice on how and where I could find resources. I want it to be minimal as I can make it;
- 8 thumbnails to a "page/section" with more flowed into page 2 or 3 etc. (or a srcoller)
- a few buttons for categories
- images fading in full size with a description when hovered over and a close button
- preloader (simple bar)
Esentially something like this > http:[url].........works which is using http:[url].... for the thumbnails. That might be ambitious but I'd suffice with a simple fade effect.I've downloaded some galleries out there but most of the code is messy or outdated.http:[url]... this is alright, but all the code is done in the FLA. I might break it into AS files but it depends.
View 1 Replies
Feb 29, 2012
want to get the loaded image path location,how to get the path
<mx:Image source="@Embed('assets/image001.png')" x="240" y="41" width="148" height="118" id="img"/>
i need to get this address source="@Embed('assets/image001.png')" how?
View 1 Replies
Sep 1, 2009
Just trying to make a flash photo gallery that displays all the image files in a certain directory with the usual photo gallery functionality.
View 1 Replies
Jun 3, 2011
I have a gallery where passing over the image a rectangle drops down showing the caption for the image. The informations are read from an XML file and some of my images don't have a caption, for those emails I want to avoid the tween.
[Code]...
View 2 Replies
Nov 7, 2010
I'm trying to find out how to make a simple image gallery which changes image upon a mouse click on a button, when a button is pressed I want the image to slide in from the left into the viewable area and then when another image is selected I want the previous image that was viewed to remain in the screen and then the new image slide across over the top to replace the image.
I can get the images to slide across from the left upon a mouse click however I can't change the layer order so if image 6 is viewed and then I click to see image 1, the image will slide into place however it will be below image 6 so therefore not viewable.
I don't have an example of what I'm after but I hope my explanation was good enough, I've seen this been done in javascript but I have to use flash and am unable to replicate the effect I'm after
View 4 Replies
Apr 30, 2010
I have this piece of code to change images. I was trying to figure out how you could put a timer on the code, so if the image has been displayed for say 5 seconds it diverts to the next image automatically? Also if it's not to hard, when it has played to the end to divert to the 1st image.
[Code]...
View 1 Replies
May 22, 2009
Just wondering if anyone knows about the project I am trying to start, uploading images from flash using php is fine but wondering if anyone knows how to create dynamic xml from php and it takes all the image names from the same folder where those images have been uploaded. So we can load all the images in image gallery through xml into flash.
View 5 Replies
Oct 30, 2011
I have found an excellent tutorial and source file for a 3D image gallery. However I would like to make the thumbnail click thorugh to a url link when pressed rather than loading the image into the gallery.
Currently the images load in through actionscript. Is there a way to amend this script so you can specify that a thumbnail clicked links through to a url, like you would with a normal button instance rather than loading the image. Here is a link to the file and tutorial. The actionscript is on the top layer within the file.[URL]...
View 9 Replies
Oct 30, 2011
I have found an excellent tutorial and source file for a 3D image gallery.However I would like to make the thumbnail click thorugh to a url link when pressed rather than loading the image into the gallery.Currently the images load in through actionscript. Is there a way to amend this script so you can specify that a thumbnail clicked links through to a url, like you would with a normal button instance rather than loading the image.Here is a link to the file and tutorial. The actionscript is on the top layer within the file.URL...
View 9 Replies
Jul 14, 2009
I have this for loop where I am circling through an array. I have swf's for each of the numbers like dropTarget_1.swf, etc. For whatever reason I can't seen to get this loaded into my holder.
When I hard code it then it works.
[Code]....
View 2 Replies
Jul 31, 2010
I'm trying to load an image and center it within a movie clip already on the stage.
function loadImage(){ image_mc.loadMovie("fullImage/"+imageNum+".jpg"); image_mc._x= Stage.width/2 - image_mc._width; image_mc._y= Stage.height/2 - image_mc._width;}
I know it's something simple and there are forums dedicated to this topic but I can't seem to view the code examples that the helpers are using.
View 3 Replies
Jun 24, 2004
What I am trying to do is simply load the images location using a string.Here is my Code.
Code:
//Load Images
image1 = "image.jpeg"
[code].....
View 2 Replies
Sep 10, 2009
I am am not a developer but have bought a template which I am modifying to suit my needs. I have made most of the modifications but and stuck on how to change the animation for the image gallery. When I move from one picture to the next the animation effect is something like a bubble burst. This is too flamboyant for me. I would like to change it to something more sleek but have no clue where to start.
View 1 Replies
May 12, 2011
I have a dynamic image gallery that pulls the pics into a movie clip and adds them to the container (slider) The issue i am having is that when i click on this i am essentially clicking on all the items collectively and i would like to be able to click on each image seperately...
[Code]....
View 4 Replies
Nov 28, 2010
I have an image gallery but I can't seem to get the previous image removed. I have two functions:
ActionScript Code:
function clearLoader():void {
try {
var li:LoaderInfo = slideLoader.contentLoaderInfo;
[Code]....
But in some way not the previous image is removed, but the one before that. Annoying, because if image 1 is larger than image 2, image 1 stays on the background. It is only when loading image 3 the first image is removed from the stage.
View 0 Replies
Dec 4, 2006
So I'm having some trouble modifying this script. I have a text box so a user can go to a certain image (In my case page). So if the user type 5 it should go to image 5I've tried numerous methods, none of which are working (they work but then my next and previous buttons aren't working properly). I know I need to just get go to the number image in the array but the way the script is set up it seems I would have to change the current position value but that doesn't seem to be the case.Am I over complicating this?
ActionScript Code:
function loadXML(loaded) {
f (loaded) {
[code].....
View 1 Replies
Oct 7, 2010
I would like to be able to add the functionality of being able to load different galleries from a menu without loading a new mc with gallery inside it. I managed to botch the file up pretty good on my own, and was wondering if there is a ready answer nearby.So I'm thinking have but1, but2 and but3, with a seperate xml file for each. What would you recommend for a smooth way to swap the the xml files to the gallery, and load the first image of the new xml file? Also, can it be done with one big ol' xml file while keeping the galleries seperate? It's not necessary, but could be handy, and save some loading.It would also be interesting to apply the same principle to the resizing script that Scotty has in that big Resizing thread, just a thought.
View 2 Replies
Feb 23, 2005
Second, I'm struggling a bit on xml and hoping for a hand. Your xml image gallery is a sweet piece of work, and I would like to be able to add the functionality of being able to load different galleries from a menu without loading a new mc with gallery inside it. I managed to botch the file up pretty good on my own, and was wondering if there is a ready answer nearby.So I'm thinking have but1, but2 and but3, with a seperate xml file for each. What would you recommend for a smooth way to swap the the xml files to the gallery, and load the first image of the new xml file? Also, can it be done with one big ol' xml file while keeping the galleries seperate? It's not necessary, but could be handy, and save some loading.
View 5 Replies
Jul 18, 2010
So I've created a script where a mc is clicked on and the player can draw a path using the mouse. I'm trying to figure out how I can get the mc to follow the path drawn out by the player's mouse and when the player clicks again, it erases all of the path.my code is below
Code:
import flash.display.Sprite;
import flash.events.MouseEvent;[code].....
View 14 Replies
Dec 18, 2009
Ok I have so many images for every html page. So what I want to do, instead of typing
pic.loadMovie("image1.jpg","_level2");
pic.loadMovie("image2.jpg","_level2");
I just want to call a variable like
PHP Code:
pic.loadMovie("loadImage","_level2");
Is it possible so that in HTML, ill just replace loadIMage with the real image1.jpg???
View 4 Replies