Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6047477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:21:19+00:00 2026-05-23T07:21:19+00:00

I have a flash app (deployed as Air or regular app for iOS) which

  • 0

I have a flash app (deployed as Air or regular app for iOS) which displays pictures.

It has to work offline, so I need to bundle my pictures with the flash app. I wrote a script to download all pics from my server to a specific folder before deploying the flash app. Currently, I remove all existing pictures from the FLA and add the new ones, but I was wondering whether there is a way to define a system folder for flash and it will take whatever exists there during the deployment process?

So basically all I’ll have to do will be to run my script (to update the folder with the new pics) and recompile the FLA.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:21:19+00:00Added an answer on May 23, 2026 at 7:21 am

    Well I don’t know if flash offers any feature to ease your requirement directly. Also I didn’t notice AIR, as there is no tag for the same. Anyways here is my 2 cents.

    • Use the document class (or the entry
      as3 file) to embed your resources.
    • Alter the class file with a script.

    Embedding is done by

    [Embed("ImageName.png")] const ImageName:Class;
    

    So every time your script adds an image into the folder, it can add the embed lines for the image into the Document class AS3 file. You may then access the resource in flash as usual,

    var obj:DisplayObject = new ImageName();
    

    EDIT:

    Every Image that is embedded should have a class associated with it. Or else, how else will you access the image after embedding. So whatever you do, every image needs a class. Dont worry about 2000 variables bloating memory or something. They will be managed just fine by flash during runtime.

    Also AS3 does not have access the to the file system at runtime so there could be no solution at that point.

    Here have a look at those people who had similar doubts & got similar responses

    http://flashpunk.net/forums/index.php?topic=2323.0

    Actionscript embed an array

    And here is a little of other metadata tags

    http://www.boostworthy.com/blog/?p=157

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Flash web app which displays user submitted PNG files. Files are
I've seen a few sites that have a flash app which takes video from
I'm trying to build an app, which should have Flash Player control, which plays
I have a flash app which will send/receive a constant stream of data. the
I have a flash app which sends raw data for a jpg image to
I have a flash app and I need to detect whether the streaming of
I have a flash app, and i want to put an in-app pop up
I have a flash app embedded in a yui TabView tab div, the problem
I have a flash app that plays movies. It loads subtitles and subtitle times
I have a Flash app with a PHP backend. Whenever there is a PHP

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.