Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Calling sexylightbox from a flash actionscript
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Calling sexylightbox from a flash actionscript
#20394
Re:Calling sexylightbox from a flash actionscript 12 Years, 6 Months ago Karma: 0
hello again,

have tried this...
function fl_ClickToGoToWebPage_2(event:MouseEvent):void
{
navigateToURL(new URLRequest(SexyLightbox.show("Operations", "www.server.com/images/locations/operations.html?TB_iframe=true&height=500&width=525", ""));

}

this
function fl_ClickToGoToWebPage_2(event:MouseEvent):void
{
navigateToURL(new URLRequest(SexyLightbox.show("Operations", "www.server.com/images/locations/operations.html?TB_iframe=true&height=500&width=525", "")));

}

and this

function fl_ClickToGoToWebPage_2(event:MouseEvent):void
{
navigateToURL(new URLRequest('SexyLightbox.show("Operations", "www.server.com/images/locations/operations.html?TB_iframe=true&height=500&width=525", "")'));

}

do I need to have the module installed or will this work with lite?
or is my code messed up?

when source is viewed these are loading...

<script type="text/javascript" src="/media/system/js/core.js">
<script type="text/javascript" src="/media/system/js/mootools-core.js">
<script type="text/javascript" src="/media/system/js/caption.js">
<script type="text/javascript" src="/plugins/content/arisexylightboxlite/arisexylightboxlite/js/jquery.min.js">
<script type="text/javascript" src="/plugins/content/arisexylightboxlite/arisexylightboxlite/js/jquery.noconflict.js">
<script type="text/javascript" src="/plugins/content/arisexylightboxlite/arisexylightboxlite/js/jquery.easing.js">
<script type="text/javascript" src="/plugins/content/arisexylightboxlite/arisexylightboxlite/js/jquery.sexylightbox.min.js">
<script type="text/javascript" src="/media/system/js/mootools-more.js">
<script type="text/javascript" src="/modules/mod_ariextmenu/mod_ariextmenu/js/ext-core.js">
<script type="text/javascript" src="/modules/mod_ariextmenu/mod_ariextmenu/js/menu.min.js">

thank you for your assitance
The administrator has disabled public write access.
 
#20395
Re:Calling sexylightbox from a flash actionscript 12 Years, 6 Months ago Karma: 747
Sorry, we can't help with ActionScript, but we suppose your code is incorrect. "SexyLightbox.show("... is javascript code, it is not a URL.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#20396
Re:Calling sexylightbox from a flash actionscript 12 Years, 6 Months ago Karma: 0
ok thank you
The administrator has disabled public write access.
 
#20400
Re:Calling sexylightbox from a flash actionscript 12 Years, 6 Months ago Karma: 0
aware that SexyLightbox.show is not a URL - in flash you can pass a call to javascript modules from the webpage but
I can't make it work with your code yet... you had indicated SexyLightbox.show was a javascript function so was
trying to call it from within flash..

do you have any method or function documentation available for SexyLightbox?

thanks
The administrator has disabled public write access.
 
#20401
Re:Calling sexylightbox from a flash actionscript 12 Years, 6 Months ago Karma: 747
Provided JS code works fine. For example you can run it in javascript console in FireBug addon for FireFox browser. Original source of js file can be found in "install/source" folder in plg_content_arisexylightboxlite.zip archive.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12