Professional :: Adding New Items To Existing Carousel Causes Sequence To Restart

Jul 18, 2011

My company recently contracted an outside web developer to create our new website. I have some experience with Flash, but not beyond basic timeline controls. I've been given the task to update the flash element that has a horizontal carousel. Inside, there's three series, each with 6 buttons. The controls are a left and right arrow button on either side. I added a new button into the series and moved each of the series so they no longer ovrlapped.The carousel should just rotate through continuously, but it returns to the start after 6 clicks. Please let me know if there is any other materials I need to provide. Did adding in another button change the positions in the code? If so, what do I need to do to fix it?

[Code]...

View 1 Replies


Similar Posts:


Professional :: Changing Color Without Modifying Existing Items

Jul 28, 2011

I'm reletively new to flash, and am trying to modify a template and am running into a problem and I don't seem to know why Flash is acting so strange. I am going into a movie clip to edit the color of an item, and when I do so with a tint, it overrides any additional effects such as light, and text. The color appears almost as if it were just slapped on top of everything. When I edit the color in advanced mode, it is really a hit-or-miss to get the correct color, and will only modify when changing the offset RGB.

And also when doing this, the text gradually changes color, for example: there are 4 items in total that I want to edit the color of. Each item is a different colored box with text on the front (for a main Navigation of the website). --- The first item, the text will stay white. Gradually through the second and third items it starts to change, and by the fourth / last item, the text is completely blue. Is it possible for a portion of text to be connected somehow to an object within the animation in a movieclip? If so, is it possible to go inside and edit this? -the shape, animation, and text? Is there an easier way to change the color of an item inside a movie clip? I can supply additional information if needed.. files etc.

View 1 Replies

Professional :: Adding A Preloader To An Existing Movie?

Aug 30, 2010

If I already have an existing movie, what is the best way to add a preloader to this movie?I have 1 frame with a few layers right now.  Then, I have some movie clips on frame 1  Should I just move everything to frame 2? Does that throw anything out of sync? I am using labels in the movie clips that that I can use gotoAndPlay("label");

View 5 Replies

Professional :: Adding Flash Intro To Existing Site

Feb 15, 2010

The index file is .php. Now I've got this little Flash animation that we want to run first, then when it's done go to his website. When I try to add it to the top of the index page all that happens is the site loads like in normally did but with the Flash movie at the top instead of being another page. What do we need to do to have it load on it's own first?

View 1 Replies

ActionScript 2.0 :: Carousel Sequence Resets After 6 Clicks?

Jul 20, 2011

I've been passed a flash file that uses the code below to move a set of images using left and right arrows. The user should be able to click through the series smoothly with no resets.

Essentially, the file looks like this: < (set 1) (set 2) (set 3) >

Each set contains the same 6 buttons. I added one button into the set, so now there's 7 buttons to a set. They overlapped, so I moved the left set over one button length and the right set over one button length.

After 6 clicks, instead of rolling smoothly through the buttons, it jumps back to the beginning. Did the addition of another button mess up the initial position or something?

Sadly, I'm more familiar with simple timeline and tween effects rather than this. Also, I'm using Actionscript 2.0 and CS4.

Code:
import mx.transitions.Tween;
Stage.scaleMode = 'NoScale';
var InitPos = 85;

[Code].....

View 0 Replies

Linking URL Or Text To 8 Different Menu Items In A 3D Carousel

Nov 13, 2010

I created a 3D carousel in CS5. It works wonderfully. For now, I have it set up so that if someone clicks one of the menu items, the output window say "commited suicide after being cyberbullied", what I want to do is either have different text (that shows in the window) for each of the eight menu items when clicked, or 8 different URL links for each of the menu items, when clicked.

[Code]....

View 1 Replies

ActionScript 3.0 :: Linking URL Or Text To 8 Different Menu Items In A 3D Carousel

Nov 13, 2010

I created a 3D carousel in CS5. It works wonderfully. For now, I have it set up so that if someone clicks one of the menu items, the output window say "commited suicide after being cyberbullied", what I want to do is either have different text (that shows in the window) for each of the eight menu items when clicked, or 8 different URL links for each of the menu items, when clicked.

The code I have is this:

//The total number of menu items
const NUMBER_OF_ITEMS:uint = 8;
//This array will contain all the menu items
var menuItems:Array = new Array();

[Code].....

View 12 Replies

Actionscript :: MovieClip Replacement That Converts An Existing Imported MovieClip To A Sequence Of BitmapData

Jun 22, 2011

I've written a simple MovieClip replacement that converts an existing imported MovieClip to a sequence of BitmapData. This removes the requirement for Flash to render vector data in the MovieClip on each frame.

