ActionScript 3.0 :: Xml News Page With Photo And Video?
Dec 15, 2009
[URL]I'm looking to make a page like this (go to the NEWS page).Does anyone know how to do this, or if there are any components out there that do this? I am familiar with making a standard xml page with just text, but I'm not sure how to add the videos and photos.
scrollpan with the news on the main page? I have tried tons of things, but haven't gotten something I want..I have made something just now that works like that, except the text doesn't work completely...Basically, I have a bounding box with a mask over the test I want... Code I use (and this is applied to an MC with the whole "container" pan")
My problem is basically I place my content box in the mask and it will start the whole thing at half way... the box will scroll and everything works. it's just that the content starts half way, so half the box will be empty towards the bottom.
In the cosmicpanda update for youtube, you can go from a video page to the video creators profile page while your video is still playing in flash. Does anyone how Youtube accomplishes this? I would like to know if it's possible to keep the flash state of a site constant while moving from page to page on a site.It doesn't seem as if the flash is reloading, so I don't think that they are just saving cookies for the current video time and starting the video at that point when they refresh.I would assume that they're using ajax, but the application of this feature is really clean. The URL gets correctly changed to the users' profile page's URL. The back button still works as it should. (I can press back and forward between video page and user profile page and the video continues going clean and never drops.)
I'm working on a project and attempting to create a dynamic news page by loading from an XML file. Everything seems to display fine for some people, for others it loads every dynamic text field with an instance path such as "_level0.instance1.instance30.instance45.conte ntMa in.Body1".
Here's the code I'm using:
Code: function loadXML(loaded) { if (loaded) { _global.atitle1 =
im trying to make a simple animated news page for digital flash magazine, I want there to be several boxes on the page that are static until you mouse over them at which point they will start to animate. I have got that far i have created the symbol and i have build the animation inside of the symbol.In my actions layer i have put...
Symbol.stop();
Symbol.addEventListener(MouseEvent.ROLL_OVER, animateMC); function animateMC(evt:MouseEvent):void{ Symbol.play(); }
and that works the symbol is static until i mouse over and it begins to play the part im having an issue with it making the animation stop when you move your mouse away (MOUSE_OUT)
I am working on the news ticker module (AS2) where I have to fetch news from xml and populate that news headings into four text fields and these 4 headings will stay for a while and fade until last record. this process will continue.
Making an XML news reader based off of senocular Squirrel XML news.
I'm using Fuse and wanted to target the dynamic text and or background portions of the headline section.
However, this movie clip is attached to the menu_mc so I'm stumped as to what I should exactly target for the fuse sequence (or any mx.transition/zigo engine based code-tweening process for that matter).
I've attached the files in a .zip for people to look at (and possibly conquer my problem!
I want to implement an XML news reader with images and video links( youtube for example) in as3. Does anyone know where i could find and example or at least, how to read video links from an XML file in as3?
I wanted to add a second news box under the first one and have it pull the first two news items in the xml file and have it displayed on the movie. Currently it is putting the first news item in both news boxes.ction script so that the second box is actually the second "<news> tag". From the tutorial I removed the <info> <author> and <comment> tags.
Recently i have visited so many video enriched flash site like this one [URL] Most of them shows video in full size. I downloaded the video using FF plugin. Video framesize is very small compared to the stage size. When i tried to add video and resize the video acoording to the page size , it slows the browser. I tried to embed the flv inside an swf and loaded the swf using normal loader and plyed it.. but the quallity and performance comapred to these site is very low..
I have (say) 3 photos on my homepage and what I would like to happen is, every time I access the site I would like the photo to be different. What I'm thinking is there must be some way that one can randomly select a photo (perhaps using tweenmax?)
I am new to flash and trying to find out how to link from one page on my flash site to another. My example is: I am constructing an accommodation site and have 3 pictures of 3 different rooms on my 'Rates' page. If a user clicks on one of the pictures, it should take them to the photo gallery page for that room so they can view all the photos for that one room. How do I link from a photo to a page in my gallery. I have got as far as turning the photo images into buttons. My gallery is all set up with the photos. I have looked at the URLRequest, but my flash site is not uploaded to a server and I don't know what the link would be to the gallery.
I have a an unobtrusive flash video looping in the background of a website, it is not essential to navigation - it is purely cosmetic.The flash video loops every 30 seconds.As this video is on all pages, it jumps back to the start when a new page is loaded.Is there an actionscript / javascript way to get it to remember the position it got to on the old page so it can start there on the new page?I do know that this can be accomplished by loading the flash movie in a frame as well as by having the subsequent pages load the contents in AJAX but I was hoping not to go down this route.I have seen other people ask the question and allude to the solution but they only posted that they got it to work without saying how.
I have a aspx called user-photo-upload.aspx and another aspx called get-photo.aspx. I set the Session["PhotoId"] in the page_load method of user-photo-upload.aspx.
If I visit the user-photo-upload.aspx through the browser normally, the session can be retrieved in get-photo.aspx. But if the flash uploads photo to the user-photo-upload.aspx page, I can't get the Session["PhotoId"] in get-photo.aspx.
I discover that the Session ID is different when visiting the page using browser normally or by flash. I don't know why flash uses another session.
I have decided to build my own XML gallery. The flash loops through, checks how many images there are and duplicates a movie clip to match the amount of photos on that page. The duplicated mc's are given the names "hello"+z, but when trying to load the images they don't want to load (I have taken the code that loads the dynamic images out). When I trace "hello"+z, it gives me an undefined.
Here is the code: //builds an array for the amount of XML nodes function loadXML(loaded) { vararPhoto =[] if (loaded) { xmlNode = this.firstChild; [Code] .....
I've got a photo gallery that I'm working on it loads its content from an xml file... I would like to be able to display and play flv videos as well but I'm unsure what changes I will have to make. If I only change the xml I get the error " Loaded file is an unknown type."
i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,
function over(event:MouseEvent):void { this.gotoAndPlay(30);} function out(event:MouseEvent):void {[code].....
its for a photo gallery that I downlowded,the images fades in and out, but only start that when you click a button(timer).I'm trying to founf out where in the script I can change this, so that the photo's start automatically,rather than, on a button click.I have pasted the script below, is that ok, or would people rather a zip file of the files?
// (c) Copyright by Andrew DiFiore. All rights reserved. DO NOT REMOVE. fscommand("allowscale", "false"); Stage.scaleMode = "noScale";[code]......
I am working on a website using the [URL] tutorial for Flash CS4.
I ran into a bit of a problem, I made my flash movie and everything was good. I added a welcome video with sound that plays when the user opens the website, my only problem is that when you click on the other pages the video and sound keep playing even if you see the other page.
How do I get that video with sound to stop once you go away fro the page and go to another page?
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
Are there any examples of Flash + Javascript libraries which allow you to display a variable-sized Flash movie in your page that captures Webcam snapshots (still frames), and submits them to your server in a JPEG format?
I have an XML photo gallery, that when it starts it has a loader for the photos. It always starts with the XML file determined sequence, which is fine, but what happens is that the tabs on the right hand side of the photo loader go astray while it is loading the first photo. If the first photo was loaded instantly this wouldnt be an issue.Is there a way that I can preload that first photo, so that it is in memory when the swf file reads the XML file, allowing the first photo to be instantly loaded ?Amongst other things, I tried embedding the photo in the swf file, but it didnt work...obviously I have no idea what to script...I also created another scene, prior to the main scene, to preload the photo.. but it didnt work either, again probably used useless script...Going further in detail, this is the main script:
I have been searching for a particular photo gallery, and haven't got far. Here is an example of what I am looking for. With the example I wanting the user to be able to click on a photo for it to appear in the box above. I am looking for a tutorial, so I can customise to fit in my client's flash website.