ActionScript 3.0 :: Flash CS3 And XML - User Controlled Slideshow
Jul 23, 2009
I have been learning flash and Actionscript 3 for the past couple of weeks and i have progressed nicely with making a site. I have some images being loaded into a MovieClip which are dynamically loaded from on XML. I can set it up so clicking left/right arrows navigates through the pictures and loops or i can set it so it automatically plays without user intervention.
What i would like to do though is have the images loaded into the MC via XML but have it so that when the Actionscript analyses the XML code it creates a small circle on the stage for each image (child) and then each circle is clickable to that particular image. I know this sounds confusing so i am i just seeing if it's possible and if so how. I can easily create frames and links for the circles but i would rather it be done through AS3 if possible so that it is easily updatable.
View 3 Replies
Similar Posts:
Oct 28, 2010
Is there a way to create an automatic slideshow gallery that is controlled by the thumb position on a scrollbar?
I'm a FLash AS3 noob and I'd like to place an article or story inside a scrollpanel. At certain points of the story, I'd like the thumb (on the scrollbar) to trigger an event that transitions to a new image inside the slideshow gallery.
[Code]...
View 3 Replies
Feb 19, 2011
I am trying to make a slideshow that allows the user to rollover a movieclip. The movieclips are basically static pictures.When a movieclip is rollover-ed (bad grammar i know!), the flash clip stops and onrollout it resumes again. Clicking on a movieclip goes to a URL using the getURL function.right now only the first picture works when you rollover, rollout or click on the picture... the rest stay static and don't do anything...
View 3 Replies
Feb 13, 2009
I'm currently working on a site that is a mixture of Dreamweaver and Flash. I have some Flash movies that are in DIVs in DW. I need to have some links in those Flash movies that can control visibility of other DIVs. In other words I need a link in the Flash movie to work like DWs Show-Hide Elements feature. Is this even possible? I'm using DW CS3 but Flash MX 2004.
View 2 Replies
May 31, 2011
The images are uploaded with an html form onto the server and their path names are loaded into a .txt file for my flash AS to use.The problem I am having seems to be either server lag or browser issues (catching perhaps?).I manage my content via the CMS and once returning to the flash movie it is either old content, half working or just doesn't work, period.What is interesting is that once I locate the text file and view/refresh it manually, it works 100% fine. Now, it's obviously not a very useful set up if I have to manually refresh my txt files so is there a way, (php?, Java? etc?) to refresh these files?
View 5 Replies
Nov 1, 2008
I'm trying for two days to make a animation and it needs AS but I'm not good at all with it. I'm a graphist ( french, sorry for the grammatical mistakes in the post ) and I just don't get I want to make an infinite panoramic controlled by mouse cursor position ( left et right ), with active zone in it.
I've made my image for that, and tried several code but nothing work.
View 3 Replies
Jul 29, 2007
I am having trouble getting a dynamic text box to be controlled by a checkbox. Is this even possible? Here is the Actionscript that does not work:
on(click){
if(this.selected)==true){
this.selected = true;
cyclicFeedback_txt.text = "text here";
[code]....
I have another problem that I might as well ask too. I would like to have users check the box, and not be able to see what is in the dynamic text box until they click a button called "submit".
View 1 Replies
Jun 30, 2003
Say i have 3 textboxes... can i have all 3 textboxes being controlled by one flash mx scroll bar component.
View 4 Replies
Jul 10, 2003
Anyone know of a place with a sample .fla on how make a browser window shake controlled by Flash.I have tried a few tutorials from other sites and have had no luck. I am wanting to shake the window's x and y when a movie clip reaches a frame in the timeline.
View 5 Replies
Aug 11, 2010
Or is it possible in Flash? web applications - call a specific client side program in player controlled?
View 2 Replies
Mar 14, 2010
I wonder wether on a website like chatroulette for example, the streaming video is going directly from user to user or wether it is going through a server.
In other words I wonder wether it is possible to offer a webcam service on a website, so that the streaming video goes directly from user to user, without overloading the system.
View 1 Replies
Feb 22, 2011
We have a sort of game, generated with Flash in AS3, on our website where the reader is invited to eliminate the California Budget Deficit. It's connected to a database where we keep track of the responses and print them in chart form and post the results on the website so everyone can see the most popular budget items the readers want to cut.
See the interactive in question here:
[URL]
We've had many, many requests to have an option where the reader can get a copy of his/her choices that he/she can print out. I've thought about having a movieclip pop up that shows those choices (and that would be simple enough), but in addition to that, what I'd really like to do is have a way to download those choices to the reader's computer as a text file or maybe have a "Print" button on the movieclip showing the choices that would print just that movieclip. The database we have wouldn't really be suitable because it's set up to simply show which were chosen and which not, and the names of the submissions and choices are variables that don't really mean anything except to us when we put it all in an excel file.
View 1 Replies
Jul 2, 2010
For one of my projects I need users to be able to communicate with each other in an audio mode. The thing I'm concerned about is the scalability of the project if it even gets big in terms of bandwidth consumption.
What are the alternatives to passing the audio through my server to the users?Is it possible to create a link between two users so they can exchange their stream of data (audio in this case) so that it doesn't pass through me, while still being able to control the time they've been connected to each other and some other information?
As for now it's just an idea I have in mind but I don't really know what to look into. I think it will probably need to be some plugin dependant solution so that's why I tagged the question like that.
I'm not looking for a concrete solution, just a little push in the right direction from someone who has been through something similar.
View 1 Replies
Feb 6, 2008
I have created a pie preloader(preloader.zip) which is working fine. Same preloader I am trying to incorporate in a xml based slideshow(slideshow.zip) to show image loading process but some how I got stuck. I am new to flash. Suggestions are welcome.
1. How to solve the problem of preloader2. Is it possible to integrate everything in a movie clip (including AS). I mean no AS on main time line but inside the movie clip. It would be much easier then to to create multiple slideshows by duplicating mc and changing the xml file.
View 1 Replies
May 29, 2008
i have a question about text in a slideshow. i know how to make a basic photo slideshow with external images. but now what i want to do is add 4-5 paragraphs of text next to each photo (with possible scrolling). the text will be different on each photo.
View 1 Replies
Jun 30, 2003
is there anyway when i use scroll bar component in flash... how do i make it so that i can be controlled by your mouse scroll button.. thing.... ( if its possible )
View 3 Replies
Jul 13, 2005
i have attached a flash file.the problems are
1) i have palced 2 flash file on my web page.if i stop the sound on this file then the sound on another flash movie placed on my web page also stops.i want both the files to be independent to each other and controlled separately
2)if i click on play it shows loading.even after it loads the file it doesnt change itz status. if i click again on play then itz status changes to play.my codes for flash.....
soundUrl = "test.mp3";
// create sound object, assign properties and events
function createSoundObject(){[code].....
View 1 Replies
Jan 5, 2010
I have a _mc made visible by, instruct_mc._visible = true;Once the _mc is visible I would like to have a button 'within instruct_mc' that will make, 'instruct_mc._visible = false; again' is this possible? If so what would the AS2 command have to be because the button dose nothing until I take it out of ' instruct_mc
View 4 Replies
Apr 17, 2009
i was wondering if theres a way to link the amount and direction of an objects rotation to the mouse position. I want it so if you move the mouse far to the left the object spins fast anticlockwise but if you move it to the center it stops.
View 2 Replies
Jan 5, 2011
I'm fairly new at flash development but here goes: is it possible to use xml to drive the layout of a flash website in CS3? Perhaps using ActionScript 2 or 3? In particular, I'm looking to be able to for e.g. create a news ticker where changing the XML allows you to 1) change the text and appearance, 2) framerate can be controlled, 3) interpolations between key frames can be specified (e.g. linear interpolation)
View 1 Replies
Jul 21, 2008
I have one MC with the following AS:
stop();
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
[code]....
but no such luck with the second MC. Even if I apply the same AS code to the second MC, it still won't work.
View 1 Replies
Oct 29, 2009
I know that the functionality of the addChildToStage and deleteChildFromStage functions works fine because I have tested it here:URL...the nav adds a new instance of "player" to the stage and the big red button deletes "player".I want to start the movie with a mc_CopyBlank on stage and then have the nav issue play(); command to the movie clip held in "player" then have the current frame of that clip trigger the addChildToStage and DeleteChildFromStage functions that I've written here.[code]
View 3 Replies
Mar 27, 2010
how to stop an _xmouse, _ymouse action? I built a carousel with some movieclips controlled by a _xmouse action but I would like to stop their movement when the mouse is over them, and also activated it again when the mouse rolls out.
View 1 Replies
Nov 20, 2009
I am trying to get to grips with actionScript (a beginner) and have created a SWF that calls in a FLV file. From the SWF I control the FLV wit a Play, Pause and Mute button. This works great. BUT now the client wants just a compiled SWF file only. So from this I take it they just want a single SWF file that acts like a video player but in truth is a Flash movie with a timeline effectively embedding the original FLV.
I have tried writing my own code and scouring sites and tutorials but to no avail. What I have done so far is to import my FLV to a Movie symbol in the library. I have put a stop() command on the actionscript for that symbol. I have created three buttons, which at present do nothing. I placed the symbol on the main timeline and exported and it basically plays the video with no control. Now I hit a wall. What I want seems simple in thought but is baffling me in practice.
Now I have the Movie symbol (video) playing I want some control again via the three buttons mentioned earlier. I really want the movie to auto play when loaded and the play button to resume the playhead if the movie is paused. As you will see from the code although I have set up a variable for the mute button I have no idea what I should code to do that or indeed if it is possible. I am on my umpteenth itteration trying to get code to work but I really need help. I don't even know if what I am asking is possible.
Code: Select allfunction onMetaData(data:Object):void
{
play_btn.addEventListener(MouseEvent.CLICK, playMovie);
pause_btn.addEventListener(MouseEvent.CLICK, pauseMovie);
[code]....
View 3 Replies
Mar 13, 2009
I have several buttons I need to turn on and off (visibility and alpha) but the function I have written that determines if a given button should be turned off works based on a few variables. I need to be able to control which button is turning on and off with these variables.
I have tried this ("btn" + i)._visible or alpha but does not work. how I can accomplish this?
View 11 Replies
Jan 10, 2010
I am looking for a very easy way to make a video player which just controled by the scrubbar. I have tried the Componet Seek Bar but that doesn't enable the viewer to scrub the bar. I am wanting to use the Scrubbar Player to view 3d models. At Zbrush they have a Scrubbar player [URL] once there click on one of the pics to view scrubbar turntable viewer. Would love to be able to show my models in this fashion.
View 2 Replies
Jul 2, 2009
I have created this spinning diamond flash with a dynamic frame rate controlled by the mouse cursor. it spins from the right to the left if the cursor is at the left side of the diamond and vice verse, and also the further away the cursor is from the middle of the diamond, the faster it spins.
it works perfectly awesome in Firefox and by itself, but when it's in IE, the cursor loses control of frame rate, so it spins at the highest frame rate regardless where the cursor is at. I used nextFrame(), prevFrame() to do the winding and rewinding job, and frame rate gets changed in ENTER_FRAME. I've heard some say that IE ignores frame rate per frame? is it true? if so, how do I fix it?
View 3 Replies
Jan 5, 2011
1) I wan't to do a fullscreen videoplayer that listens to the keyboard and that plays a videoclip on demand. I will not use menues or onscreen buttons.
It should work almost like a Video DJ application or a audio sampleplayer but for video. So; when I press any one of maybe ten keys the corresponding videoclip should be played.
I intend to run this locally using Flash player hence not on a browser or on internet so I'm not really limited by bandwidth. I'm on CS4 Flash Professional.
2) Is there a IDE, a runtime development enviroment, for Flash aimed for AS? Despite working on a daily basis with digital media for many years incl. coding in php, javascipt, asp.net, etc I still have a tough time understanding Flash and AS3.
3) A part from traditional keyboard input is there a way for Flash and/or Flashplayer to listen to an non-standard USB input, say a touchpad, joystick etc?
View 1 Replies
Jul 9, 2009
I have five text boxes and a dropdown box in my flex application, how can I make the progress bar fill up when there is text in each box, and the dropdown selected. For example, if there is input in three out of five of the boxes and there is a selection in the dropdown, then the progress bar would be 4/6 full.
View 1 Replies
Oct 25, 2010
I realize that this question can start a discussion but that's really not my intention. We've created a Flex Application to take tests from candidates. The advantage of the Flex Application is that all state can be stored in the application running in the browser of the client. Things like time limits, navigation, scoring, ... can all be handled within the application without us having to worry about a back button for instance. Even running the app offline with Adobe Air isn't that hard.
My question now is if such an application could easily be made with HTML, Javascript, Ajax, ... ? The reason I'm asking is because an application in HTML would be much easier to distribute on Mobile devices for instance. Also, our domain model for instance is mostly implemented in AS3 (Flex) so using it along the server side means porting it to C#.NET. (with two codebases as a result).
View 1 Replies