ActionScript 2.0 :: Use Part Where Image Description Shows Inside Another Mc Which Is Loaded Externally?
Sep 7, 2005I want to use the part where the image description shows inside another mc which is loaded externally.
View 12 RepliesI want to use the part where the image description shows inside another mc which is loaded externally.
View 12 RepliesI have a picture gallery that loads a few thumbnails into a holder via xml and AS3. When you click on the thumbnail it loads the full-size image into a Loader.How could I add a description from the xml to the to the full size image.[code]
View 4 RepliesI have a picture gallery that loads a few thumbnails into a holder via xml and AS3. When you click on the thumbnail it loads the full-size image into a Loader.How could I add a description from the xml to the to the full size image.
View 2 RepliesI want to create a button that when clicked it shows a good looking box with a swf or an image inside. I've tried looking for a tutorial for something that resembles this, but couldn't. The closest thing I found were tooltips, but that's not what I need. The tooltip disappears and it's not meant for UI.
View 2 RepliesIs possible somohow use externaly loaded image in more than in one mc? I thik without loadMovie action again.
View 8 RepliesI'm using the preloader like the one rhamej posted here:[URL]The part of the code I need help with is as follows:
[AS]
//fire the MovieClipLoader and attach the listener to it
var container1:MovieClipLoader = new MovieClipLoader();
container1.addListener(mclListener);
[code]....
I realize the code is wrong. I wondered if it was possible after loading an external .swf ("1_movie.swf") within the container, if you could then press a button (enter_button) located within the external .swf ("1_movie.swf") , and use the preloader code to load another external .swf on release ("tree20.swf"). I'm having trouble because the preloader code is in the main timeline of my main flash file ("index.fla"), and I don't know how to make the preloader code recognize the button located within the external .swf, and use it to load another external .swf within the same movie clip.
I'm using the preloader like the one rhamej posted here:
[URL]
The part of the code I need help with is as follows:
[AS]
//fire the MovieClipLoader and attach the listener to it
var container1:MovieClipLoader = new MovieClipLoader();
container1.addListener(mclListener);
[Code].....
I realize the code is wrong. I wondered if it was possible after loading an external .swf ("1_movie.swf") within the container, if you could then press a button (enter_button) located within the external .swf ("1_movie.swf") , and use the preloader code to load another external .swf on release ("tree20.swf"). I'm having trouble because the preloader code is in the main timeline of my main flash file ("index.fla"), and I don't know how to make the preloader code recognize the button located within the external .swf, and use it to load another external .swf within the same movie clip.
I'm new to AS3 and I'm having a problem moving an externally loaded image within a Class. I'm just not sure how to move the externally loaded image.I thought of creating a Sprite and then moving an added child Sprite, to which I would then load the image.But I'm getting this error:1119: Access of possibly undefined property spHolder through a reference with static type flash.display:Sprite.
package {
import flash.display.MovieClip; import flash.display.Sprite; import flash.events.Event; import flash.display.Loader; import
[code]....
I still can't get my head around the loading sequence for external images, heres what I have[code]...
View 1 RepliesI'm creating a Flash portfolio, and all work I have done are displayed as thumbnails which are externally loaded images. On rollover, I want to display the works title. How would I place this text OVER image? At the moment, the loaded image is on top of everything, even text I attach on rollover.
View 2 RepliesI am trying to resize an image and display it on stage but i get the.......... error 1119: Access of possibly undefined property bitmapData through a reference with static type flash.display:BitmapData........this is driving me a bit mad because i got most of the code out of essential actionscript 3.0.....I've tried to debug it myself but my debugging skills aren't very good yet
PHP Code:
package NetConnections.PicClick{
import flash.display.*;
[code].....
I am trying to use rotationY,X,Z on an externally loaded image. The image is displayed properly when no 3D rotation is applied, but does not appear afterwards. I have tried various things: loading the image into a bitmap, loading that bitmap into a Sprite/MC. What am I missing?Just to be sure, regular rotation works fine, e.g
PHP Code:
pic.rotation = 2;
....axis rotation does not
[code].....
The code is in the first frame of the timeline. I want to center an externally loaded image, but I just can't make it work:
[Code].....
I need to be able to manipulate the bitmap data of an externally loaded image (an image from the internet), however there seem to be security protocols preventing access to this.Is there a way I can gain access to the bitmap data of an image loaded from an external source? What I'm after is being able to save the image to disk, or pass the image to the printer. (I can do both of these things, but I'm not being given proper access to an external image)I've done a few work arounds and the best I've been able to get is it working for a few images, but not all images. Even if the image loads properly and can be displayed in flash, I'm not guaranteed access to the bitmap data.
View 1 Repliesi've got this header in a website that's got images fading in and out of each other. btu now i want them to be loaded externally and randomly. but still fading in and out of each other.i did foudn a post that loads the images externally from a folder and loads any image that's in that folder, but it doesnt work in my version of Flash 8.0 Pro.Does anyone know any good script or short tuto (since time is short) that's makes the movie behave like i want it to?
View 5 RepliesWhat I'm trying to do is quite simple. Load an image externally, then display it (addChild it) multiple times, in different places, without loading it again and again. (Granted, caching means the image won't be downloaded multiple times, but I'd like to avoid those annoying disk accesses as well.) I know that flash doesn't actually support this. A while ago I was trying this same thing, I dug around for hours, and there was no real solution.
View 2 RepliesI'm setting up a page that uses a flash menu to load html pages into a div container by the following call:
on (release){
getURL("javascript:getPage('test.html')");
}
The loading works fine, but some of my pages had specific jquery scripts and that's where I've struck out so far. I assumed all I needed to do was transfer the script importations, css stylesheets and the jquery functions to my main document, but it won't work.
I also tried importing the html as a the complete html, which works on it's own, but not when imported into the main document. Most recently I heard I should try shifting the jquery function calls to the end of the loaded document, to after the content, My scripts work, just not when imported, so I suppose my question is how can I make the main- and imported documents play nice with each other? What say you we make this a jump-start tutorial for all us noobs to reference?
I have the 3dwall feature - but i don't know how to add a title/description to the image. I have followed the instructions, - I don't understand what it is asking me to do.
View 3 RepliesI've modified a flash movie that displays images in a slider control. When the user mouses over the image I display a tooltip. The problem is I cannot figure out how to parse the Description(desc) out of the image tag in XML to display as the tooltip text. Heres what I want the image tag to look like:[code]In the actionScript how could I simply parse out the description to pass in as the tooltip text?
View 1 RepliesI bought an xml flash template and i am trying to modify it.In main.fla file there is a layer named functions. At this layer there is actionscript code where i saw this part:[code]When i push the image gallery from the main menu, then the image_gallery.swf loads. There, i have 2 categories with photos, each of whom loads title and description of images from website_xml_imagegallery_xml/category1.xml and website_ xml_ imagegallery_ xml/category2.xml. My problem is that whether i open a photo from one category or from the second category, the title and the description remain the same as the first category's. I figured out that the title and the descrption of the first photo of the second category is the same as the title and the description of the first photo of the first category and this depends of what i am using at the last line of the attached code:images.load ("website_xml_imagegallery_xml/category1.xml");So, if i write category2.xml instead of category1.xml, then the first photo of the first category will have the same title and same description as the first photo of the second category.It seems like each category cannot read from its category.xml. Look at the xml files as well.
View 2 RepliesI'am looking for a flv/video player which allow to seek for not loaded part of the video,just like on youtube.
View 1 RepliesI'm loading several images inside a frame, but the images will have different aspect ratios. My goal is to load all images so that the width or height does not exceed the frame. The 'difficult' part is to maintain the aspect ratio of the image. I'm not aware of any _scale function that scales both the height and width of an image (so the aspect ratio is maintained), something like that would be useful.
View 6 RepliesHow do I center (on stage) a loaded image inside a createEmptyMovieClip ? I've read so many threads...can't seem to make it work. here's my script:
button1.onPress = function(){
_root.createEmptyMovieClip("imagecontainer", _root.imagecontainer.getNextHighestDepth());
_root.imagecontainer.loadMovie("image18.jpg");
}
I've tried to center everything on stage, I even tried to center it by the registration point.
How do I center (on stage) a loaded image inside a createEmptyMovieClip ?I've read so many threads...can't make it work
here's my script:
button1.onPress = function(){
_root.createEmptyMovieClip("imagecontainer", _root.imagecontainer.getNextHighestDepth());
[code].....
I am in the process of building a site for an Architect... Jamie Fobert Architects (projects) I am useing transitions between the projects and am loading details/text and images externally through flashvars, php and a mySQL database. Within my transitions I have a a preloader on the forst 2 frames the code is as follows (taken from a Voetsjoeba tutorial):
[Code]....
This works pretty well if the content is within the .swf, but when it is loaded externally it doesnt preload it at all. Does anyone know how I can adapt/improve this preloader? or somehow ensure that all the content being loaded externally is loaded before the transition plays?
I am loading an externally loaded swf that uses a mask to transition in. When the user clicks a different button I am doing a gotoAndPlay that goes to a mask that "unloads" the content (it doesnt actually unload the info is just outside of the mask area. As soon As I jump to that section the movie is no longer loaded and just shows the container clip that I had created for it. The Container Clip is never changed and is the same throughout the whole process. The only thing that changes is the mask animation.I have tried both loadClip and loadMovie but no luck on keeping the clip loaded.
EDIT - I have narrowed it down. When I change the mask movieclip the movie unloads for some reason. Is there a way I can keep it loaded?
I'm having an issue with scroll bars. I used the scroll bar component in flash and have scroll bars set up for my text fields. I have all the target names correctly. It plays perfectly when I test it in flash, the scroll bars show up with the text. No errors. I uploaded it to my server to test it and the text shows up but I can't scroll it, the bar shows up but the slider inside doesn't. I don't get any error messages from my browser either.
View 13 RepliesI have a mask layer that shows/loads an imported flv inside of it. the masked layer has a blank keyframe with the following code in it..
[Code]...
I would like to make a very simple (well, looks simple anyway) image gallery, like Ilyas da Pom's at [URL]..
I want the image part to scale to fit each image dynamically. I'm a brand-spanking new Flash novice, and any guidance would help really; this is just a tiny little personal project, not to be used anywhere commercially.
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