-
-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AS2] loader doesn’t work #1561
Comments
In Flash, "placeholder" is |
Many thanks for your comment, @Toad06.
.box placeholder width={presentation:width} height={presentation:height}
...
.sprite images
.put placeholder alpha=0%
this.attachMovie("images","presentation_sprite",1);
|
The "placeholder" variable seems to be set based on the value used for the name in the PlaceObject2 tag inside of the sprite, in ruffle this seems to work fine when the tag is at the root but fail when it's part of a sprites actions. Minimal example: Output in Flash Player:
Output in Ruffle:
|
many thanks for your reply and sorry for not having answered before. I’m afraid I don’t know how to attach a movie outside the sprite (I’m on Linux, using It would be great that Ruffle could solve Many thanks for your help. |
@CUB3D Am I to interpret this to mean that if a I can implement that behavior, but I'm confused. Why would this be working in |
This is a variant of #1029. The shape does get assigned a name (even though this isn't allowed by the Flash IDE...!). Because shapes don't have an object representation in AVM1, accessing it falls back to the parent, similar to how buttons have the same behavior in v5 SWFs. So using |
Many thanks for your explanation, @Herschel. Looking forward having this issue fixed... it would be great that it could be done before it turns 12 months old. Many thanks for your excellent work. |
considering #1561 (comment), could #6004 solve also this issue? Many thanks for your help. |
@CUB3D, many thanks for your excellent work with #9447. If you feel in the mood, it would be a great contribution to deal with other issues that were pending from that PR (at least this one and these other ones). Many thanks for your excellent work and your help. |
Many thanks for the fix, @CUB3D. |
http://www.mejorar-presentaciones.tk/mejorar-presentaciones-loader.swf loads http://www.mejorar-presentaciones.tk/mejorar-presentaciones-presentation.swf.
I assume the relevant AS2 code in the loader reads:
I get two errors and no loading:
I wonder why target isn’t a movieclip for Ruffle.
Many thanks for your help.
The text was updated successfully, but these errors were encountered: