Help!! How do you build the SWF files?

Hi, I since I am new to Flex & Flex Builder2, I have
tried to recreate an empty swf file, similar to the sample file
"EmptySwf.swf"
However, when I replace the default EmptySwf.swf with mine, I
keep getting: TypeError: Error #1034: Type Coercion failed: cannot
convert flash.display::Sprite@fda2a81 to mx.core.IUIComponent.
Steps to reproduce:
i) I am using Flex Builder 2.0.143459
ii) in the mxml file created when choosing 'Flex Project', I
add the FAbridge information as instructed
<fab:FABridge xmlns:fab="bridge.*" />
(I have also tried using <bridge:FABridge
xmlns:bridge="bridge.*" id="bridgeInst" /> )
iii) Select BuildAll and then copy to the samples folder
(overwriting the original).
iv) The error occurs in the browser.
What gives?
The FA Bridge is supposed to be an easy 'learning curve' to
get into Flex.
This is quickly pushing me away!!!!!

Thanks for the prompt reply. Obviously you guys are watching
this forum keenly.
For those others that are new to Flex, I found that creating
an
ActionScript Project in Flex builder to be the way to create
a 'blank' swf file that works.
Note:
- you'll also need to add a library reference:
${FRAMEWORKS}\libs\framework.swc
- you'll still need to add the FABridge reference:
x:\somepath\\FABridge\src
Then, make your main actionscript file look like EmptySwf.as
as shipped with the samples.

Similar Messages

  • How do you protect the .swf files ?

    Do you protect your flex files from being decompiled?
    Is there any flex techiques for more security? What about HP SWFScan?
    All opinions wellcome....

    There are several different options... each with varying degrees of security, technical complexity, and cost. Entry level protection usually involves some kind of obfuscation which makes your code difficult to read / re-use - but not impossible. If this isn't enough you'll want to look into swf encryption... which raises the bar significantly. The last item worth mentioning is loading a swf from a protected source. You could also improve this last approach by loading your swf from _inside_ another swf. Here are some links to get your started.
    Amayeta SWF Encrypt 6.0
    http://www.amayeta.com/
    irrFuscator ActionScript 3 Obfuscator
    http://www.ambiera.com/irrfuscator/index.html
    Security Through Obscurity: can you hide swf files on your website?
    http://www.quilix.com/node/31
    Cheers,
    Rick Winscot
    www.quilix.com

  • HT3825 so how do you convert the raw files to jpeg in iphoto?

    how do you convert the raw files to jpeg in iphoto?

    Many thanks Barbara and dj_paige.
    What I didn't mention is that I'm using PSE 5 with ACR 4.6, if its relevant.  I'm thinking of updating to the next version when its out in the hope that it will run with Windows 7 64 bit or I may go to Lightroom.
    I can now see that I can batch convert a whole folder of files using "process multiple files" as dj_paige suggested but that is too many at once as the settings I choose won't be relevant for all the pics in the folder. 
    I was hoping to batch convert say 5 or 6 similar photos at a time with the same settings. I'm not quite clear what you're suggesting but I'm hoping that its a "work round" using two stages to achieve this. 
    I can't see a list of open files within ACR to ensure that they are all selected as you suggest. 
    What does clicking Open rather than Done mean?  Does this amend the original RAW file to the settings selected so that if I then "process multiple files" on the whole folder to convert from RAW to JPEG they will in fact have already been processed in smaller groups so I can convert without applying any further changes?
    If so, what settings should I apply to "process multiple files" to ensure a simple conversion of file type rather than any further adjustments?
    Any further help on this would be much appreciated.
    Andrew

  • In digital editions how to you access the pdf file on your computer - I want to read in acrobat

    in digital editions how to you access the pdf file on your computer - I want to read in acrobat as digital editions too hard to read.@@

    On Mac, try looking in:
    /Users/dug.geo/Documents/Digital Editions
    On Windows, look for "Digital Editions" in "My Documents". If it's not there, look one level above "My Documents".
    If you know the filename of the PDF, you could also try doing a file system search for it.

  • How do you update an .SWF file with Javascript

    Hello - I have this Flash map that I've created. It uses
    javascript calls from within Flash to swap out hidden DIVS when a
    user clicks on a county. When the user clicks on the zip code
    region of that map, a javascript triggers the check box.
    What I need to do now is to have a way that when a user
    unclicks the check box, the zip code region in the map will be
    unhighlighted. Essentially, I need to have javascript tell a movie
    clip within the .SWF file to goto a certain frame and stop.
    I've never done this before, so I'm seeking someone's wisdom
    on how to proceed with this.
    For a visual on what I'm describing, the file can be viewed
    here:
    http://pixegen.com/sandbox/map.html

    use the flash'es externalinterface class for two way
    communication between js and actionscript.

  • Need Help: How do you download the free trial of Cs6 for a Mac Snow Leopard?

    How do you download the free trial of Cs6 for a Mac Snow Leopard?

    CS6 requires OS X 10.6.8.
    http://helpx.adobe.com/x-productkb/policy-pricing/system-requirements-photoshop.html#main_ Photoshop_CS6_system_requirements
    So make sure you're running OS X 10.6.8.
    Download CS6 from http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

  • How do you play a swf file from the desktop

    I have created a swf file using flash. It can be downloaded
    onto the desktop. It is zipped. When unzipped it is called
    yadayada.swf. It does not get associated to the flash player or the
    shockwave flash player which are both installed. So if i double
    click on it it won't play.
    What do I have to do to make it play from the desktop in its
    plain swf file format. I want people to be able to download it onto
    their desktop for both Mac and PC users. I published it as a
    projector .exe file but mac users cant run it.
    What should be my next step?
    I have installed Flash on my development box so this isnt an
    issue but it is for my test computer that doesnt have flash
    installed.

    HI
    mm 2 things you can do.
    1. Create a html page that loads this SWF file, This will
    work on both OS's.
    2. Create a Projector file for PC and HQX for the Mac. You
    cannot have one
    file todo both.
    Hope this helps.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

  • How do I get the SWF file to send a variable to HTML file

    I am new to flash and trying to figure out how this is working. I have a task to upgrade a web site. I have a map of ND with some cities on it. I needed to add a new city to the SWF which did not seem to be hard (asuming I did it correct). The action on all the buttons for each city look like this except the name after the # is the city selected.
    on (release)
        getURL("locations_info.html#minot", "location_content");
    In HTML code snip that controls this looked like this :
                          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="627" height="400">
                            <param name="movie" value="flash/map.swf">
                            <param name="quality" value="high">
                            <embed src="flash/map.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="627" height="400"></embed>
                          </td>
                        </tr>
                        <tr>
                          <td align="left" valign="top"><IFRAME src="locations_info.html" name="location_content" width="627" height="190" scrolling="no" frameborder="0"></IFRAME></td>
                          </tr>
                      </table>                 
                      </td>
    snip from the locations_info.html file looks like:
      <tr>
        <td align="left" valign="top"><table width="687" border="0" cellspacing="0" cellpadding="10">
          <tr>
            <td align="left" valign="top"><p class="maintext12"> </p>
              <p class="maintext12"><strong><a name="minot"></a>Minot/Home Office</strong><br>
                408 20th Ave SW, Suite 101, Minot, N.D. 58701<br>
                Main line: (701) 852-5383<br>
                Toll Free: (800) 735-4955<br>
                Fax: (701) 852-6272<br>
                Office hours: Monday - Friday 8 a.m. to 5 p.m.</p>
              <p> </p>
    Can someone help me understand way when I run this from my system it should load and address information for the correct city from the locations_info.html file but it doesn't. Nothing shows up..
    Jeanne

    If all of the other getURL() directives in the movie use the same syntax for the named anchor link then that part should be OK. In the html document, locations_info, again, if all of the named anchors look like the one that you listed, then you may just need to clear your cache to get the new anchor to work.
    The a name="XXX" anchor is being depricated in some browsers. You can use id="XXX", or both, instead. Although if one works, they should all work.

  • How to run/build the JSP file using Eclipse

    Hello,
    I want to build a new project for running the jsp file in eclipse.
    Can you help me in doing that?
    with some structure format?
    where to create web.xml file
    how to configure that fiel with our eclipse java poject?
    like that...
    Thanks,
    Soorya

    On New Project creation, choose 'Dynamic Web Project'. Then the structure will be created for you.

  • Using XML for Live Data- How do you get the XML file to pull data from another xls file?

    Post Author: joseph_atkinson
    CA Forum: Xcelsius and Live Office
    I was wondering you can help me.
    I am currently receiving an *.xls reports on a daily basis (same report, same format, different data). I have put this report into Crystal Xcelcius Designer 4.5 Professional version and created the dashboard I want.
    I am aware of the xml mapping functionality where I can map from the *.swf straight to a database. However, is it possible to map to an xls file that will change on a daily basis? (obviously I can you the refresh button in Designer, but I need to automate this process).
    Your help really would be appreciated.
    Joe

    In Firefox, I'm seeing a bad icon for your zip files. I can
    download it,
    but it looks like something might be amiss with your zip
    files
    themselves.
    Al Sparber - PVII
    http://www.projectseven.com
    Popup Menus | Image Galleries | CSS Tutorials & Templates
    Newsgroup: news://forums.projectseven.com/pviiwebdev/
    CSS Newsgroup: news://forums.projectseven.com/css/
    DW Newsgroup: news://forums.projectseven.com/dreamweaver/
    "Conjurer" <[email protected]> wrote in message
    news:e8upg1$kee$[email protected]..
    > Conjurer wrote:
    >> Boy - I thought this was as simple as creating an
    <a> tag link to the
    >> file like you do with Word docs and Excel xls files.
    So I wrote my
    >> link as follows:
    >>
    >> <li><a
    href="OMGMASalSvy/Survey.zip">2006 Adminsistrators
    >> Survey.zip</a></li>
    >>
    >> But when I click on it I get a big nothing!
    >>
    >> I put the files out there on the host and the
    Word/Excel links all
    >> work great.
    >>
    >> Is there some secret magic to this one?
    >>
    >> My page links are at:
    http://www.omgma.com/surveyforms.htm#Documents
    >>
    >> Thanks for any help.
    >
    >
    > I guess it is working in IE but not in Firefox.... hmmm

  • JSP and XSL Processor - How do you send the processed file to a JSPWriter?

    The hierarchy for the relevant I/O classes is:
    Object---OutputStream
    Object---Writer---PrintWriter
    Object---Writer---JspWriter
    For the processed file from the Oracle XSLProcessor, typically HTML, the XSLProcessor API v2.0.2.9 offers either 'OutputStream' or 'PrintWriter' as targets.
    Unfortunately, a 'PrintWriter' cannot be used as a 'JspWriter'.
    I realise that I can call
    HttpServletResponse.getOutputStream()/getWriter() but there may be problems using this with the 'out' object.
    According to the JSP documentation: 'Either getOutputStream() or getWriter() may be called to write the body, not both.'
    The XSLProcessor API does offer an 'XMLDocumentFragment' as another target so I can make an XML document from this but looking at the API for 'XMLDocument', this again only offers 'OutputStream', 'PrintDriver' or 'PrintWriter' as targets.
    Not sure if 'PrintDriver' helps.
    How do I send the output from the 'XSLProcessor' to a 'JspWriter'?
    Why does the API not offer a 'Writer' as a target?
    Polite observation - this would be consistent with the 'OutputStream' being offered and, if changed, would not break any existing code.
    null

    You can also use a PrintWriter to wrap a JspWriter
    since PrintWriter has a constructor that takes any
    Writer instance.I'm having the same problem, I've spent a lot of time
    on it but I can't get it work.
    Could you post some working code that shows how you
    can do it?
    Thanks.
    It works now, I have used the code:
    result = processor.processXSL(stylesheet, xml);
    PrintWriter pw = new PrintWriter(out);
    result.print(pw);
    I had tried this before but there was an error in other place that prevented it to work.
    Thank you anyway.

  • How do you edit the audio files in the slideshow  of my idvd project?

    I have created a project in idvd and I dragged and dropped in the music files from the audio tab that I wanted - I selected multiple songs (2) and I hear them play just fine. The problem is that I want one song to play for a certain section of the photos and then I want the other song to start at a particular point. Why am I not able to edit the music in the slideshow and how can I do that?

    iMovie is a good way to do this if your project is film based. If your using photos (slideshow) in iDVD, I would be inclinded to use GarageBand to edit the audio portion of your project (It may be just me, but whenever I've attempted to create a slideshow in iMovie, the photos look "grainy" to me, not as clear).
    If you know the time of when you want your songs to change, you can adjust the length (time) of each song in GarageBand as well as fade in/fade out transition of the two or more songs. After saving, you then can access the saved audio mix via the audio tab in iDVD. (I'm making an assumption that one might be familiar enough with GarageBand to do this

  • Photo elements wants to open last used dir location. When it doesn't exist or cannot access, it fails to open.  How do you set the default file location?

    Upset!!!
    Photo elements wants to open at the last used folder location. When it does not exist or unable to open that location. It FAILS to OPEN.
    Does not seem to be a way to set a default location or to change the location.
    VERY ANNOYING.
    How do you tell photo elements to always go to a set location rather than the last used location?
    Thank you

    Hi,
    I did a test as you suggested - open an image on a removable drive, close the editor and took the removable offline. When I next went to the editor, it opened OK.
    From the screen shot in message #5 above, I think that the fault is with SolidWorks. I am not familiar with that product but it seems to be a form of asset management and it can't open its database - is that on the removable?
    Normally, the editor does not open any files when it loads except for it program files and any addins. Could SolidWorks be an addin?
    See if this works to reset the preferences.
    Create a desktop shortcut for this file
    "C:\Program Files (x86)\Adobe\Photoshop Elements 10\PhotoshopElementsEditor.exe"
    Hold down the Ctrl, Shift & Alt keys when you double click on the shortcut. Keep the keys held down and eventually a message box will pop up asking if you want to reset the preferences - you do.
    Brian

  • Help: How do you keep the generated source for the servicegen-generated stuff?

    Only the following classes have corresponding Java files:
    <name>Service
    <name>Service_Impl
    <name>ServicePort
    <name>ServicePort_Stub
    I need access to the marshalling code for the DTO java classes (I think there is
    a bug).
    Is there a keepGenerated option?
    Thanks,
    Nick

    I found the problem. I have posted it. See here:
    http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=1014&utag=
    Cheers,
    Nick
    "Nick Minutello" <[email protected]> wrote:
    >
    >
    Actually, you are right - the source for the codecs can be found in the
    webservice
    WAR. However, I have a funny feeling that the two are not the same (ie,
    there is
    a difference between the classes in the war, the classes in the client jar
    generated
    by servicegen and the client jar generated by clientgen. I am getting some
    odd behaviour,
    and I havent gotten to the bottom of it yet.
    It seems for the Data Transfer Objects, it makes a difference whether you
    use the
    generated classes or the originals (I am using the useServerTypes="True"
    option in
    the client element of the servicegen task.
    -Nick
    "Neal Yin" <[email protected]> wrote:
    Actually, the behavior right now should be "always keepgenerated". Canyou
    post your EJB/javaclass? We can check it out.
    -Neal
    "Nick Minutello" <[email protected]> wrote
    in message news:[email protected]...
    Actually, I think this is critical that this is done asap.
    It is impossible to debug errors such as this without it!
    java.lang.NoSuchMethodError
    atcom.x.bond.view.BondDetailDTOCodec.typedInvokeSetter(BondDetailDTOCodec.java
    :1214)
    atcom.x.bond.view.BondDetailDTOCodec.invokeSetter(BondDetailDTOCodec.java:964)
    Any chance of a timeframe?
    I dont particularly want to go and use Axis unless I have to... but Iseem
    to be
    spending a lot of time debugging this weblogic soap implementation...
    Thanks.
    Regards,
    Nick
    "Neal Yin" <[email protected]> wrote:
    Sorry, we don't have a keepgenerated option yet. We are adding one.
    Could you post what bug you think we might have? We can help you to
    pass
    though it.
    Thanks,
    -Neal
    "Nick Minutello" <[email protected]>
    wrote
    in message news:[email protected]...
    Only the following classes have corresponding Java files:
    <name>Service
    <name>Service_Impl
    <name>ServicePort
    <name>ServicePort_Stub
    I need access to the marshalling code for the DTO java classes (I
    think
    there is
    a bug).
    Is there a keepGenerated option?
    Thanks,
    Nick

  • TS3694 how do you update the firmware file on the iphone 4? says it wont update because firmware is not compatible

    iphone update is saying firmware is not compatible, anybody know how to update firmware

    Pretty sure I just downloaded the .exe files to the SD card (I have a directory called "drivers" there & ran from Windows, no need to boot from anything else. Didn't even need to use Safe Boot. The files do need an .exe extension IE someimes downloads as _exe. No idea why but would just need to rename if download has the underscore and not the period. The you can run them.
    Was so easy I really did not think about it. One of the Intel Platform drives does say "requires 1.60 update" so that is the one you need. Do the 1.60, reboot, and then the Intel update.
    Key point is the release note on the Intel Platform Installer
    "Release Notes
    1.Please install the  Windows BIOS version 1.60 or higher for Encore WT8-A (PDW09x) before installing this Intel Platform Installer update." note this says "BIOS" and not "USB BIOS" which is a smaller file.

Maybe you are looking for

  • All users of fibre cabinet experience dramatic slo...

    This is currently being investigated by Engineers but I thought I would ask if anyone had similar experience. The Engineer said it was as if the cabinet (or even further back) could not cope with the demand for data and once everyone was home from wo

  • Random pressure and tilt in Photoshop CS5

    Hello, I'm using the latest drivers, Windows 7, Wacom Intuos3 and the CS5 suite. Although everything is going fine with Flash CS5, I get random strokes in Photoshop. See this picture. These lines has been made applying pressure either on opacity or t

  • : Weblogic and javax.mail

    Even I was facing the same problem(Provider rfc )as Jon has, solved it thanks to Phil.. set the mail.jar ahead of weblogic.jar. But now am getting a different error... javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.Se

  • Syncing Problem!! Please Help!

    I have a 5th Generation iPod 30 GB. I also have an Iphone 3G and I sync both my iPod and Iphone with my iTunes. I made a playlist called "iphone" so I can sync only songs I want for my Iphone. The problem I have is that I don't know how to sync my iP

  • Printing from Internet Problems

    Simply put, my iMac G5, running OSX 10.4.1 will not and has never (since being bought over a year ago) been able to print from the internet. I just recently have need to do so on a regular basis. Whenever I try to print anything it says OSX has a fat