ActionScript 2.0 :: [Flash8] Multiple Scrollers Working On A Page

Apr 19, 2007

Has anyone found a solution to having multiple scrollers work on the same page? I tried applying different instance names on all components but that didn't work either. The AS below only allows for one scroller to work.

[Code]...

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Flash8 Previous Working Fla's Return Multiple Errors?

Dec 7, 2005

I've found out that when publishing with Flash 8 my previous MX's working fla files, I get multiple errors.I've had a look at the Export publishing settings and I think they're all correct: - Exporting version: 8- AS Version: 1.0So, I guess it must be a silly thing I'm doing wrong but after a long while I haven't been able to know what's wrong. Perhaps AS compatibility is not that accurate?The most common error I get is:"A ')' or ',' was expected" or"An unexpected '}' was found"(I'm using Spanish Flash 8, so I don't know if this is the exact message you're given in English Flash 8) The 'supposed to be wrong' code seems to be in lines like[AS].posicion = posicion+eval("abc" add i)+gap;abc=eval("_parent._parent.abc" add _parent.n)[/AS]and I even get a "Declaration must be inside a on/onClipEvent controller" here:[AS]._xscale=abc*1.4;[/AS] ...while ALL of this code worked perfectly in Flash MX, I get up to 104 errors in Flash 8

View 7 Replies

Flash8 Page Turn And Navigation?

Nov 27, 2009

I have created what looks like a book in flash.There is a corner turned over at the top right so when you click it the page turns. This is fine, however, what i want to beable to do is when I click it the page turns and goes to a new page. ( i have made all the other pages)I tried an on(release) but it just doesnt go to the page, it plays the movie clip but I cant get it to navigate aswell..

View 14 Replies

ActionScript 2.0 :: Showing Two Thumbnail Scrollers At Once

Jul 31, 2006

I am building a Flash file that has two thumbnail scrollers, and I'm having difficulty with it. The basic way it's supposed to work is like this. I have a t-shirt, and want to put a graphic on the t-shirt. The t-shirt is already loaded with no problem. I load the thumbnail script so I can pick from available graphics to place on the t-shirt. Fine so far. Now I want to show the back of the t-shirt, and select a different image for the back.

I've tried this two different ways:
1) Have them in different layers of the same frame, so that I can hide the inactive layer without erasing the info for that layer. The problem with this is that it seems something in the second instance of the thumbnail script is overriding the ability of the first instance to work properly. As you'll see here, the thumbnails load fine either way, but you can only change the picture if you hit "flip product": [URL]
or
2) Have the front and back in different frames. This seems to work better, but now it refreshes the initial image every time it flips between the frames rather than keeping the image that had been chosen: [URL].

So basically I'm curious how I can either
1) Keep the second instance from interfering with the first if in the same frame; or
2) Disable the refreshing of the initial image.

View 2 Replies

Flash8 :: Link To A Certain Size Html Page

Jul 9, 2010

for flash 8 I have created a nice flash site to show some portfolio work. I have all the thumbnails in place but I wanted them to open a new HTML window in the size of the portfolio piece. How is this done and will it be blocked by popup blockers. edit: the html page i want to link to is in the same folder as the flash site.

View 1 Replies

Flash8 :: Achievements Appear Once Not Working?

Jan 18, 2010

I'm making an game which i want to intergrate acheivements, I've got everything working to an extent but I've isolated code and put it in a test to show my problem. I have a MC called "ach" (without ") and inside that i have another MC called a1 , a2 , a3. They are animated to disappear after say 45 frames. I've put my acheivements on buttons just to test them, but in my game you get them for say playing for 1 hour or collecting all items and some for clicking hidden buttons etc. but when I click the buttons again the acheive MC keeps appearing. I only want it to appear once.This is the code I have got that doesnt work.

Button Code :

Code:
on (release) {
_root.ach.gotoAndStop(3)
}

[code]....

View 1 Replies

Flash8 :: Preloader Isn't Actually Working?

Mar 15, 2010

my preloader isn't actually working,trying to load the page on a PC with quite slow internet... The story is following - my preloader animation plays, but only after the whole movie is loaded, cuz I noticed a huge delay before the preloader was actually played... And then I used that flash speed testing thing (sorry, but I don't know how it's called) and it proved my theory... That's the code on 1-st frame, where preloader is:

