Does anyone know how to load a file from the source directory?

I have a Photoshop panel  that uses the Texturizer function. I would like to use the images in the src images directory of the  project. I need to reference the /src/images directory of the panel when the project is running.
Does anyone know how to access the source directory using action script?
I have tried a number of options but only seems to work if I hard code a location
public static function Mat02(): void
// Works
var myTexture:File = new File("C:\\Users\\Ed\\Adobe Flash Builder 4.6\\LayoutBuilderSuite\\src\\images\\mat 02.psd");
// Tried - no luck
//          var file = File.applicationStorageDirectory.resolvePath("mat 02.psd");
//          var file:File = File.applicationDirectory.resolvePath("mat 02.psd");
//var file:File = File.applicationStorageDirectory;
//file = file.resolvePath("mat 02.psd");
//var myTexture:File = File.applicationDirectory.resolvePath("mat 02.psd");
//var myTexture:File = File.documentsDirectory.resolvePath("mat 02.psd");
          var desc5:ActionDescriptor = new ActionDescriptor();
          desc5.putEnumerated( app.charIDToTypeID( "GEfk" ), app.charIDToTypeID( "GEft" ), app.charIDToTypeID( "Txtz" ) );
          desc5.putPath( app.charIDToTypeID( "TxtT" ),   myTexture  );
          desc5.putInteger( app.charIDToTypeID( "Scln" ), 150 );
          desc5.putInteger( app.charIDToTypeID( "Rlf " ), 4 );
          desc5.putEnumerated( app.charIDToTypeID( "LghD" ), app.charIDToTypeID( "LghD" ), app.charIDToTypeID( "LDBR" ) );
          desc5.putBoolean( app.charIDToTypeID( "InvT" ), false );
          app.executeAction( app.charIDToTypeID( "GEfc" ), desc5, DialogModes.NO );
Thanks

I haven't seen too many questions like this on this forum.  Did you also try the photoshop forums?

Similar Messages

  • Does anyone know how to copy my files from my ipod to a different computer?

    Does anyone know how to copy my files from my ipod to a different computer? I tried to do it, but all that it did was erase my files. What i want to to is use my ipod to transfer my files to another computer (which has itunes as well) PLEASE help!

    You will need to enable your iPod for disk use. Then, you should see your iPod in "My Computer" and you can open up your iPod's folder there and drag the files into it. You can store the files on the iPod, then connect it to the other computer and drag-and-drop them from the iPod into the designated directory in that computer. Make sure individual files are not larger than 4 GB.

  • HT2500 Does anyone know how to remove a group from the address panel in mail?

    Does anyone know how to remove a group from the address panel in mail?

    I haven't seen too many questions like this on this forum.  Did you also try the photoshop forums?

  • Does anyone know if MOV or MP4 files from the JVC GY-HM150U will work with the Camera Connection Kit and then be readable by iMovie or similar apps?

    The JVC GY-HM150U camera and others in it's line say they offer recording in two different formats:
    Native .MOV format
    Fastest HD shoot to edit workflow. Edit immediately on Final Cut Pro™ or Premiere™ without conversion or transcoding
    Native .MP4(XDCAM-EX™) format
    Native File Recording
    Because it uses QuickTime™ as its native file format, the GY-HM150U is the perfect choice for users of Apple's Final Cut Pro™ editing system. Both HD and SD MOV files recorded by the camcorder can be dropped directly into Final Cut Pro™, keeping them first-generation and eliminating the time-consuming process of file conversion.For users of all major NLE systems, including solutions from Adobe, Avid, Grass Valley, Vegas and Apple, the GY-HM150U supports the MP4 file format, which can be brought into your editing system without re-encoding.
    HD VIDEO RECORDING
    Recording media
    SDHC (Class 6/10), SDXC Slots: x 2
    Video recording
    Video codec: MPEG2 Long GOP
    QuickTime™ File Format for Final Cut Pro™ (HD/SD)/
    MP4 File Format (HD)/AVI type-2 File Format (SD)
    Recording mode
    HQ mode: VBR, 35 Mbps (Max) MPEG-2 MP@HL
    SP mode: CBR, 25 Mbps (1440 x 1080i)/
    19 Mbps (1280 x 720p24/25/30): MPEG-2 MP@H-14
    19 Mbps (1280 x 720p50/60): MPEG-2 MP@HL
    SD Video: DV compression 4:1:1, 8-bit, 25Mbps
    Audio: LPCM 2ch, 48 kHz/16bit
    Video frame rate
    NTSC settings:
    HQ mode: 1920 x 1080/59.94i, 29.97p, 23.98p, 1440 x 1080/59.94i,
    1280 x 720/59.94p, 29.97p, 23.98p
    SP mode: 1440 x 1080/59.94i, 1280 x 720/59.94p, 29.97p, 23.98p
    SD mode: 720 x 480/59.94i
    PAL settings:
    HQ mode: 1920 x 1080/50i, 25p, 1440 x 1080/50i, 1280 x 720/50p, 25p
    SP mode: 1440 x 1080/50i, 1280 x 720/50p, 25p
    Audio recording
    LPCM 2ch, 48kHz/16-bit(Internal stereo mic/External mic input)
    and the files recorded to folders labeled "CQAV" (.MOV) or "BPAV" (.MP4), respectively, located in /PRIVATE/JVC/ off the root.
    So will the Camera Connection Kit see them properly and transfer them over to Photos, and then will iMovie be able to handle them? Or is the CCK restricted to only formats derived from DSLR cameras with "DCIM" folders, as I have heard?
    Any knowledge, especially first hand testing, would be greatly appreciated!
    Thanks,
    David
    Message was edited by: dwoodworth
    Changes made to correct the recorded file paths.

    Excuse the late post but just wondering if you came up with a solution for this problem? I experienced the exact same issue but copying the movies from Aperture into iTunes (which worked) still didn't allow them to be played on the iPad. As they had played faultlessly when imported directly from the camera connection kit!

  • Does anyone know how to open raw files from 7D mark ii in lightroom?

    I bought new 7D mark ii last week. But lightroom cannot read the Raw Cr2 files. any idea anyone? thanks.

    Native Lightroom support for the D750 was added in the Lightroom 5.7 update released this evening.
    Release details:
    Lightroom 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/lightroom-5-7-now-available.html
    Camera Raw 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/camera-raw-8-7-and-dng-converter-8-7-now-a vailable.html

  • Does anyone know how to password protect Mail  from the applications folder

    I know you can password protect with a screensaver, is that the only way?

    That is simply because you have checked an option to remember the password. Open Mail preferences, click on the Accounts icon in the toolbar. In the dialog under your username you should see your password (not displayed.) Remove the password entry. From now on Mail will prompt for a password before attempting to fetch mail. This does not mask the Inbox in any way but it does prevent anyone from getting new mail without a password. There is no direct way to actually password protect the entire Inbox.
    I'm still not clear as to why you need to do this or what specifically you want to accomplish. I don't know if simply logging out of your account when you aren't by the computer would not satisfy your security need or requiring a password to wake up the computer via the screensaver. Maybe you could explain things more to us.

  • Does anyone know how to view Tagged messages from the Blackberry??

    As most of you Tagged is another site pretty much like Myspace. I can get my emails letting me know that I have a Tagged message, I can even see the images of the person sending them. However, when I go to the Tagged site it says its loading but the messages never download. Thanks in advance.

    unfortunatly i dont think there a silution unless they make a none flash version or moblie version after reading the following ....
    "All of their messages and friend adds and all that is done in Flash, so it won't load/come up anyway because the BB Curve can't support Flash.  So, I guess it's all for naught."

  • Does anyone know how to print an email from the new iPad before you send it?

    I cannot print emails before sending them. The little print icon to print is not there. I even saved an email as a draft, and that did not work either. Is it even possible to print an email before you send it, or do you have to wait until it shows up as a "sent" email?

    Im seeing the same thing.
    You can take a screenshot or copy/paste the email into Notes and then  print from there.
    If you want to see the feature added or leave any type of feedback for the iPad or anything Apple related, you can do it here -> Apple - Feedback

  • Does anyone know how to save a file in CC 10.0 or higher that is viewable in CC 9.2?

    I am trying to make my fiels viewable to someone who has Adobe CC version 9.2, but I have version 10.0. Does anyone know how to save my files so the are readable?

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Does anyone know how to load ACR presets when using ACR in the creative cloud?

    Does anyone know how to load ACR presets when using ACR in the creative cloud?

    Moving the discussion to Adobe Camera Raw forum.
    Thanks,
    Atul Saini

  • My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    If you are running Mac OS X 10.7.3 then you have Lion installed, not Snow Leopard. It's probably not important to this discussion, but something you should be aware of.
    What application are you printing the PDF files from? Have you tried opening the PDF file using the Preview application that can be found in the Applications folder? Does the issue still occur? Have you tried other PDF files from a different source?
    Another poster in the following discussion thread reported that this method resolved their black blank PDF issue when viewing (and presumably printing) PDF files from Safari.
    https://discussions.apple.com/thread/3890509?start=0&tstart=0
    This solved my question by mcbuffy  on Apr 20, 2012 11:29 AM 
    There's a solution if you want to see the PDF inside Safari's window :
    Go to the folder : Your Hard Drive / Library / Internet Plug-ins.
    If you see a file with PDF in its name drag it to the trash.
    Quit and restart Safari to test with a PDF.
    If it works you can empty the trash.

  • HT5824 Does anyone know how to transfer my contacts from my iphone onto my icloud that is on my laptop please? I have lokd and tryed everything and still i have no idea how to do it.Yur help would be apreiated.thanks

    Does anyone know how to transfer my contacts from my iphone onto my i cloud please? I cnnot do it no more s they have made something so simple to do into a task that seems so omplicated.ive tryed ooads and now im starting to loose my cool.Thanks if you can help.I bet it's really easy to do,but im not seing it clearly.

    On your Mac.
    Sign into iCloud, turn Contacts and anything else you want, on.

  • Does anyone know how to transfer a playlist from an ipod to itunes?

    does anyone know how to transfer a playlist from an ipod to itunes?

    Try my script ImportDevicePlaylists.
    tt2

  • Does anyone know how to add a dateline in the website using muse?

    Does anyone know how to add a dateline in the website using muse?

    You cannot.
    You would have to add it to the mail server ( if you have an IMAP account), then it will appear on the ipad.

  • Does anyone know how to convert 3GPP videos to the iPhone 4S?  I have favorite videos I would like to transfer to my new phone.  Any help would be appreciated.  Thank you.

    Does anyone know how to convert 3GPP videos to the iPhone 4S?  I can sync my photos from my computer but not my videos.  Any help would be appreciated.  Thank you.

    Hello,
    This link may be useful to you:
    http://www.iorgsoft.com/iphone-4s/convert-3gp-to-iphone-4s-on-mac.html