But BitmapData has a huge memory footprint. I've tried converting the BitmapData to a ByteArray and using the compress() method. This results in a significantly smaller memory footprint. But it has proven impractical. For each redraw, I tried uncompressing()'ing the ByteArray, then using SetPixels to blit the data to the screen, then re-compressing() the frame. This works but is terribly slow.

So I was wondering if anybody else has an approach I could try. In Flash, is it possible to compress bitmap data in memory and quickly blit it to the screen?

I wonder how native animated GIFs work in Flash. Does it uncompress them to BitmapData behind the scenes, or is frame decompression done on the fly?

View 1 Replies

Actionscript 2.0 :: 3D Carousel Adding Button

Jul 26, 2010

I'm not very good in as or flash, but I'm learning. What seems to be a problem with that 3D carousel is:I would like to add close button when you want to go back to carousel after you click on carousel element (but it doesn't work as I would like to). The problem is that when I click on my button it returns to carousel, but carousel doesn't spin and also the last clicked element it's out of position. What I did is I'm calling the function unReleased which is working perfectlly when you clicked on the carousel element.[code]

View 4 Replies

ActionScript 2.0 :: Adding To The Dynamic 3d Carousel?

Nov 8, 2007

i just ran through the '3d carousel' tutorial i would like to do/add.

here are a few things i would like to add to this code below:

- Different colour panel containers, so somehow i would need to edit the attachMovie with a tint on the mc or maybe load in a another mc?

- Each mc to be clickable.

- A unique link for each items

- The rotating animation to only occur when the mouse is in actual flash movie, so once out of the active area the rotation from the mouse x position to stop.

Also i was aware that GotoAndPlay tutorials have a xml version of the tutorial that can import links/images/ descriptions but for this particular task i cannot have any external files, so it's all got to be within this one file.

View 4 Replies

ActionScript 1/2 :: Adding A Html Link To A Carousel?

Apr 8, 2009

i have followed a tutorial to build a flash craousel and have had no problems in building that.  i wanted to add a html link to a section of the carousel but everything i have tried up to now has failed.  All the information is passed through to the carousel from an xml file and everything works fine except for the link.

i have slightly modified the tutorial so i have an extra box on the information page which holds the web address for the site they are looking at in the portfolio.  i have the address showing up but i cannot use the text as a link. the box that i am putting it in is a dynamic text box which has been set up with the following settings

[Code]...

View 4 Replies

ActionScript 3.0 :: Adding Links To Flash Carousel Through XML?

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

Adding URL Link To XML File Of Carousel Tutorial

Oct 27, 2008

I am using the Carousel application as designed in the 3 part tutorial. My question that i can't find an answer to online is how to add a URL link in the description text that shows when an icon is clicked.

View 3 Replies

IDE :: Adding Text To An Existing File

Apr 23, 2009

how i can add text to an existing file instead of overwriting it... ive got this far... string filePath = "C:\tex1.txt"; StreamWriter foo; if (File.Exists(filePath)) { // File exists // Don't do anything.} else {// File does not exist foo = new StreamWriter(filePath); foo.Write("Blarg. Zorb. Zeeb. Foo."); foo.Close();}

View 1 Replies

ActionScript 3.0 :: Adding Preloader To Existing Menu?

Oct 22, 2009

I am a newbie and been developing this menu that is XML driven and uses an External AS file for the script, so there is no AS on the timeline, it is all external. The Preloader. I found this preloader from here: [URL] which I have been trying to build into my movie, but with no joy! I don't understand how to add a preloader when you have external script, there is going to image directly on the stage, which is what the preloader would be loading.

Basically all I would like to do is add a simple percentage count for the preloader, a loading bar also would be great, but if not ,thats ok. The problem I have is when I put the preloader script into my existing menu all hell breaks loose. Below is a link to my menu files and also attached the AS script file, if that is better? Link to menu files: [URL]
Attachments: Main.zip (1.5 K)

View 1 Replies

ActionScript 2.0 :: Adding Text On To Existing TXT File

Apr 30, 2009

Trying to write text to the end of an existing .txt file... I can only overwrite the file each time.

View 1 Replies

ActionScript 2.0 :: Adding Method To Existing Class?

Jul 5, 2009

I'm trying to make a new method for the XMLNode class and I want to use this method in other classes of mines that manipulate XMLNodes. Here's what I did :

1. I wrote an Ext class which you can read here :

[Code].....

It didn't work (saying that myMethod doesn't exist), so I added this line "static var e : Ext = new Ext();" before "function Testing () {}" Then my method worked. I don't understand why but great.

3. The problem is that I want to use the method not only in the main function but also in other classes of the application. However, when another class tries to call the custom method, it says that it is not defined. I don't know how to solve that.

Additional infos: I'm using the Eclipse IDE rather than the traditional Flash IDE so I don't have such a thing as "the first frame". My app only has the main function.
-MTASC which compiles my code doesn't support #include

View 1 Replies

IDE :: As3 Adding SWFAddress To Existing Flash Site?

Aug 21, 2009

I'm still a newbie in terms of as3, but have built a code-simple flash site (using CS3 & Dreamweaver). I've only just discovered SWFAddress / SWFobject / swffit and have been combing through my flash pages to implement these oh-so helpful tools. Troubled process, as it is...

I have literally spent days (not merely hours) trying to adapt various code, watching and following tutorial and trying to adapt what I find for my existing site (which is, unto itself, still in development)

I'm trying to avoid avoid using external packages and script instead on the timeline, in keeping with how the site was originally built (with hopes this would save me from having to rebuild and reorganise the structure of the timeline - there are several gallery pages and files and buttons and cross-linking). But I'll attach here just one fla ("archives.fla") that anyone whom has experience with SWFAddress might understand what I'm contending with. I've borrowed code from so many sources at this point that the script code is sure to be bungled (one top layer of the fla file, for deep linking).

I would be ever so grateful for assistance in this regard; cannot afford to pass another day trying to figure it out (I am on a deadline)...

file to big to attach; i don't believe looking at the code will be of any use without seeing the set up and references on the timeline... but i'll insert it anyway (below). is there a way to send the file to someone directly?

[Code].....

View 3 Replies

ActionScript 3.0 :: Adding XML Data To Already Existing MovieClips?

Dec 5, 2011

I'm trying to redo my App and have everything added dynamicly, so updating will be a lot easier. I have 3 movieClips in my library. 1 is the holder of the other two. This is done because the holder has a class attached to it, and the 2 other movieClips are where the content is being added.

So basicly what I have now is via XMLList and a for loop the content is placed and displayed on the stage. They are added like this:

PHP Code:

var myXMLLoader:URLLoader = new URLLoader();
myXMLLoader.load(new URLRequest("Avalist.xml"));
myXMLLoader.addEventListener(Event.COMPLETE, processXML);

[Code]....

Now what I'm trying to do is add the same amount of content, but different images to the flipHolders that already exist right now but then the sideB in stead of sideA.

View 1 Replies

ActionScript 2.0 :: Adding An Additional Separate Image To Gotoandlearn Carousel

Oct 28, 2009

I am trying to change a version of the gotoandlearn carousel to add an additional image that appears along with the first image when it's clicked on. I can get the movie clip to appear/disappear properly, but I can't get the photo to pull from the XML file and appear in the movie clip. I've tried everything and what I think should work doesn't. Here is my XML file and action script code: ("the2nd" is the movie instance, "image2" is the photo in the XML file that needs to appear).

XML file:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<icons>
<icon image="carouseldogs/icon1.jpg" image2="carouseldogs/icon1a.jpg"
tooltip="How we help"

[Code]....

View 0 Replies

ActionScript 3.0 :: Adding Activities Node In Sequence To XML

Oct 3, 2010

It seemed to me that adding nodes to an xml would be an easy task, but this one result seems to be bit illogical to me. I have a xml with list of activities nodes are to be added. I keep adding the activities node in a sequence. But then when I trace the xml to find its not in a sequence. I have code below

Code:
//Assuming there are two nodes to be added in the activity XML
var typeOne:XML =<quiz type="1" ></quiz>;
var typeTwo:XML =<quiz type="2" ></quiz>;
//Activity XML to which activity xml would be added as per requirement
var app_xml:XML = new XML(<quizData><global_properties></global_properties><allquiz></allquiz></quizData>);
//variable to keep track of total activities added
var _currentQuestion:int = 0;
[Code] .....

When the fourth node is entered its not in the fourth place rather in third place. This is my issue, I want them in the order they are entered. Array returns in right order.

View 5 Replies

Media Server :: Adding Files To An Existing Stream?

Jan 15, 2009

add files to a stream on the server so that a clientof the stream just sees a continuos stream fo data?

View 2 Replies

ActionScript 2.0 :: Adding Easing Tween To Existing Function

Mar 31, 2007

Ok so I found this nice code over at Prototype. Its a function for Aligning to stage on Resize. [URL] It works really nice on its own but I was hoping to add some tweened easing as an additional optional parameter. (I posted there twice asking for help to no avail =( So I am asking here at Kirupa. What I wish to add is - implementing and adding an "easing" function as part of the current function. Something generalized to be called only if desired and the ability to set the ease type, duration, maybe prop etc.. (or whatever needed to make it work)

I have tried all kinds of things and below is as close as I can come (at least the only thing I can do to get the thing to move, although as you will see it works backwards and I can only get it to work using stage.width, stage.height, however I have tried newX oldX and all kinds of other things and cant seem to get things to move.

[Code]...

View 15 Replies

ActionScript 3.0 :: PV3D: When Adding Text3D To Planes In A Carousel The Rotaion Slows To A Crawl?

Jan 13, 2010

I have added 2 text3D textfields for each plane that gets rendered via xml.Everything works fine, yet as more planes get added via xml the carousel slows down considerably.If I remove the text3D fields the carousel rotates very smooth and at normal speed. Is this just a limitation of text3D in Papervision3D or is there a way to optimize this better? Yes, smooth is set to false and images have been optimized.

View 1 Replies

Professional :: Pause On Movie Won't Restart

Mar 1, 2010

I've built a pause and replay function into a children's book for a client.  Since the narration is in song, I needed to keep the sound file in one piece, so I built a reverse pyramid with regular buttons throughout, truncated from the beginning with each progressive scene. So if you press the pause button at point 1 2 or 3, you are sent with a stop command to the first frame of scene 1 2 or 3, and then there's a "play" button on that first frame with this simple command[code]...

View 4 Replies

ActionScript 3.0 :: Add A Couple Menu Items To An Existing Flash Menu?

Sep 21, 2009

I need to add a couple menu items to an existing Flash menu that I did not create, but I am having trouble figuring out how to make the buttons stay highlighted until you click another one. Best way to simply describe my problem since is to simple show you. The first 5 links work exactly as they should. But the last 2 (Careers and Client login) do not stay go highlighted on the loaded page. [URL]

View 9 Replies

ActionScript 3.0 :: Adding A Web Url Link To An Existing File: 1046: Type Was Not Found Or Was Not A Compile-time Constant?

Sep 26, 2009

We're trying to add a simple link to an existing Flash file. There looks to be at least 7 separate .as files and a separate swf that loads the main swf which all seems overly complex for what is essentially a page with six buttons on it.However, we need to add a URL to some of the text. So we converted the text to a button, added an instance name of <ssbpurchasetickets_btn> then added the following Actionscript into the actions layer on the frame the text/button appears:
 
ssbpurchasetickets_btn.addEventListener(MouseEvent.CLICK, ssbButtonPurchase);
 function ssbButtonPurchase(event:MouseEvent):void
{[code]......
 
When we publish the file we get the following error which seems to cascade into a whole bunch more errors:Description: 1046: Type was not found or was not a compile-time constant: MouseEvent.Source: function ssbButtonPurchase(event:MouseEvent):void

We added "ssb" onto the button and functions to ensure there were no conflicts but the same thing occurred. If we copy the button into a new file everything works so it must be conflicting with something in the main files.

View 23 Replies

ActionScript 3.0 :: Adding Multiple Items?

Jun 3, 2010

I have entered the following code and both items do import, but i cant control the label of the second library item called "Cool"After doing some digging, i think i found out the class name of the second object was called "Cool" and the base class was "import flash.display.SimpleButton;" so it looked like i had to import that class at the top like i did! But still not working. and still no joy!I think i need to add in "public class Cool extends SimpleButton" so it inherits the SimpleButton class after the first public class and then create a new function called "public function Cool() " and then add the function body but when i go to do that it all goes wrong. Am i on the right track or am i missing a trick!!

package
{
import flash.display.Sprite;

[code].....

View 3 Replies

ActionScript 3.0 :: Adding Sub Menu Items Using XML

Apr 27, 2010

I am trying to learn how to add sub menu items to my main menu which is being generated using XML. I have been able to add the top level menu items but I am not sure how to integrate the sub menu items. a link to my development site [URL] In my code I have a variable showInMenu this value is true if it is a top level menu item and false if it is a sub menu item. If I list out the XML menu items they look like this where About Us is a top level menu item and Our Mission is a sub menu item of About Us. how to set up the sub menu items. I attached the fla with xml file.

[Code]...

View 0 Replies

IDE :: Combo Box Adding Items From An Array

Feb 24, 2009

I've got a combo box adding items from an array. The labels are working just fine, but adding the data with a variable won't work for me. If I put in an actual number, I get that result, but trying to add it with a variable I always get 1 as a result. classData only ever = 1. I can access the array. I know it must be in the syntax.[code]

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved