Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Embed html in a swf?

New Here ,
Jun 03, 2013 Jun 03, 2013

Hi,

i need to embed html code in a swf that has embedded another swf file so an external swf file plays inside my swf. Is it possible? This is the code:

<iframe src="http://www.ustream.tv/embed/13251049" width="608" height="368" scrolling="no"></iframe>

Thank you.

TOPICS
ActionScript
2.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2013 Jun 03, 2013

it's not clear what you mean but it's probably not possible with as2 and not with a web-based app.

it's more likely possible with as3 and an air app.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2013 Jun 03, 2013

Thank you. Whats an air application? IS it used along with flash or something?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2013 Jun 03, 2013

an air application is a program that can be installed on a pc or mac or iOS or android device.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 03, 2013 Jun 03, 2013

Okay, but what if i want the swf to be public? Do i have to install that program in the server where the swf is hosted or everyone else needs to have it in order to see the swf?

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2013 Jun 03, 2013

it's probably not possible to do what you want with as2 and not with a web-based app.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 04, 2013 Jun 04, 2013

What about AS3?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 04, 2013 Jun 04, 2013

it's more likely possible with as3 and an air app.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 04, 2013 Jun 04, 2013

Thanks but i think i dont understand realyl well how does the air app get involved. Do i have to install it on the server im hosting the file at or something?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 04, 2013 Jun 04, 2013

what you want is not possible using a web-based flash app.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 04, 2013 Jun 04, 2013

I see. Then, what alternative i have the swf load the file in my code?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 05, 2013 Jun 05, 2013

yes, you can load any swf into a web-based main swf.  and, if you're always loading the same swf and the html page that embeds that swf never changes, you can recreate the appearance of the embedding html in your main swf.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 05, 2013 Jun 05, 2013

Can be done with th example i post? It doesnt seem to work for me.

Thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 05, 2013 Jun 05, 2013

what's the path/name of the swf you're trying to load?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 06, 2013 Jun 06, 2013

I really dont know. Its a ustream player and that i posted is the embed code to display it but i dont know the direct link to the swf. By looking at the iframe code, you see this: http://www.ustream.tv/embed/13251049  which is the player container and the only swf i could find there was:

http://static-cdn1.ustream.tv/swf/live/viewer:167.swf?vrsl=c:480&ulbr=100

but that does nothing, its the player only. Any hint please?

Thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2013 Jun 06, 2013

i'm not familiar with ustream.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2013 Jun 08, 2013

Its fine. Flash technology is flash technology, isnt?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 08, 2013 Jun 08, 2013

i'm not sure if that's a rhetorical question or a non-sequitor but, i can't think of a helpful response.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2013 Jun 08, 2013

Can you get the sole swf file out of the page here http://www.ustream.tv/embed/13251049 that could lead to something good.

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 08, 2013 Jun 08, 2013
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 10, 2013 Jun 10, 2013

Hi,

so indeed the player only works when embedded into the original page and it wont work on its own, right?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 10, 2013 Jun 10, 2013
LATEST

i'm not familiar with ustream so i can't tell you that.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines