Presentatsion with videos, can't get it working on fullscreen.

Hi
Happy new year guys:)
I made a flash presentatsion and because i'm using FlashEff components it has to be in as3. I'm a total newbie in coding, particularly in as3. I have made my presentatsion in as3 before and got everything working fine. This time my presentation contains videos. And this becomes a problem when going on fullscreen mode. My project size is 1024x768, I made a html and use a brauser to open it. I wan't my project to go fullscreen so that there aren't borders.
If the stage goes fullscreen i don't want my movies to go fullscreen. When playing a video on fullscreen mode everything just goes black. Soo finally i figured out that i have to tell the videos not to scale.
My project is set up as follows:
1. MAIN TIMELINE
On the first layer i have all the frames converted to movieclips and inside each movieclip is the content.
On the as layers first frame i have this code. This is for navicating on the presentatsion slides with arrow keys.
stage.addEventListener(KeyboardEvent.KEY_UP, goNextFrame);
function goNextFrame(event:KeyboardEvent):void
if (event.keyCode == Keyboard.UP)
this.nextFrame();
stage.addEventListener(KeyboardEvent.KEY_DOWN, goPrevFrame);
function goPrevFrame(event:KeyboardEvent):void
if (event.keyCode == Keyboard.DOWN)
this.prevFrame();
2. INSIDE THE MOVIECLIP
On each slide there is some content that is called with a mouse click.
//On the fist frame
bg_mc2.addEventListener(MouseEvent.CLICK, playSlide);
bg_mc2.buttonMode = true;
function playSlide(event:Event):void
play();
//On the last frame
stop();
bg_mc2.mouseEnabled = false;
I have tried so many fullscreenmode - don't scale the video codes.
I have tried so many ways but every time i play a video i get the typeerror 1009 Can't access a property of method.
What does this mean?
Is there a

Hi
Happy new year guys
I managed to get the flvs on fullscreen and running. This code prevents it from taking over the screen: myPlayer.fullScreenTakeOver = false;. But when i try to move this code(keyframe) along with the flv(keyframe) farther, the code doesn't work anymore. Why is that? This is really a problem, beacause i have some animation before the video starts to play.
For going fullscreen i found this toggle on/off button code
function toggleFullScreen(event:MouseEvent):void
if (this.stage.displayState == StageDisplayState.FULL_SCREEN)
this.stage.displayState=StageDisplayState.NORMAL;
else
this.stage.displayState=StageDisplayState.FULL_SCREEN;
myButton.addEventListener(MouseEvent.CLICK, toggleFullScreen);
function onFullScreen(fullScreenEvent:FullScreenEvent):void
  var bFullScreen=fullScreenEvent.fullScreen;
  if (bFullScreen)
  else
  this.textField.text=this.stage.displayState;
myButton.stage.addEventListener(FullScreenEvent.FULL_SCREEN, onFullScreen);
But i get this error
TypeError: Error #1010: A term is undefined and has no properties.
    at PRESENTATSIOOn_fla::MainTimeline/onFullScreen()
    at flash.display::Stage/set displayState()
    at PRESENTATSIOOn_fla::MainTimeline/toggleFullScreen()