Actionscript Code:
stop();var loaded:Number = getBytesLoaded();var total:Number = getBytesTotal();var percent:Number = Math.floor((loaded*100)/total);if (loaded == total){gotoAndPlay (2);}else{    _preloader.gotoAndPlay(percent);    //loadBar.percentage.text = percent;}[code].....

View 5 Replies

ActionScript 2.0 :: Flash8 Passing ID From Javascript Without Page Reload

May 21, 2010

I've made a XML based Mp3 player using Flash 8 and AS2. The player is working just fine, I mean playing song on previous and next button. Now I want to enlarge this and my idea is to list all the mp3s on a PhP page and allow user to listen to any song randomly. This means, user can click any song name and that song will start playing in the player.

My problem over here is; the song listing and the player will be on one single page and clicking on any song wont reload that page to play the selected song but just reload the content of the mp3 player.

I know this can be done in Javascript. My thought on this is:
On clicking each song name, I need to call a JS function and pass to it the "ID" of the song. This JS function needs to pass "that ID" to the swf which will play the song.

Keeping aside the complexity involve in ActionScript to fetch the song name as per the passed ID, I need to know how to pass this ID from JS to AS

View 1 Replies

ActionScript 2.0 :: Create Flash Scrollers Like The Flex Store?

Sep 5, 2005

check out this link: [URL]the embed tag for the swf on this page sets the height and width to 100%. This disable scrollbars in the browser. But the flex store has made it so that scrollbars appear within the swf to be able to see the whole stage in smaller browsers.

View 1 Replies

ActionScript 2.0 :: Full Browser Video - Not Showing Scrollers?

Feb 2, 2009

I'm creating a flash site, AS2, with a video as the background.I'm using a stage listener with a onResize() function to re-size and position my video according to the stage size.My problem is that now the browser will show no scroll (I assume that's because it "thinks" there is no content outside of the browser), but I want it, at a certain minimum size to stop resizing the video, and display scrollers on the browser.

View 6 Replies

Flash8 :: Embedded Video Not Working?

Jun 22, 2009

This is driving me nuts folks. I've imported a video clip to my stage, added a skin for stop, play, pause etc. I test the Flash file using Control --> Test Movie and everything appears exactly as I want it to.

The problem is that when I upload the files to my server the embedded video clip does not appear, nor does the skin. Just a blank space

View 6 Replies

ActionScript 2.0 :: Flash8 Suddenly Not Working In IE?

Apr 29, 2010

I have a photo gallery I developed using AS2 in Flash 8 Pro. You can find it at [URL] I used a loadMovie to import different swf files into the main swf file when a button is clicked. It works great in Firefox and Safari but suddenly stopped working yesterday in IE. It worked in IE (6, 7 and 8) since last Friday when I uploaded it but stopped yesterday. I am using IE on Windows XP. I did try IE on Vista yesterday when I started having trouble with my XP IE and it seemed to work...however, this morning I can't even get my IE Vista to come up so am not sure it is still working on that version.I removed the preloaders that are in the imported swf files but it didn't help so I put them back in. I am using the following code in my html to embed the flash:

Code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
width="815" height="570">

[code]....

I thought maybe there was a change in the way my server was serving the flash so I uploaded onto another server...still not working in IE. I also checked to see that the server did not store my swf files in all lowercase names.

View 3 Replies

Flash8 GetURL Not Working In Browser?

Jun 2, 2010

So iv been flash designing for about a year now, and i thought i was pretty good, however having never usd the geturl script before i am stumped whats going on. my AS is

Actionscript Code: on (release) {    getURL("index.html", "_self");} which works fine when playing the movie in the flash preview (pressing ctrl+enter) but as soon as i publish the movie and view it embbeded in an HTML document it doesnt work. this should indicate its my browser settings? however iv tried disabling my pop-up blocker and still nothing.

View 1 Replies

ActionScript 2.0 :: Flash8 OnRelease Function Not Working?

Mar 5, 2009

i have a movieclip on the main timeline, and inside that mc I have 1 button on first frame and 1 button of second frame...From the main timeline i run this script for frame 1 button...

publisering2.avpubliser_btn.onRelease = function(){
publisering2.gotoAndStop(2);
}

And this works fine.. however, i run the exact same script for the button on frame 2, ofcourse changing the path and gotoAndStop(1) instead... And this isnt working.. The button's over frame works so its activated...

View 3 Replies

ActionScript 2.0 :: Flash8 Dropdown Menu Not Working?

Oct 6, 2009

I'm having an issue with my dropdown menu, and I know how It's not working, but not why. See, I have an mc in my menu that I have a rollOver and rollOut function on. This makes it swap between frame 1 and 2 (2 beeing the frame with dropdown). Here's the issue: When I have the rollOver/Out function on the main item, the submenu items don't do anything when clicked. But when I remove the rollOver/Out function and just go directly to frame to from start, they work.

View 1 Replies

ActionScript 2.0 :: Flash8 Suddenly Not Working In IE - Won't LoadMovie

Nov 10, 2009

I have a photo gallery I developed using AS2 in Flash 8 Pro. You can find it at [URL]. I used a loadMovie to import different swf files into the main swf file when a button is clicked. It works great in Firefox and Safari but suddenly stopped working yesterday in IE. It worked in IE (6, 7 and 8) since last Friday when I uploaded it but stopped yesterday. I am using IE on Windows XP. I did try IE on Vista yesterday when I started having trouble with my XP IE and it seemed to work...however, this morning I can't even get my IE Vista to come up so am not sure it is still working on that version. I removed the preloaders that are in the imported swf files but it didn't help so I put them back in. I am using the following code in my html to embed the flash:

[Code]....

View 8 Replies

Flash8 :: Adobe CS4 Flash Preloader Not Working?

Jan 25, 2010

I am making a preloader for a 360* product viewer and i'm having some trouble. the preloader works fine and when placed by itself loads the second the page requests it. but once i put it in my .fla project something causes the preloader to not load. and instead starts playing once the file is completely downloaded.

there are only two frames. the first frame just has the preloader movie in it. the action code for the preloader movie is:

Code:
_parent.stop();
this.onEnterFrame = function() {
if (_parent.getBytesTotal()>1) {

[Code]...

View 1 Replies

ActionScript 2.0 :: [Flash8] OnRelease Not Working For CreateEmptyMovieClip?

Nov 3, 2006

Its suppose to create a Movie called container which has a text field in it then when the container movie clip is clicked on "Goodbye World" pops up in the trace window.So far the only thing this code does is display "Hello World" but no action is taken when it is clicked on.

Code:
var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());
var label:TextField = this.createTextField("label", 1, 0, 0, 150, 20);
label.text = "Hello World";

[code]....

View 9 Replies

ActionScript 2.0 :: Flash8 : Search Multiple Arrays For A Value?

Feb 26, 2009

I am attempting to search multiple arrays (over 300) for a specific value which will then determine if that question is to be loaded. I have used these over the years as the quizzes simply loaded questions randomly. Now I am appempting to move this into a computer adaptive test format. I have most everything worked out except for this part which is the key to the project.

What I have is 300+ arrays like the ones below. Once a student answers a question either correctly or incorrectly a difcal value is assigned. It is that value I need to search for to determine which question to load.

For example if the student answered a question incorrectly and the difcal was calculated as -4.03 (difcal values are always in array element[0]) I would need to search the all arrays to find that value and then load that array into the question function.

Code:

var q1:Array = new Array();
q1[0] = -4.03;
q1[1] = 0.57;

[code]....

View 2 Replies

ActionScript 2.0 :: Flash8 : Preloading The Multiple Sounds?

May 14, 2009

I have 10 sound files in an array.I am wanting to preload all of them and update a counter once each one loads sucessfully.So when song 2 for instance finishes loading then the counter would be at 2,then 3,etc....I think maybe I need to use a while loop to hook each sound into a load event?

View 1 Replies

Flash8 :: Multiple Album Photo Gallery

Jul 25, 2009

Being a newbie to this flash design and actionscript and self learning with the help of forums and tutorials I have create a simple photo gallery for a website I'm building. And all works fine. What I would like to do is add a list box to display different albums but I am having trouble with the actionscript and how to set out the XML file.

[Code]...

View 1 Replies

ActionScript 2.0 :: Flash8 Affecting Multiple MCs With A For Loop?

Feb 24, 2010

Let's say I have ten widgets that have ten items that need to be turned off. What am I doing wrong here?

Code:
for(i=1;i<=10;i++){
var tempWidget = ["widget0" + i];
trace(tempWidget);
tempWidget.item._visible=false;
}

The trace returns the correct value yet the loop doesn't turn the ten items off. Why?

View 2 Replies

ActionScript 2.0 :: Flash8 - Use One HitTest For Multiple Objects?

Jul 28, 2010

I'll try to make my question pretty short and simple.

[Code]...

So what I'm trying to do is make the character stop when it runs into something. I can do that, but it will only work for one "block" movieclip I put on the stage. What can I do to make this work for multiple "blocks"?

View 2 Replies

ActionScript 2.0 :: [Flash8] Keylistener On Multiple Keys

May 22, 2007

I got a little problem on a simple code: There are 5 Mcs on stage named Key1 to Key5. I got a listener on keyboard that put the mc alpha to 40 if you press the key of the mc (1 - 5), and turn the alpha to 100 if key isn't pressed

Code:
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
if (Key.isDown(49))key1._alpha=40;

[Code]....

The problem is that it works perfectly if you press a key at time, but it don't work if you press the 5 keys simultaneously , (make strange things :'1' to '4' pressed works, but '3' to '5' make the 5th mc as un-pressed) Is there a fine way to test if the 3 simultaneous keys (char '3' to '5') are pressed ?

View 2 Replies

Flash8 :: Buttons Not Working In Browser But Fine When Tested?

May 1, 2009

Ok so here is the problem:

Using MacOSX 10.4 Tiger
Flash Professional 8
Firefox, IE, Safari

I created a flash movie. All of the pictures fade in and out perfect. There is a button on each of the pictures and these buttons take you to the picture�s respective page. When I test the movie the buttons work fine. When I export the movie as (.swf) and try it again the buttons work. I am hosting it on a GoDaddy domain that has been purchased and am referencing it on another site that I own. When I embed it onto my website, the movie plays fine but the buttons are not functional. Here are the things that I have tried to rectify the problem:

- Tried exporting and publishing to Flash Player 7 and 6 DID NOT WORK
- Instead of:
on (release) {
getURL(http:// . . ._self)
}

I created a new layer and gave the button an instance name and used it as an action layer:

MyButton.onRelease = function() {
getURL(www . . . ., _self)
}
DID NOT WORK

View 7 Replies

ActionScript 2.0 :: Flash8 Dynamic Text Box With Scroller Not QUITE Working?

May 8, 2009

this post references the files listed at:i've implemented a dynamic text box that calls a txt file into it. it uses a scroller that i found a tutorial on:i've got everything working splendidly - everything EXCEPT the scrolling bar... as you can see, it scrolls up and down just fine, but doesn't control the text.i've pretty much exhausted my search through the actionscript to locate the problem and i can't find it.

View 8 Replies

ActionScript 2.0 :: Flash8 Score Function Not Fully Working?

Jun 2, 2009

I've got two textboxes txt7 and txt9. First shows percentage right (working) and second is conditional if less than 70% shows "should repeat this" (working) but if 100% the "well done" doesn't show.

txt7var = Math.round((new_score/4)*100); // convert score to percentage
txt9var = "";
this.onEnterFrame = function() {
if (this._currentframe == 'score') {

[Code].....

View 4 Replies

ActionScript 2.0 :: Flash8 Simple Button Not Working Within Movieclip

Mar 2, 2010

I have a simple getURL button within a movieclip within another movieclip. Does anyone have any clue why this isn't working? The button is in the top layer of the child movieclip, and the child movieclip is in the top layer of the parent movieclip, so what am I missing here? I attached a simplified fla to show the issue. In the end, the main red box will be a country on a map and the popup box will contain info about the country and links to pictures and sites.

View 4 Replies

ActionScript 2.0 :: Flash8 Simple Game Score Not Working?

Mar 28, 2011

I'm following a tutorial to make a simple game. The aim of the game is for a player to evade a flying enemy ; the higher the score, the faster the enemy. The main elements in the game are the enemy the player and a score card.

However, from following the tutorial, and adding the dynamic text field etc....the score doesn't actually work.

This is the code that I was instructed to place on the first frame of the Scripts layer:

//Game Variables
enemySpeed = 5; //Set Enemy initial speed
numberEnemy = 4; //Change this to add more Enemies
score = 0; //Set initial score to 0

[Code].....

View 2 Replies

ActionScript 2.0 :: [Flash8] DuplicateMovieClip Not Working Inside A Function

Jun 27, 2006

I have duplicateMovieClip action inside a fuction and it doesnt work, however it works when placed outside of this function, right where the function is defined, 1st frame.

[Code]....

View 2 Replies







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