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

Anyone help me please..

Explorer ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

I can't solve this problem. I hope anyone will help me.

 

In the below attached fla(canvas) file, there are 3 layers and many key frames.

After publishing this fla file, I can't open html file on Chrome Browser or Internet Explorer.

I want to know why I can't open this html file.

Help me please.

 

http://www.buksori.net/0924/0924.fla 

Views

487

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 4 Correct answers

Community Beginner , Oct 06, 2020 Oct 06, 2020

From what I've looked at, there is a problem with the button names you used in the music listening app you're going to create.

 

I think your app has the intent to use buttons to move back and forth between labeled segments. However, the cause of the error is that the buttons used in the first keyframe of all labels have the same name.

The same symbol can be used repeatedly in several places, but the name must be different. If you use one symbol in several places and all of them have the same name,

...

Votes

Translate

Translate
LEGEND , Oct 07, 2020 Oct 07, 2020

You are missing a quote in this line:

_this.gotoAndStop('Q05);

It should be:

_this.gotoAndStop('Q05');

Votes

Translate

Translate
Community Beginner , Oct 07, 2020 Oct 07, 2020

만드신 앱은 작동하는데는 문제가 없지만  제 개인적으로 개선할 점이 라고 생각이 드는 것은 같은 모양의 버튼이 여러곳에 중복사용되었다는 것입니다.

 

같은 모양의 심볼을 여러 곳에 반복하여 사용할 수 있는 것은 애니메이트에서 당연한 일입니다. 그러나 조건문등을 이용하여 하나의 버튼이 여러가지 일을 수행 할 수 있도록 수정할 수 있을 것입니다.

 

예) 아래에 한가지 방법을 예로 들어 보겠습니다.
var count = 0;
var position = ["Q0", "Q1", "Q2", "Q3", "Q4"]; //Label명을 배열에 두고 버튼이 눌렸을 때 카운트를 이용하여 배열을 사용
_this.PBtn.on('click', function(){
_this.gotoAndPlay(position[count]);
if (count < position.length) count = count + 1; else count = 0;
});

 

버튼에 액션을 줄 때마다 포함되는 var _this = this; 는 전역변

...

Votes

Translate

Translate
Community Beginner , Oct 07, 2020 Oct 07, 2020

정지버튼은 정지하게 하고, 이전, 다음 버튼은 count = count - 1, count = count + 1로 카운트를 바꾸어 주도록 하면 될 것 같아요.

Votes

Translate

Translate
LEGEND ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

You're going to have to be a lot more specific than "can't open".

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 ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

I can't open 0924.html, published by 0924.fla

 

http://www.buksori.net/0924/0924.html 

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
Community Beginner ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

From what I've looked at, there is a problem with the button names you used in the music listening app you're going to create.

 

I think your app has the intent to use buttons to move back and forth between labeled segments. However, the cause of the error is that the buttons used in the first keyframe of all labels have the same name.

The same symbol can be used repeatedly in several places, but the name must be different. If you use one symbol in several places and all of them have the same name, Animate will not be able to distinguish them, and an error will prevent the app from running.

 

In these apps, you only need to use the Play button, Stop button, Previous button, and Next button one by one. It's a good idea to think of it as a way of finding a section of music using it. Depending on the number of times the button is pressed, it seems that you can go to the frame where you want it.

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 ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

안녕하세요?
조언에 감사드립니다. 이제까지 Flash Program으로 제작을 해오다 내년부터 swf 파일은 인터넷상에서 사용불가이기 때문에
짧은 실력으로(action script와 java script 에서는 문외한) 뭔가를 제작하려니 모든게 어려울 뿐입니다.

각각의 key frame에 있는 instance의 이름을 다르게 바꾸고 action script에는 그에 맞추었습니다.

var _this = this;
_this.PBtn01.on('click', function(){
_this.play();
});

var _this = this;
_this.SBtn01.on('click', function(){
_this.stop();
});

var _this = this;
_this.Previous01.on('click', function(){
_this.gotoAndStop('Start');
});

var _this = this;
_this.Next01.on('click', function(){
_this.gotoAndStop('Q02');
});

 

http://www.buksori.net/0924/0925.html 

http://www.buksori.net/0924/092.fla

 

저는 Animate가 timeline에 다수의 key frame과 다수의 button을 배치하면 인식을 못하는게 아닌가?하는 생각이 듭니다.

새로 첨부한 Animate 파일의 Action script에 어떤 문제가 있는지 한번만 살펴주시면 감사하겠습니다.
주변에 질문할 수 있는 사람이 전혀 없습니다.
저는 경남 밀양에서 영어교사로 근무하는 한진교라는 사람입니다.
감사합니다.

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 ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

http://www.buksori.net/0924/0925.html
http://www.buksori.net/0924/0925.fla

 

주소가 잘못 링크되어 새로 올립니다.

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
Community Beginner ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

만드신 앱은 작동하는데는 문제가 없지만  제 개인적으로 개선할 점이 라고 생각이 드는 것은 같은 모양의 버튼이 여러곳에 중복사용되었다는 것입니다.

 

같은 모양의 심볼을 여러 곳에 반복하여 사용할 수 있는 것은 애니메이트에서 당연한 일입니다. 그러나 조건문등을 이용하여 하나의 버튼이 여러가지 일을 수행 할 수 있도록 수정할 수 있을 것입니다.

 

예) 아래에 한가지 방법을 예로 들어 보겠습니다.
var count = 0;
var position = ["Q0", "Q1", "Q2", "Q3", "Q4"]; //Label명을 배열에 두고 버튼이 눌렸을 때 카운트를 이용하여 배열을 사용
_this.PBtn.on('click', function(){
_this.gotoAndPlay(position[count]);
if (count < position.length) count = count + 1; else count = 0;
});

 

버튼에 액션을 줄 때마다 포함되는 var _this = this; 는 전역변수로 선언한 것이기 때문에 프레임 1의 스크립트의 맨위에 하나만 있으면 됩니다. 그 뒤에 있는 var _this = this; 는 모두 지우시면 됩니다. 

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
Community Beginner ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

정지버튼은 정지하게 하고, 이전, 다음 버튼은 count = count - 1, count = count + 1로 카운트를 바꾸어 주도록 하면 될 것 같아요.

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 ,
Oct 08, 2020 Oct 08, 2020

Copy link to clipboard

Copied

LATEST

진심으로 감사드립니다..

3일 연휴 동안에 연구해보아야겠습니다.

실은 변수의 개념도 이해 못한 상태에서 이것을 만들다보니 위의 count라는 것을 이해하기가 어렵지만, 연구해보겠습니다.

 

다시한번 감사드립니다.

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
Community Expert ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

HTML files won't open up in adobe animate. You need to open it up in Dreamweaver or another HTML editor.

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
LEGEND ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

???? He says he's trying to open it in Chrome/Internet Explorer, not Animate.

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 ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

I am trying to open html file produced(published) by Adobe Animate.

I hope anyone will help me to find errors in my fla file(made by Adobe Animate 2020)

So far, I have been good at making swf files pubulished by Flash.

But as you know, next year we can't use swf file on the web. So I'm studying Adobe Animate 2020.

I hope anyone will help me to solve the problems in Adobe Animate 2020.

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
LEGEND ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

You are missing a quote in this line:

_this.gotoAndStop('Q05);

It should be:

_this.gotoAndStop('Q05');

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 ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

Thank you for your help.

Thank you.

 

I will reproduce my file as to your help.

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