Variable problem (Example .fla/swf inside)

I have a plane movieclip which chooses a plane sprite randomly. When you drop a bomb the bomb should choose the sprite fitting the plane that it was dropped by. (Plane 1 drops bomb 1, plane 2 drops bomb 2)
This works if I have one plane already on the stage, and no others. However, if I attach more plane movieclips it drops only bombs with the same sprite. (plane 1 and plane 2 only drop bomb 1)
Here is an example fla/swf:
http://dl.dropbox.com/u/6414392/plane%20example.zip
I commented the code a little, its not much. If you delete the controller movie clip and put the plane on the stage then it will work. Use it like it is and it doesn't.
This is driving me nuts, but I am probably only missing one little thing that makes it not work when attaching movieclips.

Now only the first appearing plane drops a bomb, the others don't drop anything at all.
Couldn't you take a look at the .fla? Or simply the .as files I attached? Because right now, I'm not sure if I just put it there wrong. Its probably harder to see whats wrong without taking a look at it too.
The code now looks like this:
var bomb = _root.attachMovie("Bomb","bomb"+_root.getNextHightestDepth(),_root.getNextHightestDepth() ,{bombType:plane_type});
I don't know what to do. I don't get how to tell the bomb from which plane it came. All the other problems I encountered so far, I could wrap my head around and learned from it. But this is a tough nut to crack.
Edit: I'm really sorry to be so thick and daft. I hope you don't give up on me, I really want to get this!
Edit2: Ok I tried around with it, and now this happens: (its the .swf, no need to download)
http://dl.dropbox.com/u/6414392/Plane_Example.swf
This is the code I used:
Plane.as:
class Plane extends MovieClip
     var plane_type;
     function onLoad()
     //choose random frame (plane image)
     plane_type = Math.floor(Math.random()*2+1);
     //Go to the frame
     gotoAndStop(plane_type)
          function onEnterFrame()
               _x-=4;
               if (Key.isDown(Key.DOWN))
          var bomb = _root.attachMovie("Bomb","bomb"+_root.getNextHightestDepth(),_root.getNextHightestDepth() ,{bombType:plane_type});
          bomb._x = _x-20;
          bomb._y = _y+20;         
Bomb.as
class bomb extends MovieClip
     var gravity;
      var bombType
     function onLoad()
     //Change bomb picture to the same number that is bomb_type (which is set in the Plane Movieclip)
     gotoAndStop(bombType);
     gravity = Math.random()* 4+ 2;
     function onEnterFrame()
     _y+=gravity
     _x-=2
     _rotation-=gravity
This is so frustrating, I've wasted hours on this.

