ActionScript 3.0 :: Error When Using XML Gallery Online?
Feb 15, 2010
I followed a tutorial online to create a photo gallery using an XML file. It works fine when tested in flash via the test movie window and with the bandwidth pro-filer turned on. So, I uploaded the page to my website to test it, and when I load the page in any browser I receive this error message in an adobe flash player pop up box: Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed. Here's the Actionscript I am using: var xmlRequest:URLRequest = new
URLRequest("http://www.davidframpton.co.uk/Gallery/galleryData.xml"); var xmlLoader:URLLoader = new URLLoader (xmlRequest); var imgData:XML; var imageLoader:Loader; var rawImage:String; var rawH:String; var rawW:String; var imgNum:Number = 0; var
[code].....
View 3 Replies
Similar Posts:
Jan 15, 2011
I have strange error which i tried to fix all day but with no result. The application is working fine in debug modus, but after I uploaded it to my server it throws following Error:
[Code]...
View 4 Replies
Jun 20, 2007
the problem occurs when I put the xml gallery online, otherwise the gallery loads and works perfectly when its local. When online the thumbnails load no problem but the main image will not, I dont know what is happening?? Here is my code:
[Code]...
View 3 Replies
Jun 16, 2009
I've finally finished my flash xml gallery, and have tested it to my complete satisfaction using dreamweaver. When I do a preview from dreamweaver, or just open up the gallery html file from explorer the swf loads the xml file and all the images flawlessly, everything works. However when I move the site for testing on my mac laptop it loads the xml file but not the images. When I upload it to my test website it doesn't even load the xml file. I just copied the root folder over in all cases I dont understand why it wont work. You can see it here: [URL]
Could this be some export setting I am using incorrectly? Why would it work locally on a windows machine, and not locally on a mac or online on either. I tried re exporting the swf after saving it as CS3 from CS4 and changing the local playback security to only allow network. So now it loads the xml data online but not locally. Thumbnails still aren't showing up online though.
View 1 Replies
Jun 8, 2010
- I create a photo slideshow in AE
- I export from AE to an FLV file
- I put the FLV file in the root folder of my website
- I use the 'import video' command in Flash
- I choose 'none' for the skin.
- Then I drag a pause/play button to the stage and customize it a bit.
- I export or publish to create a swf file.
- In the component inspector I have tried now several things for the source link: /mysitename/photoslideshow.flv and /users/myname/sites/mysitename/photoslideshow.flv
- In dreamweaver I choose insert SWF and select the SWF file that is next to the FLV file in the root folder of my website. I have tried both options relative to: document and site root.
- I check to make sure the webpage, flv and swf files are published to the server.
- The FLV MIME type is indeed enabled on my server.
- When going online get an error that it cannot find the FLV!
I tried a test with a FLV file I created and using just a regular skin. The same thing happens
I have solved this problem before the first time it happened to 'put' the ENTIRE site in dremweaver vs only the individual files. But this time I have also tried that to no avail.
View 3 Replies
Jul 13, 2009
I recently had an error dialog popping up on a site of mine online. I just noticed one on a well known newspaper website. Are these new? Do they only pop up if you have flash on your machine or do all users see them? Jpeg of the error message from the newspaper site attached. with my site the movie ran perfectly when I did test movie. Online the error message popped up, clearing it caused the movie to display incorrectly. Running in Debug mode showed the error and I fixed it. So in some way the error message was useful. Thing is the site had run perfectly well before the error dialogs mysterious appearance, the error was probably there but had no effect.
View 4 Replies
Nov 24, 2010
I'm using a gallery template from flashmo. I can see the demo perfectly but when using the flash file I get the following error:
Error loading gallery data!Error opening URL 'file:////Volumes/MannyOSX/Users/mannyv/Desktop/FM%2D2248%2DPhoto%2Dstudio%2Dfull%2Dscreen%2DXML%2 Dflash%2Dtemplate/flash/data/data/cgal.xml?1290620356308'
and also
Scene=Scene 1, layer=Action Layer, frame=9, Line 14There is no property with the name 'displayState'.
This is the script used:
ACTIONS FOR FRAME 1
function resizeBack()
{
back._width = Stage.width;[code]......
The file was created with Flash CS3 and I'm using CS5.
View 2 Replies
Jun 26, 2009
I am new to AS3 but very comfortable with AS2. I am trying to build a page with multiple image galleries pulling images from a few xml documents and I'm running into a snag. I am using a custom scrollbar based on the gotoAndLearn tutorila and loading the full size images into a movie clip on the stage. Everything is perfect until I move to the second frame and attempt to load the next xml and new set of images.[url]...
View 1 Replies
Feb 23, 2008
i used the xml gallery with thumb tutorial i just changed around the var nameseverything thing runs in my xml until it gets down to tracing from the onLoadStart and the rest of the onLoads, which loads the thumbnails. i just can't figure out what it is. this is the functionyou can see where the one trace works and the others don't **also wanted to know if anyone knows how to create a preloader for all the thumbnails from this code, so your not stuck with a blank screen waiting for the thumbs to download **
ActionScript Code:
function thumbs_fn(num){
//create empty movieclips inside thumbnail_mc to hold the images in
[code].....
View 1 Replies
May 20, 2008
i am trying to get the photo gallery made by flashmo available here: [URL]to display .swf instead of external .jpg files as it was originally intended for. This system is .xml based where it obtains details of the images to display from the external .xml file.
I have the system working for the photo gallery but i need a page where a show animations that are already compiled into self contained .swf files. The site I am building if purely flash and consists of just one main.swf file.
To get the system to work I simply changed the filename in the .xml file to direct the system to a .swf animation file as oppose to a .jpg file and the system worked perfectly. oh so i thought...........
Testing the site within flash under the "test movie" (ctrl + enter) option proved the system to be fully functional with no issues at all. However when exported as a flash .swf movie file as a standalone file when ran locally through directly clicking on the .swf the animations page would simply display "NaN%" where the percentage loaded should be displayed and clicking on the thumbnails to load different .swf movie files didn't do anything, the .swf animation files will never load, nothing is ever shown apart from the empty loading bar and "NaN%". Loading the .swf locally through the browser by means of a simple html page doesn't make a difference either.
To make it a little more strange, when the site was uploaded to an online server and visited remotely through the browser it would do the same but clicking on the thumbnails loaded the corresponding .swf animation file fine and the "NaN%" error after the initial display is never seen again until the browser is closed and re-opened to visit the site again. The system is set to initially load the first .swf animation clip.
The code for the loading is:
pic._alpha = 0;
pic.loadMovie(filepath + photo_filename[p]);
pic_desc.txt = photo_description[p];
[code]....
Only minor changes to the code have been made by me and I am no expert at this at all so it could be something really simple. I feel the fact that it works under testing, partially when online and not at all when run directly and indirectly (browser) locally is strange and there must be an explanation for this that one of you experts must know.
View 2 Replies
Apr 28, 2011
I've been creating an XML photo gallery with Flash CS4 and AS 3.0 following a tutorial. I followed the instructions step-by-step but at the end I got the following error message instead:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found. Could anyone in the community assist me as to how to solve the problem? The script has no errors and last time I checked all the applicable files (the .xml file, the .jpg files, the .swf and the .fla file) are in my Documents folder on the Mac.
View 1 Replies
Jul 23, 2009
I'm building a dynamic XML photo gallery/case study application that allows users to filter relevant results and then view the corresponding text/photos. So far i've used list components to scan my XML document and return the results for the filters, and then add thumbnails to a panel. When you click on the thumbnail, it brings up the first of a series of images, which i load into a Loader instance and add it to the stage using addChild();
The image sequence is then controlled by a series of navigational buttons, of which currently i only have "Next" and "Previous". The buttons work by incrementing/deincrementing a variable that is the index of the image currently being displayed, so when you hit next, it adds/subtracts 1 from that variable, and then uses that number for the index of my <image> tag in the XML doc. All works fine until you reach the end of the images. I have a conditional that tests if the currentImg variable is equal to the length(); property of the XML tag, and if it is, it resets the currentImg value to 0. And vice versa for the previous button. But when the file is published, and i reach the last image and hit the next button, i get this error:TypeError: Error #1010: A term is undefined and has no properties. at MethodInfo-346()
The strange thing is, that if i hit next again, it does what it is supposed to do by going to the first image. Then if i cycle through the images once again the same thing happens. And the same scenario and error occurs when i hit the previous button on the first image. if i need to somehow remove the images from memory, or if they are still in memory and i need to access them a different way the second time around? this is very frustrating.
View 3 Replies
Nov 15, 2009
I download a free photo gallery from [url]... and works fine. But when I put this gallery in a frame in my flash site justs appears but doesn't work. It's says Error opening URL 'file:undefined'
Should I change all the paths in the actionscript?
View 5 Replies
Mar 29, 2011
I'm trying to make a photo gallery with thumbnails to select the image. The thumbnails load up fine from the XML file but the other images give the error
'Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found'
I have checked and re-checked the URL's in the XML file and they seem fine to me.[code]...
View 1 Replies
Sep 16, 2009
while trying to exprot a xml supported flash (AC3) gallery I get the following error: Description: xmlLoader.load(new URLRequest("data/images.xml"));
View 6 Replies
Jun 30, 2009
I have a page containing multiple image galleries and thumbnail scrollers pulling in from external XMLs. The first scene containing gallery 1 loads the thumb and full size image perfectly.We I navigate to the second scene containing a new instance of my scrollpanel and container movie clip for my full size image I this error: Error #1009: Cannot access a property or method of a null object reference.at index_fla::MainTimeline/index_fla::frame6()I am wondering if I have to remove an event listener from the previous frame. Everything on the stage has an instance name and I am calling all new variable son the second frame.
View 1 Replies
Jul 24, 2009
I'm building a dynamic XML photo gallery/case study application that allows users to filter relevant results and then view the corresponding text/photos. So far I've used list components to scan my XML document and return the results for the filters, and then add thumbnails to a panel. When you click on the thumbnail, it brings up the first of a series of images, which I load into a Loader instance and add it to the stage using addChild();
The image sequence is then controlled by a series of navigational buttons, of which currently I only have "Next" and "Previous". The buttons work by incrementing/deincrementing a variable that is the index of the image currently being displayed, so when you hit next, it adds/subtracts 1 from that variable, and then uses that number for the index of my <image> tag in the XML doc. All works fine until you reach the end of the images.
I have a conditional that tests if the currentImg variable is equal to the length(); property of the XML tag, and if it is, it resets the currentImg value to 0. And vice versa for the previous button. But when the file is published, and I reach the last image and hit the next button, I get this error:
TypeError: Error #1010: A term is undefined and has no properties.
at MethodInfo-346()
The strange thing is, that if I hit next again, it does what it is supposed to do by going to the first image. Then if I cycle through the images once again the same thing happens. And the same scenario and error occurs when I hit the previous button on the first image. If I need to somehow remove the images from memory, or if they are still in memory and I need to access them a different way the second time around?
View 3 Replies
May 26, 2010
I'm trying to build this XML gallery that has a next & previous button that will load XML content. When I click on the next or previous buttons I get this error:
TypeError: Error #2007: Parameter text must be non-null.
at flash.text::TextField/set text()
at recent_fla::MainTimeline/nextImage()
This is what my actionscript looks like:
Actionscript Code:
stop();var titleArray:Array = new Array();
var descriptionArray:Array = new Array();
var imageArray:Array = new Array();
var imageNumber:Number = 0;
var totalImages:Number;
[Code] .....
View 2 Replies
Feb 2, 2009
im fairly new to actionscript 3 and i am trying to make a xml photo gallery for my father. It's nowhere near done but I am trying to load the pictures from xml and i keep getting this error
[Code]...
View 2 Replies
May 14, 2009
i am trying to create a photo gallery i did a few months back but have come into a problem...
TypeError: Error #1009: Cannot access a property or method of a null object reference. at Surrey_fla::masterclip_1/onClick()
i have a main movie clip called masterMC, with the thumbnails inside and another movie clip called photosMC which has all the different photos.here is my code
thmb1_btn.addEventListener(MouseEvent.MOUSE_OVER,onRoll);thmb2_btn.addEventListener(MouseEvent.MOUSE_OVER,onRoll);thmb3_btn.addEventListener(MouseEvent.MOUSE_OVER,onRoll);thmb4_btn.addEventListener(MouseEvent.MOUSE_OVER,onRoll);thmb5_btn.addEventListener(MouseEvent.MOUSE_OVER,onRoll);thmb6_btn.addEventListener(MouseEvent.MOUSE_OVER,onRoll);[code]....
View 3 Replies
Oct 7, 2010
hey im trying to make a mp3 player and when u click on a play btn it plays that song. but i keep getting this output error "Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at slide_fla::MainTimeline/frame1()"
this is my code
ActionScript Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var slidebind:Rectangle = new Rectangle(3, 3, 159, 0);
var loadsnd:URLRequest = new URLRequest ("s1.mp3");
var thissnd:Sound = new Sound();
[Code]...
View 1 Replies
Jul 19, 2005
What I want to do is to make a gallery based on the tutorial gallery here (thumbs), but I want the user to be able to choose different galleries from within the movie. I figured that I could make a loop to cycle through the galleries, then nest another loop inside it to cycle through the pics, captions and thumbs. While I wrote, I constantly tested the output with trace commands, but when I tried nesting the loop I lost all output.. I'm pretty new to both Flash and Actionscript, so if theres an obvious solution I havent been able to see it.. This is my temp XML file:
[Code]...
View 2 Replies
Jan 29, 2012
Im using a dock gallery fx from flash xml components. But for some reason when I preview in browser the dock gallery scales out of the swf area. This doesnt happen if i change the p[ublish setting to match movie. But if the publish setting is set to perscentage gallery scales.
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
Mar 16, 2009
In my "actions" layer I have a function that loads a gallery of a external file called gallery.swf. The swf loads successfully but I cant remove that. The only way to remove is to call removeChild(mLoader.content); I noticed that the movies loads without addChild.
But sometimes also calling removeChild(mLoader.content) the content of mLoader is not removed and still appears in the stage.
[Code]...
View 5 Replies
Jun 13, 2007
I am creating a video gallery off of the demo action script 3, video gallery, that is shown on this site. I have updated the XML file that contains the link to the thumbnails and videos to the appropriate url. When I test the project out, I get the following error:
TypeError: Error #1085: The element type "video" must be terminated by the matching end-tag "</video>". at
fvg::FlashVideoGallery/fvg:FlashVideoGallery::onDataHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE ventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
View 2 Replies
Jan 24, 2010
I have a flash site that I'm working with that has an xml photo gallery as one of it's menu items. the photo gallery has three pages, all three containing thumbnail images that once clicked, load the larger image. The larger image dissolves in covering the page with the image. Once you click the larger image it dissolves out returning you to the gallery.
What I want to to do is to change the first page of this gallery to a video gallery, or player, leaving the other two galleries as image galleries. I tried simply replacing the images listed in the xml document to flv files and the flv file does not load. I simply want to know what it is I need to do in order to change this one page so that I can embed videos on it.
I've attached the Action script that loads the xml gallery in .txt format
View 6 Replies
Jan 15, 2010
i am trying to put some things together following the tutorials on this site. I did the tutorial 'Photo Gallery Using XML and Flash'and I followed it step by step and uploaded it with all the necessary files onto my remote server (xml file, Gallery folder, fla, swf, and html) - however, when I test the movie with flash, it seems to work fine (except the description test, my question to that later), but when I test it online it shows only the first image (but displays the correct number of images in the gallery); even when clicking the next button, it keeps loading the first image the first image. In other galleries (I use the structure for multiple galleries for my portfolio) the first image never loads at all.
Also, about the description text, in between the <caption> and </caption>, can I use <strong> and <em> and <br /> to change the appearance of my text? All it says is 'null'.If you want to look at what I mean check out my portfolio in the making. The problem with the first image displaying only is under 'paintings' and both the projects in 'design - packaging'. The second problem (no picture loading at all) is on some of the buttons in 'design - identity' (where I have not changed the description text of the tutorial yet).
Again,
View 3 Replies