• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

1084: Syntax error: expecting rightbrace before end of program.

Explorer ,
Feb 04, 2009 Feb 04, 2009

Copy link to clipboard

Copied

Hello there. Please look at my zip at < http://www.montreal2losangeles.com/pleasehelpscale.html>.

I tried to integrate a scale-up effect to the best of my ability, but I got an error and may have made some integration mistakes.

After looking at the URL, bear in mind that the the steps I did were:

(1) I added the caurina folder to the folder

(2) I added Thumbnail.as to the folder

(3)//I added this
import fl.containers.UILoader;
import caurina.transitions.*;

(4)//I added this
var arrayURL:Array = new Array();
var holderArray:Array = new Array();
var sprite:Sprite = new Sprite();
addChild(sprite);
var thumb:Thumbnail;
//-------- the thumbnails container-------
var thumbsHolder:Sprite = new Sprite();
sprite.addChild(thumbsHolder);

(5)//I added this
function onClick(event:MouseEvent):void {
photoLoader.source = event.currentTarget.name;
Tweener.addTween(thumbsHolder, {x:-650, time:1, transition:"easeInElastic"});
Tweener.addTween(loaderHolder, {x:10, time:1, transition:"easeInElastic"});
Tweener.addTween(thumbsHolder, {alpha:0, time:1, transition:"linear"});
Tweener.addTween(loaderHolder, {alpha:1, time:1, transition:"linear"});
TOPICS
ActionScript

Views

485

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Feb 04, 2009 Feb 04, 2009
Your links point to .ace files, whatever those are. Could you make a zip file instead?

In any case, if your script is the same as you showed above, then as the error suggests, there's a } missing from the end of the function.


Votes

Translate

Translate
LEGEND ,
Feb 04, 2009 Feb 04, 2009

Copy link to clipboard

Copied

Your links point to .ace files, whatever those are. Could you make a zip file instead?

In any case, if your script is the same as you showed above, then as the error suggests, there's a } missing from the end of the function.


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 04, 2009 Feb 04, 2009

Copy link to clipboard

Copied

LATEST
Okay, I changed to .zips. As I said earlier, I am sure I may have integration mistakes that I need help with to get the scale-up to work on the thumbnails.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines