Skip to main content
Known Participant
April 24, 2014
Answered

A single PSD imported but has buttons within

  • April 24, 2014
  • 1 reply
  • 794 views

I imported a single PSD with 88 layers as buttons. When I double click on the PSD, to break apart, I creat new symbols of 88 buttons. But when I run the program, flash dosen't see the buttons within the PSD. The EventListener can't see the buttons because they are within the single PSD file. I did the buttons one by one, but when scrolling through the 88 buttons, the buttton move closer together as scrolling, That's why I made a single PSD so they don't move.

I am using Flash Professional CS5

This topic has been closed for replies.
Correct answer Amy Blankenship

If you double-clicked  it, it did not break apart. Instead, you did the same thing as selecting Edit>Edit in Place from the menu. The reason Actionscript can't see your instances is they are nested inside a MovieClip. If you want to make that upper-level MovieClip transparent to ActionScript, select it on the stage, then look in the Properties panel and change the symbol from "MovieClip" to "Graphic,"

1 reply

robdillon
Participating Frequently
April 24, 2014

Are you not using the import function in the File menu? Ordinarily, when you import a .ps file into Flash you will get a window that will allow you to set the layers that are to be imported and the method used to import  those layers. If you Select to import Photoshop's layers as Flash layers then each of your Photoshop layers will be imported as individual bitmaps on their own layers into Flash.

Then you can select each individual item and set it to be a button if you like.

Known Participant
April 24, 2014

When I import as indivivual layers and make them buttons and write actionscript to have all of these 88 buttons pan together, while panning on the Android, the buttons slowly merge together the more I pan. So I tried dragging the whole PSD file from library to stage, the buttons keep thier distance from each other while panning. I double click the psd file on stage and it breaks apart, then I set instance for each button. But actionscript cannot see the instances with in the PSD.

Amy Blankenship
Amy BlankenshipCorrect answer
Legend
April 25, 2014

If you double-clicked  it, it did not break apart. Instead, you did the same thing as selecting Edit>Edit in Place from the menu. The reason Actionscript can't see your instances is they are nested inside a MovieClip. If you want to make that upper-level MovieClip transparent to ActionScript, select it on the stage, then look in the Properties panel and change the symbol from "MovieClip" to "Graphic,"