Help adjusting window component
Hello,
In Mac OSX when a new folder is created and opened, there is the toolbar at the top, the part of the window which displays its contents and the part to the right that shows the volumes connected to the Mac and some other icons, what is that part called?
How can I compose an AppleScript to adjust the width of that part?
(set toolbar visible of window 1 to false is not what I want).
Thanks.
Lennox
Thanks, but it does not work with a small number like 0 everytime, only sometimes on (Mac OSX 10.4).
Apparently on 10.5 the sidebar cannot be of width 0.
Any modificatiuons?
Thanks.
lennox.
Similar Messages
-
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.
-
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! -
Why doesn't my image open up in the filter pop up adjustment windows?
I'm new to CS4, I just installed it and picked an image to try a few things with. When I open up any of the filter windows (for sharpening and others etc) my image does not open up in the adjustment window. Any idea why that is happening? Did I miss something when I installed the program? Is there a setting that should be set and isn't? I have Vista on my lap top, and XP-SP3 on my desktop, and it is the same in both. Thanks for any help you can give me.
Is the image an 8-bit RGB Jpeg?
(Check in Image > Mode.)
Are you on the right layer? -
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! -
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. -
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. -
Window Component, swf, and PHP
Hi everyone,
I have a simple mail form, which communicates with a PHP
script on the server. When I go to the swf directly it works just
fine. When I put it inside the window component it stops working. I
think it has something to do with how the data gets sent from the
window component.
Anybody have a suggestion what to do?
Thanks,
- JanThis is the AS that is used in the form. When I navigate to
the swf directly, it works like a charm. When I load the the swif
with the form into my popup window it stops working. It seems that
the actionscript goes through the motions but doesn't receive a
response from the server.
The setup is as follows: On the main timeline I have a
button, which opens the popup window, in which the
"contactform.swf" loads. The attached ActionScript is in the 1st
frame of the actions layer in contactfrom.swf
Any help is greatly appreciated.
- Jan
The swf can be viewed at
SWF
and to view the swf in the popup window goto
Click Button
at Top -
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". -
My objective:
1) load a blankMC from the library in to a custom component.
The custom component is made up of a window component.
2) from the blankMC, create a maskMC and a containerMC
3) load an external swf in to the containerMC
4) use maskMC as containerMC's mask
I have completed all of this inside Flash authoring
environment
If i run my swf as a stand alone, the masking no longer works
for certain swfs.This is the AS that is used in the form. When I navigate to
the swf directly, it works like a charm. When I load the the swif
with the form into my popup window it stops working. It seems that
the actionscript goes through the motions but doesn't receive a
response from the server.
The setup is as follows: On the main timeline I have a
button, which opens the popup window, in which the
"contactform.swf" loads. The attached ActionScript is in the 1st
frame of the actions layer in contactfrom.swf
Any help is greatly appreciated.
- Jan
The swf can be viewed at
SWF
and to view the swf in the popup window goto
Click Button
at Top -
Vanishing Video Adjustment window
My iMovie app no longer opens the control window (with brightness, contrast, exposure, color temp, etc. sliders and the histogram) when the "adjust video" button or keyboard shortcut "v" is pressed. The eye-dropper cursor does appear. It looks as if the adjustment app is running, but there is just no way to control it. Have checked to make sure the control window isn't just hidden or off the edge of the display. Can't see a preference or setting that is wrong. Reinstalling iMovie from the original iLife DVD doesn't help. Any suggestions? Thanks.
tecI'm having the exact same issue. I have an external display so I thought that maybe the adjustment windows were hidden somewhere off screen but I can't find them. I've tried hooking up and unhooking the external display but nothing works.
If anyone has a solution to this problem let me know.
Brad Ruggles -
Audio adjustment window disappeared
i have been working in imovie '08 and one day my audio adjustment window was there and the next it wasn't. Any ideas? i am a rookie and honestly don't know much about this computer, so any help would be great! thanks!
The only thing I had done right before this issue arose was this:
As this was clearly becoming large project I bought a 2TB RAID drive to dedicate to it. The entire project was on a smaller, more congested drive. I hooked up the RAID and moved the entire project over to it. I changed no file names and FCP was not running when I did it. I put the original Events/Project folders in a new folder so as not to confuse FCP when I relaunched it. FCP itself and all its ancillary files remained in place on my system drive.
When I opened FCP everything was fine and I even did some work on the project. It wasn't until I stepped away from it and then returned that I lost first the audio meters, then the scrubbing buttons and now--new revelation--many clips in the Events library claim to be missing. It's as tho this project is slowly, incrementally dissolving!
An odd twist: I just switched back to the original version of this project thru the various folder swaps necessary and the job, its cilps and the audio functions are back in place. Can't understand this. The Project/Events folders of the respective versions have identical contents. (except for that small bit of work I did right after the move)
At present, the audio functions have returned in full but the clips remain reported as missing. As a side note, another major ongoing project, the folders/files of which were not touched, remain fully functional in FCP.
I'm at a loss. -
Hi all,
I am currently working on a FAQ application, the app is
working better than I expected and I have learnt a hell of a lot
just with this simple project. To make my application look more
pleasing I used the window component, which I need to keep as the
tile of the window is taken from a global variable depending on
what the user selects from two diferent combo boxes.
I have just found out that the window component can be moved
by the user which is not what I wanted to use it for, it was purely
for the design and layout. Is there any way to stop the windows
component dragable? Your help with this would be
appreciated.I need to use the window component in flash...
"Nickels55" <[email protected]> ha scritto
nel messaggio
news:eh3do3$9o9$[email protected]..
>
http://www.flash-db.com/PopUp/
>
> You need to add windowname.focus(); to your pop-up code -
Window Component in Loaded Movie
I have a window component inside a "main" movie that is
loaded into a loader movie.
When the main movie is run on its own, the window displays
correctly. However, when the loader movie is run, the window shows
at a 5-pixel size. I'm using the alert component as well-- could
this possibly interfere with it?
What I've tried:
- adding the window component to the loader movie library
- removing the window component from the loader movie library
- adding the window component to the loader movie stage
- removing the window component from the loader movie stage
- adding the alert component to the loader movie library
- removing the alert component from the loader movie library
- adding the window and alert components to the loader movie
library
- removing the window and alert components from the loader
movie libraryComponents don't work when loaded into a parent. The only
real solution
would be to create your own combo box.
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
*Must Read*
http://www.smithmediafusion.com/blog
"maskims" <[email protected]> wrote in
message
news:eccn00$p7v$[email protected]..
>I have one main swf movie which calls (loadmovie in a
target) a child swf
> movie. The child swf contains a combobox component which
works perfectly
> fine
> when this child swf is run on its own. However when
called within the main
> swf,
> the combobox no longer reacts, showing a yellow frame
around it when it
> should
> drop as it is clicked...
>
> Does anyone know what this is due to and how I could
solve it ?
> Thanks
>
Maybe you are looking for
-
Dear Contacts Journal Support Team, Each time i have been trying what you put up for me,i always delete The Application Completely,then go to iTune Apps Store to re-download it. I know the apps store will not give me an old version,that is why i do n
-
TS3274 How come My location services aren't working, I've reset the location warnings.
How come My location services aren't working, I've reset the location warnings.
-
Itunes crashing while synching apple tv
I have removed and reinstalled apple tv a number of times to no avail. Keep getting an error message after opening itunes while apple tv tries to synch. Tried unplugging my router, unplugging my modem, resetting the apple tv but same thing keeps happ
-
Prematurely running out of disk space
Hello, I am a total Noob with OSX server (10.6.4) running on a Mac Mini. I am trying to copy a ton of files from a Win 7 64 bit machine which is logged on to the server via SMB, to a shared drive on the server. The copy will start, but after a few Mb
-
"/" in front of link in Property Inspector
Hi- I am having a problem and can't figure out how to solve it. When ever I use the "point to file" feature in the property inspector to create a link in either the Source box or the Link box, DW(MX2004) automatically places a "/" - forward slash- in