Alter variables in .swf file (C# .NET Flash)

Is it possible to alter a .swf file from a webform using c# .net?

Page 1 of 1

5 Replies - 8197 Views - Last Post: 14 May 2010 - 03:36 AM

#1 kockojumbo   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 26-September 08

Alter variables in .swf file (C# .NET Flash)

Posted 26 September 2008 - 11:34 AM

Hello everyone!

Im building a simple webform that enables users to load a flashbanner (.swf) and change the contents (eg. text, url, img) in .net. Preferrebly in c#.

Conclusion:
1. Load a flashbanner (.swf).
2. Get the variables (names and values) from the file.
3. Alter their values.
4. Save it to a new file (or the same, doesnt matter).

Why i want to do this is because if I have a banner that i want to send to 10 different places, i dont want to have to make 10 different flashfiles just for changing a bit of text.

Is this possible in .net?

I've been looking at programs like Aspose Flash and others, but i cant find any proper examples of this type of thing.

Does anyone know anything about how to approach this?

Is This A Good Question/Topic? 0
  • +

Replies To: Alter variables in .swf file (C# .NET Flash)

#2 PsychoCoder   User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Alter variables in .swf file (C# .NET Flash)

Posted 26 September 2008 - 11:36 AM

To the best of my knowledge you cant alter the swf file from any language
Was This Post Helpful? 0
  • +
  • -

#3 marcells23   User is offline

  • D.I.C Head
  • member icon

Reputation: 6
  • View blog
  • Posts: 143
  • Joined: 22-August 07

Re: Alter variables in .swf file (C# .NET Flash)

Posted 26 September 2008 - 12:11 PM

Use an xml file and have the flash read from that.

You can then alter the xml from c#
Was This Post Helpful? 0
  • +
  • -

#4 njagadhish   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 26-September 08

Re: Alter variables in .swf file (C# .NET Flash)

Posted 26 September 2008 - 04:28 PM

View Postkockojumbo, on 26 Sep, 2008 - 11:34 AM, said:

Hello everyone!

Im building a simple webform that enables users to load a flashbanner (.swf) and change the contents (eg. text, url, img) in .net. Preferrebly in c#.

Conclusion:
1. Load a flashbanner (.swf).
2. Get the variables (names and values) from the file.
3. Alter their values.
4. Save it to a new file (or the same, doesnt matter).

Why i want to do this is because if I have a banner that i want to send to 10 different places, i dont want to have to make 10 different flashfiles just for changing a bit of text.

Is this possible in .net?

I've been looking at programs like Aspose Flash and others, but i cant find any proper examples of this type of thing.

Does anyone know anything about how to approach this?




Hi,

Could you please explain me how to load a document in Flash paper in ASP.Net?
Was This Post Helpful? 0
  • +
  • -

#5 Guest_jaggu*


Reputation:

Re: Alter variables in .swf file (C# .NET Flash)

Posted 14 May 2010 - 03:33 AM

View Postnjagadhish, on 26 September 2008 - 03:28 PM, said:

View Postkockojumbo, on 26 Sep, 2008 - 11:34 AM, said:

Hello everyone!

Im building a simple webform that enables users to load a flashbanner (.swf) and change the contents (eg. text, url, img) in .net. Preferrebly in c#.

Conclusion:
1. Load a flashbanner (.swf).
2. Get the variables (names and values) from the file.
3. Alter their values.
4. Save it to a new file (or the same, doesnt matter).

Why i want to do this is because if I have a banner that i want to send to 10 different places, i dont want to have to make 10 different flashfiles just for changing a bit of text.

Is this possible in .net?

I've been looking at programs like Aspose Flash and others, but i cant find any proper examples of this type of thing.

Does anyone know anything about how to approach this?




Hi,

Could you please explain me how to load a document in Flash paper in ASP.Net?

Was This Post Helpful? 0

#6 Guest_jaggu*


Reputation:

Re: Alter variables in .swf file (C# .NET Flash)

Posted 14 May 2010 - 03:36 AM

first u need to dl a swf pluggin and add it into ur project. tools-> add new tool-> and right click on that tab and browse the dll file (which u need to dl) and then it will be added to ur proj.
click onthat plugin and drag it into ur aspx page. this will be ur custom flash tool . where u need to specify the URL in ur dir.

cheers
jaggu


View Postjaggu, on 14 May 2010 - 02:33 AM, said:

View Postnjagadhish, on 26 September 2008 - 03:28 PM, said:

View Postkockojumbo, on 26 Sep, 2008 - 11:34 AM, said:

Hello everyone!

Im building a simple webform that enables users to load a flashbanner (.swf) and change the contents (eg. text, url, img) in .net. Preferrebly in c#.

Conclusion:
1. Load a flashbanner (.swf).
2. Get the variables (names and values) from the file.
3. Alter their values.
4. Save it to a new file (or the same, doesnt matter).

Why i want to do this is because if I have a banner that i want to send to 10 different places, i dont want to have to make 10 different flashfiles just for changing a bit of text.

Is this possible in .net?

I've been looking at programs like Aspose Flash and others, but i cant find any proper examples of this type of thing.

Does anyone know anything about how to approach this?




Hi,

Could you please explain me how to load a document in Flash paper in ASP.Net?

Was This Post Helpful? 0

Page 1 of 1