ActionScript 2.0 :: Scotty's XML Crossfade In Flash 8?
Jan 13, 2007
I've been working with Scotty's XML Crossfade (attachment link on bottom) and I'm trying to publish it in Flash 8...his version is in MX.I'm wondering (Scotty, if you know this, chime in!) if anyone knows really WHY I get an error message saying it can't find an undefined item in the folder I have the files in...yet the slideshow still works (with exception to the preloader).url...
I'm trying to do a crossfade effect, and I have [code]Which makes the image fade in, but I also want the image to fade out which it doesn't do, when I change direction:Transition.IN to direction:Transition.OUT
I found this great thread Scotty's Image Resize Gallery and have been playing around with some of the files. The one things no-one has mentioned in all of the posts, is how you might be able to customise the border.I see where it is written in the code, but what I really need to do is create a scribbly line rather than a straight one. It seems best to create mc and then have this re-size and stretch as the images re-size.
I downloaded the source file for Scotty's V3_with_thumbs and would like to know how to add another dynamic text box to it. I've tried and copied the arrangement and placement of iArray (calling it dArray), added dArray.push(gallery.childNodes[i].attributes.descrip); (with descrip being my new entry in the XML file). Given an instance name etc... but if I call descripTxt.text = id; (descripText being the instance name of the text box) I get the same Text given by the existing info/title text. dArray traces with the correct content (but all of it).adding in another dynamic text box?
Before I go and spend a number of hours trying to figure it out - has anyone made the following improvements to Scotty's "V3_with_thumbs" gallery?[url]...
1) Gallery menu is fed by the XML doc and not hardcoded in Flash.
2) Next and Previous buttons (in addition to the thumbnail buttons)
3) Icing on the cake: "Slideshow" button that loops through the chosen gallery thumbnails. Probably needs to be a toggle button to stop the loop too.
I'm encountering a weird glitch when I try to use a more complex image border: the image container and the text caption both jump into place at the last moment. A bad effect. All I've done is add two more variables, "w2" and "w3" to the code:
Code: var w = container._width+spacing, h = container._height+spacing; var w2 = container._width+space2, h2 = container._height+space2; var w3 = container._width+space3, h3 = container._height+space3; border.resizeMe(w, h, id); border2.resizeMe(w2, h2, id); border3.resizeMe(w3, h3, id);
The only way I can find to keep the border shapes in correct proportion is to create 3 different border clips and apply the "resizeMe" easing function to each of them.
I have looked up the tutorials on tween class etc. but can't figure out if I can crossfade images using nextFrame. I have a dozen images placed in their own frames and a button using nextFrame (and prevFrame) to navigate between them. How would I crossfade these images smoothly?
I have 2 movieClips that I want to fade.mc 1 fades out while mc2 fades in. I want to do it in AS to keep my file size down, 'cause I will be having quite a few of this happing.I know how to have one mc fade in using:(I know this is a fade in and I can fadein/out individually)
speed = 10; bigCalendar_mc.onEnterFrame = function() { if (this._alpha<100) {[code]......
I have an XML image gallery that works great, but I'm not satisfied with how the images transition. I'd like the old image to fade out while the new one is fading in whenever the viewer hits the previous or next button, so that way there's no blank background space between the transitions while the new image is being loaded. Below is my code[code]....
I'm trying to do a cross-fade transition in Flex between two states, both containing a VideoDisplay object. The problem is that the default CrossFade effect takes a bitmap snapshot of both states and blends between the two. This means that the movies appear to be frozen for the time of the transition. Does anybody know of a solution that uses a PixelBender (GPU-accelerated) method of fading between two movies? My other option is to manually re-order the video objects and change the alpha of the top one, but this uses a lot of CPU (in my case ±300%)...
I've been looking into how to crossfade externally loaded .jpgs.So far everything I have found deals with slideshows and seems more complicated than what I need.I have created a new Loader that will load a .jpg when the thumbnail of the corresponding image is clicked.I am trying to get the currently loaded image to crossfade upon load completion of the new image being loaded.I'm thinking I can define a variable that is the current image in the loader and then on completion of loading of the new image run a function that fades out the current image and fades in the new image simultaneously.I am having problems trying to identify the currently loaded image of the loader into a variable.
I've been trying to combine Rhamej's wonderful XML gallery with Scotty's Crossfading gallery. I understand both of them separately and have modified both of them for fun, but they use such different functions that I'm having a hard time melding them together.
I have two different background images for my navigation bar. I want the two images to crossfade between each other incrementally depending on the position of the mouse cursor. I was thinking I could do this with an OnClipEvent (mouseMove) and an attach movie command, but I'm not really sure how that works... like I said, i'm just starting out, and I'm thinking I've bitten off more than I could chew.
I am building a modified version of a slideshow, using the code from a tutorial: [URL] What I am wondering is if it is possible to cross fade the imagery so that the images don't just fade in, jump to the next image and fade in. Here is the code I'm working with from the tutorial.
im making my portfolio website and i was wondering if its possible to make 2 things:
1) crossfade transition effect between photos like: [url].... (i know site isn't flash) (when loaded click on f.ex. editorial location, left side click is previous and right side next)
2) first photo on category as a preloader (filling up from top to bottom). i got my photos in category too (on different swf files) and for now im using simple strip preloader.
I'm working through Dreamweaver fairly well, and I'm now wanted to import Flash buttons I've created myself into Dreamweaver for a website I'm currently building, and it's here that I'm finding the problem. I have been to the 'get URL Function', but it says something about needing to link to a web page? But my problem is how can I link Flash Buttons to a web page, when my site is still being developed and not published? Do I have to publish first?
:confused:Does anybody know is Flash mx 2004 compatible with flash CS3 and flash 8?? I can not open flash cs3 on my laptop with flash mx2004 also can actionscript 3.0 be used with flash mx2004 and flash 8 because when I save my flash cs3 document as a flash 8 document it does not work? I am awful confused with all this. If you created a flash website in flash 8 or Flash mx2004 you can not open in in flash cs3 it dosent make sence?
Are there any programs or features in flash that can simplify flash vector art?
I just realized that one of the reasons why my program might be running so slow is that I made the images out of lots and lots of circles. When things didn't look right I often just put larger circles over smaller ones. I didn't think that flash might still be drawing the invisible circles underneath-
We've got a green screened video playing in a flash movie over top of our html content.when the movie ends, flash uses external interface .api to call a javascript function which swaps the flash movie out with a 5 x 5 pixel flash movie (rewrites the <div>).this works and you can interact with the html content after the flash movie in all browsers except firefox.anyone know of any work-arounds or is there a better way of handling flash over html in this fashion?
I have absolutely no idea where to post about this, please move if necessary.So, I've just installed flash player 10 and now my flash tracer plugin (in firefox) won't work. do i have to switch back to flash player 9 or is there a solution to this?
i have the correct path in Flash Tracer's settings (C:Documents and SettingsAdministratorApplication DataMacromediaFlash PlayerLogsflashlog.txt) as well as the mm.cfg file in C:Documents and SettingsAdministrator.
I have made a small rectangle in the flash with the tweening effect and export in to the FLEX. When i publish in the FLEX i could see the rectangle with out tweening effects.How can i see the tweening effects.
ive publish a html file with flash detection enabled from flash.[code]now since the default codes places my flash movie on upper left corner, ive made my own tables with the flash on it, how or where do i place this code to the upper codes?[code]