Adding a different url to each button
Flash menu
I'm really struggling to work out how to add a different URL
to each of my buttons. See the attached. Any help
appreciated.
click on each of the menu clips and open up the actions
panel, all the actions for the buttons are stored there. see
LINK
and test.
Similar Messages
-
How to parse RSS Feed - Different URL for each button
I'm making an app with AS3 and I want to be able to load a different RSS Feed when the user clicks on each button. This is the code I have so far, has anyone any idea how I can modify my code to do this?
here's my code so far:
//IMPORT CLASSES
import fl.controls.List;
import flash.net.URLLoader;
import flash.events.Event;
import flash.net.URLRequest;
cGOSSIP.addEventListener(MouseEvent.CLICK, doClick);
function doClick (e:MouseEvent):void
cGOSSIP.gotoAndStop ("GOSSIP");
wNEWS.addEventListener(MouseEvent.CLICK, doClick2);
function doClick2 (e: MouseEvent):void
wNEWS.gotoAndStop ("WORLD NEWS");
eNEWS.addEventListener(MouseEvent.CLICK, doClick3);
function doClick3 (e: MouseEvent):void
eNEWS.gotoAndStop ("ENT NEWS");
fbNEWS.addEventListener(MouseEvent.CLICK, doClick4);
function doClick4 (e: MouseEvent):void
fbNEWS.gotoAndStop ("FB NEWS");
//NEWSLIST FORMATTING
var newsListTf:TextFormat = new TextFormat();
newsListTf.font = "Verdana";
newsListTf.color = 0xFFFFFF;
newsListTf.size = 18;
newsListTf.align = "left";
newsList.setRendererStyle("textFormat", newsListTf);
newsList.rowHeight = 100;
newsList.allowMultipleSelection = false;
//newsList.wordWrap = true;
//NEWSDISPLAY TEXT AREA FORMATTING
var rssStoryTf:TextFormat = new TextFormat();
rssStoryTf.font = "Verdana";
rssStoryTf.color = 0x6699CC;
rssStoryTf.size = 22;
rssStoryTf.align = "left";
rssStory.setStyle("textFormat", rssStoryTf);
//READMORE BUTTON FORMATTING
var buttonTf:TextFormat = new TextFormat();
buttonTf.font = "Verdana";
buttonTf.color = 0xFFFFFF;
buttonTf.size = 22;
btn_ReadMore.setStyle("textFormat", buttonTf);
//RSS FEED
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest = new URLRequest
("http://rssfeeds.tv.adobe.com/adobe-higher-education-solutions.xml");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
newsList.addEventListener(Event.CHANGE, selectRssStory);
btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
rssLoader.load(rssURL);
var newsXML:XML = new XML();
var currentStoryURL:URLRequest = new URLRequest();
newsXML.ignoreWhitespace = true;
function rssLoaded(evt:Event):void
newsXML = new XML(rssLoader.data);
//trace(newsXML);
for(var item:String in newsXML.channel.item) {
//newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
//+": " + newsXML.channel.item[item].title } );
newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
+" ..." } );
newsList.selectedIndex = 0;
//FIRST LOAD
currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
rssStory.htmlText = newsXML.channel.item[0].description;
function selectRssStory(evt:Event):void
rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
].link);
function goToURL(event:MouseEvent):void
navigateToURL(currentStoryURL);I copied the wrong code, it works and loads the feed but I have a number of buttons in the main menu and I want to be able to load a different rss feed for each button?
Here's the code.
btn_Home.addEventListener(MouseEvent.CLICK, clickHome);
function clickHome(e:MouseEvent):void
gotoAndStop ("START");
//NEWSLIST FORMATTING
var newsListTf:TextFormat = new TextFormat();
newsListTf.font = "Verdana";
newsListTf.color = 339999;
newsListTf.size = 18;
newsListTf.align = "left";
newsList.setRendererStyle("textFormat", newsListTf);
newsList.rowHeight = 100;
newsList.allowMultipleSelection = false;
//newsList.wordWrap = true;
//NEWSDISPLAY TEXT AREA FORMATTING
var rssStoryTf:TextFormat = new TextFormat();
rssStoryTf.font = "Verdana";
rssStoryTf.color = 0x6699CC;
rssStoryTf.size = 22;
rssStoryTf.align = "left";
rssStory.setStyle("textFormat", rssStoryTf);
//READMORE BUTTON FORMATTING
var buttonTf:TextFormat = new TextFormat();
buttonTf.font = "Verdana";
buttonTf.color = 0xFFFFFF;
buttonTf.size = 22
btn_ReadMore.setStyle("textFormat", buttonTf);
//RSS FEED
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest = new URLRequest
("http://www.tmz.com/rss.xml");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
newsList.addEventListener(Event.CHANGE, selectRssStory);
btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
rssLoader.load(rssURL);
var newsXML:XML = new XML();
var currentStoryURL:URLRequest = new URLRequest();
newsXML.ignoreWhitespace = true;
function rssLoaded(evt:Event):void
newsXML = new XML(rssLoader.data);
//trace(newsXML);
for(var item:String in newsXML.channel.item) {
//newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
//+": " + newsXML.channel.item[item].title } );
newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
+" ..." } );
newsList.selectedIndex = 0;
//FIRST LOAD
currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
rssStory.htmlText = newsXML.channel.item[0].description;
function selectRssStory(evt:Event):void
rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
].link);
function goToURL(event:MouseEvent):void
navigateToURL(currentStoryURL); -
How to set different urls for logoff button for different user groups
HI All,
We have two different set of users in our company .when one user group clicks on the logoff button in masthead we want to redirect them to for example www.google.com and for the other group we want to redirect to www.gmail.com.
How can we acheive this particular requirement
Thanks
Bala Duvvurihi bala,
For the two user groups maintain two different desktops, two/same themes and frame work.change the headeriview jsp in masthead par file to Google and save it as masthead1 and another one with gmail as masthead2 then create iviews with that par file and assign them to different groups and make invisible the default masthead iview.then the users get the logoff based on group you can get some wikis on changing log off or redirecting log off, check these threads
Portal logoff : Redirection or Close the Entire Window
Portal Logoff redirection URL
Regards
Mahesh -
Multiple buttons on a single slide each connecting to a different url
Using a trial version of Captivate 7. I have a handful of slides where the customer wants to open different forms via url. I tried using a button for each link, inserting the url and using the "enter" key for each of the multiple buttons. Works fine with the mouse but for 508 folks who tab to the URL and hit the enter key ......... I get many instances where the incorrect url is activated. Is there a way around this without assicning a different shortcut key for buttons where thare are more than one on a single slide? Thanks
Welcome to AD!
Here is an article on using multiple ipods. I suggest method 1 and steer clear of method 3.
http://support.apple.com/kb/HT1495
For your point #1, sharing music on same PC between users, put it in a shared library & set permissions as directed here
http://support.apple.com/kb/HT1203
For #2, itunes doesn't have the capability to monitor folders for new content. You'll need to get something like the free program 'itunes folder watch'. -
Problems adding url link to buttons in action Script 3
each time I added it link 1 to the button on file i get these error messages-
1046: Type was not found or was not a compile-time constant: link1.
1180: Call to a possibly undefined method link1.
Warning: 3594: exec is not a recognized method of the dynamic class RegExp. var r:Object = p.exec(s);
This is the code I am using: import flash.net.navigateToURL; import flash.net.URLRequest; var link_one:link1; link_one = new link1(); stage.addChild(link_one); link_one.addEventListener(MouseEvent.CLICK, buttonClickHandler); function buttonClickHandler(event:MouseEvent):void { var url:String = "http://www.masterpiececorp.com/ARMREF.htm"; var request:URLRequest = new URLRequest(url); navigateToURL(request); } I have no other problems with link 3 or 4, just link 1 I still cannot get my urls link to movie clips on the flash
Can you upload flash here? if not I have a image capture I can use to have you look at my buttons and action script code. i have been to every forum I know and not any have been helpful at all. This is my last hope.
Very frustrated newbie Gina T
Message was edited by: gtaylor0406The way you had your code originally would be correct...
var link_one:link1;
link_one = new link1();
addChild(link_one);
The 1046 error is indicating it doesn't recognize the link1 class. So the first thing you need to make sure of is that you have assigned the link1 class designation to whatever symbol that is in the library. -
When I click to open the hyperlink in my Word file, the message I get in Firefox is "The requested URL /submissions.htmlFirefoxHTML\Shell\Open\Command was not found on this server." When I delete that portion of the URL, the website opens fine. What can I do to make the hyperlinks work properly?
Thanks for the suggestion. I tried it, but it didn't work. The link information is written correctly on the MSWord page. But when I click on it and the Firefox tab opens, the page can't be found because "FirefoxHTML\Shell\Open\Command" has been added to the end of each URL. Might it help if I reset Firefox?
-
Adding a URL to a Button.swf
Please help. How can I attach a URL to a button?
Action Script 3. But I can change to script 2 if that's
easier. -
3 same buttons & 3 different frames, but each frame must have it's own actionscript?
Here is my issue. I have 3 frames and 3 buttons. Each button takes you to their respected frame. However, I noticed that I cannot have 1 key frame of actionsript read the same on those 3 frames. Why? because if I jump from frame 1 to frame 2 or 3, then I cannot jump back. Instead, each frame has to have it's own actionscript. The only thing that would change is the method name. I find it tedious. Is that how it is? This almost felt seem like it would be less tedious but even for 3 frames, I have to change each method name as I build more frames to navigate to. Check my example below:
Old Actionscript (1 keyframe for 3 frames did not work to jump back any frame)
frame1_btn.addEventListener(MouseEvent.CLICK, handlerFrame1);
frame2_btn.addEventListener(MouseEvent.CLICK, handlerFrame2);
frame3_btn.addEventListener(MouseEvent.CLICK, handlerFrame3);
function handlerFrame1(event:MouseEvent):void {
gotoAndStop("frame1");
function handlerFrame2(event:MouseEvent):void {
gotoAndStop("frame2");
function handlerFrame3(event:MouseEvent):void {
gotoAndStop("frame3");
New Actionscript (3 keyframes and this works):
Frame 1
frame1_btn.addEventListener(MouseEvent.CLICK, handlerFrame1);
frame2_btn.addEventListener(MouseEvent.CLICK, handlerFrame2);
frame3_btn.addEventListener(MouseEvent.CLICK, handlerFrame3);
function handlerFrame1(event:MouseEvent):void {
gotoAndStop("frame1");
function handlerFrame2(event:MouseEvent):void {
gotoAndStop("frame2");
function handlerFrame3(event:MouseEvent):void {
gotoAndStop("frame3");
Frame 2
frame1_btn.addEventListener(MouseEvent.CLICK, handlerFrame4);
frame2_btn.addEventListener(MouseEvent.CLICK, handlerFrame5);
frame3_btn.addEventListener(MouseEvent.CLICK, handlerFrame6);
function handlerFrame4(event:MouseEvent):void {
gotoAndStop("frame1");
function handlerFrame5(event:MouseEvent):void {
gotoAndStop("frame2");
function handlerFrame6(event:MouseEvent):void {
gotoAndStop("frame3");
Frame 3
frame1_btn.addEventListener(MouseEvent.CLICK, handlerFrame7);
frame2_btn.addEventListener(MouseEvent.CLICK, handlerFrame8);
frame3_btn.addEventListener(MouseEvent.CLICK, handlerFrame9);
function handlerFrame7(event:MouseEvent):void {
gotoAndStop("frame1");
function handlerFrame8(event:MouseEvent):void {
gotoAndStop("frame2");
function handlerFrame9(event:MouseEvent):void {
gotoAndStop("frame3");You should not need to have code in all three frames. The first bit of code you show should suffice under normal circumstances. If you have the code on a layer that has only one keyframe and the buttons on a layer that only has one keyframe, then the buttons will remain working. It is only when you create new instances (keyframes) of the buttons that you need to assign new event listeners for them, but even then the same event handler functions can be shared for all of them as long as that actions layer extends the length needed for all the buttons.
-
**Adding different text to each photo before making a slide show.
And the top of the day to you,
Is there a way to add different text to each photo before making a slide show? I know you can do this in PS4 but it is not very easy. Any ideas?
AlUse the Caption metadata to add slide text then click the ABC icon in the slideshow module, followed by clicking the up/down icon, then choose Edit. Insert the Caption option from the IPTC Data box.
-
Toolbars in the report view take a lot of the screen space as each button takes a line
I created a report which looks fine in the BIDs but as soon as I upload it to the Report server and open it with the IE the toolbars take much of the screen space as each button (Export, Refresh and save) take a line. how can I change the configuration so
that all buttons will appear in one line (or will not appear at all)?
I'm sure it is something to configure in the server side as in whichever IE I open the report, from different computers, I always get it the sameHi,
I would ask the following questions to verify the issue:
1. Does the issue happen on all the reports?
2. Does the issue persist if you open it in the other web browsers?
2. What’s the version of your Reporting Service and Internet Explorer?
Please post the image of the issue, so we can understand the problem in more details.
You can use &rc:Toolbar=false parameter to hide the toolbar in the Report Server.
The following articles are helpful:
URL Access (SSRS)
http://msdn.microsoft.com/en-us/library/ms152835.aspx
SSRS Remove Menu in Web-Page
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/a6f2899b-a8bb-41a2-880c-0b302907161c/ssrs-remove-menu-in-webpage
Thanks.
Tracy Cai
TechNet Community Support -
I publish identical podcasts under different URLs. How can I combine them into one?
Over the years, my URL has changed a couple of times. I didn't know (until recently) how to notify iTunes that the podcast location and URL had changed. So, now after a number of years, I have three identical podcasts, each with different a different URL and a different list of subscribers. I have them pointing to the same source file now, but I would love to combine the podcasts into one so that the subscribers from each are merged together and they don't show up as three possible subscriptions in iTunes. Is this possible?
You can't merge them: all you can do is to ask to have two of them deleted, and of course if you do that you will lose any ratings. However existing subscribers should all be using the same feed if the three Store pages are all using the same feed, and so removing two of them won't have any effect on subscribers.
The method of getting a podcast removed is detailed here:
http://www.apple.com/itunes/podcasts/specs.html#removing
When you explain why you want each one of the two you choose removed, specifically say that the same feed is in use in three places, so you can't use the 'itunes:block' tag (because this would block all three). -
How can I send to a different URL link than what the text states in Acrobat?
Hi there
I know how to create URL links in my document using Acrobat but
How can I create a link that goes to a different URL desintation other than the one the text states?
For example
the text states
www.aaaaa.com
and I want it to state this,
but I want the link to direct to
www.aaaaa.com/abcdefghijkl
I dont want to have to create a link object, I want it to stay as text?
Is this even possible?
Any advise?
Thankstry67 wrote:
Actually, it is possible to specify your own tooltip text, if you use a
button instead of a link.
You just set the button's action to "Open a weblink" and it will act the
same as a link, but you'll have more control over how it looks and behaves.
Hi there
I cant see the term "Open a weblink". Can you advise please?
Also then how do you change the "Tooltip text" please? -
IPad 1 Safari crashes frequently. I went to many Apple stores in different countries and each Apple staff member had their own different opinions with no help. I had upgraded my iOS to 5.1.1 and the Safari crashing started about one year after the upgrade and some Apple staff blame this- but this started one year later after the iOS upgrade. Recently at the Apple Store in Vancouver an Apple staff reset my computer (erased everything and sent to iCloud to reset the iPad) and I hoped this would fix the problem. IPad Safari still crashes. Short of booking an appointment for taking it for repair to Apple technicians which will cost me money can anyone help me to fix this Safari crashing.
Hi,
You might have a 3rd party plugin that isn't compatible with Safari 4.0.4. Go here for help...
Safari add-ons can cause performance issues or other situations
If you are using a USB hub, try disconnecting and restarting with just your keyboard and mouse connected.
From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
from the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
Mac OS: Web Browser Quits Unexpectedly or Stops Responding
Also, you could download and install the 10.5.8 combo update (PowerPC) available here.
http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate
It contains fixes that might help. Then repair disk permissions.
Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
Carolyn -
I have multiple emails, how do I add different signatures for each email address
I have multiple emails for different companies I work for, how do I add a different signature for each one, it seems like I have to use the same one for all of them
Thanks. I think I'm on the right track. I added the email address to my contacts and double clicked the image icon to change it, but it only lets me snap a new picture or select an image from another location. What is the folder location of the stock icons that come with Mac OSX?
-
How to configure different listener for each database in 11gR2 RAC
Hi Friends,
Current Prod Setup :
11gR2 (11.2..0.2) RAC on RHEL 5.5 with 3 SCAN Listeners on default 1521 port.
Having 4 databases which are using SCAN-IP and listening on default port only.
As per policy, we have to create separate listeners (on different port) for each database.
like,
DB1 - 1522
DB2 - 1523
DB3 - 1524
DB4 - 1525
Even If I configure 4 listeners using NETCA, how my failover & load balancing will happen using SCAN & Newly Created Listeners ???
Thanks in advance..
Regards,
ManishHi,
I tried on 11gR2 TEST RAC Server to have different listener with different port (1529) for SCAN & Node Listener & tested failover, load-balancing which was successful.
[oracle@ravish5 admin]$ cat listener.ora
LISTENER_A=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_A=ON # line added by Agent
[oracle@ravish5 admin]$ ps -ef | grep lsnr
oracle 1985 1 0 00:46 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER -inherit
oracle 1988 1 0 00:46 ? 00:00:00 /11g_database/11.2.0.2/product/home_1/bin/tnslsnr LISTENER_A -inherit
oracle 2928 1 0 01:00 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER_SCAN1 -inherit
[oracle@ravish5 admin]$ lsnrctl status LISTENER_A
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 02-MAY-2012 03:19:35
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))
STATUS of the LISTENER
Alias LISTENER_A
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 02-MAY-2012 00:46:42
Uptime 0 days 2 hr. 32 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /11g_database/11.2.0.2/product/home_1/network/admin/listener.ora
Listener Log File /11g_database/11.2.0.2/diag/tnslsnr/ravish5/listener_a/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_A)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.5)(PORT=1529)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.16)(PORT=1529)))
Services Summary...
Service "TEST" has 1 instance(s).
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "TESTXDB" has 1 instance(s).
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "srvc_test.clover.com" has 1 instance(s).
Instance "TEST2", status READY, has 1 handler(s) for this service...
The command completed successfully
SQL> show parameter listen
NAME TYPE VALUE
listener_networks string
local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=192.
168.3.16)(PORT=1529))))
remote_listener string ravish-scan:1529
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
[oracle@ravish5 admin]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521,1529
[oracle@ravish5 admin]$ srvctl config scan
SCAN name: ravish-scan, Network: 1/192.168.3.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /ravish-scan.clover.com/192.168.3.22
[oracle@ravish5 admin]$ srvctl config listener
Name: LISTENER
Network: 1, Owner: oracle
Home: <CRS home>
End points: TCP:1521
Name: LISTENER_A
Network: 1, Owner: oracle
Home: /11g_database/11.2.0.2/product/home_1
End points: TCP:1529
[oracle@ravish5 admin]$ srvctl config service -d TEST -s srvc_test.clover.com
Service name: srvc_test.clover.com
Service is enabled
Server pool: TEST_srvc_test.clover.com
Cardinality: 2
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: true
Failover type: SELECT
Failover method: BASIC
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: BASIC
Edition:
Preferred instances: TEST1,TEST2
Available instances:
TEST_NEW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ravish-scan.clover.com)(PORT = 1529))
(LOAD_BALANCE = yes)
(FAILOVER = ON)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = srvc_test.clover.com)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
Actually different ports for different databases are required to have separation of duties. Once Firewall enabled betwen Client & DB Server only privileged users would have access to particular database.
Regards,
Manish
Maybe you are looking for
-
Track as intruder ??
What does this function actually do ???
-
Refreshing specific cell in dataTable?
Hi How do I get a dataTable to re-render a specific cell? As an example, consider Bean listed below. Initially, the dataTable displays the values as iterated over Bean.lines. Later in response to a user action (see Bean.updateLine), I'd like the appr
-
Cannot use preview window in compressor
Upon submitting job from FCP 5 to compressor I cannot get the preview window to work. The job will sit in the compressor queue but I cannot preview the clip in the preview window. Compressor will also not give me back control so I can return to FCP a
-
How do I set the buttons on my website to trigger an iFrame when I hover over them?
How do I set the buttons on my website to trigger an iFrame when I hover over them? At the moment they work when I click on them. I have tried everything to try and get them to work when I hover over them. If anybody could point me in the right dire
-
I havent done anything to make it angry. One minute it was clicking fine, and now it does not work!