Maybe you are looking for

  • OIM 11g R2 -Unable to approve view request -Urgent..!!!

    Hi, I have: 1. Configured SOA composite -serial approval 2. Request go to the manager and manager can view and approve it 3. Request is then routed to Approval group that is configured as part of composite. 4. When a user (Test approver) belonging to

  • G560-0679 WiFi connection takes long time

    I have a Windows 7 64 bit Home Premium G560 model and out of the box, the WiFi would be set up to automatically connect to my home network when in range. Usually, it would connect to it as soon as it is booted up from stanby mode but recently, it tak

  • Unable to use online version turbotax; they respond cannot use Beta Version Firefox. Help

    Have used firefox in past; recently upgraded firefox probably to a Beta version. Trying to complete 2010 taxes online using TurboTax which has worked on same computer for past three years. What can I do to revert to earlier version of firefox in orde

  • Getting Music to Acutally Play on the Pla

    <FONT face="Comic Sans MS" color=#6699ff size=2>I have a MuVo TX FM MP3 and I can't get certain songs to play on the player. They'll send to the player like I'm supposed to do and they'll show up on the player's screen, but they wont play. Is there s

  • USB2.0 Video Capture Controller

    Hi, I cannot find the driver to upgrade my Video Capture Controller. HP Pavilion dv6 3205tn product name and model 64 bit windows 7 I have been into the device manager to try update the driver but it finds nothin installed or online. Any assistance o