ActionScript 2.0 :: 3D Carousel - Flash And Greybox Integration
Aug 9, 2009
I'm using the Oxylusflash 3d Carousel which uses AS2.0. I've got it installed and working, however I want to trigger a Greybox javascript popup by clicking on an image in the carousel menu. The Greybox popup is initiated in HTML by simply including arguments in the <a href..> tag like this:
Code:
<a href="[URL]" title="Google" rel="gb_page_center[640, 480]">Launch google.com in a 640x480 window</a>
The carousel .fla file (which for commercial reasons I am unable to upload) uses a file called pictureClick.as to handle the onClick events (I think this is the right way to describe it). The pictureClick.as file contains the following:
//function called by onPress event and return "name" variables from xml (if action is other that "_blank")
function pictureClick(par){
//this is the the name of current holder that keeps all images
var father=_root.slideshow.poze;
[Code] .....
View 3 Replies
Similar Posts:
Apr 18, 2007
how to use greybox from a flash movie.
here is the site with the documentation on how to use grey box
[URL]
Now, you have to install some javascript on your server and call it from the header in your html. now thats fine and ive got it to work on a normal html page, the only problem is i cant seem to figure out what to do in flash.
Here is the HTML to launch [URL] in a new 'greybox' window
Quote:
a href="http://google.com/" title="Google" rel="gb_page_fs[]">Launch google.com in fullscreen window</a>
you can see that there is a 'rel' variable. Can flash understand this. how can I make flash do this?
View 9 Replies
Jul 31, 2009
I am trying to open a greybox window from my flash movie. I am not getting a syntax error, but the window will not open when I click the button, either.
Here is my actionScript 3 code:
ActionScript Code:
ericEmail.addEventListener(MouseEvent.CLICK, buttonclicked);
function buttonclicked(event:MouseEvent){
ExternalInterface.call("opengreybox",'http://www.cosmogrey.com/contacts/trautmann.html');
}
[Code]...
View 5 Replies
Jan 1, 2010
I have a video player that is currently using XML for its video library which is all fine and dandy. Now I have some developers working on a CMS type page in PHP that is going to hopefully pass some sort of information to my player that will let it know where the video is stored on our server. Is there a way to do this without using FMS? If so does anyone have ideas where I can find the information for it.
View 2 Replies
Nov 12, 2007
I'd like to create one empty Flash movie that is essentially a placeholder for externally loaded content I can change through XML. This content would just be able to randomly load 1 of 3 photos, with a button linking to a website within each of the photos on page load. If the user refreshes the page, a new photo with it's link would appear, but I understand since it's random,having 3 images the same image is likely to reappear, but I can always add additional photos and links.
Does anyone know of a tutorial that might lead me on the correct path to create this? I've found some tuts, but they've been different than my need.
View 2 Replies
Feb 1, 2007
We want to be able to upload over 100+ files (if needed) to a server along with desc + keywords. I see that Flash 8 has the neccessary tools to handle file uploading, but my question is, can we have it act as a Stand alone FTP program so that we can utilize the fastest user upload, or will we be confined to the settings in the server INI settings.IE MAX_UPLOAD_TIME,MAX_FILESIZE, etc. If possible we want to avoid using the HTTP upload as it is noticeably slower. So if we can use flash to utilize user BW to upload, then that would be ideal.
View 1 Replies
Feb 14, 2009
I am trying to develop a Flash globe carousel and I need some help in doing so.A normal carousel moves along a circle.I am trying to develop a Flash carousel that moves in every direction along the lines of a globe. You can see attached a normal carousel that I have created. I have tried to upgrade it to a globe carousel but I am having problems in doing so.It is not easy but I am sure that there are people here that understand trigonometry and can point me in the right direction.
View 1 Replies
Apr 8, 2009
1.Flash carousel changes
a.Currently each carousel rotates automatically.
change so that it is does not rotate but it only rotates when you click on individual image, it then stays on that image until you click another image.file is also attached:
// Code Credit: Lee Brimelow
stop();
var folder:String = "thumbnails/";// a folder for thumbnail files + an XML file[code]...........
View 2 Replies
Mar 24, 2012
so i have the carousel already made (i didn't make it i found it online) [URL]
im trying to make the carousel 195 height 620 width but idk if i'm supposed to change the code or the stage size ,or both i tried changeing some of the code but that didn't work out too well i'll be honest i didn't know what i was doing i also wanted to make the images into links
View 3 Replies
Feb 3, 2011
I'm trying to create a Flash Carousel in AS2. I've made the Carousel itself, and have got the icon images and tooltips from an XML file using this code:
xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
[Code].....
I have functions for 'over', 'out', and 'released', and to move the carousel automatically, left or right depending on mouse position.
I was wondering if there was a way you could make each individual icon have an external link that leads to a different place on my website when you click on an icon, where I could specify the link url itself in the XML file?
View 3 Replies
Jul 16, 2011
My carousel is all setup and working fine on my site. there is one thing that it is not doing. the images should automatically rotate. the properties are all set in the xml file and look like the following[code]...
View 0 Replies
Sep 24, 2011
I found this free 3D Carousel flash file on the this website but I couldn't add a different icons into the Carousel! can someone help me with that please? what I need is just to put a different icons in the Carousel but the icons should be inside the flash file library not out.
View 9 Replies
Jul 1, 2009
I wish to have a 3d carousel much like a flash one in the below link : [URL] however, i wish the images to be dynamically generated and at the same time txt 'beneath' (to be added) the picture to be dynamically updated also...through a database. I wish to get it connected to a back end and probably use a content management system.
View 1 Replies
Dec 28, 2010
Basically I've included actionscript which produces a 3d carousel through an xml file. everything has worked out well except I dont know how to stop the carousel from playing throughout my flash document. I have included button and frame labels which allow you to go to different pages, but on every page the carousel is playing throughout. I've tried the stop();. What I would like is for the actionscript to disappear after frame 19 and beyond. Is there anyway I could do that through actionscript maybe? I am using Flash CS5 and Actionscript 2.0.
View 11 Replies
Apr 4, 2011
I have a Flash carousel on my website, and I wanted to change one of the images, and delete another icon altogether. I have uploaded the revised XML file, published the new .swf (just in case), and uploaded to my Joomla site.For some strange reason, its still showing the old icons in Firefox (even though I've deleted these images from the referenced folder), and its showing the new icons in IE, only without the one image I added. Very strange.I've refreshed, created a new .swf, made sure I've saved the XML file etc but no changeThis is probably one of those amateur mistakes I think, I've thought of everything but drawing a blank at the moment.Oh i should probably mentioned that the revised carousel has 4 icons, and the old one has 5. The new image I put in has an icon of a jigsaw.XML File is as follows
<icons>
<icon image="icon3.jpg" tooltip="Ramis Software" link="/index.php?option=com_content&view=article&id=57&Itemid=67"/>
[code].....
View 3 Replies
Aug 2, 2009
I have a nice Flash Carousel gallery and it fed from a n xml file. I am trying insert links to give an option to a reader to go an external website to read more about the given subject. I am new to actionscript, and all my trying and all my trying failed so far.Here is the script for this section:
xml.onLoad = function() {
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
//this counts the amunt of items listed in the xml document (numOfItems);
[code]....
View 0 Replies
Jan 20, 2009
I'm trying to edit a basic flash carousel which I made from online tutorials. The carousel has 5 smiling images(as buttons) rotating as normal and when you hover over an image, it changes to an angry face. Now what i'm trying to do is, when the images reach the 5 to 7 o'clock position it changes to the hover image automatically.
Code: Select allvar numOfBalls:Number = 5;
var radiusX:Number = 350;
var radiusY:Number = 160;
[Code]....
View 4 Replies
Nov 11, 2009
I have an average carousel flash component I downloaded... It would be easy to embed into an html webpage but I need it in a flash webpage that I am building...I figured I could put the whole thing into a movie clip and stop on that frame and the carousel animation would work fine but all it does is loop my animation... Even with the "stop();" at the end... My skills are pretty basic in Actionscript...
Code: Select all// Code Credit: Lee Brimelow
// Tutorial Reference URL: http://www.gotoandlearn.com
// Modified by http://www.flashmo.com
[code]...
View 1 Replies
Sep 26, 2007
I've just completed and have now made my own carousel, but it has one problem. The mc's do not swap depths properly which kinda kills the whole illusion...
Code:
var numOfItems:Number = 10;
var radiusX:Number = 250;
var radiusY:Number = 75;
var centerX:Number = Stage.width/2;
var centerY:Number = Stage.height/2;
[Code] .....
My stage is 1000 x 1000. The mc's flash back and forward when they overlap at the edges of the carousel.
View 2 Replies
Jun 24, 2009
where i can find tutiral for Flash Carousel like this... [URL]
View 2 Replies
Mar 1, 2010
I have a flash carousel that works perfectly however it moves too quickly. I am not familiar with flash so I'm curious as to whether or not anyone can tell me how to slow the rotation speed down. If necessary you can download a complete example of my carousel below. Also any of you who want a nice free carousel.
View 4 Replies
Feb 25, 2010
where can I find a really good tutorial to create 3d carousel in flash MX? has anyone implemented this in flash MX?
View 1 Replies
Jan 9, 2009
Does anyone know how to create carousel menu in flash 8 without any xml code
View 5 Replies
Dec 28, 2010
Iv inserted actionscript in flash to create a 3D Carousel. I have included buttons and frame labels which allows me to create other pages.How do I stop my carousel from playing though my whole flash file as I only want it to play up to frame 20 as beyond this I have my second page.I am using Flash CS5.
View 1 Replies
Mar 21, 2011
I've a carousel, that has got an image and a label that shows a description of the icon. It is done using It has got an ItemRenderer that renders the image above the icon description text. [URL].Up on click event I display the image and details of some text pertaining that image/icon.
Now I wanted to introduce a smaller 'x' icon on top right hand side of the icons so the user could remove the items he's not interested in from the carousel's list of items. This would dispatch a different event so removeIconEvent and clickEvent would be handled differently.
View 1 Replies
Jul 11, 2011
I was wondering if it's possible to include an swf within a javascript carousel that currently just contains stagic images. What I'm looking to do is include a flash animation within the carousel. I guess I've got two main questions: Is it possible to cycle through flash files in the same way as an image? How would I get the javascript and flash to interact so the flash file would know when it had been selected?
[Code]...
View 1 Replies
Aug 8, 2011
I need to build a memory managed carousel type navigation. Like scrollviews on iOS. What's the best framework to use and are there any good tutorials on this?It's for various mobile devices and perhaps the web aswell.
View 1 Replies
Jan 27, 2009
I am not new to html or flash but, some what new to XML. I created a carousel based off the tutorials and it works great on my computer but, when I create an html file and attach the .swf file the flash file loads but, the icon images or anything from the .xml file doesn't appear.This is what I use to load my .swf file :
<div id="spacer">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" [code].....
Do I have to put a special script in the html document for it to be able to see the xml file?
View 1 Replies
Apr 1, 2008
I found a a free flash carousel from gotoandlearn.com but don't know how to change it so the icons link to a page? I know that doesn't make sense but go to the link below and you'll download the finished piece so you can see what it does now.So basically I just want to make it so when the user clicks on an icon it takes them to a page. http:[url].....
View 3 Replies
May 21, 2009
I want to ask if these theory is possible in Actionscript 3.0.Basically, whenever accessing an xml file in actionscript 3 we use this var xml FilePath: String = "../XML/XmlFileName.xml" or we could declare a url.I want to ask if it is possible to declare an xml file that accesses variables from vb Instead of declaring the path, we pass a variable in vb instead ? I want the xml to be dynamic instead of being hardcoded.
View 1 Replies