Similar Messages

  • Having stopped audio with a swf inside a sidelet can someone create a swf that will resume the audio

    Ok, rick is going to post the fla of this file and I will
    post the swf. Basically this is all about having a slide that has
    audio running all the way through and enabling the user to roll
    over a sidelet and have the video and audio stop playback.
    At present, the max you can achieve is, to stop video. The
    audio keeps going and of course everything gets out of
    sync. Rick has create a swf that you input into a sidelet (
    after having imported your image or video ) which stops the audio.
    Fantasitc. Unfortunatly he was not successful in creating a swf
    that will resume the audio.
    So there is the mission. To create something that will resume
    the audio, be it a swf inside the sidelet or something else.

    Hi there paul. Am I right in thinking that your code will
    mute the audio. In my situation this would cause problems becasue
    you would roll over the sidelet - the audio would go silent and
    when you rolled off, or resumed the audio, it would have been
    playing so again the video and audio will be out of sync.
    Rick - rather than another swf which would activate the audio
    and video when you roll off the sidelet ( while that is the perfect
    solution ) what about looking at a button the user can press to
    resume things, maybe Im wrong but that sounds a little easier.
    ( however for all those reading this that is not really the
    solution I am looking for, what Im looking for is the above
    solution where you can just roll off and on and so on )

  • AS3 SWF inside Director 11.5.9 quirk

    I've previously used AS2 SWFs inside Director 11.5.9, and the SWFs work fine, actionscript works as it should.
    I'm working on a project where I need to use some AS3 SWFs inside Director, and I've come across a limit on the pixel width and height of the SWF. It seems that if either the pixel width or height of the published SWF are greater than 1638, then any actionscript inside the SWF is ignored when the SWF is loaded into director. The SWF still works ok outside of Director.
    For example, any actionscript stop(); commands are ignored and the playback continuously loops through the swf timeline.
    Has anyone come across this before?
    I am almost 100% certain this issue is related to the pixel width / height, as I've made a simple button navigation swf, and published it with different stage sizes. 1638 or less work inside Director, 1639 or more don't work inside Director!

    Made me laugh until I cried...
    Or did I just cry? :(
    Cruel but funny!
    Richard

  • Flash SWF inside Masthead

    Hello,
    I am trying to create a masthead with a SWF inside of it.
    So far I try this:
    1.- Put the swf inside dist/images/equipo.swf
    2.- in the HeaderiView.jsp this code:
    <%
    String swfUrl= componentRequest.getWebResourcePath()+"/images/equipo.swf";
    %>
    <TD>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="200" id="equipo" align="middle">          
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="movie" value="<%=swfUrl%>"/>
         <param name="quality" value="high"/>
         <param name="bgcolor" value="#ffffff"/>
    <embed src="<%=swfUrl%>" quality="high" bgcolor="#ffffff" width="800" height="200" name="equipo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>
    </object>
    </TD>
    When I do preview of this iView, I got the space for my swf but all blank, this means, the swf is not running.
    Any ideas?
    Regards,
    Orlando Covault.

    Hi Orlando,
    could you try the same code for a normal image file? Just to check whether its a problem with the SWF or with location & path of the image. If the path does not work properly for normal image too you can use the following code to access an image or SWF.
    IResource resource = request.getResource("image","images/myImage.gif").getResourceInformation().getURL(request);
    Let us know whether this helps or not.
    Regards,
    Shubho

  • Problem in playing swf files in IE 6.0

    I am facing a big problem in playing swf files in IE 6.0 with
    the tags object and embed.
    In my current project their is option to upload the swf files
    to oracle db and when ever wants to view that swf file, reading
    that swf from db and displaying in browser, In win 2000 swf file is
    displaying very fine, but not in win 2003 and win xp. and that swf
    file, entire application is using asp.net, C#
    Can anyone tell the problem behind this situation.
    I feel great for any solution.
    Thanks in advance

    > Yes, I put it in the (2) posts above...
    No.. there is no URL in the two posts above .. if there was I
    would not have
    asked for it again
    But now you have, I can have a look (no promises though :))
    BTW: These are your posts in their entirety:
    >>
    Hi,
    I'm brand new to programing, so my knowledge is limited. But
    I'm having a
    similar problem where my swf appears but sits on frame 1. I
    have a
    preloader
    set up on fr2. But it just gets stuck there (fr1). I know the
    plugin is
    installed but not sure why it won't display my movie. I know
    it's
    happeneing
    only with IE and XP and XPpro. Any ideas?
    >>
    >>
    Sorry, I since realized that it's not getting stuck on fr1.
    It's just
    displaying the bg color in the html page while it's waiting
    for the swf to
    load. But the swf never loads. It just sits there. I've tried
    using
    different embed tags, etc. But no-go.
    Here's the first example-
    <body>
    <table width="100%" height="100%" border="0"
    cellpadding="0"
    cellspacing="0">
    <tr>
    <td><div align="center">
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    rsion=6,0,29,0" width="800" height="600">
    <param name="movie" value="NINA.swf">
    <param name="quality" value="high">
    <embed src="NINA.swf" quality="high"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="800"
    height="600"></embed>
    </object>
    </div></td>
    </tr>
    </table>
    </body>
    >>
    >>
    Here's another example which is part of the most current
    detection scripts
    from
    Adobe....
    <script language="JavaScript" type="text/javascript">
    <!--
    var hasRightVersion = DetectFlashVer(requiredMajorVersion,
    requiredMinorVersion, requiredRevision);
    if(hasRightVersion) { // if we've detected an acceptable
    version
    var oeTags = '<object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="100%" height="100%"'
    +
    'codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
    + '<param name="movie" value="NINA.swf" /><param
    name="loop"
    value="false"
    /><param name="menu" value="false" /><param
    name="quality" value="high"
    /><param name="scale" value="noscale" /><param
    name="bgcolor"
    value="#46442c"
    />'
    + '<embed src="NINA.swf" loop="false" menu="false"
    quality="high"
    scale="noscale" bgcolor="#46442c" '
    + 'width="100%" height="100%" name="NINA" align="middle"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="
    http://www.macromedia.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags); // embed the flash movie
    } else { // flash is too old or we can't detect the plugin
    var alternateContent = 'Alternate HTML content should be
    placed here.'
    + 'This content requires the Macromedia Flash Player.'
    + '<a href=http://www.macromedia.com/go/getflash/>Get
    Flash</a>';
    document.write(alternateContent); // insert non-flash
    content
    // -->
    </script>
    >>
    > One is
    http://eliasencpa.com
    > The other is...
    http://www.eliasencpa.com/TEST_091606.html
    >
    > thanks a lot.

  • Maximum fla/swf size

    Anybody knows if there is a maximum size of a fla/swf.
    We have a project that is estimated to be around 2.5GB in
    total. All in one file if possible due to performance.

    Hi,
    I never faced some thing like this before ;) I think the only
    limitation the Flash Help file is that the maximum number of frames
    in Flash file should not exceed 16000 frame. But generally, I do
    not advice to reach that big Flash file as this may cause some
    problems for the performance such as the library navigation may go
    so slow and the file may not work well with this big size, this may
    lead to some thing like file damage. i alway suggest separating
    files into several small files to better performance

  • I have a problem running linear SWF's in Dreamweaver

    I have about a day to fix a problem I am having.
    Basically i created a short story in Flash and linked each SWF file to the next scene via buttons, to make it as quick loading as possible. When previewed in Flash to see if it works, it works fine. When each SWF is previewed in a Browser, it works fine.
    Scene1 -> Scene2 -> Scene3, and so on.
    It worked fine when i previewed it in Flash, but as soon as i place the SWF in Dreamweaver, it plays the 1st scene automatically, but won't play the linked SWF when i click on the next button (When previewing)..
    Any ideas?

    Most likely the problem is that the paths to the 2nd, 3rd, etc .swfs is not correct.
    This is a very common problem when using .swfs and other Flash assets.
    All of the SWF files are in the same folder
    whether or not the .swfs are in the same folder is not at all important,
    you MUST have all 5 in the same folder
    actually you can place the .swf files where ever you want.You could even place them in 5 different folders if you want. The main thing to remember is that when you call or link to each .swf, you link as though the .swf in in the same folder as the Web page... NOT the actual, physical location of the .swf.
    When previewed in Flash to see if it works, it works fine. When each SWF is previewed in a Browser, it works fine.
    While it may seem counterintuitive, because they work in Flash and the Web browser is an indication that the pathing is WRONG!! as odd as that may seem!
    The reason the links work when tested in Flash is that the pathing is assuming that all the .swfs are in the same folder, so then path from one to another is... as you say
    Scene1 -> Scene2 -> Scene3, and so on.
    but that is NOT the correct pathing relative to using .swfs on a Web page outside the folder the .swf files are in.
    it plays the 1st scene automatically, but won't play the linked SWF when i click on the next button
    Sure, that's because you know that from the Web paqe the path to the .swf is..."/flash_folder/scene1.swf" (or whatever the actual pathing is).
    But the path from "scene1.swf" to "scene2.swf" is NOT as you diagramed above, rather you need to path relative to the Web page, since "scene1.swf" is now (in effect) located on the Web page.
    So the correct path from scene1 to scene2 would be ..."/flash_folder/scene2.swf", then from scene2 to scene3 is similarly pathed, etc.
    When all is said and done and the navigation is correctly pathed, when testing the .swfs directly in Flash... the links WILL NOT WORK!! Why, that's because the pathing from one scene to another is coded in the .swf as though the .swf is located in the same folder as the Web page.
    And just a slight clarification on relative verses absolute addresses.
    Relative addresses declare a path reltive to the physical location of the file. So "relative" (or from the location of) the scene1.swf, the path to scene2.swf is simply "scene2". The path relative to (or from the location of) the Web page might be  "/flash_folder/scene2.swf"
    Absolute addresses on the other hand decribe the physical location of a file on a Web server and include the http://www.mysite.com part of the path.
    ../secondscene/swf/2.swf' - this is absolute linking
    is not really an absoloute address, it's a relative address (which may or may not be root relative)... saying that from this location (relative to this location), go up one folder level then into the "secondscene" folder, then into the "swf" folder and find the "2.swf" file.
    The actual absolute address for that file would be
    http://www.mysite.com/secondscene/swf/2.swf'
    Using absolute addresses are useful on dynamic Web sites like WordPress if for example you have a file that you want to access from many location or folder levels in the site.
    Absolute addressing would also be useful for you if, for example, you wanted your scene linking .swf pathing scheme to work from different sub folder levels on your site. The root relative pathing shown above would not work for example from this page:
    www.mysite.com/about_us/friends/meet_us.html
    you would have to create anew pathing layout.
    Using absolute pathing to the .swfs on the other hand would allow the browser to find all the .swfs regardless of where you place the link to the .swf on the entire Web site. The "Absolute" path or URL to that .swf is always:
    http://www.mysite.com/secondscene/swf/2.swf'
    You can even use absolute links on a completely different Web site and still find the .swf (like YouTube embed code, etc.).
    Best wishes,
    Adninjastrator

  • Variable problems

    Hi, I am making a quiz in flash and the variables are loaded
    externally (through flash vars) that's not the problem as that part
    works properly, for each question there are 5 variables (loaded
    from the html doc) they consist of a question, three possible
    answers and the answer (stored as either 1,2 or 3)
    So when someone clicks on a possible answer (three different
    buttons) the button executes a code (at bottom ):
    the global.q1answeruser is the answer of the user (1,2 or
    three corresponding to the buttons which make the variable equal
    1,2 or 3 then go to another frame where the above script is
    executed) then the frame goes to the correct screen or the
    incorrect screen etc. Problem is that any answer I click on it goes
    to the correct screen. Checked all the frames and stop(); stuff and
    all that. Need help.
    I have tried using the == sign and all but does not work
    links to the html doc with the variables and the fla. below
    (note my quiz cannot use javascript as This is for myspace):
    fla
    html doc

    Ok, a litte more background....
    You are using LoadVars just to pull the answer in right? If
    it were me, I'd do this...
    On each quiz page, run a LoadVars and pull your data in.
    catch the onLoad event and store the loaded values into either an
    array or some other variable to be used by the app when the user
    hits next or whatever. For testing sake, you may also want to
    display the content of loadVars into the output panel using trace.
    When they hit next, test the answer given with the stored value. If
    they got it right (the two variables match), increment the number
    of correct answers they've gotten and redirect them to the correct
    screen. If they get it wrong, increment the number of wrong answers
    and redirect them to a wrong screen. Does this all make
    sense?

  • Call Flex swf inside extension object

    Hi,
    I am building a user application using Flex 3.  The application allows user to input information using input components such as text areas, etc.  The application will create an xml file from user info.  The application needs to save xml file in user's local hard drive.  For user convenience, we want to be able to call the application from inside a DW menu.  This requires an extension which implies installing an mxp.  To avoid multiple installs, we want to deliver the application inside the extension.  This involves creating an extension object that has my Flex app embedded in it.  I have been able to create the extension object, have it show up in my insert bar, and deliver my Flex swf inside the extension.  However, when I type inside a text area in my swf, I am not able to.  It acts as if disabled.  I explicitly set my text area as editable=true and enabled=true.  Why?  Here is my extension:
    <html>
    <head>
    <title>WBT Ouline Tool</title>
    <style>
    body { margin: 0px; overflow:hidden }
    </style>
    <script language="javascript" type="text/javascript">
    function createTextFile(textItem) {
      //future code to create xml file will go here.
      //it will use DW FILE I/O APIs
    </script>
    </head>
    <body>
    <form>
       <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
       id="wbtOutline" width="406" height="276"
       codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
       <param name="flashvars" value="bridgeName=wbtOutlinePanel"/>
                <param name="movie" value="wbtOutline.swf" />
       <param name="quality" value="high" />
       <param name="bgcolor" value="#869ca7" />
       <param name="allowScriptAccess" value="always" />
       <embed src="wbtOutline.swf" quality="high" bgcolor="#869ca7"
        width="406" height="276" name="wbtOutline" align="middle"
        flashvars="bridgeName=wbtOutlinePanel"
                    play="true"
        loop="false"
        quality="high"
        allowScriptAccess="always"
        type="application/x-shockwave-flash"
        pluginspage="http://www.adobe.com/go/getflashplayer">
       </embed>
    </object>
    </form>
    </body>
    </html>

    Do you know where I can find examples on how to use dreamweaver.flash.newControl()?
    I am still having no luck.  My control shows up but can not interact with it and external interface not available.

  • Load and resize a SWF inside a MC

    Hi,
    I'm using AS2 to load an SWF inside an MC. The MC measures
    800x600, while the SWF (which can vary in size) measures in this
    case 14x60, even though, looking at it, it seems to be about half
    the size of the hosting MC. This makes me think that the dimension
    scales are different. I'm loading the SWF using MovieClipLoader and
    I'd like to resize it so that it fits as proportionally snug as
    possible within the MC. How can I do this? If I try to resize the
    SWF to the MC's dimensions, it become way too large and goes off
    screen. If instead I try to rescale the hosting MC to fit around
    the SWF, the SWF itself rescales as well. I'm going nuts! How can
    accomplish this?
    Thank you,
    Tatiana

    To make things simple, I'd like to take an existing SWF (the
    picture) and load it into a FIXED SIZED MC (the frame) and I'd like
    to rescale the SWF so that it fits perfectly into the frame.
    By all means, I know that what you said should work and I
    admit my inexperience with AS2, but somehow the SWF's I'm loading
    in, have scales that are totally different with respect to my
    Stage. I even tried loading the SWF directly onto the stage and
    then I loaded the frame separately onto the stage and tried to
    resize it to the SWF's _width and _height. The frame became a tiny
    dot on the screen, while the SWF filled half of my Stage.
    Thanks again for your help.

  • Loading a SWF inside another SWF question

    Hello friends,
    1. (IMPORTANT) As all we know when putting some Flash SWF
    inside an HTML page, normally it starts playing as soon as its
    first frame is loaded.
    Now in my case I have to load a SWF (let call it Flash A)
    inside another Flash, I used mx.controls.Loader control to do this.
    But this internal loaded SWF (Flash A) doesn't display untill it is
    completely loaded. Although what is interesting is that if it
    contains a sound track I can hear it while it is being loaded.
    I wana know is there any way that we can make this Flash
    display while being still loaded.
    2. Is there anyway to change a Flash playback FPS at runtime?
    Thank you so much for any note and help.
    - M

    damatrixhasu wrote:
    > i want to know how i can load a flash inside another
    flash container
    go to help - search for 'loadmovie'
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How can I pass a variable(s) between two swfs?

    Hello all,
    I was wondering if it is possible to pass variables between
    two standalone swfs that are not being hosted on a webserver.
    I am creating a flash projector to go on a CD Rom and want to
    load another swf into the _root level and in the process, want to
    pass a variable or two to the "new" swf that is being loaded. Any
    help or insights that you can offer would be greatly appreciated!
    Thanks for your help.
    Tim

    if by _root level you mean you're loading something into
    _level0 you can't won't be able to use the localconnection. the
    sharedobject is your only option.

  • Bad Bind Variable Problem

    Hi
    I am trying to create a trigger and facing Bad Bind Variable problem.
    Plz let me know, what's the problem in this trigger.
    CREATE OR REPLACE TRIGGER Tender_tax_update AFTER
    INSERT
    OR UPDATE
    OR DELETE OF ITEM_QTY,ITEM_RATE,TENDER_ACC_QTY ON TENDER_ENQUIRY_ITEM_D REFERENCING OLD AS OLD NEW AS NEW FOR EACH ROW
    Declare
         v_amt TENDER_VENDOR_TAX_D.TAX_AMOUNT%TYPE;
         v_tax_ty TENDER_VENDOR_TAX_D.TAX_TYPE%TYPE;
         v_tax_cd TENDER_VENDOR_TAX_D.TAX_CODE%TYPE;
         v_ven_cd TENDER_VENDOR_TAX_D.VENDOR_CODE%TYPE;     
         v_item_cd TENDER_VENDOR_TAX_D.item_cd%TYPE;     
         v_tenno TENDER_VENDOR_TAX_D.tender_enquiry_no%TYPE;
    Begin
         if inserting then
              v_tax_ty:=:new.TAX_TYPE;
              v_tax_cd:=:new.TAX_CODE;
              v_ven_cd:=:new.vendor_code;
              v_item_cd:=:new.item_cd;
              v_tenno:=:new.tender_enquiry_no;
    select TAX_AMOUNT into v_amt from TENDER_TAX_DETAILS where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
    update TENDER_VENDOR_TAX_D set TAX_AMOUNT=v_amt where tender_enquiry_no=v_tenno and TAX_CODE=v_tax_cd and TAX_TYPE=v_tax_ty and item_cd=v_item_cd and vendor_code=v_ven_cd;
         end if;
    End Tender_tax_update;
    Database deails are as follows:
    TENDER_VENDOR_TAX_D
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE NOT NULL VARCHAR2(4)
    TAX_CODE NOT NULL VARCHAR2(4)
    PERCENTAGE NUMBER(5,2)
    TAX_AMOUNT NUMBER(15,2)
    ITEM_CD NOT NULL VARCHAR2(10)
    TAX_FLAG VARCHAR2(1)
    TAX_TYPE CHAR(3)
    TENDER_TAX_DETAILS
    Name Null? Type
    TENDER_ENQUIRY_NO NOT NULL VARCHAR2(8)
    VENDOR_CODE VARCHAR2(4)
    ITEM_CD VARCHAR2(10)
    TAX_CODE NOT NULL VARCHAR2(4)
    TAX_TYPE CHAR(3)
    TAX_AMOUNT NUMBER
    Message was edited by:
    user648065

    facing Band Bind Variable problem.Doesn't the error message tell you which bind variable is the problem?

  • Captivate 5.5: Problems with export SWF to MP4

    I recorded a screencast of several moving graphs by using the FMR-mode in Captivate 5.5. The flash file looks pretty good, but I am unhappy with the MP4 that I exported afterwards because it is jerky. Is it usual that there are losses due to the compression or did I just use the wrong settings? Is it possible to export an MP4 file that looks just as good as the SWF? Do you have any recommandations regarding the settings?
    I am inserting some features with Final Cut afterwards. To avoid further compression losses, I would appreciate some hints regarding the settings in Compressor. The final file shall be an MP4.
    Do you think with the HD screencast function of Captivate 6 or 7, my problems would be solved?
    Thanks a lot for your help!

    Hey Lilybiri,
    thank you for your answer. I tried pretty much everything, default settings like SD / HD widescreen as well as custom settings in all different kinds. I even implemented a 30 frames-extra (http://www.tecwriter.de/wordpress/captivate-5-5-exklusiver-spezialtipp-mp4-output-verbesse rn/), but nothing helped. and i am not sure, if captivate's FMR function is the problem, as the swf is much less jerky. 

  • [SOLVED] UEFI Variables outside chroot environment, not inside?

    I am installing Arch onto a UEFI system that has had Arch on before; previously it was installed on a seperate disk from Windows and selecting in the UEFI boot sequence which hard drive I wanted to boot from each time. This time I am setting it up on the same hard drive as Windows 8.1 to enable dual-boot.
    I have disabled fast boot and secure boot in the UEFI configuration screen.
    I am booting from the latest Arch ISO on cd and have all UEFI variables listed outside of the chroot environment.
    after
    # arch-chroot /mnt /bin/bash
    # efivar -l
    I get
    bash: efivar: command not found
    Inside the chroot environment I then
    # modprobe efivarfs
    efivar -l
    bash: efivar: command not found
    # mount -t efivarfs efivarfs /sys/firmware/efi/efivars
    mount: efivarfs is already mounted or /sys/firmware/efi/efivars busy
    efivarfs is already mounted on /sys/firmware/efi/efivarfs
    I have seen two other posts in the forums with this issue yet their solutions do not work in this instance.
    I attempted to to finish the install off previously even though the uefi variables weren't loaded properly inside the chroot and it didn't boot (using rEFInd, I have previously tried Gummiboot and Grub, no dice). I know enough to get into trouble but not enough to fix it...any ideas.
    Edit:
    Head_on_a_Stick wrote:
    Try
    # pacman -S efivar
    inside the chroot environment, then efivar -l
    That fixed it; IIRC it's not mentioned in the Wiki that that might be the case. It does say to "Make sure efivars is mounted" prior to installing the bootloader; mine was but I couldn't list the variables or sucessfully install until I installed efivar inside the chroot.
    Last edited by cdrjameson (2014-05-29 12:45:05)

    Have you tried just using efibootmgr?
    Try
    # pacman -S efivar
    inside the chroot environment, then efivar -l (although I think this may be included in the base package when using pacstrap).
    If you have /sys/firmware/efi on the system then it is already in EFI mode...
    https://wiki.archlinux.org/index.php/UE … re_bitness
    Last edited by Head_on_a_Stick (2014-03-25 22:28:09)

Maybe you are looking for