Similar Messages

  • My hard drive crashed on my Imac 24" 2009, i put in a new hard drive 2TB and a SSD drive 240 GB and removed the opticdrive. What external DVD can I get to work with the IMac? The Apple super drive is not compatible.

    My hard drive crashed on my Imac 24" 2009,  I installed a new hard drive 2TB and a SSD drive 240 GB and removed the optical drive.
    What external DVD can I get to work with the IMac?                              The Apple super drive is not compatible.

    Virtually any DVD burner that can connect to your Mac will work. They start at $40 on Amazon.

  • Can't get networking working with RALink 3062 Drivers

    So i installed a core install with wireless-tools, but from here i followed the beginners guide to install networking and can't get it working, I even tried and compile the ra2860 drivers for it, said the compile and install worked but still can't get access to the ra0 interface. Need help

    Deleted
    Last edited by impassive (2011-08-27 15:15:27)

  • Can t get to work tint2 launcher

    I'm a beginner in arch linux and i'm trying to figure out why the laucher don't show up in my panel,
    i've set up the panel the way i want but i would like to have a few launcher
    I've try serveral thing but i can't get it to work,
    and chromium.desktop and gparted.desktop do exist in /usr/share/applications/
    tks
    Here my tint2rc
    # TINT2 CONFIG FILE
    # horizontal panel
    # squared taskbars
    # idirae config
    # Background definitions
    # ID 1
    rounded = 0
    border_width = 1
    background_color = #808080 20
    border_color = #ffffff 10
    # ID 2 - task active
    rounded = 0
    border_width = 0
    background_color = #feffff 0
    border_color = #d8d8d8 0
    # ID 3 - task
    rounded = 0
    border_width = 0
    background_color = #F5F5DC 0
    border_color = #000000 0
    # ID 4
    rounded = 0
    border_width = 1
    background_color = #888888 0
    border_color = #ED2323 60
    # ID 5 - taskbar
    rounded = 0
    border_width = 1
    background_color = #feffff 10
    border_color = #ffffff 10
    # ID 6 - active taskbar
    rounded = 0
    border_width = 1
    background_color = #feffff 30
    border_color = #ffffff 30
    # ID 7 - tooltip
    rounded = 3
    border_width = 0
    background_color = #222222 90
    border_color = #222222 90
    # ID 8
    rounded = 0
    border_width = 1
    background_color = #888888 20
    border_color = #888888 20
    # Panel
    panel_monitor = all
    panel_position = top left horizontal
    panel_items = LTSBC
    panel_size = 100% 32
    panel_margin = 0 1
    panel_padding = 3 3
    panel_dock = 0
    wm_menu = 1
    panel_layer = bottom
    panel_background_id = 1
    # Panel Autohide
    autohide = 0
    autohide_show_timeout = 0.3
    autohide_hide_timeout = 1.5
    autohide_height = 6
    strut_policy = follow_size
    # Taskbar
    taskbar_mode = multi_desktop
    taskbar_padding = 5 2
    taskbar_background_id = 5
    taskbar_active_background_id = 6
    taskbar_name = 1
    taskbar_name_background_id = 0
    taskbar_name_active_background_id = 0
    taskbar_name_font = Crisp 12
    taskbar_name_font_color = #ffffff 30
    taskbar_name_active_font_color = #ffffff 50
    # Tasks
    urgent_nb_of_blink = 20
    task_icon = 1
    task_text = 0
    task_centered = 1
    task_maximum_size = 20 20
    task_padding = 0 0
    task_background_id = 3
    task_active_background_id = 2
    task_urgent_background_id = 4
    task_iconified_background_id = 3
    # Task Icons
    task_icon_asb = 80 0 0
    task_active_icon_asb = 100 0 0
    task_urgent_icon_asb = 100 0 0
    task_iconified_icon_asb = 80 0 0
    # Fonts
    task_font = BankGothic Md BT 10
    task_font_color = #696969 60
    task_active_font_color = #696969 100
    task_urgent_font_color = #696969 100
    task_iconified_font_color = #696969 60
    font_shadow = 0
    # Launcher
    launcher_icon_theme = elementary
    launcher_padding = 2 2
    launcher_background_id = 1
    launcher_icon_size = 20
    # Specify icon theme names with launcher_icon_theme.
    # if you have an XSETTINGS manager running (like xfsettingsd), tint2 will follow your current theme.
    #launcher_icon_theme = AwOkenWhite
    # Each launcher_item_app must be a full path to a .desktop file
    launcher_item_app = /usr/share/applications/chromium.desktop
    launcher_item_app = /usr/share/applications/gparted.desktop
    # Clock
    time1_timezone = :/usr/share/zoneinfo/dir/Canada/Eastern
    time1_format = %I:%M %p
    time1_font = BankGothic Md BT 9
    #time2_format = %A, %B %d
    #time2_font = Ubuntu-L 7
    clock_font_color = #ffffff 80
    clock_padding = 5 0
    clock_background_id = 5
    clock_lclick_command = gsimplecal
    #lock_rclick_command =
    # System Tray
    systray = 1
    systray_padding = 2
    systray_sort = right2left
    systray_background_id = 5
    systray_icon_size = 20
    systray_icon_asb = 100 0 0
    # Tooltips
    tooltip = 0
    tooltip_padding = 2 2
    tooltip_show_timeout = 0.0
    tooltip_hide_timeout = 0.0
    tooltip_background_id = 7
    tooltip_font_color = #ff0000 100
    tooltip_font = Roboto-Thin normal 9.0
    # Mouse
    mouse_middle = none
    mouse_right = toggle
    mouse_scroll_up = toggle
    mouse_scroll_down = iconify
    # Battery
    battery = 1
    battery_hide = never
    battery_low_status = 10
    battery_low_cmd = notify-send "battery low"
    bat1_font = sans 8
    bat2_font = sans 6
    battery_font_color = #ffffff 80
    battery_padding = 5 0
    battery_background_id = 5
    # End of config
    Last edited by jolejo07 (2013-07-05 01:39:25)

    I've try but can't get it working ether, i've download from Aur but when i'm trying to use the PKGBUILD with makepkg
    it telling me
    ==> ERROR: Cannot find the fakeroot binary required for building as non-root user.
    ==> ERROR: Cannot find the strip binary required for object file stripping.
    Last edited by jolejo07 (2013-07-05 01:45:21)

  • I have 2 itunes accounts - one work a/c and one home a/c, but when i sign in at home only my home songs appear even if I sign in my work a/c. I have authorised both computers to show both a/cs. How can I get my work a/c songs to appear at home?

    I have 2 itunes a/cs one at work and one at home. Both computers are authorised for the 2 a/cs, but I can;t get my work a/c songs to show on my home computer, even though I sign in my work a/c, and I can't get my home songs to show up on the  work computer even though I sign in my home a/c. V. frustrating!

    Hi,
    You will have to manually copy your music. Get a pen-drive big enough to accommodate all your music. And follow these steps:
    1. Create a new folder on the pen-drive.
    2. Copy the music from your work computer to the folder you just created. It's in (yourhomefolder)>Music>iTunes>iTunes Media>Music if you're using a Mac, or in C:\Users\(yourusername)\Music\iTunes\iTunes Media\Music if you're using Windows.
    3. Now on your home computer quit iTunes, and copy your music from work to the "Automatically Add to iTunes" folder in (yourhomefolder)>Music>iTunes>iTunes Media.
    4. Start iTunes. It will automatically start to process the files and move them to the appropriate place.
    Repeat these steps with your music from home on your work computer. Also I suggest to use only one iTunes account if possible.
    Hope it helps
    Regards,
    Gábor

  • How can we get ADFSecurity work when used in OC4J, OID and OAM?

    I am getting error in http server log "mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context."
    But I am not using Oracle SSO and my client doesn't want to use it either, I am using OAM SSO(CoreIDSSO) in my configuration. Please read the details below.
    I am using ADFSecurity in an app that is protected by OAM. To migrate ADFSecurity permissions from
    system-jazn-data.xml to OID, I used JAZNMigrationTool to populate OID with Grantees and Permissions. OAM gives login page, and authentication works fine.
    But ADFSecurity is not working. ADFComponent Delete button is enabled even for roles that dont have permissions for the iterator delete.
    - The app works fine when I use without OAM. ADF Security permissions work fine.
    - The app works fine when used with OAM, but with ADFSecurity disabled (enforce=false).
    - When I enforce ADFSecurity alongwith OAM, ADFSecurity is not working.
    In the doc "Oracle Containers for J2EE Security Guide b28957", there is a mention of use of CoreIDPrincipal for permissions. Our OID Permissions entries show
    LDAPRealmRole for attribute orcljaznprincipal. I am not sure if this could be the reason.
    We have configured AccessServerSDK for the SOA instance and have policy for the urls in the policy manager. We have entries in orion-application.xml, orion-web.xml and system-jazn-data.xml as per the documentations.
    How can we get ADFSecurity work when used with OID and OAM?

    Have you been able to successfully integrate OAS with OAM & OID? We have similar requriement and so far we have not been able to get it working.
    We have application specific roles which we map to OID roles using orion-application.xml.
    Any pointers to achieve this would be greatly appreciated.
    thanks,
    Dipal

  • Hello, I use MAC AIR OSX 10.6.8 and have Adobe CS2, that I was using 2 years ago on my older computer. I stopped using it because it would close down in the middle of work. Now I would like to reinstall it on the MacAir but I can not get it working. It te

    Hello, I use MAC AIR OSX 10.6.8 and have Adobe CS2, that I was using 2 years ago on my older computer. I stopped using it because it would close down in the middle of work. Now I would like to reinstall it on the MacAir but I can not get it working. It tells Adobe doesnT support my System. But I can not update my old version or activate it. What can I do?

    The mac you want to install photoshop cs2 on is running mac os x 10.6.8 Snow Leopard?
    (photoshop cs2 won't run on intel macs with mac os x newer than snow leopard)
    Did you ever have cs2 installed on this particular computer before?
    If the problem is that you already installed cs2, but it won't activate, that's because adobe took the activation servers offline for some older adobe products such as cs2.
    You'll need to use the non activation version of cs2 from here and the supplied serial number:
    Activation server shut down for Creative Suite 2, Acrobat 7, and Macromedia products

  • Can't get Mail working properly

    I just got my new MacPro this week, and it's really great except for I can't get Mail working right. I've set up my accounts and a few emails come through, though not many, and because it's been a week since I've been online, there should be many more than that. Also, I can't send any emails at all, no matter what I do. They will eventually go into my Sent box, but I've been sending them to myself to see if it's working, and they never come through. I spent an hour on the phone yesterday with the tech support for my ISP, and they told me that I'd have to talk to the Apple techs because they didn't have current info for *Mail 3.1*, the version I have, that the latest they had was for 2.something. So I called the Apple tech support and spent 2 hours on the phone with them, and they weren't able to help me get it going correctly either. It keeps giving me error messages such as Connection Failed, or Unable to Receive Mail, saying "there may be a problem with the mail server or network" and that "the connection to the server on ... port has timed out." I'm on DSL and am always online, so I know it's not the internet connection that's the problem. Can anybody give me some advice on what I should try? Any help will be gratefully appreciated!

    Is your ISP Verizon, Demon, or Glocalnet, then it might be Apples biggest Leopard Bug in conjunction with these ISP:s POP-servers.
    The one that randomly changes the settings in "advanced" from "password" to "APOP".
    The visual result of this bug is that you will get a popup-box where Mail asks you to enter your password. (Which is useless entering, since the preference settings are changed.)
    My advice counts only when you are supposed to use "password" as the correct setting in "Advanced" and in conjunction with some ISP:s.
    Michael

  • Can't get my work email to load on my new phone

    I can't get my work email onto my Droid X.   Anyone know the trick? 

    Carl3 wrote:
    I can't get my work email onto my Droid X.   Anyone know the trick? 
    First quesiton I have is do you have authorization to access your work email from your Droid X? Just knowing the email address and password is enough for you to get your personal email, but your employer must approve remote access.
    If it's okay with your employer, you may also need to know the incoming and outgoing email server addresses, the port number, and your username on your employer's email server. If you're not sure what they are, check with your IT admin AFTER you get confirmation that it's okay to get your email.

  • Australia Post Shipping - Can't get to work

    Hi,
    I have read all the online support docs I can find and I just can't get Australia Post Shipping to work on our site for international orders.
    Everywhere it says:
    Choose your shipping provider
    Enter your account details
    Your customers see real time shipping costs!
    But Australia Post selection doesn't let us enter account details - does anyone know where I enter them?
    (see image at bottom)
    And after I allocated sizing, weights etc to every product it doesn't even look like it even works:
    (see how there are no options to select)
    Does anyone have any ideas on how to get it to actually work? I can't imagine BC would role something like this out if it didn't even work but from all my googling I can't see that anyone actually uses it (or at least comments on using it!)
    Would love any help

    I've try but can't get it working ether, i've download from Aur but when i'm trying to use the PKGBUILD with makepkg
    it telling me
    ==> ERROR: Cannot find the fakeroot binary required for building as non-root user.
    ==> ERROR: Cannot find the strip binary required for object file stripping.
    Last edited by jolejo07 (2013-07-05 01:45:21)

  • Flex 4 - Can not get ADG working

    Hello,
    I have just downloaded flex 4 SDK (flex_sdk_4.0.0.14159_mpl) and Flash Builder 4.
    I have created a test prroject and can not get it working with Advanced Data Grids.
    Here is my set up:  Created Project called Test, this contains one MXML file that contains an Advanced Data Grid:
    <fx:Script>
            <![CDATA[
                import mx.collections.HierarchicalData;
                [Bindable] private var _test:HierarchicalData;
            ]]>
    </fx:Script>
    <mx:AdvancedDataGrid id="test" dataProvider="{_test}">
       <mx:columns>
           <mx:AdvancedDataGridColumn headerText="COL_A" />               
           <mx:AdvancedDataGridColumn headerText="COL_B" />               
           <mx:AdvancedDataGridColumn headerText="COL_C" />               
        </mx:columns>
    </mx:AdvancedDataGrid>
    This works Okay.  I then include a libary into the project, the libary, also built with the same SDK, contains a class that contains nothing but one single method that does nothing:
    <mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
               width="100%" height="100%">
        <fx:Script>
            <![CDATA[
                import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
                private function test(col:AdvancedDataGridColumn):void { }
            ]]>
        </fx:Script>
    </mx:Canvas>
    Launcing now causes the error
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
        at mx.controls::AdvancedDataGridBaseEx/getSeparator()[E:\dev\4.0.0\frameworks\projects\datav isualization\src\mx\controls\AdvancedDataGridBaseEx.as:4618]
        at mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()[E:\dev\4.0.0\frameworks\proj ects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4660]
        at mx.controls::AdvancedDataGrid/createHeaderSeparators()[E:\dev\4.0.0\frameworks\projects\d atavisualization\src\mx\controls\AdvancedDataGrid.as:2428]
        at mx.controls::AdvancedDataGridBaseEx/drawSeparators()[E:\dev\4.0.0\frameworks\projects\dat avisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4574]
        at mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\ datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:2119]
        at mx.controls::AdvancedDataGrid/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\datavi sualization\src\mx\controls\AdvancedDataGrid.as:2899]
        at mx.controls.listClasses::AdvancedListBase/validateDisplayList()[E:\dev\4.0.0\frameworks\p rojects\datavisualization\src\mx\controls\listClasses\AdvancedListBase.as:3468]
        at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:663]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:718]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
    Removing the method in the libary project alivates the problem.  But I can not see why this is a problem in the first place!!??!?!?!?!?!?!?
    Can anyone help. this is really weird.

    I'm getting the same error. This is due to a bug in AdvancedDataGridBaseEx.  The offending code is:
                var headerSeparatorClass:Class =
                    getStyle("headerSeparatorSkin");
                sepSkin = new headerSeparatorClass();
    if getStyle returns null then you will be trying to instantiate  headerSeparatorClass is going to cause the "Instantiation attempted on a non-constructor" error.
    Apparently someone thought that the headerSeparatorSkin would never be null.

  • Can't get wifi working on X201 after installing Win 7 64 bit

    I've just purchased an X201 type 3294 with a 320gb HDD running Windows 7 64bit. Wifi works fine when running from the original HDD. I've pulled the HDD and replaced it with an SSD and installed windows 7 64 bit so I can use the 4gb RAM which came with the computer. I did a fresh install then started trying to install drivers. I started with Wifi first so I could download the rest of the drivers directly to the computer. I can't get wifi working after installing Windows 7 64bitfor some reason. I have the original HDD in an external enclosure so I can still access it.
    I can't figure out what drivers I need, or even what adapter I have on the computer.Lenovo's part look up tells me the adapter is part number 60Y3231, but that information seems to be useless. I've tried most of the drivers on Lenovo's driver page. I've tried just copying the C:/Drivers folder from the original HDD, and just about anything else I can thinkof. 
    Anyone know how I can get the right driver, or if this is even a driver problem? For what it's worth I'm not afraid of having to learn some terminal if I have to but I'm totally unfamiliar with Win 7. I have much more experience with XP, Vista and OSX/some Ubuntu.
    Solved!
    Go to Solution.

    Hello and welcome,
    If you have a wired connection you could try installing ThinkVantage System Update.  Run it and it should find all the appropriate drivers and install them for you.
    That FRU seems to be an Intel Centrino Advanced-N 6200. It's hard to tell from the drivers page which one to use.  Most of the README files include 6200.  My best guess:  http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/g1w218ww_s64.exe
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • My printer is on line i just can not get it working on my laptop

    my printer is on line i just can not get it working on my laptop

    Hi @murphyett , 
    Thank you for visiting the HP Support Forums and Welcome. I have read about your HP Printer and not working Wirelessly. Here is a link to the HP Print and Scan Doctor. The HP Print and Scan Doctor will run a check on your system.
    What is the model of printer? I would be happy to assist if needed as there are many models of HP Printers I would need the model number. How Do I Find My Model Number or Product Number?
    Please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Please let me know.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Activatable RMI - can not get to work

    Hi
    I am desperate to get activatable RMI to work. I tried the Sun tutorial example and even that I can not get to work.
    I would really appreciate it if someone can highlight where my stupidity lies.
    Here are my sources:
    Remote Interface:
    package compute;
    public interface Compute extends java.rmi.Remote
    void executeTask() throws java.rmi.RemoteException;
    Client code:
    package client;
    import compute.*;
    import java.rmi.*;
    public class Client
    public static void main(String[] args)
    if (System.getSecurityManager()==null)
    System.setSecurityManager(new RMISecurityManager());
    try
    Compute comp=(Compute) Naming.lookup("//"+args[0]+"/ComputeIT");
    comp.executeTask();
    System.out.println("returned");
    catch (Exception e)
    System.out.println("Exception caught!");
    System.out.println(e.getMessage());
    Server Implementation:
    package actengine;
    import compute.*;
    import java.rmi.*;
    import java.rmi.activation.*;
    public class ActServerImp extends Activatable implements Compute
    public ActServerImp(ActivationID id,
    MarshalledObject mobj) throws RemoteException
    super(id,0);
    public void executeTask() throws RemoteException
    return;
    Server Setup program:
    package actengine;
    import compute.*;
    import java.rmi.*;
    import java.rmi.activation.*;
    import java.util.Properties;
    public class ActServerSetup
    public static void main(String args[])
    try
    System.setSecurityManager(new RMISecurityManager());
    Properties props=new Properties();
    props.setProperty("java.security.policy",
    "/u/pretora/java/rmi/actsrv/security.policy");
    ActivationGroupDesc.CommandEnvironment ace = null;
    ActivationGroupDesc agd=new ActivationGroupDesc(props,ace);
    ActivationGroupID agi=ActivationGroup.getSystem().registerGroup(agd);
    // ActivationGroup.createGroup(agi,agd,0);
    String location="file:/u/pretora/java/rmi/actsrv/";
    MarshalledObject data=null;
    ActivationDesc ae=
    new ActivationDesc(agi,"actengine.ActServerImp",location,data);
    Compute cri=(Compute)Activatable.register(ae);
    System.out.println("Remote reference obtained");
    Naming.rebind("ComputeIT",cri);
    System.out.println("Remote reference bound to registry");
    // System.exit(0);
    catch (Exception e)
    System.out.println("ActServerSetup caught "+e);
    e.printStackTrace(System.out);
    If I run the lot (rmiregistry and rmid (with security pol!)) I get the following exception on the server side:
    java.io.StreamCorruptedException: InputStream does not contain a serialized obje
    .at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:855)
    .at java.io.ObjectInputStream.<init>(ObjectInputStream.java:174)
    .at sun.rmi.server.MarshalInputStream.<init>(MarshalInputStream.java:102)
    .at sun.rmi.server.ActivationGroupInit.main(ActivationGroupInit.java:52)
    the client side just times out:
    failed to activate object; nested exception is:
    java.rmi.activation.ActivationException: timeout creating child process
    It does work if I uncomment the 2 commented lines in the server setup progam and let rmid use the setup program's JVM to instantiate the ActServerImp.
    Any ideas much appreciated. Thanks

    I finally found my problem. By changing the codebase string in ActServerSetup.java from file:/// to http:// URL, I was able to see in Apache HTTP server's log the 404 errors for my interface classes. The line that read
    String location="file:/u/pretora/java/rmi/actsrv/";
    had to be changed to
    String location="file:///u/pretora/java/rmi/actsrv/ file:///u/pretora/java/rmi/common/";
    Now I am all set.
    thanks

  • Can't get DRI working on new ATI driver

    Using the new ATI fglrx driver I'm experiencing the same corruption/watermark issues many people reported, and I read that enabling AIGLX fixes that.  Sure enough it did, but AIGLX shouldn't work without DRI.
    I've got the DRI module loaded, and the DRI section in my xorg.conf, but direct rendering isn't working so thusly I can't get compiz working.
    If I attempt glxinfo it tells me I have no protocol selected.
    Here is my /var/log/Xorg.0.log
    http://pastebin.com/m54192795
    I'm not sure what the problem is.  Thanks!

    enderandrew wrote:
    I can't turn on XGL, nor can I turn on AIGLX.
    I'm using KDE and Kwin.
    If I attempt glxinfo and glxgears to test that direct rendering is working, I get:
    "No protocol specified
    Error: unable to open display :0"
    I was earlier using this driver and AIGLX sucessfully with Sabayon and with Kubuntu.  We've been trying different distros for my wife's laptop, though at the moment we're pretty happy with Arch.  Note, I couldn't get the new ATI flgrx driver really to work at all with openSUSE on this laptop.  We'd consider using the open source radeon driver, but we have a Radeon Mobility 300 card in the laptop, and we couldn't get DRI to work on that radeon drivers, it says this particular chipset isn't supported.
    Compiz fails saying there is no display.  I'm at work, but when I get home in a few hours I can paste specific compiz errors, and the xorg.conf but Compiz isn't going to work until I can enable either AIGLX or XGL, and neither are going to work until direct rendering is working, which I suspect it isn't, since I can't run glxinfo.
    If you try to run glxinfo as root that is the error message you get but if you run as  user it works fine. At least on my box.

Maybe you are looking for