Page 1 of 1

Logo URL and Help button URL is not being set

Posted: Fri Mar 07, 2014 2:30 am
by ahsan
Hi,
Logo URL and Help button URL is not being set in skin.It took me to "print2flash" page every time. I am able to set remaining things in skin like logo image etc.

Code: Select all

 Skin skin = SkinColl[0];
              
                skin.LogoURL = @"C:\inetpub\wwwroot\project\company.html";
                skin.HelpButtonURL = @"C:\inetpub\wwwroot\project\help.html";
                skin.ApplyChanges();

Re: Logo URL and Help button URL is not being set

Posted: Fri Mar 07, 2014 3:48 am
by staff
Try to retrieve a skin object not from the skin collection but using this code:

Code: Select all

 Skin skin = P2FServer.DefaultProfile.Skin
Here P2FServer is a reference to the Server object.

Re: Logo URL and Help button URL is not being set

Posted: Wed Mar 12, 2014 7:47 am
by ahsan
I did the following but all in vain . Nothing happen on clicking "help" button. Please help me.

Code: Select all

Skin defaultSkin = p2fServer.DefaultProfile.Skin;
                defaultSkin.HelpButtonURL = @"C:\inetpub\wwwroot\project\help.html";
                defaultSkin.LogoURL = @"C:\inetpub\wwwroot\project\Anasage.html";
                defaultSkin.ApplyChanges();

Re: Logo URL and Help button URL is not being set

Posted: Wed Mar 12, 2014 8:43 am
by staff
Try to set a web URL starting with "http://" rather than a local path. Does Help button work in this case?

Re: Logo URL and Help button URL is not being set

Posted: Thu Mar 13, 2014 1:35 am
by ahsan
I did the following but help button not working i.e. no action after clicking on this button.

Code: Select all

 Skin defaultSkin = p2fServer.DefaultProfile.Skin;
                defaultSkin.HelpButtonURL = @"http:\\localhost\project\help.html";
                defaultSkin.LogoURL = @"http:\\localhost\project\Anasage.html";
                defaultSkin.ApplyChanges();

Re: Logo URL and Help button URL is not being set

Posted: Thu Mar 13, 2014 1:44 am
by ahsan
when i launch the url provided; it is launched correctly but after clicking on logo image it does not work.

Re: Logo URL and Help button URL is not being set

Posted: Thu Mar 13, 2014 1:56 am
by staff
Could you send a sample Flash document which demonstrates this problem to our support e-mail so that we could check it?