Text_01=centrage+"rien quepour vous !#OFFREFINAL" įor a start font face is so depricated, that's not in use in proper HTML since the use of CSS (≈20 years). ![]() When I look at your original motivation to style text with HTML and see what you are actually styling this way, I think that could be done differently and much simpler.įor instance take this formatting from your code in frame 1: i agree with ClayUUID's comment "Using the label component just to put some styled text on the screen is an incredibly "heavy" solution.". The thing is, that using something like the label component without really knowing what and where everything is happening is not a good way of working.īut the main purpose of my writing here is to question the entire method. When you open up the Inspector in your browser when testing your index.fla you can get an impression what is happening: ![]() You are always refering to the same child with children. children.innerHTML = parent.Text_06.toUpperCase() You know that an i d="unique_name" in HTML must be unique.Īdditionally because you code in all casesĭom_overlay_container. "Text_09").īecause you gave almost all labels the instance-name "dom_overlay_container", this becomes the id of a all HTML elements within your dom_overlay_container. The children refers to the first label within dom_overlay_container which you set up by adding a label component to the stage (or to a movieclip instance on the stage i.e. The dom_overlay_container is an HTML within the animation_container in your index.html. You instance-named almost all of the labels as "dom_overlay_container".Nevertheless, a few quick things about your file: I do not agree with this method, but you said "I believe in your solution", voilà, here we are. ![]() It is JC's mission to comment on your Animate file, wasn't it him who suggested using the Label component in the frist place. If I may, let me comment on this case which I follow with a certain interest.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |