-
1. Re: Map Widget In Flash Site!
Andrei1 Jul 18, 2010 9:20 AM (in response to PrintingByDBE)What is your code?
-
2. Re: Map Widget In Flash Site!
PrintingByDBE Jul 19, 2010 12:28 PM (in response to Andrei1)im sorry i don't quite understand your reply?
i attached the code that i got from the site were the widget is from...
i will attach the code again?
is it even possible to put "widgets" on flash based sites?
Map widget for the "shows" page:
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNzg*NzYzMzc1ODImcHQ9 MTI3ODQ3NjM1NDg5OCZwPTI3MDgxJmQ9cHJvX3NjaGVkdWxlX2ZpcnN*X2dlbiZnPTEm/bz*1NDhlNjVlNTI5MDQ*O TllYTY4ODMyYjFlNDA4MzA*ZiZvZj*w.gif" /><embed type="application/x-shockwave-flash" src="http://cache.reverbnation.com/widgets/swf/42/pro_widget.swf" height="326" width="434" align="top" bgcolor="#ffffff" loop="false" wmode="opaque" quality="best" allowScriptAccess="always" allowNetworking="all" allowFullScreen="true" seamlesstabbing="false" flashvars="id=artist_354905&skin_id=PWSS3003&background_color=EEEEEE&border_color=000000& show_map=true"/><br/><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://www.reverbnation.com/widgets/trk/42/artist_354905//t.gif"/><img height="1" width="1" border="0" src="http://a.triggit.com/px?u=reverbnation&rtv=354905wd,Jazz,Electro-Funk%20Jazz" /> -
3. Re: Map Widget In Flash Site!
Andrei1 Jul 19, 2010 4:43 PM (in response to PrintingByDBE)I was asking for ActionScript code. What you are showing is embed code. But if you are saying that the problem is HTML markup - you, perhaps, better off asking the vendor. They should have API documentation. By the way, if they allow using their Flash app in a third party wrappers, API docs should describe these cases too.
-
4. Re: Map Widget In Flash Site!
PrintingByDBE Jul 19, 2010 4:53 PM (in response to Andrei1)Well actually i dont have any action script code for that widget...
i havn't tryed putting it in the site yet cuz im not sure how to even do that...
-
5. Re: Map Widget In Flash Site!
Andrei1 Jul 19, 2010 5:10 PM (in response to PrintingByDBE)Yes, you can attempt to load any swf into your Flash application via using Loader class. Again, if this vendor allows doing that they will provide you with a documentation that explains how to do that. If they do not allow this kind of interaction, they most probably put some barriers that will make the widget non-functional.
Based on your tag it is a widget from http://www.reverbnation.com/ - they do have help on how to use their widgets.
-
6. Re: Map Widget In Flash Site!
PrintingByDBE Jul 19, 2010 5:23 PM (in response to Andrei1)Great! thanks for the help!
and being patient with me!
ill check into both your suggestions!!
ill reply if i need more help
-
7. Re: Map Widget In Flash Site!
PrintingByDBE Jul 22, 2010 11:56 AM (in response to Andrei1)ok so i checked in to the loader class and stuff
ugh
how would i go about perfoming that task tho...
i pretty much got my self in a corner i cant seem to find my way out of... lol
im jsut getting more confused when im sure its so simple...
could you give me a code or some thing i can try to just drop in?
or could you try to give me more detail as to how to perfom the loader class?
THANK YOU SOOO MUCH!!!
-
8. Re: Map Widget In Flash Site!
funkysoul Jul 22, 2010 12:10 PM (in response to PrintingByDBE)This is a short example on how to use the loader class: http://www.iheartactionscript.com/loading-an-external-swf-in-as3/
-
9. Re: Map Widget In Flash Site!
PrintingByDBE Jul 22, 2010 12:13 PM (in response to funkysoul)awseome ill ceck it out
do u think i will be able to just drop my img code in
var mRequest:URLRequest = new URLRequest(“MouseActions.swf”)
and have it work? -
10. Re: Map Widget In Flash Site!
funkysoul Jul 22, 2010 12:16 PM (in response to PrintingByDBE)drop this http://cache.reverbnation.com/widgets/swf/42/pro_widget.swf in your urlrequest.
-
11. Re: Map Widget In Flash Site!
PrintingByDBE Jul 22, 2010 12:18 PM (in response to funkysoul)GREAT ill give it a shot!
Thanks
-
12. Re: Map Widget In Flash Site!
PrintingByDBE Jul 22, 2010 12:55 PM (in response to funkysoul)var mRequest:URLRequest = new URLRequest(“http://cache.reverbnation.com/widgets/swf/42/pro_widget.swf”);
thats whats happening when i drop it in.. its like registering it as a comment rather than ecepting as a link to get the .swf?
-
13. Re: Map Widget In Flash Site!
funkysoul Jul 23, 2010 5:26 AM (in response to PrintingByDBE)try using singleQuotes instead..
-
14. Re: Map Widget In Flash Site!
PrintingByDBE Jul 23, 2010 8:17 AM (in response to funkysoul)Ok it seemed to accept it!! =D but nnothing happens?
am i supposed to have like an uiloader on the time line or just a blank time layer were the code is?
this is the error i am getting!
The shows button was clicked!
ArgumentError: Error #2180: It is illegal to move AVM1 content (AS1 or AS2) to a different part of the displayList when it has been loaded into AVM2 (AS3) content.
at flash.display::DisplayObjectContainer/addChild()
at index_fla::Shows_23/onCompleteHandler()almost there!!!
-
15. Re: Map Widget In Flash Site!
funkysoul Jul 23, 2010 12:18 PM (in response to PrintingByDBE)ouch.. that seems like a pretty old widget you trying to load..
I don't have really much experience loading AS1/2 to AS3 projects.you can read here: http://www.gskinner.com/blog/archives/2007/07/swfbridge_easie.html
But probably you would get a better help posting a new topic only about the AS2/AS3 problem.
Sorry mate.




