AS Library for both Flash and Flex

Hi all,
I want to create an action script library that i can use with
both flash and flex. i understand how to do it if i want to just
use it in flex, but i also want it to compile down in to an swf or
whatever so i can use the functions in flash. i tried creating an
action script library, but it requires me to specify a 'runnable
application file.' which doesn't make much sense, since i just want
a class library.

Found the answer (sort of). it's only partially possible. The
best way would just to edit the as files in flex builder and not
create an actual library (though this approach doesn't work if you
need to distribute the library).
In order to do create a library, you need to create a Flex
Library Project in flex builder, not an Action Script Library. the
action script library is a misnomer.
then, when you build you have to jump through some hoops to
get it to actually work, but creating a manifest file and setting
"compute-digest=false" as a compiler option. for more info, check
out the following blog post:
http://timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/

Similar Messages

  • Can I use *one* iTunes library for both MacOS and Bootcamp/Vista?

    Does anybody know if there is a way to use and administer the same library both from MacOS and Bootcamp/WinOS?
    I have Paragon's "NTFS for MacOSX", so I could actually move the library to the NTFS partition and use it from both OSes.
    The thing is, the changes made on one version won't appear on the other system.
    Is there a way to make both iTunes clients read/write to the same files? Is the file format of the Mac-iTunes identical with the one used by the Win version?
    And isn't that an interesting question...?
    Thanks for replying and cheers,
    uu

    The music files are currently on the Mac partition of my MacBook. I plan to move them to the Bootcamp partition, so when using "NTFS for MacOS" I can both read and write there from either partition.
    To facilitate administration (e.g. when I add music files using the Mac iTunes, the Windows iTunes doesn't realize the change) I wonder if I can somehow teach both iTuneses (the one on the Mac side and the other one on the Windoews side) to write to/read the same (XML??) admin files.
    ...which then will have to reside on the NTFS partition as well to be readable/writable from either partition.
    Is there a way to change the default path for the library files?
    Message was edited by: Double-U

  • Use 1 Library for both Mac and PC OS's?

    I have a pretty basic question about itunes. I am running a Mac Pro and bootcamp with Windows Vista on the other side. I have 3 seperate Hdds. One for Mac...One for PC...And one for audio files and pictures and other stuff.
    I did have my itunes music library on my Mac Hdd for when Im running OSX. Well i still do. But what I want to do is move my itunes library to the 3rd Hdd (non-bootable) and hopefully use it for both the Mac OSX and the PC Vista side. So instead of having the same library copied to 2 seperate Hdds for the 2 seperate OS's Ill have 1 itunes library and be able to access it from both Os's. I have Mac drive 7 installed so I know I can access the 3rd HFS+ comp drive from the PC OS.
    So how do I go about doing this right so I dont screw anything up?

    The easiest way to do this, I think, involves copying the Music folder from OS X to the new hard drive. Then delete the old Music folder from the OS X drive. Create an alias to the new Music folder, copy it to your home folder, and rename it to the same name as the folder you copied. (i.e. copy /Users/john/Music/iTunes to AUDIO/Music/iTunes, then create an alias to iTunes and copy it to /Users/john/Music. Rename the alias to iTunes.)
    Dealing with Windows is more difficult, as only Explorer follows shortcuts (NTFS doesn't support 'true' symlinks). I think you can set iTunes to read the AUDIO/Music/iTunes folder as its library folder in Edit > Preferences.
    Good luck.

  • Posing a question for those well versed in flash and flex

    I would like to start an off-line communication chat with those of you who are well versed in Flash and Flex.
    I've worked with Cold Fusion but I am not up to date on all the technologies available.  This seems like the perfect forum for this question.
    I simply want to build an application (web or desktop is unknown) in which a person can learn a foreign language, in this case English.
    I need some technical advice as to whether Flash, Flex, or a combination of technologies (Cold Fusion for server side functionality) is the best choice for this application.  I do not understand the technical aspects of Flash or Flex in building applications so I need the advice of you experts.
    As with most foreign language textbooks, audio, or foreign language video training, the material is not interesting, not pertinent to daily life, and is great for late night insomnia.  I've never seen any type of foreign language training that is interesting, fun, or uses current events as part of the curriculum.
    I would like to illustrate my idea with an example.  I want to use an existing English beginners textbook (for kids), scan the images in the textbook, store the content (rules of grammar) in a database and store example sentences in a database.
    I would like to record basic audio sentences from the textbook (Do you know tomorrow's weather), incorporate some animation (baseball player hitting a home run), incorporate some basic video (purchasing an item at the grocery store), add a quiz, test question or puzzles, etc..
    In addition, since this is a classroom setting and the kids are split into groups, I would like to store a seating chart with the kids names and pictures in a database.  After the first segment is finished (e.g. purchasing a toy at the store) the kids next perform an activty.  I want to use a combination of audio, video, and animation to explain the activity, give instructions, split the class into groups,and perform the activity.
    As I mentioned before, I would like to start an off-line discusion for those of you who are willing to share some of you knowledge and experience with both Flash and Flex.  Since you are extremely busy, maybe you might be able to point me in the right direction.
    Hopefully, some of you can provide some sound technical advice.
    Thanks in advance
    Michael Poplawski

    This is an abitious project even for some-one well versed in flex/flash, i have to give you points for outstanding courage on this .
    You need to cover quite a few areas in a project like this both for the client and the back end, you need a strong understanding of animation(either through code or the flash timeline), data parsing, logic trees for the quiz/test elements and a lot more before the first line of code would be written.
    In Australia there are already a few companies using flex for online educational applications and at least 1 state educational Authority. A search on the internet will find several sites pertaining to flash/flex based online education software and this would be a starting point to give you an idea of the strength flex has in this area.
    Beyond this it is not the sort of project that 'help' would be readily available for unless it was relating to very specific issues you could readily define. Also this is not the best forum to request this type of help as the forum is more about testing a beta product. I am sure that if you start learning about flex and have trouble understanding different aspects of how things work there will be plenty of support from the flex community.
    Message was edited by: David_F57
    by forum I don't mean the whole forum just this branch.

  • I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    Yes

  • Can´t find all my movies from itunes in apple tv. has already restarted apple tv and have the latest update for both itunes and apple tv. my music library works however

    can´t find all my movies from itunes in apple tv. has already restarted apple tv and have the latest update for both itunes and apple tv. my music library works however

    Welcome to the Apple Community.         
    Have you looked in home videos

  • Live video stream to both Flash and iOS problem

    Hi everyone, I'm Lucas. I Have learnt how to deliver a single live video stream to both Flash and iOS from this video
    But after that I got a problem with the ".f4m" file and ".m3u8" file (I think)  like this video below here. I don't know what happen with the server because my camera is still working perfectly.
    I now using Flash Media Server 4.5
    Does anyone know how to fix it?

    Try this :
    1: stop any stream.
    2: go to  root_install\applications\livepkgr\events\_definst_\liveevent and delete any .stream file that is in there
    3: Go to   root_install\applications\livepkgr\streams\_definst_ any livestream folder that is in there for example if you streamed with name livestream12 there should be a folder with the name livestream12, delete it.
    4: Then try streaming a single bitrate stream by adding to the FMLE the following parameters 
    FMS Url :  rtmp://localhost/livepkgr
    Stream: livestream?adbe-live-event=liveevent
    5: go to sample player and add this url to the field : http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m
    *If you have a public IP do the following :
    1: go to http://www.osmf.org/configurator/fmp/#
    and add this url  : http://public_ip/hds-live/livepkgr/_definst_/liveevent/livestream.f4m (replace localhost with your public IP)
    and from the advanced tab say that it is live.
    Give it a try!

  • Same fonts used in Flash and FLEX are different

    Fonts used in Flash and Flex differs in appearance even though they are same. It lacks the anti alias property and shows pixelated in flex even if it appears normal in flash. Please see attachment.

    There can be several reasons for that.  First make sure the font is embedded properly.  Rotate the object and see how it looks.  It is also possible that in Flex the fonts are being captured as a bitmap which can turn off AA at times.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Where can I find a retail copy of MAC OSX Snowleopard, that has all the drivers, for both desktop and Laptops?

    Where can I find a retail copy of MAC OSX Snowleopard, that has all the drivers, for both desktop and Laptops?

    No. 10.6.3 was the last retail release of Snow Leopard. Download the 10.6.8 Combo updater and put it on a flash drive to make it easier to install the largest part of the update.
    Also, don't push the same disk image of SL to your Macs unless they are exactly the same model as it was originally installed on. The wrong hardware drivers will otherwise be in use.

  • Which Tablet plays both Flash and Quicktime

    Hello need some advise from you~
    I am looking at a Tablet that supports both Flash and Quicktime. 
    So far I only know that Honeycomb 3.0 supports flash. But you can download this "Rock Player" application to run Quicktime. 
    On the other hand, I Pad supports quicktime and not flash.
    What about the blackberry playbook. I am curiouse about its OS?
    Over all I am lookign for a tablet that will play both flash and quicktime straight on the web. ex: apple movie trailer / youtube
    Any suggestions? thank you very much.

    I had the same symptoms and realized today that the answer was to make sure that 'Enable plug-ins' was checked under:
    Safari
    Preferences
    Security
    I don't know why it was unchecked all of a sudden, but maybe this will work for you?

  • Advice on improving graphics for app for both iPad and iPhone

    I am creating an app for both iPad and iPhone 4 and it looks terrible on the iPhone 4.
    I have created the Flash File in Flash CS5.5 IDE with Movie Size 1024 x 768 and I am using the following AIR for IOS settings:
    Rendering: CPU
    Device: iPhone and iPad
    Resolution: High
    All my graphics are vector so I assumed that it would look crisp on both devices. It is not as perfect looking on the iPad as it appears on my PC monitor but I can live with it. I can't however live with the iPhone 4 appearance.
    I am therefore seeking advice on how to improve the iPhone 4 appearance.
    As far as I am aware, there is not a way to use 2 sets of graphics, one for each device. Please correct me if this is wrong and it would offer me a solution.
    Would doing all the graphics as PNG be a solution?
    Btw I am using AIR 3.2 SDK if that has any relevance and my graphics are static.
    Thanks in advance.

    Thank you for the swift reply Colin. I do not recall setting a stage.quality setting - is the default setting low?
    I did a quick google search and see this appears to be the code I need. I assume I put this in the first frame of my Flash movie?
    stage.quality = StageQuality.MEDIUM;
    Thanks
    Paul

  • Since subscribing to iTunes match my ipad2 no longer offers the AirPlay option on the volume bar within Music, rendering my bowers Wilkins speakers useless for both iTunes and spotify. Why is this and how can I fix it?

    Since subscribing to iTunes match my ipad2 no longer offers the AirPlay option on the volume bar within Music, rendering my bowers Wilkins speakers useless for both iTunes and spotify. Why is this and how can I fix it?
    Apple made no mention of this being an expected issue, so I can only assume it's unintentional. Otherwise I wouldn't have subscribed to Match in the first place!

    How big is your library?  I would recommend the following troubleshooting steps:
    - Backup your library.  Always a good idea before messing with things.  
    - Create a new library.   Refer to this article for details:  http://support.apple.com/kb/HT1589.  This won't delete your old library, you're just creating a new empty one.  Also refer to this article to get back to your old library later.
    - Add a few albums into this new library.  Not everything, just a small sampling, as a test.
    - Activate Match on this new library.  You shouldn't have to re-pay, it should just say "Add Computer" or similar.
    - At this point, Match should run again. With just a few albums it should complete in just a few minutes.
    If iTunes doesn't crash at this point, then likely there's something about your original library that Match doesn't like - what that is I don't know, but at least you'll know it's not your PC.   If iTunes still crashes, then if could be a number of other things, but probably not your library.   My next suggestion (if you haven't already done this) is to uninstall / reinstall iTunes.   If that doesn't work, then my next ideas you won't like.   

  • I have partitioned my time capsule, but I can't get it to work as a Time Machine back up and permanent media server for both mac and PC. What format do I need to partition the drive to so that it works for both mac and windows and so that it will be visab

    I have partitioned my time capsule, as I want part of it to act as a media server for both mac and windows. However I don't know what format that I need to partition it to. I also can't make it a permanently accesible drive. I want to restore the drive to the original format (which I don't know) and start again and re-partition the drive in a format that can be used for media by both mac and PC and for time machine back-ups and make the media part of it permanetly accesible so I can add and acccess my files.
    Thanks

    You are mixing up a couple of things here.
    The TC drive cannot be partitioned without removing it.. did you do that?
    If you partition it you must use a Mac disk utility and use the HFS+ ie standard Mac format. And GUID partition table not windows type.
    You can select erase disk in the airport utility.. that will take the disk back to original format. No partitions. TC is deliberately not partitioned as it is not a media server.. it is a backup device for TM. Over time .. the disk will be filled with TM backups so you have a long history of file changes to your computer.
    There is no media server in the TC.. it is merely disk storage.. you can serve files from it to a media device.. but the TC itself is dumb as dumb.
    Now the actual format of the drive is irrelevant to the PC.. The TC offers SMB file services to the network. You can copy files to and from the TC as if it was a local disk without caring one iota about the format. The TC handles that .. it is not a local disk .. it is a network drive.
    Although you cannot partition the TC. you can still copy files to it.. this does have implications for TM.. but as long as there is plenty of free space should not be a major issue.
    You can create a disk image via the disk utility in a Mac.. and as stated you can create partitions if you do it on a Mac with the disk directly connected which means breaking warranty if any exists on the TC.

  • I have Photoshop Elements 12 for both PC and Mac (I use both). I have a new camera, Nikon D810. I downloaded the latest version of Camera Raw, 8.8. My D810 is listed as a supported camera model. However, when I try to open a raw photo in Photoshop Element

    I have Photoshop Elements 12 for both PC and Mac (I use both). I have a new camera, Nikon D810. I downloaded the latest version of Camera Raw, 8.8. My D810 is listed as a supported camera model. However, when I try to open a raw photo in Photoshop Elements, I keep getting the message "Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw. I have tried reinstalling Camera Raw many times, and have tried to open many different raw files in Elements, and still get the same error message. Please help.

    How did you try to install ACR 8.8.  The only way I know of that works with Elements is to use the Updates Choice on the Help menu.
    There are two charts supplied by Adobe that explain your RAW dilemma.  This one tells you what your camera needs:  http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html   This one tells you what version of software you need:  http://helpx.adobe.com/x-productkb/global/camera-raw-compatible-applications.html
    In your case, the Nikon D810 needs Adobe Camera Raw (ACR) 8.6 or Lightroom 5.6.  (Congratulations on buying a new camera!)
    To get to that level with Photoshop Elements, you will need to replace your Photoshop Elements 12 with version 13.   Adobe caps ACR updates on version 12 at 8.5.
    The most convenient way to get around it without spending any money is to use the FREE from Adobe DNG Converter.  Download and install it from here for FREE:  http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5855&fileID=5890  Once it is installed you can convert your D810 raw files to an Adobe RAW version with the .DNG file extension that most, if not all, versions of the various Adobe software programs can use.  That includes old versions of Photoshop, Elements and Lightroom.  DNG converter can be used as the tool to move your files from your memory card to your computer, is efficient, will convert in batches and is completely lossless.  There is no risk of any image quality degradation or RAW functionality.

  • HT4314 I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    Hi Jamesdwills,
    Welcome to the Support Communities!
    If you are using the same Apple ID on both devices, the Game Center profile should be the same.
    Check out this information from the iPad User Guide.  Try signing out of the Game Center on both devices and then sign back in with the correct Apple ID:
    Using Game Center
    http://support.apple.com/kb/ht4314
    Game Center settings - iPad User Guide
    http://help.apple.com/ipad/7/#/iPad9a13d039
    Game Center settings
    Go to Settings > Game Center, where you can:
    Sign out (tap your Apple ID)
    Allow invites
    Let nearby players find you
    Edit your Game Center profile (tap your nickname)
    Get friend recommendations from Contacts or Facebook
    Specify which notifications you want for Game Center. Go to Settings > Notifications > Game Center. If Game Center doesn’t appear, turn on Notifications.
    Change restrictions for Game Center. Go to Settings > General > Restrictions.
    Cheers,
    - Judy

Maybe you are looking for

  • DQM moving data from STREET 2 field in SAP to STREET 3 field

    During the address cleanse function by DQM, it is currently taking the information I have supplied in SAP field STREET2 and moving and/or copying  it to STREET3. Does anyone know what is causing this or what the logic is being used to determine that

  • Data Warehouse Jobs stuck at running - Since February!

    Folks, My incidents have not been groomed out of the console since February. I ran the Get-SCDWJob and found most of the jobs are disabled. See below. I've tried to enable all of them using PowerShell and they never are set back to Enabled. No errors

  • Opening a saved printer friendly version of a web page (PDF) opens a print dialog.

    On the web I asked to view a printer friendly version of the page which opened a PDF which I saved.  When I attempt to open the saved PDF it automatically brings up the print dialog. If I cancel the print it opens in Adobe Reader.  What can I do to o

  • Grid Control and filesystem monitoring

    Hi, With the use of emagent_storage.config, are we able to monitor filesystem statistic? If so, where in Grid Control(11g) is the monitoring page located. I am only able to find the metric monitoring of space/usages rather than file system stats of r

  • BI with ABAP Consultant

    Hi, It could be great help if you could let me know the wiki link or article for BI with ABAP consultant. Please do the needful. Regards Sivaraju