Components problem

Hi.
I have problem. When I import the file using simple code, the components not working.
This is how I import swf file to my project:
function otworz_napisz(event:MouseEvent):void {
var myLoader:Loader = new Loader();
var urlRequest:URLRequest= new URLRequest("form.swf");
trace("ok");
myLoader.x = 106.3;
myLoader.y = 84.9;
addChild(myLoader);
myLoader.load(urlRequest);
and result is when you click the last button "@" at the project: http://www.krzyskania.nazwa.pl/autoskup2/.
Please help me.

The file that is linked is good. You can see this hear: krzyskania.nazwa.pl/autoskup2/form/form.swf.
File with the link has following code:
package AS{
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class Autoskup extends MovieClip {
public function Autoskup():void {
//dodaje chmurki:
// 1)
samochod.addEventListener(MouseEvent.MOUSE_OVER,wyswietl_chmurke);
function wyswietl_chmurke(event:MouseEvent):void {
var chmurka_o_nas:Onas=new Onas;
chmurka_o_nas.x=-1;
chmurka_o_nas.y=245;
addChildAt(chmurka_o_nas, 1);
samochod.addEventListener(MouseEvent.MOUSE_OUT,usun_chmurke_onas);
function usun_chmurke_onas(event:Event):void {
chmurka_o_nas.visible = false;
// 2)
klucze.addEventListener(MouseEvent.MOUSE_OVER,wyswietl_chmurke_oferta);
function wyswietl_chmurke_oferta(event:MouseEvent):void {
var chmurka_oferta:Oferta=new Oferta;
chmurka_oferta.x=-1;
chmurka_oferta.y=328;
addChildAt(chmurka_oferta, 1);
klucze.addEventListener(MouseEvent.MOUSE_OUT,usun_chmurke_oferta);
function usun_chmurke_oferta(event:Event):void {
chmurka_oferta.visible = false;
// 3)
telefon.addEventListener(MouseEvent.MOUSE_OVER,wyswietl_chmurke_kontakt);
function wyswietl_chmurke_kontakt(event:MouseEvent):void {
var chmurka_kontakt:Kontakt=new Kontakt;
chmurka_kontakt.x=-2;
chmurka_kontakt.y=410;
addChildAt(chmurka_kontakt, 1);
telefon.addEventListener(MouseEvent.MOUSE_OUT,usun_chmurke_kontakt);
function usun_chmurke_kontakt(event:Event):void {
chmurka_kontakt.visible = false;
//4
napisz.addEventListener(MouseEvent.MOUSE_OVER,wyswietl_chmurke_napisz);
function wyswietl_chmurke_napisz(event:MouseEvent):void {
var chmurka_napisz:Napisz=new Napisz;
chmurka_napisz.x=-2;
chmurka_napisz.y=490;
addChildAt(chmurka_napisz, 1);
napisz.addEventListener(MouseEvent.MOUSE_OUT,usun_chmurke_napisz);
function usun_chmurke_napisz(event:Event):void {
chmurka_napisz.visible = false;
//włącza okna:
//obiekty nasłuchujące:
samochod.addEventListener(MouseEvent.MOUSE_DOWN,otworz_onas);
klucze.addEventListener(MouseEvent.MOUSE_DOWN,otworz_oferta);
telefon.addEventListener(MouseEvent.MOUSE_DOWN,otworz_kontakt);
napisz.addEventListener(MouseEvent.MOUSE_DOWN,otworz_napisz);
//dodanie okienka O nas:
function otworz_onas(event:MouseEvent):void {
var nas:okienko_onas = new okienko_onas();
nas.x = 96.3;
nas.y = 734.9;
addChild(nas);
//dodanie okienka Oferta:
function otworz_oferta(event:MouseEvent):void {
var oferta:okienko_oferta= new okienko_oferta();
oferta.x = 96.3;
oferta.y = 734.9;
addChild(oferta);
//dodanie okienka Kontakt:
function otworz_kontakt(event:MouseEvent):void {
var kontakt:okienko_kontakt= new okienko_kontakt();
kontakt.x = 96.3;
kontakt.y = 734.9;
addChild(kontakt);
//dodanie okienka Napisz:
function otworz_napisz(event:MouseEvent):void {
var myLoader:Loader = new Loader();
var urlRequest:URLRequest= new URLRequest("http://krzyskania.nazwa.pl/autoskup2/form/form.swf");
trace("ok");
myLoader.x = 106.3;
myLoader.y = 84.9;
myLoader.load(urlRequest);
addChild(myLoader);
myLoader.addEventListener(Event.COMPLETE, dodajdosceny);
function dodajdosceny(evt:Event):void {
trace("ok")
//linkuj do mojej strony:
WP.addEventListener(MouseEvent.MOUSE_DOWN,linkuj);
function linkuj(event:MouseEvent):void {
var url:String = "http://www.wloczykijproductions.pl";
var request:URLRequest = new URLRequest(url);
navigateToURL(request);
Is required to import the linked file class? O, and I try also copy this file to library of main project, but happens the same.
If you can, help me.

Similar Messages

  • Logical components problem when checking project

    Hello,
    I have searched in the forum for a solution, but the people who had the same kind of problem managed to solve it with means that do not work for me.
    Here is the situation :
    - We have a three tier landscape, DEV-QAS-PRD, in transport domain DOMAIN_A, with domain controller DCA
    - We have our Solution Manager system, DCB, which is part of (and domain controller of) transport domain DOMAIN_B
    - The two transport domains are linked, as specified in SolMan prerequisites for managing systems from other transport domains. This has been tested, and transports can be forwarded and imported freely from one domain to another.
    - I have created the systems, RFC destinations, and logical component for the three tier landscape in SolMan system DCB. The RFCs are all OK.
    - I have created the domain controller DCA system in SolMan DCB, with RFC destination to client 0, as defined in the prerequisite for Change Request Management.
    - Finally, I have created a project in SolMan system DCB, with this logical component.
    When I try to do a Check on this project, in the Change Request management tab, I have green lights everywhere, except for the following :
    - In "Check logical components" : No consolidation system found for DEV-040 (our development system)
    - In "Check consistency of project" : Message from function module /TMWFLOW/CHECK_PRJ_CONS: No export system for PRD-020 (our production system)
    We have checked the TMS settings and transport routes, and everything looks OK.
    Any ideas on what to check/try would be welcome.
    Thanks,
    Thomas

    Hi,
    Check the status of the DC's in the track created in CBS.
    at following location.
    http://url:port/webdynpro/dispatcher/sap.com/tc.CBS.WebUI/WebUI
    There should be no Broken DC's in the track.
    If every thing is fine here and you still have problems then check by repairing the class path of the component.
    Hope this helps you.
    Regards,
    Nagaraju Donikena
    Regards,
    Nagaraju Donikena

  • Sub components problem in custom tag

    Hi!
    Im writing custom tag that do nothing but can contains other components.
    So first I create custom tag with hendler that extends UIComponentTag and component class that extends UIComponentBase
    now tag work but i dont see sub components on the page
    Second i override encodeChildren and getFamily methods with:
    public String getFamily() {       
            return "MyCaller";
    public void encodeChildren(FacesContext context) throws IOException {
            Iterator ch=this.getChildren().iterator();
            while(ch.hasNext()){
                 UIComponent oKid = (UIComponent)ch.next();
                 if(oKid.isRendered()){
                    oKid.encodeBegin(context);
                    oKid.encodeChildren(context);
                    oKid.encodeEnd(context);
            super.encodeChildren(context);
        }But subcomponents not rendered on page.
    So are you know whats wrong

    the problem was in wrong getComponentType() that return wrong value

  • UIPickerView and didSelectRow with multiple components problem

    If I spin two components at the same time in my picker I only get one call to didSelectRow....
    More specifically, if I spin one component and move another component no call is recieved until the first component stops spinning, and so the second component move is missed.
    I use this to update displayed data so it looks badly wrong. Is this yet another bug with the SDK?

    Hi,
    I have the same problem. Actually it is not so annoying in my application as it is only cosmetic. However my application was rejected by Apple because of this issue.
    I checked what would happen in the built-in alarm app if the hour and minute picker wheels are rolled at the same time... and both value are recorded. So there must be a programmatic solution to this problem and it is definitely not a bug of the SDK.
    It would be great if someone knows how to solve this.

  • ColdFusion Builder Admin Server Components Problem

    After downloading the admin server components, extracting them into their appropriate directories, and executing the adminstart.bat file, I'm receiving the following error:
    This application has failed to start because MSVCR71.dll was not found.  Re-installing the application may fix this problem.
    I did a search for that file and found several instances throughout the coldfusion8 directory.
    I am running Coldfusion Standard                  8,0,1,195765 on Windows 2003.
    Thoughts?

    I have started it using the adminstart.bat file.
    Starting Macromedia JRun 4.0 (Build 108673), admin server
    07/14 08:52:39 warning Unable to open C:\ColdFusion8\runtime/lib/license.properties
    07/14 08:52:40 info JRun Naming Service listening on *:2910
    07/14 08:52:40 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
    07/14 08:52:40 info JRun Web Server listening on *:8000
    07/14 08:52:40 info Deploying enterprise application "JRun 4.0 Internal J2EE Components" from: file:/C:/ColdFusion8/runtime/lib/jrun-comp.ear
    07/14 08:52:40 info Deploying EJB "JRunSQLInvoker" from: file:/C:/ColdFusion8/runtime/lib/jrun-comp.ear
    Server admin ready (startup time: 3 seconds)
    Think the problem has to do with the second line...shouldn't that be "security.properties"?

  • ACS 4.1 Shared Services Components problem

    I'm not able to edit the Shared Profiles Components for CiscoWorks in ACS. Error:
    Failed to edit Ciscoworks Campus Manager.
    Reason: You have insufficient privilege to Add/Edit Ciscoworks Campus Manager.
    I logged in with admin account in ACS with all permissions. When opening the properties of my admin account, all the CiscoWorks rights are deselected. I can select all the rights, apply the changes, but the rights are not applied !

    Seems like it is a windows AD-problem. every 30 min the server gets an gpoupdate (depending on who is logged in to the server) and if i have unchecked the box "use proxyserver" (IE - Options - connections - Lan settings) this update changes everything back to default, ie checks that box back. So next step: talk to some windows-people.
    thanks anyway!
    /lina

  • AS2 strict type components problems

    Hi Flasher:
    I try to work with the macr. components using AS2 strict
    type, but allways i get a error message and the final swf
    dosen´t work. Any idea ?????
    This is the code & the error message
    Flash 8
    Mac OS 10.4.6
    Tks ;-D

    Hi Luigi!!
    And thks for your pretty class.
    But when I use the code without the _root in a G4 with Mac OS
    X 10.4.4 the swf works fine...
    Maybe there are some problems with the class import* ,
    because the movie dosen´t work with the same code
    >color_cb.addItem({data:0x000000, label:'Black'});
    on a Mac G5 with Mac OS X 10.4.6.
    Gracias por todo ;-D
    be Feraless

  • Overlapping components problem

    Hello,
    I have been developing an applet for Quickplaces. Basically it shows what is happening in the Quickplace from different kind of views. A view from a document where people can see who has been viewing it for example. Or a view from a member where one can see what documents the member wrote.
    Now I have chosen to implement a sort of circle visualisation for this. In the center is the object the view is about, a document, a member, etc. Outwards are other objects. In the case of a document view, the members that responded to it, in a circle more outward: members that viewed it. Etc. It's sort of a dartboard.
    I have written a custom layoutmanager for each view for this. A problem I have encountered is that once I tell a member or document component to let itself be placed by the layout managerr I get a fixed size component. It looks ok until you for example hover over it, wich I have keyed to a zooming in on details method. When you do that your usually overlapping other components. Why, components can be overlapped without zooming in some views. The problem is the mouselistener I have attached fires when I hover over de component size. Not the size of the actual graphical representation. My members for example are represented by a sphere. They are bounded by a rectangle component though. So if I enter my mouse anywhere near the sphere... it already zooms in, resulting in the user zooming in on a member, but actually he wanted to zoom in on a member that was close to this one, but for the code was "underneath" the component of the other member.
    It's a bit hard to explain without posting a screenshot.
    How do I fix this?

    Hi,
    I need a clarification, taking the example you
    provided:
    you have a rectangle components, that display spheres.I have a viewer class for document's member's and room's. RoomViewer, MemberViewer, etc. These paint the actual graphic. They are given a size by the custom layoutmanager i wrote like this:
            //Layout members
            int mems = members.size();
            if(mems != 0){
                double angle = 360 / mems;
                double baseAngle = 0;
                synchronized(members){
                     Iterator iter = members.iterator();
                     while(iter.hasNext()){
                         MemberViewer tempMember = (MemberViewer)iter.next();
                         Dimension d = tempMember.getSize();
                         double lastLog = tempMember.getMember().getLastLog() * 160 + Math.sqrt((Math.pow(50, (double)2) + Math.pow(50, (double)2)));
                         int xCoord = (int)((xCenter + (Math.cos(Math.toRadians(baseAngle)) * lastLog)) - (0.5 * d.getWidth()));
                         int yCoord = (int)((yCenter + (Math.sin(Math.toRadians(baseAngle)) * lastLog)) - (0.5 * d.getHeight()));
                         tempMember.setBounds(xCoord, yCoord, container_size, container_size);
                         baseAngle += angle;
            }A viewer get's it's data from the model class. MemberViewer from Member, etc.
    First you want to zoom only when the mouse is hovered
    on the sphere. Is that right ?Yes I have implemented the enters part of the mouselistener. As soon as the mouse enters the component in wich the graphical representation is drawn it zooms. with zoom I multiply the size by some and add some different graphs inside the circle, but that is not important. What is interesting is probably that the size of the component when it is not zoomed is the size for when it is zoomed in, or the zoom in would be cut off by the component boundaries.
    What about the overlapping ? could you clarify a bit
    please.
    Basically it overlaps nicely on the view. Once you interact though I get stuck. Clicking, entering and exiting is supposed to do things. But all these 3 fire when your mouse does that thing inside the component, not inside the graphical representation. So you start zooming quite a bit away from the circle of a member btw, because that distance is already part of the component, but not of the drawing.
    Who is reponsible for drawing the shapes ?The Viewers paint themselves. The Layoutmanager gives them a basic place to start their own painting and a View class controls the layoutmanager.
    And who listens to mouse motion ?The viewers themselves do. They implement mouseListener.
    in mouseMoved(MouseEvent e)
    you can get the point with e.getPoint(); where the
    mouse points to.
    This will help you to handle the event only when
    hovered on the shape,
    but it will maybe not solve the hovering over
    overlapped components.I don't quite follow that. A Shape can still not implement MouseListener.

  • JDev10.1.2: Importing business components problem

    Hi guys, I hope someone could help me here:
    I have a business components project; from it I created a business components archive (deployment profile), and this profile generates two jar files. One jar file contains the business components and the other one just contains the application modules' interfaces.
    Then I imported the business components into another model project (in another workspace) from the jar files using File / Import / Business Components and selecting the package's xml file.
    Then I have a third View project which will have bindings to the last model project. The problem is that in the Data Control Palette the application modules appear with no interface methods (just Commit and Rollback).
    What should I do to make the View project's Data Control Palette aware of the application modules' interface methods so I can bind them to Data Actions?
    Thanks very much!

    repost

  • BPA Web Client Components Problem trying to load applet

    Hello!!! I installed BPA Repository and Oracle HTTP Server and I started up my server with y-serverlauncher.sh and after that, I started up the OHS with command:
    ./opmnctl startall
    The system is running in Oracle Linux 5.7 and Oracle BPA Suite 11.1.1.1
    My problem is when I try to open BPA through an URL http://server:7784/bpa/index_app.html.
    The message I am getting is:
    Java Plug-in 10.4.1.255
    Using JRE version 1.7.0_04-b22 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Dennis Garces
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    Temporary directory: C:\Users\DENNIS~1\AppData\Local\Temp\
    Using default directory.
    Local download directory: C:\Users\Dennis Garces\ARIS71\DownloadClient/192.168.56.129
    Detecting proxy settings...
    [PROXY] host:
    [PROXY] port: -1
    [PROXY] used: false
    Warning: Help file /lib/oem02/biztalkodxgen_en_help.jar does not exist!
    Warning: Help file /lib/oem02/DevTools_en_help.jar does not exist!
    Fatal error: An error occurred while downloading required files.
    Unable to download /lib/jaxws-api.jar. File does not exist.
    Possible reasons include:
    - the URL you use to connect to the ARIS Client is not correct. Please contact your System Administrator if in doubt.
    - you do not have write access to the local download directory
    - there's no space left on your local hard disk drive.
    Trace level set to 5: all ... completed.
    Does anybody have any suggestions? I am installing as indicated in the BPA install guide, but I think I missed something.
    Thanks in advanced!!!!

    Update -
    One of the clients that IS connecting is running the latest: 1.5.0_09 which makes no sense based on the other behavior.
    Well we figured it out (I think). If you have 1.4.2_06 on the box, you can connect, it installs the applet and you get in. If you then upgrade or uninstall/reinstall 1.5, Discoverer still works. Now we haven't tested anything else other than just logging in so what ever might blow up on us is still in question.
    But what it looks to be is that the kick off for the install is failing under 1.5 and once it's on the system, using a newer version is just fine. Now without really knowing/understanding what's going on under the hood this is just an assumption. However I've repeated it on a couple XP machines so far.
    That is, have 1.5 on the box, fail to get to Discoverer. Uninstall, then install 1.4, get Discoverer loaded, then upgrade/reinstall 1.5 and move on.
    We did give JInitiator a try but had similar strangeness happen and gave up since the client machines should have a copy of 1.4 on them to begin with. It's a matter of ironing out the details with our app. Hopefully 1.5 will be compatable by the time we go live which isn't for some time yet.

  • The Customizable Components problem

    When I add a customizable components into my JSF page. Some code add in the
    "web.xml" automatic.
    <filter>
    <filter-name>mdsFilter</filter-name>
    <filter-class>oracle.mds.jsp.MDSJSPFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>mdsFilter</filter-name>
    <servlet-name>jsp2</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    And I get a warning:class oracle.mds.jsp.MDSJSPFilter not found .
    My project works fine under the Embedded Oc4j Server.But it's wrong after I delopy into the standlone OC4j.
    Help me .Please.Thanks.

    Hi..
    You have to remove these lines from your web.xml, then do a redeploy to oc4j. It will work
    These line will automatically be inserted each time u restart jdeveloper.
    read also my thread on the danger of using custom components.

  • UI Components Problems

    How can i give a UI Component such as a text field a var
    name?
    Thanks in advance.

    Flex redraws components only when it is required to redraw so it's efficient and fast. If a custom component written in AS, not MXML, does not let the container know that it needs to be redrawn, sometimes it will not draw it at all and just leave it white. When you move your mouse over the components, flex knows that stuff under the cursor needs to be redrawn when it moves away, so it redraws it. That's how I understand it anyway
    and about placing the invalidateDisplayList() call, try putting it in the tabnavigator's tabIndexChange="tabNavigator.invalidateDisplayList()" maybe it will work

  • Superkaramba "Cross components" problem

    Hi all,
    I am new and beginner for linux (ArchLinux + kde).
    I have this problem:
    SuperKaramba cannot continue to
    runthis theme. One or more of the
    requiredcomponents of the Kross
    scriptingarchitecture is not installed.
    Pleaseconsult this themes documentation
    andinstall the necessery Krosscomponents
    What I need to install?
    Help please
    Last edited by satanovsyn (2012-11-11 17:11:53)

    Probably one of these
    extra/kdebindings-kross-java 4.9.3-1 (kdebindings)
    Java language interpreters to enable in-process scripting with Kross
    extra/kdebindings-kross-python 4.9.3-1 (kdebindings)
    Python2 language interpreters to enable in-process scripting with Kross
    or maybe the kdebindings, more likely the python2 ones kdebindings-python2
    anyways, wasn't superkaramba supposed to be replaced by plasma?

  • Super slow 'merging distributed quicktime components'  problem

    I've got an 8 core mac pro, quickcluster with services, 4 instances.
    The quickcluster works GREAT. it's super fast, good CPU Utilization. awesome.
    the problem is when all the segments are done and compressor merges the bits together, it goes VERY VERY slowly, in fact it takes much much longer to re-assemble the parts of a 43gb prores file than it does to actually compress it. Activity monitor shows disk transfer speeds of 20mb/s max, and CPU utilization drops to zero. batch monitor says that is has no time remaining.. yet this process takes an hour or more. It's all going to an separate, non system internal SATA drive of course. Its sort of like compressor is saying "whew, all done with the hard work. now I'll just ease the movie segments back together while I take a nap"
    I have compressor set up to NOT copy source to cluster since the cluster is in fact my local machine.
    rendering to "this computer" only uses maybe 30% of my CPU.
    So why is this process so slow? Is there anything I can do to speed it up? for one thing, It seems like the QT segments could be rendered to another drive, and there might be a bit less thrashing that way. but this slowness really is remakably silly for such a powerful system. I mean REALLY silly.

    How long is the video you are encoding? What is the average disk activity during encoding? What version of compressor are you running?

  • Runtime components problem

    I've created a custom class in which I create an instance of
    the datagrid component.
    Unless I change "
    this.createClassObject[...]" to "
    _root.createClassObject[...]", the component fails to show
    in the test movie.
    Of course, I don't want to use _root. I've tried using
    "this._parent" to no avail. Please help. I'm using WinXP and
    Flash8Pro.
    ==============

    There is a large discussion on which way to use classes is
    the best. The end result is that which ever way makes the most
    sense for you and your program is the method you should use.
    Sorry about forgetting the (this) part, that was kind of key,
    wasn't it? :-)
    I used the double underscore because "_target" is a property
    and I like to completely distinguish my private variables from any
    built-in properties or other variables used to receive parameters
    from functions. Also, if I just used "target" as my private
    variable then given my function parameter name the code would have
    looked like:
    target = target;
    That may or may not have worked. Even if it did, it would be
    confusing to read when trying to debug.
    My practice on attaching and not attaching classes to
    movieclips depends on what the class will have to control. If I
    have a lot of elements that will be controlled with the class, I
    find it easier to place them in the movbieclip during authoring
    rather than having to generate them through code. Also, if I draw a
    lot of custom graphics then I will also attached the class to the
    movieclip because I am not that good at using the DrawAPI.
    Tim

Maybe you are looking for