How to play and code .swf as screen saver using cocoa??
Hello,
I am facing using .swf flash file as screen saver when coding in COCOA. Any sor tof help or code snippet will help me to understand what I need to do??
Looking for experts help.
Thanks in advance
PG
pgindia wrote:
Hello,
I am facing using .swf flash file as screen saver when coding in COCOA. Any sor tof help or code snippet will help me to understand what I need to do??
Looking for experts help.
Thanks in advance
PG
Took 3 seconds to find a great article via google. Tricks, tips and project sample.
But as stated, if you're looking for someone to write it for you, outsourcing code seems all the rage.
Similar Messages
-
How can I back into the main screen without using the activator bottom?
How can I back into the main screen without using the activator bottom?
I assume you mean the HOME button. You cannot. The HOME button is the only way to exit an app.
-
Why does apple tv play my photos randomly in screen saver mode when random is not selected
why does apple tv2 play my photos randomly in screen saver mode when random is not selected?
Thanks for that.
Random is not selected in transition or anywhere else. Unless I am missing something in the settings.
So why is it playing my photos ramdomly in screen saver mode ? -
How can play 3D movies on a screen using MacBookPro and Apple TV?
If I Have a stored 3D movies on an external hard drive, how can play it using my MacBookPro?
I haven't heard of any 3D consumer level video cameras, so the content must be produced commercially, is copyrighted and most likely has been copy protected/cracked/P2Ped and now your asking us how to play it back on your Mac/AppleTV in violation of this sites rules of conduct with easily established id's and IP addresses where the stolen content can be found.
This is a open forum, the results of these posts are almost immediately indexed by Google's spiders, making it incredibly easy for the MIAA to find your post, which they then can send a supoena to Apple for your IP address, then to your ISP for your exact name and address, compare your IP to those they record P2P-ing online.
I can't say if Apple will cooperate with the MIAA or not, they do sell movie content thus the MIAA does have some leverage, Apple could ask the MIAA not to disclose their involvement in locating you, the MIAA could lie and say they saw you P2P-ing the content.
If your scared, that's good, it's a heck of a lot less expensive than a lawsuit over some stupid free movies. -
In Flex 3 how to Stop and Replay .swf animation created in Flash
Hi
I have an animation file that is created in Flash (I think
CS3). In Flex if I import it inside a SWFLoader or if I import it
as an Image. It plays once and stops. Then I can not replay it. I
also can not pause it when its playing.
I have tried few things based on help and code available in
the Web to of no help. I have tried to convert the swfLoader
instance to a movie clip like so to stop
var c:MovieClip = swfLoaderHeaddress1.content as MovieClip;
c.stop();
<mx:SWFLoader x="53" y="116" width="206" height="255.3"
visible="true"
source="assets/animations/curatorial/ZoomHeadress_2nd.swf"
id="swfLoaderHeaddress1"/>
It does not work.
I have not created the .swf animation, I am not sure how it
is done. I belive it may not be using any ActionScript as I know
the artist who created it does not know ActionScript. Does
something need to be done inside the Flash to support the stop and
play? Or is there a way to restart/replay stop a .swf animation in
Flex 3 no matter how (and whether or not its developed using
ActionScript) its developed in Flash?One way is she has to add some AS code to the animation, or
you can do it yourself.
In swf there must be something like this:
var connReciever:LocalConnection = new LocalConnection();
connReciever.client = this;
connReciever.connect("fromFlexToSWF");
function myFunction(parameter:SomeClass):void {...}
And in Flex:
var connSender:LocalConnection = new LocalConnection();
connSender.send("fromFlexToSWF", "myFunction", [..args]);
The other way: in case with just play/stop there is a way to
resolve this by using that Flex Component Kit (or maybe "Flex Skin
Design Extension", i do not remember), it is something like she
just adding labels to animation frames then she exports it with
Flex Kit and then you can work with it like with an object with
"states". -
How To Play Game On Multiple User Screens?
My son has a game called Age of Mythology that we recently installed on my iMac. He has been playing it for a few days on his own user screen. Today my other son wanted to play it on his user screen, but he got a message that said:
Cannot create log file. Must make sure that you have full file rights on the directory you installed Age of Mythology into, and that you have available disc space.
So I went back to my first son's screen name, because I knew it had been working for him. I clicked on the icon and then Get Info. At the bottom of the window that popped up there is an area that says Ownership & Permissions. I goofed around with these settings a little. I had to click on a padlock and enter my name and password as the administrator and when I got through changing some of the settings it asked if I really wanted to do this because it couldn't be undone. I clicked yes (which maybe I shouldn't have done), and now the game only plays for my first son on his user screen. It won't even play on mine and I'm the administrator!
Is there a way to get this game to play on everyone's screen names so there won't be arguments later about who is using who's screen?
One more thing: I installed the game while on my screen and I installed it in Applications.
Thanks for any help...
Sue
iMac Mac OS X (10.4.9) 20" 2.16 GHz Intel Core 2 Duo 1 GB 667 MHz DDR2 SDRAMTo do this you need to log on to the screen where you have permissions. Then navigate in Finder to the Age of Mythology app cmd+click, choose get info. scroll down to read write permissions and instead of your son's name choose system. Close the get info window and log in to another user (i.e. your other son's and open up the game to play and it should then play. This works on all types of files (text, video, audio..).
Happy Gaming,
David -
How to open a window in full screen mode using lf_fpm_navigation?
Hi Guys
For the following applications
ESS Application: HAP_START_PAGE_POWL_UI_ESS
MSS Application: HAP_START_PAGE_POWL_UI_MSS
When the user clicks on the appraisal document name, a seperate window(not full screen) is generated to display the Appraisal docuemnt.
The code is as follows:
COMP: HAP_START_PAGE_POWL_UI
Object : COMPONENTCONTROLLER
Method: FOLLOWUP_POWL
Generate the URL to be called.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'HAP_MAIN_DOCUMENT'
in_parameters = lt_parameters
IMPORTING
out_local_url = l_url.
wd_this->url = l_url.
wd_this->display_document( ).
In Method: DISPLAY_DOCUMENT
lv_alias = 'EMPLOYEE_DOCUMENT_UI_OBN'.
use FPM navigation
ls_nav_key-key1 = 'HAP'.
ls_nav_key-key2 = 'HAP_GENERIC_UI'.
lr_fpm_navigation ?= lr_fpm->get_navigation( is_key = ls_nav_key iv_instance_sharing = abap_false ).
CALL METHOD lr_fpm_navigation->get_key_from_alias
EXPORTING
iv_alias = lv_alias
RECEIVING
rv_key = lv_key.
lr_fpm_navigation->modify_parameters(
EXPORTING
id_target_key = lv_key
it_application_parameter = lt_appl_param
it_business_parameter = lt_business_param ).
lr_fpm_navigation->navigate( lv_key ).
Any idea how to open this window in full screen?
Highly appreciate your help.
Thank and Regards
PramodHi Pramod,
This FPM navigation is achieved using settings made in Launchapd Customizing ( LPD_CUST ).
a) Execute Tran LPD_CUST
b) Go to Role HAP - Double Click to open it.
c) Open the second folder on the LHS menu - there you will find 2 entries
d) Click on second entry - in the entry setting you can see that it is configured for WD Application - HAP_MAIN_DOCUMENT
e) Click on button Show Advanced Parameters
f) There you will find a input box named as Window Features - here you can specify window features like
height=700,width=1100,position=center,menu=no,status=no,location=no,menubar=no,status=no,toolbar=no
save the settings come out and test ur app again.
change the height and width and other features as per ur req.
Regards
Manas Dua -
How to read and write from the serial port using java
can anyone tel me how to capture data from a serial port and display on the screen and also store it in a database.
Java Comm API, JDBC
-
How to play the music in a HIFI system using bluetooth or WIFI
How to throw music from Sony Xperia Tablet S to another device, I have tried without success to throwthe music to Windows Media Player 11 (in a Windows Vista and in a Windows 7 computer), using DLNA/DRM, and also to Bluetooth. What I want is to listen the music in a HIFI system, without the need to be connected by a cable. Both DLNA/DRM and Bluetooth tecnologies should support this.
I have configured DLNA and I can play in the tablet music that is in the both windows computers, but the next step I am trying is to be free to play the music from the servers in the Xperia tablet using any HIFI system at home.I have found the solution: check "Allow remote control of my player" option is checked in the Streaming menu (Alt + r) of WMP..
Here is the full explanation, I am able now to throw the music from the tablet to the laptop and I will connect the laptop to the HIFI system.
DLNA in Windows 7
I used the Windows Media Player in Windows 7 for initial testing. It does not comply to all DLNA specifications for all components, but it uses the same underlying protocols. It does have a "Play To" feature, which is an implementation of the capability I need.
Windows Media Player (WMP) is easily able to see all of the Media Servers on my network. If you can get to the beginning of the breadcrumb bar near the top of the window, all servers are easily selected. The breadcrumb bar is an easy way to switch between media servers and drill down to get to the media you want to search or browse for. The Search field is the only location in WMP I can easily locate. Just press Control + 1, to switch to Library view, then Control + e, to place you in the Search edit field. Here is a list of WMP keyboard shortcuts I have compiled, Windows Media Player To DLNA Devices in Word .docx format. I have not found easy ways to get to most controls, including the Playlist, other than pressing Tab many times. The exceptions to this are few. The Search results can easily be found just by using the Down Arrow key. Particularly, useful for streaming media around the house are two control accellerators; the Streaming menu (Alt + r) at the top of the window, and the Play to drop down (Alt + t) above the Playlist. It saves a lot of Tabbing around. They only work if in a list, like the Search or Playlist. Strangely, the Alt + t accellerator everywhere else brings up the Tools menu. The Streaming menu is needed to set up permissions of the Player to share media, act as a renderer to other Windows 7 players, set Parental controls, allow / deny devices on the network, and to allow media on this server to be piped out to your computer anywhere on the Internet. To assure that your Media Library is available to others on your home network anytime the computer is turned on, make sure the "Automatically allow others to play my media" option is checked in the Streaming menu (Alt + r). To assure that other devices (Android phone, another Windows 7 / 8 computer, or XBox) can play media on this computer, make sure the "Allow remote control of my player" option is checked in the Streaming menu (Alt + r). Note that Windows Media Player must be open on this computer for other devices to be able to select and Play to this player. The Play To drop down menu lists all devices on your networkk capable of rendering, more simply said Play, the selected media. In most cases, WMP will direct all network traffic and transcode formats to the format accepted by the renderer.
The "Play to" menu above the Playlist in Windows Media Player is also available as an option in the Applications (right click) context menu in Windows Explorer. This is probably one of my most used and favorite Windows 7 features! It displays a submenu of all of the current active DLNA Renderer devices at that moment. If there are none available at this time, the "Play to" feature is not in the context menu. -
HT1349 how to put a picture as a screen saver
how to put a pict
ure you have in your computer as a screen saverThe following are the basic steps to use your pictures for the OS X screensaver. Start by placing your pictures in either the Pictures or another folder of your choosing. I am going to assume that you will place them in the OS X Pictures folder.
Control or Right-click on the OS X Desktop, and then, choose "Change Desktop Background."
Select the Screen Saver tab.
Click on the plus button.
Select Add Folder of Pictures, and then, choose the Pictures folder. -
Apple TV locked up on main menu and then goes to screen saver. Still locked
Apple TV not even 18 months old. Now out of warranty. Have reset by pulling the plug out aswell as holding the 2 buttons on the remote for 6 secs. No luck. After pulling the plug out for 30 secs and then back in, the Apple intro movie plays, then it goes to main menu. Cursor stuck on Top Movies. It won't budge and I know the remote works as I see the yellow light on the front of Apple TV working and it also works with my Macbook Pro. After the main menu appears the screen saver comes on and its still not responding to my remote.
Any suggestions please? I'll be bummed if I have to throw this out after 18 months as it cost a few $ and I don't believe Apple will fix it for free. BTW it has been working brilliantly for the last 18 months when connected to my MB Pro. Now its connected to my iMac. In iTunes where I sync everything, I have told it not to sync anything so that the Apple TV is now empty of content. Still no luck. U would think they would have put a hard reset button on the back like they have for my AE Base station/router.
Thx in advance.
AdrianThankyou all for your replies and advice.
I can confirm that the remote is still working by using it with my MB Pro. I have not changed any settings with the remote re pairing/unpairing.
In a nustshell, I took all my media from my much smaller MB Pro and put it on my much larger iMac. I then added a huge amount of music files to the iMac and in turn synced it with the Apple TV - all 160Gb of the Apple TV was then full. Then it seemed to stop working. In particular when I tried to play an MPEG4 movie that had previously played, it came up with an error message of sorts stating that the video could not be played due to an unrecognised format.
I even tried to play an iTunes documentary that I had d/loaded from the Apple store that also previously played. Same error message.
I can't try the unpairing command as the Apple TV will not respond to the remote. Its off at a repair shop so will let the forum know of what success I may have!
Once again thx for the advice guys.
KS -
How to install and configure WebLogic 10.3 to use 64-bit JDK?
Hi,
Is there a preferred/supported way to configure WebLogic to use the 64-bit JRockit that comes with JRockit Mission Control?
I can't find any official documentation about how to configure WebLogic to use a 64-bit JDK. From other forum posts I can tell we need to use the 64-bit JRockit that is bundled with JRockit Mission Control (available at [http://www.oracle.com/technology/software/products/jrockit/index.html]) but then we are kind of stuck - the configure script which let me select a JDK for a domain doesn't seem to let me re-configure an existing domain, and I can't find anything within the admin console that would let me set the JDK to use.
I was able to rename the existing jrockit_160_05 directory to e.g. jrockit_160_05_original and then rename the jrmc directory to "jrockit_160_05", effectively taking the place of the JDK being used but this seemed like a bad way to do it. I also found via Google this page: [http://java.sodeso.nl/application-servers/bea-weblogic/how-can-i-change-the-jdk-installation-that-weblogic-uses] which basically says to modify the JAVA_HOME environment variable in the start scripts, but this seems like the same thing.
With the plethora of products and the different ways they are bundled, combined with all the documentation about everything, I thought I would find something but I keep coming up blank. Does anyone have suggestions or pointers?
Thanks,
KaJunMake sure your environment configuration is supported here:
http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html
Then, you need to have the correct 64bit JDK installed. Sounds like you have done that.
Then download and run the generic platform installer as described here with your 64bit supported JDK:
http://download.oracle.com/docs/cd/E12839_01/doc.1111/e14142/start.htm#i1077535
Notice how the link you post has the generic installer for all the 64bit JVM rows, but the other installer for the 32bit JVMs on the 64bit OS? -
How to header and item data of sales order using bapi interface
hi friends,
i am geetha, i having a problem like how to upload sales oder header and item data through va01 tcode using BAPI FUNCTION MODULES.
i need bapi function modules for header adn item data and brief explation on that , how to pass importing and tables parameters to get exact output .
regards
geetha.Use : BAPI_SALESORDER_CREATEFROMDAT2
Sales order: Create Sales Order
Functionality
You can use this method to create sales orders.
You must enter at least sales order header data (via ORDER_HEADER_IN structure) and partner data (via the ORDER_PARTNERS table) as input parameters.
Enter the item data via the ORDER_ITEMS_IN table. You can allocate item numbers manually, by filling in the relevant fields, or the system does it, according to the settings for Customizing, by leaving the relevant fields blank.
If you have configurable items, you must enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
Credit cards can be transferred via the BAPICCARD structure, on the one hand, data for card identification, on the other, data for a transaction which has taken place in an external system.
Once you have created the sales order successfully, you will receive the document number (SALESDOCUMENT field). Any errors that may occur will be announced via the RETURN parameter.
If no sales area has been created in the sales order header, then the system creates the sales area from the sold-to party or ship-to party, who has been entered in the partner table. If a clear sales area cannot be created, you will receive a system message, and the sales order will not be created.
Notes
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
2. Ship-to party:
If no ship-to party is entered, use the following: Ship-to party =
sold-to party.
3. Commit control:
The BAPI does not have a database commit. This means that the relevant application must leave the commit, in order that can be carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is available for this.
4. German key words:
The following key words must be entered in German, independantly of
the logon language:
DOC_TYPE Sales document type, for example: TA for standard order
PARTN_ROLE Partner role, for example: WE for ship-to party
Further information
You can find further information in the OSS. The note 93091 contains general information on the BAPIs in SD.
Parameters
SALESDOCUMENTIN
ORDER_HEADER_IN
ORDER_HEADER_INX
SENDER
BINARY_RELATIONSHIPTYPE
INT_NUMBER_ASSIGNMENT
BEHAVE_WHEN_ERROR
LOGIC_SWITCH
TESTRUN
CONVERT
SALESDOCUMENT
RETURN
ORDER_ITEMS_IN
ORDER_ITEMS_INX
ORDER_PARTNERS
ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX
ORDER_CFGS_REF
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_VALUE
ORDER_CFGS_BLOB
ORDER_CFGS_VK
ORDER_CFGS_REFINST
ORDER_CCARD
ORDER_TEXT
ORDER_KEYS
EXTENSIONIN
PARTNERADDRESSES
Exceptions
Function Group
2032 -
How to Play/Pause All for Adobe Air Application using AS3 in Flash CS4?
I am new to Flash and I'm creating an educational application in AS3 in Flash CS4 for Adobe Air. I want to use buttons to play and pause all content (movieclips AND sound).
I have created play and pause buttons that worked by switching the frame rate between 0 and 20, unfortunately I've realised that it's never really 0fps but rather 0.01fps and so it continues playing, albeit very very slowly. Also this doesn't affect the audio; I have set sound files to Stream which are synced to movieclips on their timelines, but even when the application is set to 0fps the audio continues.
Since I have various levels with numerous movieclips each with synced audio, what i'd like is to be able to do is pause absolutely everything within each movieclip with one button and to be able to resume from the same place using another button. Is this possible? If not, is there a global function to pause/resume the entire application/program?
Thanks in advance for your help!Its possible but you would need to tell each movieclip and audioclip to play/pause. You can create a for loop inside your mouse event function to find each movieclip and pause/play its timeline and a separate for loop for audio clips. Also instead of setting fame rate to 0 for pause just use a stop() command.
-
New album art feature and the album art screen saver
Hi,
I've been using (and enjoying) the built-in album art screen saver for my locked screen for a long time. A few days after I've updated to iTunes 7, I began to delete old covers of my favorite albums (low resolution, bad color, read: Google image search) and applied the better-looking ITMS covers by selectively using the "get album art" feature.
Since I did that, those favorite albums do not appear in the screen saver rotation anymore.
I'm aware that the downloaded covers aren't saved in-file but in the /Album Artwork folder, so I'm certain that's the problem - the screen saver isn't programmed to look for those.
Now, does a workaround exist for that? Does Apple plan a small update (unlikely) / did anybody write a compatible clone / did anybody found a hack? Unfortunately, it's not in the localizible part of "iTunes Artwork.saver".
Thanks in advance for your help!
Patrick
Powerbook G4, Jan 06 Mac OS X (10.4.7) 1 GB RAMSame problem that I am having. I enjoyed the album art screen saver. Since I updated to v7 the screen saver doesnt seem to work correctly. Spent the first day of release getting most of my albums (shockingly more then I thought). Enabled the screen saver, but only got 4 albums to show up, no others. Testing it more, I removed the art for the albums that showed up, which got me to 1 album, removed and then got the error that my iTunes Library had no albums with artwork. Weird.. Removed my library, reloaded, and ALL the artwork is gone. Tried going a few albums at a time manually and it shows in iTunes, the new Album Art Dir updates with new stuff. but nothing for the screen saver. Good idea in principle, kinda bad in excuction is my thoughts right now. Hope for a fix soon.
Maybe you are looking for
-
Printing Problem in sap script
Hi all, There is a printing problem in z report of sapscript. when I am giving continuous print ... 1st page is right in print format but in 2nd page the text comes 1 row up...and so on... so the starting point for all page are not same... Please
-
Pictures too dark with HP photosmart 7510
The pictures are too dark with HP photosmart 7510, after corrections on Lightroom (brightness and contrast at the top); not coloured enough. What can i do?
-
Spark ComboBox new item does not display in textInput?
I've been playing with s:ComboBox and generally like them a lot. One detail is driving me nuts though - most likely due to my lack of knowledge in the subject - is that if I try to add a new item to my dataprovider in a changeHandler (registered to t
-
Printing everything on same line
Hi all, I want to write text on a text File in a formatted manner, such that there is line break after every line.The problem I am facing is that it print everything on same line. When we use "/n" it generates a dummy character. We are using FileWrit
-
I have been trying to download the new updates for Aperture , Safari, and Iphoto. I click update and it gets the download bar but it doesnt get passed 0 KB when downloading the apps. Previously I had gotten the NSURLErrorDomain error -3001.)(102) but