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

how to get variables IN a loop to post their results outside the loop for use by addchild commands.

Participant ,
Oct 24, 2024 Oct 24, 2024

Copy link to clipboard

Copied

wondering how you do this as i'm not having good luck figuring this out.

 

 

ok i have a loader that grabs the contents of a swf and on its own, will load just fine to the stage as all of the addchild etc commands are IN the loop), problem is  as soon as separatea the two, they don't see the commands anymore. i know that stuff in a {} set is like this...and wonder how you get it out without a battle. i need to be able to access them outside the loop so the addchild commands can place them in the correct symbol with as3 name etc attached already.

 

 

 

 

 

 

TOPICS
ActionScript

Views

604

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 27, 2024 Oct 27, 2024

Copy link to clipboard

Copied

there are times you post a reasonable (not requiring 10+ minutes of reading) and can be answered.  but most of the time you post messages that don't.  eg, i've asked a simple question twice and not been answered.  i see a response that doesn't answer my question and requires knowledge of your setup.  i don't have knowledge of your setup.  and if it takes extensive writing to explain it, it's not practical for a forum.

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
Participant ,
Oct 27, 2024 Oct 27, 2024

Copy link to clipboard

Copied

LATEST

 

i suspect what got here a TUNNEL for all of the art to pass through and back is that correct i

 

 

For instance the main stage loader gets "front_arm_1" i can get that from the body laoder and send it

 

sorry it became complicated but i did not expect to see a 200 plus position rotating box being made by that code, looks like its just how to use it. The reason im shocked to see this is theirs NO CODE anywhere on any of the pieces that actually assemble the animations. . so i wasn't expecting to see any of the traces come back at all . have you seen anything like it before? 

this is what i see going on with that code....

terryw30405050_0-1730050135314.png

 

terryw30405050_0-1730050547874.png

when i pull the artwork off the stage nothing loads in output....adding one piece one output, add a idle pet to the stage....its bringing up the pieces to it. *shakes head* this is a pretty mind blowing thing if it works as its behaving now

 

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