Window component drag issue
Hi all,
I've got a problem with a Flash application I'm developing.
I'm creating an application with multiple nested screens, each of
these screens is a Window component. The problem that I'm having is
that if I move a Window by dragging it then set its "_visible"
property to false then set it back to true, any other components
inside it appear empty (for example text areas lose the text
within, data grids lose the data within etc), sometimes you'll also
get two copies of the Window!
It's really easy to recreate!
If anyone knows any way around this, I'd greatly appreciate
it...
Thanks,
Lee.
Bump :-)
Anyone?
Thanks in advance!
Lee.
Similar Messages
-
Don't know how to close UI-Window Component
I don't know how to write a close function for UI windows
component.
This is what i did.
1) Dragged windows UI component to the library.
2) Dragged button from UI to stage
3) Gave instance name to the button as my_button
4) For frame 1, i added this actionscriptthat will create the pop up.. you will need another button if
you want to close it and make a call to the window.deletePopUp()
method -
Hi, I'v inserted a Window Component to my movie and got it
all to work perfectly. Now the problem I am having is that I want
to insert another windows component but it will not let me change
the Linkage Identifier...I can't even see the properties of the
component. Every time I dbl-click on it, it says; "Create an
instance of this SWF symbol and edit its properties using the
Parameters panel...".
Can anyne help me? What I want is to have different window
components in my movie that each get executed by the click of
corresponding button.
Thank youYou are seeing that alert when you double click on the
component in the Library. That is your "master" component. To set
or change the properties of a component instance by selecting the
instance on the stage and then opening the Parameters tab of the
Properties window.
If you want a second Window component in your movie, just
drag a new instance of the component from the Library window, give
it an instance name and set unique property values for that new
instance. -
I have created a flash window component that pops up, every
thing works ( it moves, it displays the content and closes) but it
disables everything else. is there anyway i can enable the entire
movie aswell as the window?
JakBTW, this also happened with the List component, and in
v10.1.0 aswell.
If you're interested in more about this bug, bowl on over to
http://www.experts-exchange.com/Web_Development/Software/Macromedia_Director_Video_Softwa/ Q_23580077.html#a22076034
As for a solution...
Turns out that the factor that makes this happen is if
backgroundAnimation is off.
Turn it on, and the issue disappears.
I did this in the projectorName.ini file, with the line:
[Settings]
BackgroundAnimation=1
or, if you're creating a projector, and not using a .ini
file, by checking Background Animation in the publishing settings
dialog. -
Hpqdirec.exe has stopped working; "This program requires a missing Windows component"
Anytime I try to access the HP solution center I get a message pop-up. It is from Windows & says: "This program requires a missing Windows component. " "This program requires flash.ocx, which is no longer included in this version of Windows." How do i fix this????
Dear Customer,
Welcome and Thank you for posting your query on HP Support Forum
It looks like you are facing issues with regards to one of the Windows component which is missing
We will surely assist you with this issue
Please click on the below shown link to find the steps involved in resolving the issue
http://tinyurl.com/khb65xv
You can Check your warranty Here to verify the status if required
Hope this helps, for any further queries reply to the post and feel free to join us again
**Click the KUDOS star on left to say Thanks**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
Thank You,
K N R K
Although I am an HP employee, I am speaking for myself and not for HP -
Alert on top of Window component
Hello my dear friends:
I Ihav a Window COmponent which I programmatically created on
stage.
When I hit the close button I manage to close the Window
component
But I actually need to caLL an Alert box to let the user
choose if he
wishes to close the Window.
I manage to call the Alert box but it appears behind the
Window .
Obviously I need it in front. Any help?
This is my code:
stop();
import mx.managers.PopUpManager;
import mx.containers.Window;
import mx.controls.Alert;
var mi_manejador = function (evta) {
if (evta.detail == Alert.OK) {
trace("La acción se ejecutó");
} else {
trace("La acción se canceló");
Alert.okLabel = "Si";
Alert.cancelLabel = "No";
var miAlerta = Alert.show("¿Deseas abandonar la
prueba?", "Alert",
Alert.OK | Alert.CANCEL, null,
mi_manejador, null, Alert.OK);
var ventanaa:MovieClip = PopUpManager.createPopUp(this,
Window, true,
{contentPath:"preguntas",closeButton:true, title:"Prueba
Corta 1"});
ventanaa.setSize(550,350);
ventanaa._x = 25;
ventanaa._y = 25;
var winListener:Object = new Object();
winListener.click = function() {
miAlerta();
ventanaa.addEventListener("click", winListener);
THANKS!!Notably, that you have a inner class referencing
image variables defined in the class it's nested in.Inner classes can access all members of the declaring class,
even private members. In fact, the inner class itself is said to be
a member of the class; therefore, following the rules of
object-oriented engineering, it should have access to all
members of the class.
The inner class does nothing to set it's own size,
, since as far as that JLabel instance knows, it
contains nothing.
But this is not corrected, it's
only relying on the BorderLayout to fill the frame
with the label.
While your sample works fine as is, it's not very
portable. As the OP posted after, he attempted to
use your code adding a JPanel in between the content
pane and the label, and it wouldn't work because of
the layout issues. To solve that, one might tend
towards defining a null layout and setting the bounds
explicitly, or one might add a setMinimumSize or
setPreferredSize call to get a size.
But that's adding more code to fix a problem that has
a much simpler solution. Which is to just give the
label the image directly, let the label size itself
automatically based on that image, let the label draw
the image itself and only override paint to get the
custom drawing done on top.
Myself, I understand what you were saying in your
code. But clearly the OP did not, and I suspect was
heading to starting patching what wasn't working by
applying more code when one could more cleanly use
less code and take advantage of what JLabel will
already do for you.Agreed. But this problem can also be easily solved with "setPreferredSize(new Dimension(200,200));" in the constructor of "Picture". -
Problem loading window component more than once
I have a swf with a button that opens a window component
(from my library). it loads fine and also closes fine when I click
the close button in the window. but when I try to open the window
again, it actually loads again, but it stalls and locks up
immediatley. can anybody tell me what is wrong with my code? I also
was going to have different buttons to open different windows (each
swf playing a song and has written lyrics). it does the same thing
when i load the first window, close it, then try to open a second
window. it stalls and locks up.
please, I really need some help!Ok it sort of works... here is my code:
on (release) {
trace("button works");
win.title = "Yellow Birthday Package";
win.closeButton = true;
win.contentPath = "yellowPack";
win.setSize(550,500);
var listener:Object = new Object();
listener.click = function(){
win._visible = false;
win.addEventListener("click",listener);
It order to make it work, the window component has to be on the stage but i want it to popup only when the user clicks on the button. So the window should be hidden/invisible when the page first loads. I tried changing win._visible = true; but that did nothing.
The other problem is that the movie clip inside the window, isnt aligning center. i can only see a corner of the movie clip. in the top left. I havent tested the whole thing live though! -
Pixma ip6000d windows 7 driver issue. How do you get one?
Has anyone solved the windows 7 driver issue? The canon website does not have one yet is reported windows 7 capatable.
Hello ricksterofmi,
The PIXMA iP6000D Drivers are included with the Windows 7 Operating System through Windows Update. Please connect the PIXMA iP6000D to your computer and automatically install the drivers. Once this has been done, visit our website by selecting this LINK to download and install the Add On Module for full compatibility.
I hope this helps.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well. -
Loading Window Component with Button!
Hello! I found two tutorials that both contain pieces of what i am looking for but i cant seem to figure them out and get exactly what i want. Here is the first one:
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveD ocs_Parts&file=00004289.html
In the first one, the general idea is what i am looking for. Except that i want to load a movieclip and not an image. My problem in this one is the button component that is used. I have no clue how to skin or customize the button, and i cant find a good tutorial to help me so i figured it might be easier to just change the actionscript for this. I want to be able to create my own button (instance button) and use that so that when people release that button, the movie clip pops up!
Now in this second tutorial that i found:
http://www.getw3help.com/2008/07/window-component.html
Its pretty much exactly what i want and it loads a movieclip. Problem is, when i add the code to a button, it doesnt work!
Can anyone help me? Hope i am clear in my explanation!
Thanks!Ok it sort of works... here is my code:
on (release) {
trace("button works");
win.title = "Yellow Birthday Package";
win.closeButton = true;
win.contentPath = "yellowPack";
win.setSize(550,500);
var listener:Object = new Object();
listener.click = function(){
win._visible = false;
win.addEventListener("click",listener);
It order to make it work, the window component has to be on the stage but i want it to popup only when the user clicks on the button. So the window should be hidden/invisible when the page first loads. I tried changing win._visible = true; but that did nothing.
The other problem is that the movie clip inside the window, isnt aligning center. i can only see a corner of the movie clip. in the top left. I havent tested the whole thing live though! -
JCA Binding Component connection issue in the Oracle Order Demo Application
Hi,
I setup the Oracle Fusion Middleware. I also deployed the Oracle Fusion Order Demo Application in the soa_server. I placed the order in the store front web.I initiated the webservice (OrderBookingService) and found the below error in the soa_server_diagnostic log file.
=====================================================================================================================================
Caused by: BINDING.JCA-12563
Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: JCA Binding Component connection issue.
JCA Binding Component is unable to create an outbound JCA (CCI) connection.
OrderBookingComposite:USPSShipment [ Write_ptt::Write(body) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510
JCA Resource Adapter location error.
Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>
The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/file/FODFileAdapter'.
The reason for this is most likely that either
1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or
2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/file/FODFileAdapter. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR).
Please correct this and then restart the Application Server
The invoked JCA adapter raised a resource exception.
=====================================================================================================================================Thanks Guys.
I resolved the issue.
The issue is that FileAdapter for FulFillment mediator is missing.
Solution 1:
File adapter connection factory needs to be created via the weblogic console
The details below:
JNDI Name: eis/file/FODFileAdapter
controlDir java.lang.String /tmp/control
inboundDataSource java.lang.String jdbc/SOADataSource
outboundDataSource java.lang.String jdbc/SOADataSource
outboundDataSourceLocal java.lang.String jdbc/SOALocalTxDataSource
outboundLockTypeForWritejava.lang.String oracle
Solution 2:
seedFodFileAdapterResources target in $FOD_HOME/bin/common-sca-tools.xml needs to be executed to create the file adaptor.
Thanks.
Ilayaraja -
Window component / external swf - plz help :( !!
Hi,
any clues here would be appreciated, its kept me up lately.
My flash app consists of a main swf, a button on the stage
which when clicked creates a Popup and loads an external swf like
so
myWindow = mx.managers.PopUpManager.createPopup(_root,
mx.containers.Window, true, (title:"My Title",
contentPath:"Status.swf"});
so far so good...
After I create the window and load the external swf I use
LocalConnection to pass values between the swfs eg.
sendingLC = new LocalConnection();
sendingLC.send("lc_name", "myMethod", txtUniqueID);
now i can pass values between swfs fine if I run the swfs in
separate players (or debugging both swfs in flash mx), but I cannot
pass in a value to a swf that is loaded in a window component into
the main swf
Would be really grateful if someone could post a sample fla
of the Window component loading external swfs and passing values
between the swfs or some ideas about how to achieve the same thing.
Thanks
MikeSkip the hub and use one of the rear ports on the computer.
-
Steps to create a custom Window component?
What steps do I need to take to create a custom Window component? My approach now results in the component being uneditable in design view. What I do is simply select "New > MXML component", base it on spark.components.Window and supply a filename. I tried with a Panel component and that works fine.
Hi,
Step by Step creation of SAP Payroll Funcitons:
1) Follow the menu path
Human Resources>>Time Management>>Administration>>Tools>>Funtions/Operations
or transaction PE04. Enter a four digit name for e.g ZIABC, and press the create
button, enter the description. On creation the system proposes the name of
the routine use it, or enter a name of your choice by selecting the option 'Self-defined'.
2) During the execution of payroll some tables are filled with wage types and there amounts
to make these tables available to your routine enter the name of the table for e.g (RT or
CRT) in the input parameters, and to make the changes done to the data in the tables
avaiable to the payroll enter the name of the table in the Output parameters as well.
Input Parameters
Ctry Num Object Name
99 1 RT
99 2 CRT
and same shall be done in the Output Paramters if required.
3) Create an include in the program PCBURZ990 (using Transaction:
SE38), in which create a subroutine with the name supplied by SAP or the
name selected by you during Funtion creation,
in our case, it is FUZIABC.
Note: The program PCBURZ990 is in SAP Namespace, so an Access Key
will be required before you can proceed. But it will not be overwritten during any upgrade.
*Example of the subroutine
FORM FUZIABC.
*enter the code
ENDFORM.
4) After this activate the program the Funtion and add it in the schema used for payroll processing.
Reward points if helpful.
Regards,
Manoj. -
How To Use a Custom Close Button In Window Component
Hello,
I have a window component, with the default close button
turned off, and a new custom close button added to the movie clip
that is displayed inside the window component. How do I get a click
on the close button to close the window?
This is the code I currently have to create the window (and
the listeners to close the window using the default close button):basicalyyou have to use
myWindow.deletePopUp();
if my memory serves the content mc is loaded into a mc called
contentHolder, inside the window component, so
if you are referencing the window from the scope of your
loaded mc it will be
this._parent._parent.deletePopUp();
or if from the button's scope
this._parent._parent._parent.deletePopUp();
try traceing the parantage down til you hit the window. -
I just bought a 2013 late model Mac Book Pro Retina and am wondering if it is worth installing windows through boot camp.
If I install the windows component in order to run an exe file and its component "Declans Korean Flash Cards"... will it make my mac suseptible to viruses overall due to having a windows component? also will it make my mac slower as wellIf you are only going to use one or two window only programs then I wouldn't waste the space. Try WinonX it allows you to install exe. Files on Mac without installing windows.
-
How to center mx:window Component in adobe air
Hello Friends
i am making a simple application in adobe air 2.0 .In this application i made a seprate window on some button click.but every time it open with random positoning i just want to center that window component.if any body having any idea then please guide me.
Thanks and regards
Vineet OshoThis depends on the type of server from which you are downloading the files. For example, if you are downloading the files from an HTTP server, and the server provides "Last-Modified" values in the HTTP response headers, you could use the following ActionScript code to determine those values:
var urlReq:URLRequest = new URLRequest("http://www.example.com/");
var urlStream:URLStream = new URLStream();
urlStream.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, statusListener);
urlStream.load(urlReq);
private function statusListener(event:HTTPStatusEvent):void
for each(var header:URLRequestHeader in event.responseHeaders)
if(header.name == "Last-Modified")
trace(header.value);
Maybe you are looking for
-
EPSXe from AUR not running on x86_64
I got the AUR of epsxe and epsxe-launcher and made/installed them but they did not download all of my dependencies. That is they require some 32 bit libraries. I get an ELFCLASS error about the libgtk. I can't find a lib32 version of libgtk, has some
-
Hi, I need to generate Pdf Report using OAF.. I dont know how to generate Pdf reports.. Can anyone help me to do it using OAF.. Please tell me what steps i need to use and any jar files required for doing it... Thanks, Babu
-
4 audio channel from FCP to miniDV
Hi There I have to print a tape from FCP with 4 audio channel but don't know how to do it. Does anyone know? Thank you.
-
OSX 10.7.4 login items resetting
My macbook pro occasionally resets its login items, about once every month. Its getting more and more iritating so I'm hoping someone can suggest something. I'm running OSX 10.7.4. Thanks,
-
Sort order changes when copying found items
When I search for items in a library, they show up in the "show search results" window in the right order. But when I copy them to Pages, the sort order is changed. Any idea how to get them to copy in the correct order?